P. 1
COBOL - Programming Guide

COBOL - Programming Guide

|Views: 968|Likes:
Publicado pormukesh

More info:

Published by: mukesh on Jul 01, 2011
Direitos Autorais:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
See more
See less

01/08/2015

When you create a SAM file, use your run-time JCL to:

Select the type of input/output device to be allocated for the file.

For a direct-access storage device or a diskette device, use the DLBL JCL
statement.

For a magnetic tape device, use the TLBL JCL statement.

For a unit-record device or unlabeled tape, use the ASSGN JCL statement.

Name the file using the file-ID (file-identifier) parameter of the DLBL or TLBL
JCL statement.

Give instructions for the volume on which the file will reside and for volume

mounting.

For a direct-access storage device or a diskette device, use the EXTENT
and ASSGN JCL statements.

For a magnetic tape device, use the volume serial number parameter of the
TLBL JCL statement, or let the system choose an output volume.

For direct-access storage devices or a diskette device, allocate the type and
amount of space the file needs. To do this, use the EXTENT JCL statement.

For a SAM ESDS file, created using the VSE/VSAM Space Management for
SAM Feature, you may alternatively use the RECORDS and RECSIZE parame-
ters of the DLBL JCL statement.

For a SAM ESDS file, indicate whether you want to keep or delete the file after
it is closed. To do this, use the DISP parameter of the DLBL JCL statement.

For a direct-access storage device, specify a different block size than that
coded in your program. To do this, use the BLKSIZE parameter of the DLBL
JCL statement.

This parameter does not apply to SAM ESDS files.

You're Reading a Free Preview

Descarregar
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->