5.15.5 GET
The GET command is used to read the inbound XML document.
Fragments use only fields, so the GET FRAGMENT command requires the SERVICE_EXCHANGE(*FIELD) keyword.
Lists use only a working list, so the GET LIST command requires a working list argument.
The GET command also allows the program to access the HTTP response protocol properties.
Syntax:
Command |
Keyword |
Value |
Developer notes |
GET |
LIST |
value |
Conditional. Bind list name. |
FRAGMENT |
value |
Conditional. Bind fragment name. |
|
INSTRUCTION |
value |
Optional. XML processing instruction. |
|
SUBSET |
|
Optional. See SUBSET. |
|
PROPERTY |
value |
Get HTTP header property. |
|
*LIST |
Get all HTTP header properties. |
Example
GET LIST(ORDERS) #WRKLST
GET FRAGMENT(DETAIL) SERVICE_EXCHANGE(*FIELD)