Return codes and reason codes generated in the fixed section (APP)

A buffer always starts with a fixed section. Return codes and reason codes are generated in the fixed section when HCL Workload Automation for Z validates the buffer. The APP_RETCODE field can contain one of these codes:
0
Execution successful.
4
Execution successful but no data was returned. Either there was no data that matched the GET request, or the ATP is not authorized to access the data matching the GET request.
12
Execution unsuccessful; the buffer is invalid. HCL Workload Automation for Z has not attempted to process the request. A receive buffer is created that contains an APP control block followed by the entire send buffer. No updates are made to any fields in the send buffer. So this special receive buffer will start with 2 APP sections.
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 GET, PUT, DEL, or CREATE.
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 field not supplied.
56
Invalid object name in OBJ section.
60
Invalid field name in FLD section.
64
Invalid field name in SEL section.
68
APPTOKEN value invalid (duplicate).