IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to get SPACE information for a TAPE Dataset?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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

Moderator Emeritus


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

PostPosted: Tue Jan 02, 2007 10:02 pm
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: 3156
Location: Tucson AZ

PostPosted: Tue Jan 02, 2007 10:14 pm
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

Moderator Emeritus


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

PostPosted: Tue Jan 02, 2007 11:13 pm
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: 1208
Location: Bangalore,India

PostPosted: Wed Jan 03, 2007 10:38 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts Allocated cylinders of a dataset DB2 12
Search our Forums:

Back to Top