Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
how to copy multiple PS into 1 PDS

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

New User


Joined: 13 Apr 2010
Posts: 3
Location: China

PostPosted: Tue Apr 13, 2010 8:32 am    Post subject: how to copy multiple PS into 1 PDS
Reply with quote

Hi all, I want to copy around 200 existing PS into 1 new PDS(nonexistent). Could anyone please help me out? Thanks in advance.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Apr 13, 2010 8:44 am    Post subject:
Reply with quote

Hello and welcome to the forum,

You need to provide something for people to use to help you. . .

What are the dsorg and lrecl of the 200 input files? What is the use of the pds?

One way to do what you want is to manually allocate a pds of the proper specifications (with no info provided, no suggestion can be made about this dataset) and then copy the existing files into a different member for each "input" fioe (unless some of them are to be ocmbined).

You could copy these manually (size permitting) or in a series of batch steps.
Back to top
View user's profile Send private message
luois8753

New User


Joined: 13 Apr 2010
Posts: 3
Location: China

PostPosted: Tue Apr 13, 2010 9:06 am    Post subject: Reply to: how to copy multiple PS into 1 PDS
Reply with quote

Hi Dick,
Thanks for your reply.
Actually, I need to archive all those files including 200GDGs (PS,FB, length 190) x 5levels and 8 PS file(PS,FB, length 80) into the new PDS.

Indeed, I can add a step in my JCL to create the new PDS.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Apr 13, 2010 9:20 am    Post subject:
Reply with quote

Hello,

If the requirement is to archive these files suggest you consider using adrdssu. Using this, all of the files can be backed up in one "step" and the differences in the attributes will not be a problem. Any of the individual files could then be retrieved if needed.

Your storage management people should be able to show you some already existing adrdssu backups that you could clone for your use.

There are also several such topics in the forums - use the forum SEARCH above.
Back to top
View user's profile Send private message
luois8753

New User


Joined: 13 Apr 2010
Posts: 3
Location: China

PostPosted: Tue Apr 13, 2010 9:28 am    Post subject: Reply to: how to copy multiple PS into 1 PDS
Reply with quote

Thanks Dick for your quick response, I am checking now.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Apr 13, 2010 10:12 am    Post subject: Reply to: how to copy multiple PS into 1 PDS
Reply with quote

You're welcome - good luck icon_smile.gif

Someone will be here if there are questions,

d
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us