Input and Output Files

In straightforward operations, the user need not be concerned with the MAKEUSER file usage. However, some additional capabilities are available through the use of run-time label equation.

MAKEUSER Files lists the internal names of MAKEUSER files—the names defined by the INTNAME file attribute—along with other file attributes and typical usage.

Table 66.  MAKEUSER Files

File

Attribute Values

Typical Usage

CARD

KIND= DONTCARE

FILETYPE= 8

MAKEUSER reads source input from the CARD file. You can file-equate this file to other media. If you run MAKEUSER through CANDE (so that the STATION attribute is other than zero) and the CARD file has not been file-equated to some other KIND, MAKEUSER changes CARD to a REMOTE I/O file and runs in interactive mode. If you initiate MAKEUSER from an ODT, and the CARD file has not been file-equated to some other KIND and a card reader file is not available, MAKEUSER changes the CARD file to an ODT I/O file and runs in interactive mode. All normal responses and error responses, as well as $LIST and $LISTI output, are then directed to the terminal or ODT by way of the CARD file.

DEFAULTDEFINES

KIND= PACK

FILETYPE= 8

If the DEFAULTDEFINES file is present, MAKEUSER reads that file before reading any input from the CARD file. The DEFAULTDEFINES file is also used when $INPUT is encountered.

LINE

KIND= PRINTER

UNITS= CHARACTERS

MAXRECSIZE= 132

The LINE file receives all line printer output. In noninteractive mode or when $HARDCOPY is TRUE, normal and error responses (as well as $LIST and $LISTI output) are directed to the LINE file. $DEBUG and $COPY PRINTER generate output on the LINE file.

DISK

KIND= PACK

MAXRECSIZE= 14

BLOCKSIZE= 420

AREAS= 15

AREASIZE= 420

FLEXIBLE

The DISK file receives output from COPY DISK <file name>. The TITLE attribute is assigned from the <file name> specification, and FILEKIND is set to SEQDATA.

OLDFILE

KIND= PACK

FILETYPE= 7

TITLE= *SYSTEM/USERDATAFILE

The OLDFILE file is used to read an existing USERDATAFILE. When performing a COPY operation, the OLDFILE file can be file-equated to any file other than the current *SYSTEM/USERDATAFILE file.

USERFILE

KIND= PACK

MAXRECSIZE= 30

BLOCKSIZE= 30

AREAS= 15

AREASIZE= 840

TITLE= *SYSTEM/USERDATAFILE

FLEXIBLE

The USERFILE file is used to write a new USERDATAFILE. If this file is file-equated during the execution of a COPY NEW operation, then upon completion of that operation, the same title and family name specifications are applied to the OLDFILE file. Any subsequent COPY operations will use the file equated to the OLDFILE.

RECALLFILE

KIND= PACK

FILETYPE= 7

The RECALLFILE file is used to RECALL a specified USERDATAFILE.

SAVE

KIND= PACK

FILETYPE= 7

KIND= PACK

FILETYPE= 0

MAXRECSIZE= 15

BLOCKSIZE= 450

AREAS= 15

AREASIZE= 450

PROTECTION= SAVE

FLEXIBLE

The SAVE file receives a copy of CARD input if $SAVE is TRUE. The first set of attributes is used to find an existing file. If no file is found, a new file is generated with the second set of attributes.