Macro | Brief description |
SYSFL | Reassigns the system files SYSDTA, SYSLST, SYSLST01, SYSLST02, ..., SYSLST99 |
SYSTA | Assigns the system files and the TASKLIB. |
The standard file names SYSDTA, SYSCMD, SYSLST, SYSLST01,
SYSLST02, ..., SYSLST99 and SYSOUT denote (system) files used by the operating system for the input of commands and data to the operating system, or for the output of data by the operating system. These files are created by the user task and define initial (primary) default input and output areas.
Users can revoke the primary assignment and assign their own (cataloged) files to the (standard) file names. Some of the standard names can also be equated (see the SYSFL macro).
A task can use the following system files for input
SYSCMD | The commands used to control the job are read in from SYSCMD. |
SYSDTA | The SYSDTA system file is used to input data and instructions for a |
A task can use the following system files for output
SYSOUT | All logged messages and error messages that occur during the current |
SYSLST | SYSLST is used primarily for storing larger amounts of data, e.g. dumps |
SYSLST01, | Unlike the SYSLST system file, these files do not have their own EAM |
System files for output will be created as necessary by the operating system under the user's ID. These are SAM files with the file names
S.OUT.tsn.yyyy-mm-dd.hhmmss (for SYSOUT)
S.LST.tsn.yyyy-mm-dd.hhmmss (for SYSLST)
where:
tsn=TSN (task sequence number) assigned to the job
yyyy-mm-dd=Date (yyyy=year, mm=month, dd=day)
hhmmss=Time (hh=hours, mm=minutes, ss=seconds)
The storage space occupied by the files is not counted as part of the public space allocation. At the end of the job, the files are automatically printed out, and then deleted. The user has no access to these files. The command /DELETE-FILE *SYSxyz (xyz=LST/OUT/OPT) may be used to (logically) delete the contents of a specified system file, although the catalog entry is retained. An empty system file will not be printed out.
The system files used for output may also be output earlier than normal (START-PROCESSING operand in the PRINT-DOCUMENTcommand).
In the PRINT-DOCUMENT and DELETE-SYSTEM-FILE commands or the ERASE (see “DMS Macros” manual [7 (Related publications)]) and PRNT... macros (see “SPOOL & Print - Macros and Exits” manual [23 (Related publications)]), it is permissible to specify the (standard) file namesSYSOUT and SYSLST even if cataloged files have been assigned tothem.
Primary assignment and reassignment of system files
System files are generally given a specific (standard) assignment. This primary assignment can be modified with the aid of the commands summarized in the following table. Examples are to be found in the relevant command descriptions in the “Commands” manual [19 (Related publications)]).
System | System file assignment | Other | Commands for changing the |
SYSCMD | Interactive mode: terminal | Cataloged disk file | CALL-PROCEDURE command: |
SYSDTA | See SYSCMD primary | Cataloged disk file | ASSIGN-SYSDTA command: |
SYSOUT | Interactive mode: | Interactive mode: | See SYSLST |
SYSLST | Temporary (system) file | Cataloged file, | ASSIGN-SYSLST command: |
SYSLST01 | System files: | See SYSLST; also | See SYSLST |