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
 

 

How to try to take a back up of a datafile(ps)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
surya anem

New User


Joined: 20 Dec 2007
Posts: 54
Location: Hyderabad

PostPosted: Wed Apr 16, 2008 3:48 pm    Post subject: How to try to take a back up of a datafile(ps)
Reply with quote

Hi,
I am working on editing a file. I want to create a new file and copy the edited data in the new file instead of the original so that if there are any mistakes the data is not lost.

How do i create a PS file which has the same parameters as the datafile being used and copy all the contents of the datafile into the ps file.


with regards,
surya
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Apr 16, 2008 3:53 pm    Post subject:
Reply with quote

Use ALLOC to allocate the file, and invoke IEBGENER to copy it.

There is a link to the IBM manuals as a post near the top of the forum, or you can browse the manuals by using the MANUALS button at the top of the forum page.
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Need a JCL to change the volume back ... Manikandesvaran D JCL & VSAM 10 Tue Oct 14, 2014 9:06 pm
No new posts Go Back (F3) has to be automized sakrat TSO/ISPF 7 Tue May 06, 2014 12:30 pm
No new posts Parse a String and divide it by 2 and... magesh23586 CLIST & REXX 6 Fri Feb 07, 2014 11:34 pm
No new posts Setting check pending status back for... gylbharat DB2 7 Wed Jul 17, 2013 2:30 pm


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