This function specifies that all WTOs from a particular address space are recorded on an ILOG file. You can also specify an IMOD to be executed for each WTO message.
Important! Use care when intercepting all WTOs from an address space, as this action overrides other specifications that indicate specific WTO message IDs.
Form 1:
result = SCRASID(route,asid,action,num)
Form 2:
status = SCRASID(?,asid,action)
Parameters
Null string (or error text).
Specify:
ADD
Adds a routing.
DELETE
Deletes a routing.
Address space ID (ASID) to be monitored.
Specify:
IMOD
Triggers an IMOD.
ILOG
Writes the message to an ILOG.
Number, from 0 through 14, that you assign. This number is used to construct the ILOG or IMOD name:
Value of num, as set by a previous use of the SCRASID() function.
Returns the current status of the ILOG or IMOD specification for the address space. A null return indicates that the address space is not being monitored.
ARG n MISSING OR INVALID
NO SUBCOM AREA
DOES NOT FUNCTION IN BATCH MODE
Example
scrasid('add','195','ilog',12) /* Start logging */ scrasid('?','195','ilog') == 12 /* ILOG used for this ASID */
Copyright © 2014 CA Technologies.
All rights reserved.
|
|