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
 

 

Copy ps & pds to single dataset

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Copy ps & pds to single dataset
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    Post subject:
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

Site Director


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

PostPosted: Wed Feb 21, 2007 10:36 pm    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Thu Feb 22, 2007 6:40 pm    Post subject:
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.    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 Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm


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