Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
Author Message
surya anem

New User


Joined: 20 Dec 2007
Posts: 20
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
References
PostPosted: Wed Apr 16, 2008 3:48 pm    Post subject: Re: How to try to take a back up of a datafile(ps) Reply with quote

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 2450
Location: Brussels once more ...

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1