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
 
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 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
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm

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