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

How to find the size of a file?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ananth86

New User


Joined: 10 Jun 2009
Posts: 59
Location: Hyderabad

PostPosted: Mon Dec 21, 2009 4:06 pm
Reply with quote

Hi
Is there any way to find the Size of a file residing in a Tape?
And how to find the size of file in DASD apart from listing 'short info' in 3.4?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Dec 21, 2009 4:10 pm
Reply with quote

How do you define the size of a tape file. What do you want to find out.

Please give some background on what you need to know, why you need to know it, and I am sure that some good suggestions will materialise.

The more information that we are given, the better the suggestion.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Dec 21, 2009 4:15 pm
Reply with quote

SIze of Tape DSN.

Size of the tape in Mega Bytes.

Given a Qualifier : Identify Total File Size.
Back to top
View user's profile Send private message
ananth86

New User


Joined: 10 Jun 2009
Posts: 59
Location: Hyderabad

PostPosted: Mon Dec 21, 2009 6:27 pm
Reply with quote

Thanks Kevin.. I ve found the size of the Tape dataset.

Quote:
Please give some background on what you need to know, why you need to know it, and I am sure that some good suggestions will materialise.

Expat, here is my requirement. There is a dump job that is failing. For my research I just want to take that Dump in a DASD, previously it was tape.

Its a fullvol dump and I was here stuck with the space parameter that I have to give in my new JCL.. And I think Kevin's link will help me.

Thanks for all ur help icon_smile.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: Mon Dec 21, 2009 8:54 pm
Reply with quote

Hello,

Depending on what failure is happening, dumping to dasd may not have the same problem.

Not just everywhere would allow creating an experimental full-volume dataset icon_confused.gif

If you post what was submitted and the error/problem encountered, someone may have a suggestion. As you have seen, going this route is causing "other things" that must be resolved before you can investigate the actual issue.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Dec 22, 2009 8:10 pm
Reply with quote

ananth86 wrote:
Expat, here is my requirement. There is a dump job that is failing. For my research I just want to take that Dump in a DASD, previously it was tape.

Its a fullvol dump and I was here stuck with the space parameter that I have to give in my new JCL.. And I think Kevin's link will help me.

Not sure how moving the output from tape to DASD is going to help here.

Maybe you should give details of the failing dump, such as
Product used to perform dump
Abend encountered
Messages and codes from the abending process
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Wed Dec 23, 2009 4:55 pm
Reply with quote

If size of tape-file is your concern why not get in contact with TMS group there at your shop. And to start with what info you already have about tape in question?
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 581
Location: London

PostPosted: Mon Jan 04, 2010 11:04 pm
Reply with quote

If you know the size of the DASD volume you're dumping then you know roughly what the dump dataset size will be. If you're using something like DFSMSdss to dump it and specify COMPRESS then you might expect somewhere between 30-70% compression and accordingly reduced size dump dataset. DSS could also invoke Flashcopy which would speed the process up a bit.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Jan 04, 2010 11:27 pm
Reply with quote

Normally nobody has to be concerned about SYSUDUMP.s or SYSABEND's.
If your system programmers are clever (and they always are), there will be enough space reserved for that kind of dumps (except if one dumb head is dumping his program every time it is started).
If we are talking about stand alone dumps then we need at least 1 tape unit, to write things to.
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top