ADUSF

Purpose

Use the ADUSF statement to define user fields for the operation. For detailed information about user fields, see Creating user fields to specify additional information.

Format


1  ADUSF?  ACTION (
2.1! ADD
2.1 SETDEFAULT
1 )  UFNAME (
2.1 'user field name'
1 )  UFVALUE (
2.1 'user field value'
1 )

Restrictions

You cannot use ACTION(SETDEFAULT) to set a default value for the UFNAME keyword.

Parameters

ACTION (SETDEFAULT | ADD)
ACTION(SETDEFAULT) is applicable only to the UFVALUE keyword. If you specify SETDEFAULT, the value that you set for UFVALUE becomes the default for all the UFVALUE keywords that you set in the ADUSF statement. The application description database is not updated.

If you specify ADD or use it by default, the statement can result in an update of the database.

UFNAME('user field name')
The name for the user field, up to a maximum of 16 characters and enclosed in single quotation marks.
UFVALUE('user field value')
The value for the user field, up to a maximum of 54 characters and enclosed in single quotation marks. You can set the user field value to blank.

Examples

This example defines the user field Path, which is set to /ZWS/local/zcentric, and the user field Workstation name, which is set to Lab1328:

ADOP...
ADUSF
  UFNAME ('Path')
  UFVALUE ('/ZWS/local/zcentric')
ADUSF
  UFNAME ('Workstation name')
  UFVALUE ('Lab1328')