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: 8797
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts Insert header record with record coun... DFSORT/ICETOOL 14
Search our Forums:

Back to Top