Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
Posted: Thu Jan 14, 2010 11:55 am Post subject:
ISPF uses dynamic allocation to create load libraries (SVC 99) but in JCL you would use a DD name with DISP=(New,catlg) and all the required attributes for the data set you want as a target. You can use that as SYSUT2 in an IEBCOPY step. _________________ New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
Posted: Thu Jan 14, 2010 7:10 pm Post subject:
Deaf, your job creates a PDSE load library. For those of you who are creating a PDS, be sure to add a "directory blocks" subparameter for SYSUT2. _________________ ....Terry
Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
Posted: Fri Jan 15, 2010 4:51 am Post subject:
You could use an ADRDSSU Copy Job to do the same, and probably faster. In your iefbr14 job I would also use a LIKE in the DD statement to make sure that the attributes of the new file are like the attributes of the old file.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum