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
 

 

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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am


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