The IMOSHFF macro enables you to view in structured form the information contained in a formatted file.
The advantage of a formatted file is that it can be used as the target for the output of piped SHOW functions. You can then output the formatted file and view the preprocessed information.
Macro | Operands | ||||||||||||||
IMOSHFF |
|
Operands
The MF, PREFIX, MACID, and PARAM parameters are described in “Macro forms” on "Macro syntax ".
INFF | |
Formatted file to be used for output. | |
=<c-string: 1..54> | |
Name of the formatted file. | |
=<var: char:54> | |
Symbolic address containing the name of the formatted file. | |
SYSLST# | |
SYSLST number. | |
=0 | |
Output the information to standard SYSLST. | |
=<integer 1..99> | |
Specifies the SYSLST number. | |
=<var: int:1> | |
Symbolic address containing the SYSLST number. |
Macro return codes
(SC2) | SC1 | Maincode | Meaning |
X‘00‘ | X’00’ | X‘0000‘ | Function successfully executed |
X‘00‘ | X’01’ | X‘0003‘ | SYSLST number invalid |
X‘00‘ | X’01’ | X‘0004‘ | Parameter list invalid |
X‘00‘ | X’40’ | X‘0015‘ | Error accessing input file, function not executed |
X‘00‘ | X’40’ | X‘0019‘ | SHOW output written to SYSLST only partially or not at all |
X’20’ | X‘0100‘ | System error | |
X’20’ | X‘0101‘ | Internal error | |
X‘00‘ | X’01’ | X’FFFF’ | Function is not supported |
X‘00‘ | X'03' | X’FFFF’ | Version of the interface is not supported. |
Notes
The function is aborted without action if the input file does not exist, cannot be accessed or a format error occurs.
If the information in the SCI changes after the formatted file is generated, the information that is output is no longer current.