Page 1 of 1

DD NAME usage in Allocate Statement ISPF140

PostPosted: Fri Jul 26, 2013 8:17 pm
by Balamurugan21
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

Re: DD NAME usage in Allocate Statement ISPF140 - REXX

PostPosted: Fri Jul 26, 2013 8:23 pm
by NicC
ISPF Services, like any other programs, require the use of the DDnames specified within the program. If you want to change the ddname you use you have to change the program and JCL (or other means of allocation).

Re: DD NAME usage in Allocate Statement ISPF140 - REXX

PostPosted: Sat Jul 27, 2013 4:13 am
by Pedro
The description of FTOPEN in the ISPF Services Guide mentions the requirement of using ISPFILE.