I have a template jcl inside a PDS which will be submitted once after values are passed on to it through a program . I have been using this program & it was working before but now its not working once after i changed the ddname (since i want to be dynamically poppulated for some other reason)
I have shown below part of my rexx module which calls the template jcl using ispexec
DSN=XX.RRR
ADDRESS TSO
"ALLOC DD(ISPFILE) DA('"DSN"') NEW SPACE(9,9) DIR(0) TRACKS LRECL(80)
RECFM(F B)"
ADDRESS ISPEXEC
"FTOPEN"
"FTINCL BUMP" /* Name of the member which is a template JCL */
"FTCLOSE"
After this i would submit the above modified JCL
All through these days it was working & now when i try using some other DD name (say USER01) instead of ISPFILE , I am getting below error
ISPF140
Data set not allocated
ISPFILE data set is not allocated.
Current dialog statement:
FTOPEN
I am not sure what i am missing here . Is it something to do with address space ? If so can it be cleared ? Can any one guide me please