I am writing a Rexx program to automate sequential submission of jobs. The Code is like :
/*REXX*/
Address ISPEXEC "LIBDEF ISPPLIB DATASET ID('XXX.YYY.PANELS')
Address ISPEXEC "LIBDEF ISPMLIB DATASET ID('XXX.YYYY.JCLLIB')
isf_rc=ISFACALLS('ON')
Addres ISPEXEC "Display Panel(Panel1)"
if rc<>0 then do
say isf_rc
end
if zcmd==1 then do /*zcmd is a variable defined in the Panel to capture user input*/
Address TSO "SUBMIT (JCLMEM01)"
end
The error message is Dataset JCLMEM01 not found .
How do I solve this error?