Copy (Cloning) PS files
Posted: Wed Mar 25, 2009 2:13 am
Hi All,
I have very minimal experience working in Rexx. I have to write a tool that takes PS(flat file) as the input file and creates a copy of it every time i run.
For example (under 3.4 option), if i give say.
clone PWSX.S34562.FILE
The tool should copy of the dataset as PWSX.S34562.FILE.COPY1
When i run the tool again, it should generate PWSX.S34562.FILE.COPY2
Can you please list me various steps/Pseudo code, so that i can achieve to do the following
1. Steps for invoking IEBGENER from Rexx.
2. Process to create a rexx executable.
3. To make it called from ISPF option 3.4
Thanks
Arthi. N
I have very minimal experience working in Rexx. I have to write a tool that takes PS(flat file) as the input file and creates a copy of it every time i run.
For example (under 3.4 option), if i give say.
clone PWSX.S34562.FILE
The tool should copy of the dataset as PWSX.S34562.FILE.COPY1
When i run the tool again, it should generate PWSX.S34562.FILE.COPY2
Can you please list me various steps/Pseudo code, so that i can achieve to do the following
1. Steps for invoking IEBGENER from Rexx.
2. Process to create a rexx executable.
3. To make it called from ISPF option 3.4
Thanks
Arthi. N