Page 1 of 1

Finding TAPE datasets information.

Posted: Thu Jun 18, 2015 9:09 pm
by Nutan Gujar
When I use command 'I' in front of the tape dataset in ISPF, this message comes up, GDG base or TAPE entry. It is a tape datset indeed. Please let me know how to find tape datset info?

Thanks

Re: Finding TAPE datasets information.

Posted: Thu Jun 18, 2015 9:21 pm
by enrico-sorichetti
ask Your support,
and if You have the need to know they will be happy to provide You the guidance on how to do it!

Re: Finding TAPE datasets information.

Posted: Thu Jun 18, 2015 9:45 pm
by Anuj Dhawan
Or if you've any Tape Management Software (TMS) like CA1 - it'll help you to get all the information.

You can also use the following JCL:

Code: Select all

//STEP010  EXEC PGM=ICETOOL/SYNCTOOL
//TOOLMSG  DD  SYSOUT=*              
//DFSMSG   DD  SYSOUT=*              
//DD01     DD  DSN=TAPE_FILE_NAME,    
//             DISP=SHR              
//TOOLIN   DD  *                      
   COUNT FROM(DD01)                  
/*                                    
//*
Once the job is completed, check the TOOLMSG & DFSMSG. One of them'll give you the LRECL & BLOCKSIZE of tape file. Hope this helps.

Re: Finding TAPE datasets information.

Posted: Thu Jun 18, 2015 9:58 pm
by enrico-sorichetti
the TS still has to demonstrate the need to know.

usually also in any well designed application the counts of the records written to tape are kept somewhere

i still wonder why so many people refuse to get they support involved

( asking on a forum rather than using the internal information channels
is something that sometime make the forums less than welcomed )

Re: Finding TAPE datasets information.

Posted: Thu Jun 18, 2015 10:15 pm
by Robert Sample
In order to provide tape information, the tape must be mounted. Very few sites will allow a TSO user to mount a tape (for various reasons), hence you typically cannot get tape information through a terminal session of ISPF. As elsewhere mentioned, contacting your site support group would be the BEST way to get this data. Or use the tape management system installed at your site to retrieve the data.