|
View previous topic :: View next topic
|
| Author |
Message |
Ashish.Srivastava.123
New User
Joined: 29 Jun 2014 Posts: 16 Location: India
|
|
|
|
Hi All,
I am trying to create a backup of GDG versions to a PS. The method I follow is adding
in the end of file. I am not sure why this is happening.
Process I follow.
1) Using 3.4 list the GDG version i.e. ABCD.EFGH.TEST.*
2)Once GDG versions is listed use following command
| Code: |
ABCD.EFGH.TEST.G0001V00
ABCD.EFGH.TEST.G0002V00
COPY ABCD.EFGH.TEST.G0003V00
ABCD.EFGH.TEST.G0004V00
|
3) User will be prompted to give 'TO" Dataset name.
4) I give 'ABCD.EFGH.TEST.G0003V00.FEB20' and press enter.
5) Dataset 'ABCD.EFGH.TEST.G0003V00.FEB20' is created and with all data but in the end of file i.e. last columns( scroll right) I see '0000' ( Not sure why ?
Thanks
Ashish[/quote] |
|
| Back to top |
|
 |
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
Are the zeroes showing up on every record? Or just the last record? Or on an extra record appended to the bottom of the file?
Are you actually using the TSO command line to do the copy? I ask because our shop has a special clist that kicks in. |
|
| Back to top |
|
 |
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
| Ed, there's a good chance they are using the piece of junk COPY command from the unsupported, and withdrawn from marketing decades ago TSO Data Utilities product. They should append NONUM to the COPY command. Decades ago IBM notified its users they no longer had to pay for the product. |
|
| Back to top |
|
 |
Ashish.Srivastava.123
New User
Joined: 29 Jun 2014 Posts: 16 Location: India
|
|
|
|
| Quote: |
Are the zeroes showing up on every record? Or just the last record? Or on an extra record appended to the bottom of the file?
Are you actually using the TSO command line to do the copy? I ask because our shop has a special clist that kicks in.
|
Yes Zeros are showing up in every record. They are not appended in bottom of file but on the right side of file i.e. scroll to right of the file using M + F11.
| Quote: |
| They should append NONUM to the COPY command |
What is the syntax of command you are referring to ? |
|
| Back to top |
|
 |
Ashish.Srivastava.123
New User
Joined: 29 Jun 2014 Posts: 16 Location: India
|
|
|
|
I think the syntax is
SYNTAX -
COPY 'DSNAME1' 'DSNAME2'
RENUM('BEGIN INTEGER' 'INCREMENT')
NUM('BEGIN COLUMN' 'FIELD LENGTH')
OR
NONUM
Will try it. |
|
| Back to top |
|
 |
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
| It's like some vestigial organ in my TSO session! |
|
| Back to top |
|
 |
|
|