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
 
How to get SPACE information for a TAPE Dataset?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
GAFUR

New User


Joined: 19 May 2005
Posts: 31

PostPosted: Fri Dec 29, 2006 12:15 pm    Post subject: How to get SPACE information for a TAPE Dataset?
Reply with quote

Hi Group,


How to get SPACE information for a TAPE Dataset?

I want to copy this data set into a new PS file.

In my system i dont have TMS and the commands like 'TI' or 'TMS' wont work.


Regards,
Gafur
Back to top
View user's profile Send private message

mainframelover

New User


Joined: 27 Dec 2006
Posts: 6
Location: Bangalore

PostPosted: Fri Dec 29, 2006 1:35 pm    Post subject: Re: How to get SPACE information for a TAPE Dataset?
Reply with quote

hi,
just go to 'Removable Media Manager - tape management' option & specify the tape name you can get the space information
Back to top
View user's profile Send private message
TizMe

New User


Joined: 05 Jan 2006
Posts: 72

PostPosted: Tue Jan 02, 2007 12:01 pm    Post subject:
Reply with quote

Without knowing which tape management system you are using it is impossible to answer your question.

?A problem well-defined is half solved? ? John Dewey
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jan 02, 2007 10:02 pm    Post subject:
Reply with quote

Hello,

First, look in the documentatio for the tape trailer record formats.

Second "print" the trailer records on the tape you are interested in.

In the trailer data should be a block count which you can use to calculate what space you would need to allocate.

If is much easier if your site has a tape management system, but this should work regardless of the tape management system. You may need to as for assistance from the tape support people or the systems programmers to "print" the trailer info.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Tue Jan 02, 2007 10:14 pm    Post subject:
Reply with quote

Well put Dick, it's been soooo long since I even thought about trailer labels, I didn't even think of them..... icon_biggrin.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jan 02, 2007 11:13 pm    Post subject:
Reply with quote

Thanx WT,

Would've been better put if i'd not included the typos and could have remembered the label record format<g>. . . .
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Wed Jan 03, 2007 10:38 am    Post subject:
Reply with quote

Hi Gafur,

You can use sort for this.

Code:
//SYSIN    DD  *             
   OPTION COPY               
/*


Do not provide DCB prameter for sortout file it automatically takes it as input.

Hope it will helpful
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts The TS7720 is out of cache space. Rex Montemayor All Other Mainframe Topics 2 Mon Sep 25, 2017 7:18 am
No new posts Information About the Equifax Securit... Rohit Umarjikar PC Guides & IT News 6 Mon Sep 11, 2017 9:10 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

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