Use the IROUTE() function to control ILOG routing of the WTO text that triggered the currently running IMOD. The currently assigned routing may be inspected and a new routing assigned.
The IROUTE() function has this syntax.
Form 1:
lognum = IROUTE(FETCH)
Form 2:
IROUTE(SET,newlog)
The IROUTE() function takes these arguments:
|
lognum |
ILOG file where the WTO text is to be recorded, following completion of the IMOD. A null value indicates the text will not be recorded on any file. |
|
FETCH |
Returns the number (0 to 99) of the currently assigned ILOG file. |
|
SET |
Sets a new ILOG destination. |
|
newlog |
Number (0 to 99) identifying the ILOG file where the WTO text is to be recorded. A null value prevents recording on any ILOG. Any ILOG number that is syntactically valid is accepted by the function. No attempt is made to ensure that the specified ILOG exists and is available. |
The IROUTE() function produces these return codes:
101 - 102 ARG n MISSING OR INVALID
121 ILOG FILE NOT DEFINED
Example
dest = iroute('FETCH') /* Obtain the ILOG file number where
the message is to be recorded */
iroute('SET',1) == '' /* Change the destination to ILOG 1 */
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |