bdfu1m1lUtilities

ZUDFM OAR-Replace User Data in an LREC

Use this command to replace the user data portion of a logical record (LREC).

Requirements and Restrictions

Format




Note:
You can use either the ZUDFM OAR or the ZUDFM REPLACE command.

lrecnum
is the sequence number of the LREC.

LBL-label
specifies the DSECT field to be replaced. Do not include the first 4 characters of the DSECT name. When using this parameter with fixed length fields, the length of the data content must match the length of the field.
Note:
When using this parameter, you must build a macro label set using macro label set support (MLS).

ORG-lrecid
specifies the LREC ID, where lrecid is a 1-byte field in which the label is defined. Use this parameter when the label specified by the LBL parameter is not defined for the LREC ID of the record being replaced. This parameter indicates the LREC ID for which the label is defined.

datacontent
is the user data portion of the LREC.
Note:
This variable can contain a mixture of hexadecimal and character data. To switch between these types of data, use the vertical bar (|) as a delimiter. The following example shows how the types of data can be mixed:
     8013B4|THIS IS CHARACTER DATA|4A5F90

The TPFDF product assumes that the variable starts with hexadecimal data. To start with character data, place a vertical bar at the beginning of the variable. For example:

     |STARTING WITH CHARACTER DATA|1F2E3D4E

You can use a different delimiter by setting variable #DBENUFB in the ACPDBE macro. See TPFDF Installation and Customization for more information about ACPDBE.

Additional Information

Examples

The following example shows the text portion of an LREC that is being replaced.

+--------------------------------------------------------------------------------+
|User:   ZUDFM OAR3/80|UPDATED TEXT                                              |
|                                                                                |
|System: UDFM0001I          TPFDF LREC DISPLAY                                   |
|                                                                                |
|        F.A. F404E801                                                           |
|        000002 000E80 L  R E C    T E X T    2                                  |
|        000003 000F80 U  P D A T  E D   T  E X T                                |
|        000004 000E80 L  R E C    T E X T    4                                  |
|        000005 000E80 L  R E C    T E X T    5                                  |
|        OAR3/80|UPDATED TEXT                                                    |
+--------------------------------------------------------------------------------+

References