The macro NLSHOW can be used to view the FTAM attributes of a file in the local system. The functionality corresponds to that of the command SHOW-FILE-FT-ATTRIBUTES.
Format of the macro NLSHOW (LIST format/default format)
Name | Operation | Operand |
|
|
|
Format of the macro NLSHOW (DSECT format)
Name | Operation | Operand |
|
|
|
The prefix xxx (default value YNH) may be up to 3 characters long. It must generate names which are permitted in ASSEMBLER. The following ASSEMBLER instructions are generated:
xxxNLSH DSECT xxxHLSH FHDR MF=(C,&P) xxxFILE DS A A(FILE-NAME) xxxFILEL DS XL2 L(FILE-NAME) xxxMSGL DS XL2 L(MESSAGE) xxxMSG DS A A(MESSAGE) * xxxOUTPT DS XL1 OUTPUT: SOUT / SLST / SOUTC / SLSTC xxxINFO DS XL1 INFORMATION: STD / ONLY / ALL xxxRESRV DS XL2 RESERVED * xxxLNLS EQU *-xxx.NLSH
Meaning of the fields
The meaning of the parameters in the macro correspond to the meaning of the parameters in the command SHOW-FILE-FT-ATTRIBUTES. Please refer to the corresponding command description in the manual "openFT (BS2000) - Command Interface ".
In the OUTPT address field, SOUT stands for OUTPUT=*SYSOUT in the command, and SLST stands for OUTPUT=*SYSLST. SOUTC and SLSTC stand for their respective outputs in CSV format (LAYOUT=*CSV). For the other two values, output is in the standard format (LAYOUT=*STD).
Operand | Address field | Meaning in command |
FILE | FILE | FILE-NAME |
INFO | INFO | INFORMATION |
OUTPUT | OUTPT | OUTPUT |
LAYOUT | OUTPT | LAYOUT |
MSGINS | MSG | Return value of the call |
VERSION | FCTV | (Type of return code output (old/new))1 |