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
 

 

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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm


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