The InboundSeparatedValue handler is used to receive posted separated values and to send separated values as a reply.
Command | Keyword | Value | Developer notes |
|---|---|---|---|
RECEIVE | HANDLER | InboundSeparatedValue | |
ARCHIVE | Optional. See ARCHIVE. | ||
SVROW | Optional. See SVROW. | ||
SVROWLIMIT | Optional. See SVROWLIMIT. | ||
SVMODE | Optional. See SVMODE. | ||
SVHEAD | Optional. See SVHEAD. | ||
ENCODING | Optional. See ENCODING. | ||
NUMBERFORMAT | Optional. See NUMBERFORMAT. | ||
CONTENT | Optional. See CONTENT. | ||
SEPARATOR | Optional. See SEPARATOR. |
When the RECEIVE command of this content handler is executed the following steps occur:
RECEIVE HANDLER(InboundSeparatedValue) SVHEAD(ORDER) #WRKLST
When the SEND command of this content handler is executed the following steps occur:
The optional UAFILE and UAPATH keywords are available to inform the remote client program of a recommended path and filename for the content. LANSA Integrator UserAgent will add these file and path names to the save popup menu on the response panel.
Command | Keyword | Value | Developer notes |
|---|---|---|---|
SEND | HANDLER | InboundSeparatedValue | |
STATUS | value | Optional: HTTP status number. | |
MESSAGE | value | Optional: HTTP status message. | |
UAPATH | value | Optional. User agent save response path. | |
UAFILE | value | Optional. User agent save response file name. | |
UACACHE | value | Optional. Cache-Control max-age. | |
UADISPOSITION | value | Optional. Content-Disposition filename. | |
NUMBERFORMAT | Optional. See NUMBERFORMAT. | ||
CONTENT | *CSV | Default. Create CSV content. | |
*TSV | Create TSV content. | ||
ENCODING | Optional. See ENCODING | ||
SVHEAD | Optional. See SVHEAD | ||
SVEXCLUDE | Optional. See SVEXCLUDE. | ||
ARCHIVE | Optional. See ARCHIVE. | ||
CHARSET | *YES | Optional. Include charset attribute. | |
*NO | Do not include charset attribute. | ||
*TEXT | Default. Include charset attribute if content is text. | ||
SEPARATOR | value | Optional. See SEPARATOR. |
SEND HANDLER(InboundSeparatedValue) CONTENT(*CSV) UAFILE(order.csv) #WRKLST