SPACE calculation - Help

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
User avatar
rangab
Active Member
Posts: 56
Joined: Fri Mar 17, 2006 3:21 pm

SPACE calculation - Help

Post by rangab » Sat Sep 12, 2009 9:34 am

Hi,

We need to add a new file to a JCL with a LRECL of 29990 and RECFM is FB. It will receive a minimum of 2500 records and a maximum of 8700 records. Would somebody help me to calculate the SPACE for this?

Thanks.
========
Ranga...:-0)
========
Learn Which You Don't Know - Teach Others Which They Don't Know.

User avatar
Chanti
Member
Posts: 32
Joined: Thu Nov 27, 2008 4:31 pm

Post by Chanti » Sat Sep 12, 2009 12:00 pm

Hi,

It would require, if you consider max of 8700 records for the lrecl
29990
SPACE=(CYL,(310,310),RLSE)
According to:
(prim,sec)=((lrecl*maxrec)/56664)/15

Thanks,
Chanti.

Gerry Ciccheti
Member
Posts: 16
Joined: Thu Jul 30, 2009 7:52 am

Post by Gerry Ciccheti » Mon Sep 14, 2009 7:10 am

Hi,

assuming it's a 3390 device, with an LRECL of 29990, you can only fit 1 record per track.

8700 records will need 8700 tracks

8700/15 equals 580 cyls.


Gerry

Gousiya Mulla
Member
Posts: 5
Joined: Thu Aug 27, 2009 2:09 pm
Location: Bangalore

Post by Gousiya Mulla » Mon Sep 14, 2009 12:31 pm

Hi ,

According to:
(prim,sec)=((lrecl*maxrec)/56664)/15


What is 56664 in the above ?
Cheers ...

User avatar
Chanti
Member
Posts: 32
Joined: Thu Nov 27, 2008 4:31 pm

Post by Chanti » Mon Sep 14, 2009 5:49 pm

Hi,

(prim,sec)=((lrecl*maxrec)/56664)/15

=> LRECL*MAXREC --> No. Of bytes
=> 56664 --> No. of bytes per Track
=> 15 --> No. of tracks per cylinder

Thanks,
Chanti.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others