Chapter Contents |
Previous |
Next |
_storeAgentRunInfo |
Syntax | |
Syntax Description | |
Example |
Syntax |
CALL SEND(agentInst, '_storeAgentRunInfo ',
agentName, runKey, dateTime, cc, type, logSpec, listSpec, rc); |
Where... | Is type... | And represents... |
---|---|---|
agentName | C | name of agent |
runKey | N | run instance key |
dateTime | N | date/time stamp |
cc | N | completion code |
type | C | type of storage file |
logSpec | C | external file or catalog in which to store the log |
listSpec | C | external file or catalog in which to store the listing output |
rc |
N | return code |
libname.memname.entryname
entrytype
does not
have to be specified because the log information is stored in an
entrytype
of AGENTLOG and the output is stored
in an entrytype of AGENTOUT.
Example |
This example stores the agent run info in the external file EXTREF, which is defined by the fileref.
ftype = 'EXTERNAL'; fref = 'extref'; rc = filename('extref', '/tmp/agent.txt'); call send(agentInst, '_storeAgentRunInfo', agent_name, runkey, rundt, runcc, ftype, fref, rc);
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.