Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 
Extraneous Zeros added to Dataset when creating a backup

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Extraneous Zeros added to Dataset when creating a backup
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    Post subject:
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: 546
Location: The Universe

PostPosted: Wed Aug 06, 2014 9:33 pm    Post subject:
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    Post subject: Reply to: Extraneous Zeros added to Dataset when creating a
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    Post subject: Reply to: Extraneous Zeros added to Dataset when creating a
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts editting the file by inserting zeros ... pramodrsingh DFSORT/ICETOOL 9 Mon Aug 21, 2017 5:58 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us