Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to create two pds in single step

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
rameshwar

New User


Joined: 26 Aug 2006
Posts: 2

PostPosted: Sun Aug 27, 2006 3:21 pm    Post subject: How to create two pds in single step
Reply with quote

hi,all
how can i create two pds in single step.And delete them in single step.
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sun Aug 27, 2006 4:04 pm    Post subject:
Reply with quote

1. REXX
2. ISPF Services
3. IKJEFT01

o.
Back to top
View user's profile Send private message
stly
Warnings : 1

New User


Joined: 25 Jul 2005
Posts: 93

PostPosted: Mon Aug 28, 2006 10:58 am    Post subject: Re: How to create two pds in single step
Reply with quote

Hi here is the simple JCL to create 2 PDS in a single step.


//abc JOB (TDEV,TST),'abc',MSGCLASS=9,
// CLASS=C,NOTIFY=abc
//*
//STEP01 EXEC PGM=IEFBR14
//DD01 DD DSN=temp1.TEMP.FILE4,
// DISP=(MOD,CATLG,DELETE),
// SPACE=(TRK,1),UNIT=SYSDA,
// DCB=(DSCB1,RECFM=FB,LRECL=80,BLKSIZE=0)
//SYSOUT DD SYSOUT=*
//DD02 DD DSN=temp1.TEMP.FILE3,
// DISP=(MOD,CATLG,DELETE),
// SPACE=(TRK,1),UNIT=SYSDA,
// DCB=(DSCB1,RECFM=FB,LRECL=80,BLKSIZE=0)
//SYSOUT DD SYSOUT=*
//*



similarly u can delete the pds in a single step.


correct me if i m not correct
Back to top
View user's profile Send private message
stly
Warnings : 1

New User


Joined: 25 Jul 2005
Posts: 93

PostPosted: Fri Sep 01, 2006 3:10 pm    Post subject: Re: How to create two pds in single step
Reply with quote

Hi ramesh,
small correction for my prev post.i have coded space paramter such that PS will be created.
just change the space parameter.

ex:SPACE=(CYL,(2,5,5),rlse)


5-specifies the directory block
Back to top
View user's profile Send private message
rameshwar

New User


Joined: 26 Aug 2006
Posts: 2

PostPosted: Thu Sep 07, 2006 9:39 pm    Post subject: Re: How to create two pds in single step
Reply with quote

hi
Its working fine.thanks for your kind support
regards
Rameshwar
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts To Merge mutliple records into a sing... anandgbe DFSORT/ICETOOL 6 Wed Feb 22, 2017 8:49 am
No new posts Two Selects in a single select query Rohit Umarjikar DB2 1 Fri Nov 04, 2016 8:46 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us