Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

NLSHOW - Display local FT file attributes

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

[name]

NLSHOW

[MF=L,]

FILE=adr

[,INFO={[*]STD / [*]ALL / [*]ONLY}]

[,OUTPUT={[*]SYSOUT / [*]SYSLST}]

[,MSGINS={*NONE / adr}]

[,LAYOUT={[*]STD / [*CSV]}]

[,Version={1 / 2}]

Format of the macro NLSHOW (DSECT format)

Name

Operation

Operand

[name]

NLSHOW

MF=(D[,xxx])

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
(L format)

Address field
(D format)

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
1Depending on the value of the VERSION operand, the FUNCTION INTERFACE VERSION NUMBER is set in the header FHDR.