Chapter Contents |
Previous |
Next |
_retrieveAgentRunInfo |
Syntax | |
Syntax Description | |
Example |
Syntax |
CALL SEND(agentInst, '_retrieveAgentRunInfo ',
agentName, runKey, dateTime, cc, rc <, logSpool, listSpool>); |
Where... | Is type... | And represents... |
---|---|---|
agentName | C | name of agent |
runKey | N | run instance key |
dateTime | N | date-time stamp |
cc | N | completion code |
rc | N | return code |
logSpool | N | optional log spool model object id |
listSpool | N | optional list spool model object id |
All parameters after rc are optional and positional. These parameters are
Note: Both log and listing output may be directed to
the same spool instance or to different run spools. Either or both may be
omitted as well. The run spool instances may be displayed with the FRAME text
viewer.
Example |
This example retrieves the agent run information and displays the log and listing output run spool in a FRAME text viewer instance named VIEWER_I.
model_c = loadclass('sashelp.connect.runspool.class'); model_i = instance(model_c); call send(agentInst, '_retrieveAgentRunInfo', agent_name, runkey, rundt, runcc, rc, model_i, model_i); call notify('viewer_i', '_ATTACH_', model_i);
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.