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: 574
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 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am

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