Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submitting a Rexx through JCL

Status
Not open for further replies.

rajesh082

Programmer
Dec 18, 2007
38
DK
My JCl:-
//TTOIRH09 JOB 0,CLASS=N,MSGCLASS=0,NOTIFY=USER
//IRXJCL EXEC PGM=IRXJCL,PARM='TEST3'
//SYSEXEC DD DSN=TTOI.RAWATR.EXEC,DISP=SHR
//INP DD DUMMY
//OUT DD DUMMY
//SYSOUT DD DUMMY
//SYSTSPRT DD DSN=TTOI.RAWATR.VAR4.ENQLIST,DISP=SHR
//SYSTSIN DD DUMMY

My REXX Exec:-
SAY "Hi Rajesh"
/* Sending the Map. */
SendMap:
Address TSO
Address ISPEXEC
ZWINTTL = "ADDING POP UP WINDOW"
"LIBDEF ISPPLIB DATASET ID ('TTOI.RAWATR.SDF2.ISPF.PANEL')"
"DISPLAY PANEL (JCLSUB) CURSOR("Curs")"
Return
End

I get a RC of -3 at the statement LIBDEF ISPPLIB DATASET ID ('TTOI.RAWATR.SDF2.ISPF.PANEL')"

I read it somewhere that a RC of -3 means that the environment is not present. Does that mean I cant diaplay a screen from a Rexx submitted through a batch job.

Can somebody provide me pointers on this? Any further links where I can read about this will also be highly appreciated.

Thanks a lot for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top