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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
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

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