Previous Topic: CHANGE Command

Next Topic: DUMP Command

SPECS Command

This command is optional. It gives DOS users a means of defining the specifications of an input file. If it is specified, at least one of the five keywords must be specified. The SPECS command must follow the INPUT command for which the file specifications apply. The SPECS command can be used regardless of your operating system. Note that any values specified override DCB values found at open time.

   Command      Operands
SPECS=RECFM=fff,LRECL=nnnnn,BLKSIZE=nnnnn,TLBL=11,SYS=nnn|005

where:

RECFM=fff

fff is a 1- to 3-character value defining the record format of your input file. Valid operands are:

F

Fixed Format

FB

Fixed Blocked

FBA

Fixed Blocked ASA

V

Variable

VB

Variable Blocked

VBS

Variable Blocked Spanned

U

Undefined

LRECL=nnnnn

nnnnn is a 1- to 5-digit numeric value used to define the logical record length of your input file.

BLKSIZE=nnnnn

nnnnn is a 1- to 5-digit numeric value that defines the block size of your input file.

TLBL=ll

ll is a 2-character value defining the valid TAPE label options of your input file. If omitted, the File Utility defaults to SL. Valid operands are:

SL

Standard Label,Rewind

SR

Standard Label,Rewind,Unload

SN

Standard Label,NoRewind

NL

No label,Rewind

NR

No Label,Rewind,Unload

NN

No Label,NoRewind

SYS=nnn|005

nnn is a 1- to 3-digit numeric value defining the System Logical Unit that your input is assigned to. If omitted, the File Utility defaults to SYS005.

This keyword can be especially helpful to DOS users who are inputting multiple tape files. By assigning your input tape files to different SYS numbers, you can avoid mounting and demounting tapes on the same drive. This option also allows DOS users to have multiple input files residing on different device types.