Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
can anybody help me to resolve this REXX RC(-3) error?
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
sukumar.pm

New User


Joined: 20 Dec 2007
Posts: 22
Location: chennai

PostPosted: Fri Oct 10, 2008 12:24 am    Post subject:
Reply with quote

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
View user's profile Send private message
References
PeD

Senior Member


Joined: 26 Nov 2005
Posts: 313
Location: Belgium

PostPosted: Fri Oct 10, 2008 12:40 am    Post subject:
Reply with quote

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
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 536
Location: work

PostPosted: Fri Oct 10, 2008 2:20 am    Post subject: Reply to: can anybody help me to resolve this REXX RC(-3) er
Reply with quote

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
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 536
Location: work

PostPosted: Fri Oct 10, 2008 2:26 am    Post subject: Reply to: can anybody help me to resolve this REXX RC(-3) er
Reply with quote

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
View user's profile Send private message
sukumar.pm

New User


Joined: 20 Dec 2007
Posts: 22
Location: chennai

PostPosted: Fri Oct 10, 2008 11:14 am    Post subject:
Reply with quote

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
View user's profile Send private message
sukumar.pm

New User


Joined: 20 Dec 2007
Posts: 22
Location: chennai

PostPosted: Fri Oct 24, 2008 11:03 am    Post subject:
Reply with quote

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
View user's profile Send private message
muralithirumalaisamy
Warnings : 1

New User


Joined: 13 Jun 2005
Posts: 10
Location: chennai

PostPosted: Fri Oct 31, 2008 8:54 pm    Post subject: Reply to: can anybody help me to resolve this REXX RC(-3) er
Reply with quote

Hi,

If u didnt solve this problem yet try as below, it will work

ADDRESS DSNREXX 'CONNECT' ssid
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3544
Location: Brussels once more ...

PostPosted: Sat Nov 01, 2008 3:54 pm    Post subject: Re: Reply to: can anybody help me to resolve this REXX RC(-3
Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 HoursGoto page Previous  1, 2, 3
Page 3 of 3