17.08.2013 Views

System i: Programming Message Handling APIs - IBM

System i: Programming Message Handling APIs - IBM

System i: Programming Message Handling APIs - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Job name used. The actual job name of the job that was used to list the messages.<br />

Job number specified. The job number of the job that lists the messages as specified on the call to the<br />

API.<br />

Job number used. The actual job number of the job that was used to list the messages.<br />

Length of data. The length of the data returned for the data field, in bytes.<br />

Length of field information returned. The total length of information returned for this field, in bytes.<br />

Length of call message queue name. The length of the call message queue name field, in bytes. The<br />

maximum length that can be specified is 256. The minimum length is 1.<br />

Length of call message queue specified. The length of the call message queue specified field, in bytes.<br />

List direction. The direction to list messages. You must use one of these directions:<br />

*NEXT Returns messages that are newer than the message specified by the starting message key field.<br />

*PRV Returns messages that are older than the messages specified by the starting message key field.<br />

When a batch job is being listed, request messages that have not yet been processed or received are<br />

considered to have a sending date and time later than all other messages on the job log. This is also true<br />

for any diagnostic messages associated with those request messages.<br />

List direction specified. The direction to list messages as specified on the call to the API.<br />

Maximum message help length. The maximum number of characters of text that this API returns for<br />

field identifiers 0401, 0402, 0403, and 0404. (See “Valid Field Identifiers” on page 19.)<br />

Specify a value to limit the number of characters returned for field identifiers 0401, 0402, 0403, and 0404.<br />

This value can be no smaller than 4. The maximum allowed value is 32765. To specify that the maximum<br />

length be used, use the special value of -1. This value is not checked if field identifiers 0401, 0402, 0403 or<br />

0404 are not specified.<br />

Maximum message help length specified. The maximum number of characters to return for field<br />

identifiers 0401, 0402, 0403 and 0404 as specified on the call to the API.<br />

Maximum message length. The maximum number of characters of text that this API returns for field<br />

identifiers 0301 and 0302.<br />

Specify a value to limit the number of characters returned for field identifiers 0301 and 0302. (See “Valid<br />

Field Identifiers” on page 19.) This value can be no smaller than 4. The maximum allowed value is 32765.<br />

To specify that the maximum length be used, use the special value -1. This value is not checked if field<br />

identifiers 0301 or 0302 are not specified.<br />

Maximum message length specified. The maximum number of characters to return for field identifiers<br />

0301 and 0302 as specified on the call to the API.<br />

Maximum messages requested. The maximum number of messages to be returned.<br />

If fewer messages than the number requested exist on the job message queue, only the number of<br />

messages that exist are returned. No error is signaled, and the information status field in the generic<br />

header would be marked as C for complete and accurate.<br />

<strong>Message</strong> <strong>Handling</strong> <strong>APIs</strong> 23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!