z/OS DFSMSdfp Utilities
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


LABELS Statement

z/OS DFSMSdfp Utilities
SC23-6864-00

You use the LABELS statement to specify whether you want your data set labels treated as data. For a detailed discussion of this option, refer to Processing User Labels.

You must specify LABELS DATA=NO to make standard user label (SUL) exits inactive when you are processing an input data set with nonstandard labels (NSL).

If more than one valid LABELS statement is included, all but the last LABELS statement are ignored.

The syntax of the LABELS statement is:

Label Statement Parameters

[label]

LABELS

[CONV={PZ|XE}]
[,DATA={
YES|NO|ALL|ONLY]}

where:
CONV={PZ|XE}
specifies the type of conversion to be performed on this field before it is printed or punched. The values that can be coded are:
PZ
specifies that data (packed decimal) is converted to unpacked decimal data. The converted portion of the input record (length L) occupies 2L - 1 output characters when punching, and 2L output characters when printing.
XE
specifies that alphanumeric data is to be converted to hexadecimal data. The converted portion of the input record (length L) occupies 2L output characters.

Default: The field is moved to the output area without change.

DATA={YES|NO|ALL|ONLY}
specifies whether user labels are to be treated as data. The values that can be coded are:
YES
specifies that any user labels are to be treated as data unless they have been rejected by a label processing routine you have specified on the EXITS statement. Processing of labels as data stops in compliance with standard return codes. YES is the default.
NO
specifies that user labels are not to be treated as data. NO must be specified when processing input/output data sets with nonstandard labels (NSL) in order to make standard user label (SUL) exits inactive.
ALL
specifies that all user labels are to be treated as data. A return code of 16 causes the utility to complete the processing of the remainder of the group of user labels and to stop the job step.
ONLY
specifies that only user header labels are to be treated as data. User header labels are processed as data regardless of any return code. The job ends upon return from the OPEN routine.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014