Previous Topic: SUBCHEK Control StatementsNext Topic: SUBCHEK Control Statement File Example


ALLOCATE Control Statement

The SUBCHEK ALLOCATE statement is similar to the TSO ALLOC command, except that you must use a fully-qualified data set name and you must not enclose it in quotes. The statement always generates an allocation with a SHR REUS attribute. Unlike the TSO ALLOC command, the SUBCHEK ALLOCATE statement can concatenate cataloged and uncataloged libraries to the same file.

This statement has the following format:

ALLOCATE FILE(filename)   DATASET(dsname)  -UNIT(unit name)-
                                           -VOLUME(volser)-
                                           -BUFL(nnnn)-

Specify valid abbreviations of keyword parameters as uppercase characters. Enclose optional parameters in brackets.

filename

Specifies the file name (ddname) for this allocation.

Use an asterisk (*) to request that CA JCLCheck concatenate the data set to the most recent ALLOCATE statement that contains a file name.

dsname

Specifies the fully-qualified data set name of the library.

Do not enclose the name in quotes.

unit name

Specifies the unit name CA JCLCheck uses if the library is not cataloged.

volser

Specifies the volume serial number CA JCLCheck uses if the library is not cataloged.

nnnn

Specifies the buffer length CA JCLCheck uses instead of the block size of the library in this ALLOCATE statement.

Using this parameter can cause concatenation to begin with a library with a smaller block size than the subsequent libraries.