IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Extraneous Zeros added to Dataset when creating a backup


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ashish.Srivastava.123

New User


Joined: 29 Jun 2014
Posts: 16
Location: India

PostPosted: Wed Aug 06, 2014 11:28 am
Reply with quote

Hi All,

I am trying to create a backup of GDG versions to a PS. The method I follow is adding

Code:
0000

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
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Wed Aug 06, 2014 8:20 pm
Reply with 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.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Wed Aug 06, 2014 9:33 pm
Reply with quote

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
View user's profile Send private message
Ashish.Srivastava.123

New User


Joined: 29 Jun 2014
Posts: 16
Location: India

PostPosted: Wed Aug 06, 2014 10:52 pm
Reply with quote

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
View user's profile Send private message
Ashish.Srivastava.123

New User


Joined: 29 Jun 2014
Posts: 16
Location: India

PostPosted: Wed Aug 06, 2014 10:56 pm
Reply with quote

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
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Thu Aug 07, 2014 6:52 pm
Reply with quote

It's like some vestigial organ in my TSO session!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top