ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

General notes on the User data field in Element record in MCF


Article ID: 52614


Updated On:


Bind Analyzer for DB2 for z/OS SQL-Ease for DB2 for z/OS SYSVIEW Performance Management Option for DB2 for z/OS Plan Analyzer for DB2 for z/OS Subsystem Analyzer for DB2 for z/OS PanAudit Plus Easytrieve Report Generator PAN/SQL Endevor Software Change Manager (SCM) Endevor Software Change Manager - Natural Integration (SCM) Endevor Software Change Manager - ECLIPSE Plugin (SCM) Endevor Software Change Manager - Enterprise Workbench (SCM) CA 2E



The User Data field in the Element record in the MCF can be used to store additional data via C1UEXT02.


The User Data field in the Element record in the MCF can be used to store additional data via C1UEXT02. This is achieved by supplying the, up to 80 character long, data in the REQUSR field , which is part of the $REQPDS DSECT in ASSEMBLER, and setting ECBRTCD to 4.
This corresponds to the REQ-USER-DATA in the REQUEST-INFO-BLOCK and ECB-RETURN-CODE In COBOL. The data will be written to the TARGET MCF.
To clear existing data at the target in C1UEXT02, set REQUSR to blanks, and set ECBRTCD to 4.
To leave the User data intact, let the REQUSR field default to binary zeros.

The REQUSR field, as passed to the EXIT01-04, will NOT supply existing data to the exit, and will contain binary zeros. Only EXIT02 can modify the field and thus update the MCF.

Once the User Data is supplied by the EXIT02, it will persist in the MCF, until updated or cleared by another EXIT02 call.

To obtain existing user-data, address the appropriate $ELMDS in EXIT02-04 via the Environment block. Note that the applicability of the Source and Target environment blocks depend on the ACTION. See the Endevor Exits Guide for further details.

The User-data can also be obtained via the API LIST ELEMENT function, or via the CSV Utility.

The User-data is supplied to processors via the &C1EUDATA processor symbolic.


Component: C21E