Download FOCUS for Mainframe Overview and Operating
Transcript
Work Files TSO TSO TSO TSO FREE ALLOC ALLOC ALLOC F(SORTIN SORTOUT SYSOUT) F(SORTIN) SP(5 5) TRACKS F(SORTOUT) SP(5 5) TRACKS F(SYSOUT) DA(*) File SYSOUT is for critical sort error messages and, if allocated to a disk file, needs only a minimum amount of space (1 track). FOCUS automatically allocates SORTWORK files. The space requirements of the work files SORTWK01 through SORTWK06 depend on the volume of data being sorted. If your application requires more SORTWORK space than FOCUS allocates, you must allocate these files with the necessary space parameters. SORTIN and SORTOUT may be allocated to disk or to tape. As disk files, they have identical space requirements which can be estimated very accurately, as follows: ❏ Records are fixed blocked, 100 to a block. ❏ Each record consists of a value of the field being indexed, rounded up to a 4-byte multiple, plus 8 bytes. The minimum record length is 18 bytes. ❏ The number of records can be obtained in response to the ? FILE file name command. It is the number of active instances of the segment in which the field to be indexed resides. All must be allocated without DCB parameters. You can only REBUILD one portion of a partitioned data source at one time. You must explicitly allocate the file containing the partition to use in the REBUILD request. If the file being rebuilt is larger than one gigabyte, you must explicitly allocate ddname REBUILD to a temporary file large enough to hold the data. You should REBUILD/REORG to a new file in sections, to avoid having to allocate large amounts of space to REBUILD. To do this, in the dump phase use selection criteria to dump a section of the data source. In the LOAD phase, make sure to add each new section after the first. To add to a data source, you must issue the LOAD command with the following syntax: LOAD NOCREATE EQFILE This file is used for storing regression equations from ANALYSE. TABLTALK This file is used for storing the procedure to be executed from within TableTalk. This is a sequential file, dynamically allocated, used by TableTalk. 194 Information Builders