View previous topic :: View next topic |
Author |
Message |
rasprasads Beginner
Joined: 10 Dec 2002 Posts: 59 Topics: 20 Location: Chennai
|
Posted: Fri Jul 16, 2004 1:42 am Post subject: COPY Thru COBOL |
|
|
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 |
|
|
NutCracker Beginner
Joined: 13 Dec 2002 Posts: 45 Topics: 3 Location: 3rd Block from the SUN
|
Posted: Fri Jul 16, 2004 2:39 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
|
|