DD NAME usage in Allocate Statement ISPF140



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

DD NAME usage in Allocate Statement ISPF140

Postby Balamurugan21 » Fri Jul 26, 2013 8:17 pm

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
Balamurugan21
 
Posts: 6
Joined: Tue Feb 14, 2012 2:29 pm
Has thanked: 2 times
Been thanked: 0 time

Re: DD NAME usage in Allocate Statement ISPF140

 

Re: DD NAME usage in Allocate Statement ISPF140 - REXX

Postby NicC » Fri Jul 26, 2013 8:23 pm

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).
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: DD NAME usage in Allocate Statement ISPF140 - REXX

Postby Pedro » Sat Jul 27, 2013 4:13 am

The description of FTOPEN in the ISPF Services Guide mentions the requirement of using ISPFILE.
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post