Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Controlling the CSV output with DISPLAY statements

&pagelevel(4)&pagelevel

You control the CSV format output using the IN CSV parameter in the DISPLAY statements available in the utility programs BPSIA, BSTATUS and BPRECORD (see the manual "Recovery, Information and Reorganization"):

DISPLAY [IN CSV [csv-filename]] ...

csv-filename

Name of the file that is to be output in CSV format.

Data output in CSV format is optionally additional to the output to SYSLST.

CSV format output is written to the file specified in the first DISPLAY statement. As a result, the csv-filename specification is mandatory in the first DISPLAY statement with CSV output.

The csv-filename specification can be omitted in subsequent DISPLAY statements with CSV output. If subsequent DISPLAY statements with CSV output contain a different csv-filename specification then a warning is issued. The output continues to be written to the originally specified file.

In general terms, the CSV output can be controlled for the individual DISPLAY statements. Internally, some of these DISPLAY statements are reorganized and combined in order to improve performance when the utility routine is run. In the case of complex DISPLAY statement combinations, this may result in more data being written in the CSV output than would be expected from a strict interpretation of the issued DISPLAY statements. This applies in case of BSTATUS to combinations of DISPLAY TABLE SET and DISPLAY TABLE OWNER. In BPRECORD, the control of CSV output applies to all output of a given type (PAGE, FPA, DBTT, CALC or DATA) for a realm.

If in such cases, you only want to generate the intended CSV format output, you can achieve this by performing multiple isolated utility routine runs.