IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Copy contents of a dataset which is in a datalib


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 2358
Location: Israel

PostPosted: Tue Feb 14, 2006 12:27 am
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Free space of a mulitvolume PS datase... TSO/ISPF 7
No new posts REXX to get all Dataset names from a ... CLIST & REXX 5
No new posts Avoid job abend on dataset held by us... JCL & VSAM 6
No new posts DB2 Image Copy DFSMS MGMTCLAS Partial... DB2 2
No new posts Identify Number of Multivolume Dataset All Other Mainframe Topics 5
Search our Forums:


Back to Top