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
 

 

space alloctaed for tape data set?

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

New User


Joined: 20 Jun 2006
Posts: 14
Location: hyderabad

PostPosted: Wed Sep 05, 2007 1:37 pm    Post subject: space alloctaed for tape data set?
Reply with quote

Hi,

Can anybody explain how to find the space allocated for a tape data set?
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Wed Sep 05, 2007 3:03 pm    Post subject:
Reply with quote

As far as I know, tape space is considered "never-ending"......If you run out of space on a volume, the system just keeps writing on another.....
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Sep 05, 2007 5:54 pm    Post subject:
Reply with quote

Hi,

If you would like to know rather the space used by some tape file, then below JCL can work for you:

Code:
//STEP010  EXEC PGM=SYNCTOOL         
//TOOLMSG  DD  SYSOUT=*             
//DFSMSG   DD  SYSOUT=*             
//DD01     DD  DSN=TAPE_FILE_NAME,   
//             DISP=SHR             
//TOOLIN   DD  *                     
   COUNT FROM(DD01)                 
/*                                   
//*                                 


Check the TOOLMSG & DFSMSG after completion of the JOB. One of them'll give you the LRECL & BLOCKSIZE of tape file. Perhaps that info can be of your use.
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 Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


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