APPDAT - Data section

For PUT and CREATE requests, APPDAT contains the new values for the fields identified in the APPFLD sections. Only one APPDAT must be specified for each APPOBJ. The values must be in the same order as the corresponding APPFLD sections.

For a GET request, data sections are found only in a receive buffer. HCL Workload Automation for Z returns in the receive buffer one data section for each instance of the object. Each APPOBJ section in the send buffer is updated by HCL Workload Automation for Z to point to associated data sections when the receive buffer is returned. The data sections are always the last sections in the receive buffer, and are returned in contiguous storage by object.

APPDAT is not used for DEL requests.

The data section has this format:

Table 1. APPDAT-Data Section
Offsets     
DecHexTypeLenName Description
0 (0)STRUCTURE*APPDAT

DATA SECTION ADDRESS OF
FIRST DATA SECTION FOR THIS
OBJECT: APPDAT_PTR=ADDR(APP)
+ APPOBJ_DAT_OFF

0(0)(See note)*APPDAT_DATDATA
Note: The field type depends on the object field name that you specify in APPFLD_NAME or that HCL Workload Automation for Z retrieves. See API object fields.