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 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 Member


Joined: 30 Nov 2013
Posts: 734
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 Copy physical Tape files to a Mainfra... Dadi Krishna Teja JCL & VSAM 11 Thu May 16, 2019 10:25 pm
No new posts How to browse RECFM=VBS DSORG=PSE seq... Alan Playford JCL & VSAM 7 Fri May 10, 2019 2:59 pm
No new posts How to copy\replace the members in pr... abdulrafi JCL & VSAM 6 Fri Mar 22, 2019 7:02 pm
This topic is locked: you cannot edit posts or make replies. Copy one file to possible multiple files dibyendumandal11111 SYNCSORT 9 Fri Mar 08, 2019 2:47 am
No new posts how to copy a sequential dataset by u... javen777 JCL & VSAM 3 Thu Feb 21, 2019 11:37 pm

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