Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 647
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 FILE versus DATASET jerryte All Other Mainframe Topics 9 Fri Jun 29, 2018 10:47 pm
This topic is locked: you cannot edit posts or make replies. Issue in suppressing leading zeros &a... Vijay_Sirisha COBOL Programming 21 Thu Jun 07, 2018 8:01 pm
No new posts Question about dataset sequence numbe... harisukumaran JCL & VSAM 23 Tue May 29, 2018 9:31 am
No new posts TRAILER3 is creating blank record in ... kodeesm DFSORT/ICETOOL 3 Fri May 18, 2018 5:45 pm
No new posts Temp dataset unusual behavior sheersh JCL & VSAM 5 Tue May 08, 2018 9:52 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us