Finding TAPE datasets information.

JES2/3, JCL, utilities.
Post Reply
Nutan Gujar
New Member
Posts: 2
Joined: Mon Aug 11, 2014 1:20 pm

Finding TAPE datasets information.

Post 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
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 837
Joined: Wed Sep 11, 2013 3:57 pm

Re: Finding TAPE datasets information.

Post 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!
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
User avatar
Anuj Dhawan
Founder
Posts: 2816
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Finding TAPE datasets information.

Post 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.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 837
Joined: Wed Sep 11, 2013 3:57 pm

Re: Finding TAPE datasets information.

Post 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 )
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1900
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Finding TAPE datasets information.

Post 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.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”