Previous Topic: Transient DataNext Topic: FILE Functions for Transient Data Records


FILE Screen Layout for Transient Data

The next 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= TD                       LOG=OFF     TODEST=                FUNC=      SUBFUNC=                                           MESSAGE=                                                         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 TD.

DESTID

Specifies the name of the transient data, as defined in the DCT.

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, PUT.

SUBFUNC

Modifies a FUNC specification.

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.