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 Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts How do you create Eclipse based dialogs jasorn IBM Tools 0 Thu Aug 03, 2017 5:05 pm
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm


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