View previous topic :: View next topic
|
Author |
Message |
p.d.prasad
New User
Joined: 20 Jun 2006 Posts: 14 Location: hyderabad
|
|
|
|
Hi,
Can anybody explain how to find the space allocated for a tape data set? |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
|