The Input/Output Control System (IOCS)
- Declarative macros
There are two related types: DTFxx (Define the file) and xxMOD (module generation).
A DTFxx macro defines a file for a certain access method and the type of the I/O device that is to be used.
An xxMOD macro defines the logic module that controls the execution of the I/O operation requested by a request macro.
- IOCS request macros
An IOCS request macro identifies the I/O operation that is to be performed. Request macros are discussed throughout the publication. The GET macro for example, indicates that your program needs a record to be read into its input area.
An IOCS request macro normally initiates the action to be performed by branching to a logic module. Linkage between your program and a logic module is established as follows:- By the assembler when it assembles a DTF (table), based on your DTFxx macro and, if necessary, an xxMOD macro.
- By the linkage editor when it processes the assembled module(s).
Figure 1 shows the relationship between a program, the assembled DTF, and the related logic module. The file which is processed in this example is named CARD, the name of the related logic module is IJCFAOZ0.