MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

COPY Thru COBOL

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
rasprasads
Beginner


Joined: 10 Dec 2002
Posts: 59
Topics: 20
Location: Chennai

PostPosted: Fri Jul 16, 2004 1:42 am    Post subject: COPY Thru COBOL Reply with quote

I need to take a backup of a dataset. Since i am going to determine the output dataset name dynamically i need to do this in COBOL.

How to take a backup(copy) in COBOL ? I think to read and write will do much more time than sort and is not a good idea. So any other suggestions ?

rasPrasad
_________________
Rasprasad S
Back to top
View user's profile Send private message
NutCracker
Beginner


Joined: 13 Dec 2002
Posts: 45
Topics: 3
Location: 3rd Block from the SUN

PostPosted: Fri Jul 16, 2004 2:39 am    Post subject: Reply with quote

I would suggest

1/ Compare the PDS using SUPERC
2/ If found changed, copy the changed members into a Flat GDG using IEBPTPCH

instead of writing a COBOL code

My 2 cents ....
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Fri Jul 16, 2004 5:11 am    Post subject: Reply with quote

Rasprasads,

Please search before posting. This topic has been discussed earlier. Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=1905&highlight=bpxwdyn

The documentation of bpxwdyn can be found here

http://www.mvsforums.com/helpboards/viewtopic.php?t=2520

Hope this helps..

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group