RC(-3) In Libdef



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

RC(-3) In Libdef

Postby eprasad629 » Fri Jun 19, 2009 1:21 pm

Hi All,

Good Day!!

I'm having a concern while issuing LIBDEF.

I have a program that generates an automated JCL. Whenever I run the program, I see the JCL constructed succesfully. However when I fabricate my program into JCL and submit it, I'm getting a RC (-3). The same error being thrown for ‘ftincl’ command too.

Since it doesn't throw 'Command Not Found', it doesn't seem to be a wrong addressing problem.
Thanks & Regards,

Praelay
--------------------------------
eprasad629
 
Posts: 34
Joined: Wed Jan 07, 2009 12:48 pm
Location: Bangalore
Has thanked: 0 time
Been thanked: 0 time

Re: RC(-3) In Libdef

Postby MrSpock » Fri Jun 19, 2009 4:02 pm

eprasad629 wrote:Since it doesn't throw 'Command Not Found', it doesn't seem to be a wrong addressing problem.


I disagree. It sure appears that you're attempting to use ISPF Services without ISPF being active.
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: RC(-3) In Libdef

Postby expat » Fri Jun 19, 2009 4:05 pm

Or perhaps without the appropriate ISPF libraries being allocated in your batch job
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times

Re: RC(-3) In Libdef

Postby expat » Fri Jun 19, 2009 4:07 pm

However, if you post the error codes and messages issued it may help us to help you.
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times

Re: RC(-3) In Libdef

Postby eprasad629 » Tue Jun 23, 2009 4:11 pm

Hi MrSpock/Expat,

Thanks a lot for your analysis.

However, it seems we cannot include ISPF services in a rexx exec when it runs through a JCL.

I tried with the QUEUE Option instead of FTINCL and this has worked out.

Once again thanking you for your investigation on this.
Thanks & Regards,

Praelay
--------------------------------
eprasad629
 
Posts: 34
Joined: Wed Jan 07, 2009 12:48 pm
Location: Bangalore
Has thanked: 0 time
Been thanked: 0 time

Re: RC(-3) In Libdef

Postby expat » Wed Jun 24, 2009 11:30 am

However, it seems we cannot include ISPF services in a rexx exec when it runs through a JCL.

Oh....... I have been doing this for years.

type TSO ISRDDN on the command line, and see the librarie allocated to your ISPF session in foreground.
Now all you need to do is to include the majors, ISPPLIB, ISPSLIB, ISPMLIB, ISPTLIB in your batch job.
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times


Return to TSO & ISPF