Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 19254
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 Member


Joined: 30 Nov 2013
Posts: 847
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 VSAM Open During Copy-Excessive EXCP ... David Beckham JCL & VSAM 1 Sat Jun 27, 2020 5:23 pm
No new posts Batch JCL to Copy from Unix Directory... satish.ms10 JCL & VSAM 5 Tue May 19, 2020 7:53 pm
No new posts File Manager Copy narinder4075 IBM Tools 1 Thu Apr 30, 2020 9:15 pm
No new posts Copy a dataset without authorization Renato Zangerolami TSO/ISPF 15 Tue Feb 11, 2020 6:15 pm
No new posts adrdssu for copy all data robyjhl JCL & VSAM 5 Tue Nov 12, 2019 11:17 pm

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