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 contents of a dataset which is in a datalib

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

New User


Joined: 13 Feb 2006
Posts: 1

PostPosted: Mon Feb 13, 2006 9:18 pm    Post subject: Copy contents of a dataset which is in a datalib
Reply with quote

Hi ,

I have a dataset 1 ( Flat file , FB , 80 bytes) which contains another dataset 2 ( GDG version , FB , 80 bytes). The GDG contains some data in a single record.
I need to copy this content of the GDG to another dataset 3 .

How can this be done using FILEAID or IEBCOPY or some other IBM utilties.

I did some research to use IEBCOPY & FILEAID but it is difficult to go to the contents of second dataset. All i could do is access only the contents of dataset 1.

Please pass on your suggestions. Thanks in Advance.
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Feb 14, 2006 12:27 am    Post subject:
Reply with quote

As far as I know - you can't do it with any utility. You'll have to write some code - the best method for me would be REXX.

O.
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 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 5 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm


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