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

How to copy PDS members to PS with member name as header


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sameer

New User


Joined: 10 Mar 2005
Posts: 41
Location: United States Of America

PostPosted: Mon Apr 16, 2007 6:32 pm
Reply with quote

Hi,

Is there any way that I can copy all PDS Members into a PS (Sequential File) file along with Member names as headers.

I tried copying PDS Members into flat file using option 3.3 and File-AID but the output file has only Data of all Members in concatenated manner. I want Member name also along with its content in PS.

Ex :

ABC.PDS has the following members :
MEMBER1
MEMBER2

MEMBER1:
-----------------
Data in member1

Member2:
-----------------
Data in member2

I want output like :
-----------------


MEMBER1:
Data in member1

Member2:
Data in member2

Your help is appriciated.

Thanks & Regards
sameer
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8798
Location: Welsh Wales

PostPosted: Tue Apr 17, 2007 1:41 pm
Reply with quote

IEBPTPCH should do it.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare the member of two pds on las... DFSORT/ICETOOL 13
No new posts DB2 Image Copy DFSMS MGMTCLAS Partial... DB2 2
No new posts creat new line command in front of Me... TSO/ISPF 4
No new posts PDS member list with stats JCL & VSAM 6
No new posts Copy only TEXT or String from a record SYNCSORT 4
Search our Forums:


Back to Top