Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

LIST - Edit table section

This control statement can be used to have a table section written to a SAM file or to SYSLST.

LIST

 { table-name | REPFILE } , { listfile | *SYSLST }

 [, START-INDEX = { FIRST | start } ]

 [, END-INDEX = { LAST | end } ]

 [, EDIT = { TERMINAL | PRINTER } ]

table-name

Name of the table from which is to be output in whole or in part. The valid names can be ascertained by means of HELP TABLE-NAMES. You can also specify a table group name as the table name (these are indicated by an asterisk in the output from HELP TABLE-NAMES). In this case, all the tables belonging to the group are output (indicated by a prefixed plus sign (+)).

REPFILE

The REP file is to be output. The specification of any further operands then has no effect.

listfile

The table section is output to the file "listfile". An existing file will be overwritten without any warning.

*SYSLST

The table section is written to SYSLST.

listfile and SYSLST can be printed out by means of the following command:

/PRINT-DOCUMENT <file>, LINE-SPACING=*BY-EBCDIC-CONTROL

START-INDEX=

Entry in the table at which the output is to commence:

    FIRST            

First entry in the table, default value.

    start

Table entry index at which the output is to commence. This value can be entered in either decimal or hexadecimal form.

END-INDEX= 

Last table entry which is to be output:

    LAST

Output continues to the end of the table, default value.

    end

Table entry index at which the output is to be terminated. This value can be entered in either decimal or hexadecimal form.

EDIT=

Editing for printer or terminal; see description of the FGG statement on "FGG Edit all files of an FGG".

Note

If two or more table areas are to be written into a single file, the operand value *SYSLST is available for the second positional operand as the following BS2000 command causes the table areas to be written consecutively to an output file:

/ASSIGN-SYSLST TO-FILE=< output-file >, OUTPUT=EXTEND