Return codes and reason codes generated by EQQUSIN

Your program can test the results of the call to EQQUSIN by inspecting the return code and the reason code in the APP section of the buffer.

The APP_RETCODE field can contain one of these codes:

0
Execution successful.
12
Execution unsuccessful; the buffer is invalid. No event has been created.

The APP_RSNCODE field can contain one of these codes:

0
Execution successful.
4
Buffer shorter than APP.
8
Eye-catcher in APPDESC field is invalid. It must be APP.
12
Version number in APPVER field is invalid. It must be 02.
16
Type in APPTYPE field is invalid. It must be DIA.
20
APPTOTSZ invalid.
24
Data type invalid. Specify only CREATE for EQQUSIN.
28
Object section not within buffer.
32
Object section overlays APP.
36
Selection section not within buffer.
40
Selection section overlays APP or object section.
44
Field section not within buffer.
48
Field section overlays APP or object section.
52
Required key not complete.
56
Invalid object name in OBJ section.
60
Invalid field name in FLD section.
64
Invalid field name in SEL section.
68
Invalid APPTOKEN value (duplicate).

If an error occurs when IBM Tivoli Workload Scheduler for z/OS processes the event, check the message log (EQQMLOG) of the controller for information about the error.