|
|
| Author |
Message |
sukumar.pm
New User
Joined: 20 Dec 2007 Posts: 22 Location: chennai
|
|
|
|
Hi,
| Quote: |
| i have already tried with concatination in different way..that is also successful. |
what i tried to say is
i used
| Code: |
ADDRESS ISPEXEC "LIBDEF ISPLLIB EXCLDATA ID",
"('DSN.DBT1.DSNLOAD' 'DSN.DBT1.DSNEXIT')",
"UNCOND" |
I got RC=0 for this statement,but i got RC=-3 in the connect statement. |
|
| Back to top |
|
 |
References
|
|
 |
PeD
Senior Member
Joined: 26 Nov 2005 Posts: 313 Location: Belgium
|
|
|
|
As we successfully performed that sequence of DSNREXX cards, it becomes difficult to solve the problem form here (I do not know the distance between Chennai and Lonzee ).
Could it be possible to pass this problem to your DB2 support team?
If another user processes exactly the same code, does it work? Is it an authority problem?
More, I can't do. Sorry Sukumar.
Regards
Pierre |
|
| Back to top |
|
 |
Pedro
Senior Member
Joined: 01 Sep 2006 Posts: 536 Location: work
|
|
|
|
| Code: |
ADDRESS ISPEXEC "LIBDEF ISPLLIB EXCLDATA ID",
"('DSN.DBT1.DSNLOAD' 'DSN.DBT1.DSNEXIT')",
"UNCOND" |
Did you try using DATASET instead of EXCLDATA? |
|
| Back to top |
|
 |
Pedro
Senior Member
Joined: 01 Sep 2006 Posts: 536 Location: work
|
|
|
|
Something different...
Try issuing these commands BEFORE you get into ISPF.
| Code: |
ALLOC F(mydb2) DSN('DSN.DBT1.DSNLOAD','DSN.DBT1.DSNEXIT') SHR REU
TSOLIB ACT DD(mydb2) |
Then try rexx program (with libdef removed). |
|
| Back to top |
|
 |
sukumar.pm
New User
Joined: 20 Dec 2007 Posts: 22 Location: chennai
|
|
|
|
Thanks all.
i am able to run same rexx code(with LIBDEF removed) using this following JCL.
| Code: |
//Q02493RX JOB 9Z-868-4000-PRO-A0,' REXX TEST',
// CLASS=X,MSGCLASS=2,NOTIFY=Q02493
//* $ACFJ219 ACF2 ACTIVE TCN0
//STEP1 EXEC PGM=IKJEFT01,PARM='CDB2'
//STEPLIB DD DISP=SHR,DSN=DSN.DBT1.DSNLOAD
// DD DISP=SHR,DSN=DSN.DBT1.DSNEXIT
//SYSPRINT DD SYSOUT=*
//SYSTSIN DD DUMMY
//SYSTSPRT DD SYSOUT=*
//SYSEXEC DD DSN=Q02493.REXX.EXEC,DISP=SHR |
but i am not able add the PDS in the above steplib in run time i.e using LIBDEF.
ok PeD.i will speak with our DB2 support team,after trying your last two suggestions. |
|
| Back to top |
|
 |
sukumar.pm
New User
Joined: 20 Dec 2007 Posts: 22 Location: chennai
|
|
|
|
Hi all,
Atlast,i am able to run my program.i included my library in Q02493.PROLOGUE.CLIST dataset permanently.
Thanks all for the useful suggestions.
Sukumar. |
|
| Back to top |
|
 |
muralithirumalaisamy Warnings : 1 New User
Joined: 13 Jun 2005 Posts: 10 Location: chennai
|
|
|
|
Hi,
If u didnt solve this problem yet try as below, it will work
ADDRESS DSNREXX 'CONNECT' ssid |
|
| Back to top |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 3544 Location: Brussels once more ...
|
|
|
|
| muralithirumalaisamy wrote: |
Hi,
If u didnt solve this problem yet try as below, it will work
ADDRESS DSNREXX 'CONNECT' ssid |
Please read the thread properly before responding.
It is 7 days since the OP has said that the problem has been resolved and you then suggest something that was shown in the very first post in this thread. |
|
| Back to top |
|
 |
|
|