HLASM Programmer's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Input and output files

HLASM Programmer's Guide
SC26-4941-06

Depending on the options in effect, High Level Assembler requires the following files, as shown in Figure 1:
Figure 1. High Level Assembler Files
                            ┌──────────────┐
                            │   SYSIPT     │
                            └───────┬──────┘
                                    │
                                    │
                                    V
 ┌──────────────┐           ┌──────────────┐
 │ Library      ├──────────>│   Assembler  │
 └──────────────┘           └───────┬──────┘
                                    │
                                    V
      ┌──────────────┬──────────────┬──────────────┬──────────────┐
      │              │              │              │              │
      V              V              V              V              V
┌───────────┐  ┌───────────┐  ┌───────────┐  ┌───────────┐  ┌───────────┐
│  SYSLST   │  │  SYSLOG   │  │  SYSLNK   │  │  SYSPCH   │  │  SYSADAT  │
└───────────┘  └───────────┘  └───────────┘  └───────────┘  └───────────┘
High Level Assembler requires the following files:
SYSIPT
An input file containing the source statements to be processed.
In addition, the following six files might be required:
Library
Library sublibraries containing macro definitions (for macro definitions not defined in the source program), source code to be called for through COPY assembler instructions, or both. One of the sublibraries might also contain a member (ASMAOPT.USER) which contains an invocation assembler option list.
SYSLST
A file containing the assembly listing (if the LIST option is in effect).
SYSLOG
A file containing flagged statements and diagnostic messages. (only if the TERM option is in effect). SYSLOG is normally assigned to the operator console.
SYSPCH
A file containing object module output, normally for punching (only if the DECK option is in effect).
SYSLNK
A file containing object module output for input to the linkage editor (only if the OBJECT option is in effect).
SYSADAT
A file containing associated data output (only if the ADATA option is in effect).

The files listed above are described in the text following Table 1. The characteristics of these files, those set by the assembler and those you can override, are shown in Table 1.

Table 1. Assembler file characteristics
File Access Method Logical Record Length (LRECL) Block Size (BLKSIZE) Record Format (RECFM)
SYSIPT SAM 80 80 FIXED
Library LIBR API 80 80 FIXED
Library member ASMAOPT.USER LIBR API 80 80 FIXED
SYSLST SAM  1  Same as record size FIXED
SYSLOG SAM  2  Same as record size FIXED
SYSPCH SAM 80 80 FIXED
SYSLNK SAM 80 80 FIXED
SYSADAT SAM 32756 32760 VARBLK
SYSUT1 SAM   32760 FIXED
ASMAOPT SAM 80 32760 FIXED
Notes to Table 1:
 1 
If you specify EXIT(PRTEXIT) and the user exit specifies the logical record length, the logical record length returned is used. If you do not specify EXIT(PRTEXIT) or the user exit does not specify a record length, the record length is set to 121 if SYSLST is assigned to disk or 133 otherwise.

The minimum record length allowed for SYSPRINT is 121, and the maximum allowed is 133.

 2 
If you specify EXIT(TRMEXIT) and the user exit specifies the logical record length, the logical record length returned is used. If you do not specify EXIT(TRMEXIT) or the user exit does not specify a record length, the record length is set to 68. The maximum record length allowed for SYSTERM is 125.
 3 

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014