Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to copy Dataset contents to a Dataset Member

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
tishasha

New User


Joined: 14 Jun 2007
Posts: 5
Location: Manila

PostPosted: Fri Jun 15, 2007 7:45 am    Post subject: How to copy Dataset contents to a Dataset Member
Reply with quote

Hi...
Is it possible to copy dataset contents into a dataset member? Or, it is also possible to output a SORT into a dataset member and NOT into a dataset..icon_smile.gif

any help highly appreciated. thanks!!
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: Fri Jun 15, 2007 8:11 am    Post subject:
Reply with quote

Hello,

Either may be done.

For example - data in a PS dataset with an lrecl of 80 may be copied or sorted into a member of a pds with an lrecl of 80.
Back to top
View user's profile Send private message
ramfrom84

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Fri Jun 15, 2007 5:39 pm    Post subject:
Reply with quote

Hi,

In the SORTOUT Mention the PDS Name..

below using IEBCOPY :

Code:

//STEP01 EXEC PGM=IEBCOPY                     
//INDD  DD DSN=T.XXXXXXXX.XXXX,DISP=SHR
//OUTDD DD DSN=T.XXXXXXXX.XXXX.XXXXXX,DISP=SHR
//SYSIN DD *                                   
 COPY INDD=((INDD,R)),OUTDD=OUTDD             
 COPY INDD=INDD , OUTDD=((OUTDD,R)),
 S M=XXXXXXXX                         /*member name*/         
//*                                           
//                                             
Back to top
View user's profile Send private message
tishasha

New User


Joined: 14 Jun 2007
Posts: 5
Location: Manila

PostPosted: Sat Jun 16, 2007 7:28 am    Post subject: Re: How to copy Dataset contents to a Dataset Member
Reply with quote

i think i got it... thanks guys!! icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us