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 find the size of a file?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to find the size of a file?
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: 8593
Location: Back in jolly old England

PostPosted: Mon Dec 21, 2009 4:10 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Mon Dec 21, 2009 4:15 pm    Post subject: Reply to: How to find the size of a file?
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    Post subject:
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

Site Director


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

PostPosted: Mon Dec 21, 2009 8:54 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Dec 22, 2009 8:10 pm    Post subject:
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

Senior Member


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

PostPosted: Wed Dec 23, 2009 4:55 pm    Post subject:
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 User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Mon Jan 04, 2010 11:04 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Mon Jan 04, 2010 11:27 pm    Post subject:
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    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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm


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