Previous Topic: Temporary StorageNext Topic: FILE Functions for Temporary Storage


FILE Screen Layout for Temporary Storage

The following screen shows a blank header area on a FILE screen for temporary storage. For examples of the complete screen, see Dump Format, Character Format, Vertical Format and Structured Format earlier in this chapter.

 DATATYPE= TS                       LOG=OFF     TODEST=                FUNC=      SUBFUNC=      STORFAC=                                     MESSAGE=                                                                               RCID=                                                        CHGELEN=             DATA=                                                         SIZE=0000        FORMAT= D 00112233 44556677 8899AABB CCDDEEFF  *0123456789ABCDEF*                  LOC 0000  ........ ........ ........ ........  ................                 -------------------------------------------------------------------------------    1 Help       2 Format C   3 End        4            5            6 DataType FC   7 Page bwd   8 Page fwd   9 Caps Off  10 Top       11 Bottom    12

The fields provide the following information:

Field

Function

DATATYPE

Identifies the type of data organization. This must be TS.

LOG

Specifies whether FILE's logging facility is on or off.

TODEST

Identifies a transient data destination (when a work area is copied) or a dump identification (when a work area is dumped).

FUNC

Specifies the FILE function. When this field contains a function code, it is executed if you press Enter. In addition to common FILE functions, enter the following commands: GET, GETQ, PURG, PUT, PUTQ, REL.

SUBFUNC

Modifies a FUNC specification.

STORFAC

When writing a record (FUNC=PUT or PUTQ), specifies the type of storage: AUX (auxiliary) or MAIN.

ENTRY

Specifies the relative position of a record in a temporary storage queue. Required for FUNC=GETQ, PUTQ, and SRCH.

MESSAGE

Contains FILE messages. Also specify messages here when FUNC=COPY or FUNC=DUMP.

CHGELEN

Specifies the number of bytes changed in the work area when FUNC=CHGE.

RCID

Identifies the record or queue to be processed.

DATA

Contains data needed to perform certain FILE functions.

SIZE

Specifies the record size or the number of records to be searched.

FORMAT

Specifies the format in which the record is displayed.

USE

Specifies the program and structure for structured format.

LOC

Specifies a location within a record.

Some fields are used only for certain tasks. The discussion of each FILE function indicates which fields must be specified.