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.
//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.