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

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


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Wed Apr 16, 2008 3:53 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Back Page print direction (Duplex Pri... JCL & VSAM 3
This topic is locked: you cannot edit posts or make replies. ISREDIT Macro is not returning back t... CLIST & REXX 21
No new posts CICS Roll back partially - Need to re... CICS 4
No new posts Need a JCL to change the volume back ... JCL & VSAM 10
Search our Forums:

Back to Top