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

Copy from RECFM=VS to RECFM=U


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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Apr 14, 2014 11:53 pm
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: 917
Location: The Universe

PostPosted: Tue Apr 15, 2014 3:00 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts DB2 Table - Image copy unload IBM Tools 2
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
Search our Forums:

Back to Top