Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8614
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: 4650
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: 8614
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: 445
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: 2445
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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us