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 from RECFM=VS to RECFM=U

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

Active User


Joined: 18 Oct 2008
Posts: 380
Location: India

PostPosted: Mon Apr 14, 2014 11:39 pm    Post subject: Copy from RECFM=VS to RECFM=U
Reply with quote

Hi,

We have a JCL that copies from a PDS (LRECL=0,RECFM=U,BLKSIZE=23200,Organization=PO) to a GDG (LRECL=23216,RECFM=VS,BLKSIZE=23220,Organization=PS). Can you please give me a JCL that does reverse. We want to copy the content from 2nd file to 1st file.

Also, request you to suggest if this is the correct way of taking backup. If not, what is the correct code. Please help.

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: Mon Apr 14, 2014 11:53 pm    Post subject:
Reply with quote

Hello,

No, this is not the "correct" way of taking a backup of a load library.

Suggest you use ADRDSSU.

Talk with some senior system programmer on hyour system to see how this is done on hyour system.
Back to top
View user's profile Send private message
steve-myers

Active User


Joined: 30 Nov 2013
Posts: 477
Location: The Universe

PostPosted: Tue Apr 15, 2014 3:00 am    Post subject:
Reply with quote

Dick, this may be the result of running IEBCOPY to unload the PDS to a sequential data set. You use IEBCOPY to reverse the operation.
Back to top
View user's profile Send private message
ramsri

Active User


Joined: 18 Oct 2008
Posts: 380
Location: India

PostPosted: Tue Apr 15, 2014 1:53 pm    Post subject: Reply to: Copy from RECFM=VS to RECFM=U
Reply with quote

Dick, thanks.

Steve, I got the results by using IEBCOPY. Thanks a lot.
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 syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm


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