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

Copy ps & pds to single dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
Maneesh

New User


Joined: 22 Jan 2007
Posts: 1
Location: Delhi

PostPosted: Wed Feb 21, 2007 3:53 pm
Reply with quote

hi,
i want to copy my ps and pds into a single dataset by using the same highest level qualifier of these ps and pds . Plz tell me how it is possble.
Back to top
View user's profile Send private message
prav_06
Warnings : 1

Active User


Joined: 13 Dec 2005
Posts: 154
Location: The Netherlands

PostPosted: Wed Feb 21, 2007 3:58 pm
Reply with quote

maneesh,

Quote:
i want to copy my ps and pds into a single dataset


Do u mean to say that u want to copy one PS and a member of PDS into a PS????


If ya want to copy the dataset with the same highest level qualifier u can declare this as a symbolic varialbe in a proc and use the same.



Thamilzan.
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: Wed Feb 21, 2007 10:36 pm
Reply with quote

Hello,

Please re-state your requirement.

Copying one PS and all of one PDS into another PS filedoes not sound like a good thing to do.

If, as was suggested above, you want to copy 1 file and 1 member to another file, you can use IEBGENER or sort and concatenate the inputs, creating a combined output.

Once you make it clear to everyone else what you are looking for, we should be able to help.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu Feb 22, 2007 6:40 pm
Reply with quote

This is what the fine manual states:

Quote:
Two or more data sets can be retrieved by the system and processed successively as a single sequential data set. This is called sequential concatenation. With sequential concatenation, the application program treats a collection of data sets as one sequential data set. The number of data sets that you can concatenate with sequential concatenation is variable. It is governed by the maximum size of the TIOT option. The system programmer controls the TIOT size with the option ALLOCxx member of SYS1.PARMLIB. See z/OS Initialization and Tuning Reference. When data sets are sequentially concatenated, the system is open to only one of the data sets at a time. Concatenated data sets cannot be read backward. During sequential concatenation, the system treats a member of a PDSE or PDS as if it were a sequential data set. The system treats a striped extended format data set as if it were a single-volume data set.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top