IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to copy multiple PS into 1 PDS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Tue Apr 13, 2010 8:44 am
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
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

Moderator Emeritus


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

PostPosted: Tue Apr 13, 2010 9:20 am
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
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

Moderator Emeritus


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

PostPosted: Tue Apr 13, 2010 10:12 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
Search our Forums:

Back to Top