FUNCTION keywords
The following table lists and describes, in alphabetical order, the return codes for the different functions that can be used with the FUNCTION keyword in an IMFEXEC ALERT EXEC statement.
FUNCTION names and IMFCC return codes
FUNCTION | Description | IMFCC return code value | Return code description |
---|---|---|---|
ADD | adds an ALERT to a queue and creates a new queue if one does not already exist | 0 | Add was successful |
8 | NODE was not found in BBINOD when TARGET used | ||
12 | TARGET not found in BBIJNT | ||
16 | TARGET MainView AutoOPERATOR not available | ||
20 | The ALERT is not created because it will exceed the storage limit specified in member AAOALSxx' | ||
40 | An internal error occured that prevented the command from fully processing. The extent of how much processing completed is unknown. | ||
COUNT | counts the numbers of ALERTs in a given queue Refer to TSO-variables-returned-from-IMFEXEC-ALERT-COUNT for more information. | 0 | COUNT was successful, count value is returned in variable AMFCOUNT |
8 | One of the following conditions is true: Queue does not exist NODE not found in BBINOD when TARGET used | ||
12 | TARGET not found in BBIJNT | ||
16 | TARGET MainView AutoOPERATOR not available | ||
40 | An internal error occured that prevented the command from fully processing. The extent of how much processing completed is unknown. | ||
CREATEQ | creates a new ALERT queue | 0 | Queue create was successful |
4 | Queue already exists | ||
8 | NODE not found in BBINOD when TARGET used | ||
12 | TARGET not found in BBIJNT | ||
16 | TARGET MainView AutoOPERATOR not available | ||
40 | An internal error occured that prevented the command from fully processing. The extent of how much processing completed is unknown. | ||
DELETE | deletes an ALERT by the ALERT key | 0 | Delete was successful |
4 | ALERT does not exist | ||
8 | One of the following conditions is true: Queue does not exist NODE not found in BBINOD when TARGET used | ||
12 | TARGET not found in BBIJNT | ||
16 | TARGET MainView AutoOPERATOR not available | ||
40 | An internal error occured that prevented the command from fully processing. The extent of how much processing completed is unknown. | ||
DELETEQ | deletes an ALERT queue | 0 | Deleteq was successful |
4 | Queue does not exist | ||
8 | NODE not found in BBINOD when TARGET used | ||
12 | TARGET not found in BBIJNT | ||
16 | TARGET MainView AutoOPERATOR not available | ||
40 | An internal error occured that prevented the command from fully processing. The extent of how much processing completed is unknown. | ||
LISTQ | lists (in TSO variable IMFNOL) the number of ALERT queues present in the target subsystem Refer to TSO-variables-returned-from-IMFEXEC-ALERT-LISTQ for more information. | 0 | LISTQ was successful, ALERT queue data is returned |
8 | NODE not found in BBINOD when TARGET used | ||
12 | TARGET not found in BBIJNT | ||
16 | TARGET MainView AutoOPERATOR not available | ||
40 | An internal error occured that prevented the command from fully processing. The extent of how much processing completed is unknown. | ||
READQ | reads an ALERT from the queue and returns the characteristics of the ALERT in TSO variables Refer to TSO-variables-returned-from-the-IMFEXEC-ALERT-READQ-parameter for more information. | 0 | READQ successful, ALERT data returned |
4 | Either no match found when using KEY and/or TEXT criteria or the search ran past the end of the queue when using the POSITION keyword. | ||
8 | One of the following conditions is true: Queue does not exist NODE not found in BBINOD when TARGET used | ||
12 | TARGET not found in BBIJNT | ||
16 | TARGET MainView AutoOPERATOR not available | ||
40 | An internal error occured that prevented the command from fully processing. The extent of how much processing completed is unknown. |