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 User


Joined: 30 Nov 2013
Posts: 461
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 FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts IMS Database backup info ashek15 IMS DB/DC 14 Wed Nov 16, 2016 5:29 am
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts Creating an 'Enter' event with IMS MF... dileep chirasani Java & MQSeries 1 Sat Aug 06, 2016 2:23 am


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