Space parameter

What are the various ways to define Space parameter
ie using CYL/TRK/LRECL.

Questions by razeem

Showing Answers 1 - 6 of 6 Answers

dronveer

  • Jun 13th, 2008
 

The SPACE parameter is used to allocate space for datasets.
We can allocate space in Cylinders/Tracks/Blocks
Syntax -> SPACE=(CYL,(primary,secondary,directory),RLSE,CONTIG,MXIG,ROUND)
Instead of CYL, We can use TRK or BLK


Meaning of Sub Parameter
TRK - Requesting space in track
CYL - Requesting space in cylinders
PRIMARY - Primary storage to be allocated at the time of data set created
SECONDARY - Additional storage to be allocated, If primary storage is not
sufficient
DIRECTORY - Space for recording of name and location of partitioned data sets
RLSE - Request for release of space previously allocated unused space after
completion of job
CONTIG - Request for contiguous space
MXIG - Request for large aread of contiguous space
ROUND - Request for entire cylinder for storage of data set


EXAMPLE JCL -> //MYJOB JOB (W345),'KRISHNA REDDY'
//STEP1 EXEC PGM=COBPROG
//INFILE DD DSN=TEST.GLOB.LIB
// UNIT=4560
// SPACE=(CYL,(30,4))


In this example, 30 cylinders are requested as primary space and 4 additional
cylinders as secondary space.

  Was this answer useful?  Yes

vjjammi

  • Feb 18th, 2009
 

The Space parameter is defined in the following way in a JCL.

SPACE=(CYL,(Primary Space,Secondary Space),RLSE)

Note :  The Option RLSE means Release. Even though this option is not mandatory, this option is widely used to release the unused Memory.

   
 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions