Add Extended Attribute Data (QbnAddExtendedAttributeData) API
Required Parameter Group:
1 | Extended attribute data | Input | Char(20) |
2 | Error code | I/O | Char(*) |
Default Public Authority: *USE
Service Program: QBNPREPR
Threadsafe: No
The Add Extended Attribute Data (QbnAddExtendedAttributeData) API may be used by a preprocessor to set the extended attribute field of the created module. The attribute field is part of the service related attributes of a module object. Because multiple preprocessors may be called in the path of module creation, and because each module only has a single attribute, only the initial preprocessor is allowed to set the extended attribute.
Authorities and Locks
None
Required Parameter Group
- Extended attribute data
- INPUT; CHAR(20)
The extended attribute data to be set in the created module. This data further describes the object, such as CLP for a CL program or PF for a file.
- Error code
- I/O; CHAR(*)
The structure in which to return error information. For the format of the structure, see Error code parameter.
Error Messages
Message ID | Error Message Text |
---|---|
CPF24B4 E | Severe error while addressing parameter list. |
CPF3C90 E | Literal value cannot be changed. |
CPF3CF1 E | Error code parameter not valid. |
CPF5CA4 E | Error occurred while addressing API Parameter. |
CPF5D22 E | Not able to locate internal data. |
CPF5D24 E | Unexpected error occurred during preprocessor processing. |
CPF9872 E | Program or service program &1 in library &2 ended. Reason code &3. |
API introduced: V3R1
[ Back to top | Program and CL Command APIs | APIs by category ]