After a submitted job
is complete, use the SAS Grid Manager Client Utility to retrieve the
output produced by the job. Issue the following command from a command
line:
<path/>SASGSUB
-GRIDGETRESULTS [job-ID |
ALL] -GRIDGETRESULTSDIR
-GRIDGETRESULTS specifies
the ID of the job whose results you want to retrieve, or you can specify
ALL to retrieve the results from all jobs submitted by your user ID.
-GRIDRESULTSDIR specifies
the directory in which the jobs results should be moved. When the
results are retrieved, they are removed from the GRIDWORK directory,
which keeps this directory from filling up with completed jobs.
A file named job.info
is created along with the job output. This file contains information
about the execution of the job, including the submit time, start time,
and end time, the machine on which the job ran, and the job ID.
The following is an
example of the output produced by the SASGSUB
-GRIDGETRESULTS command.
Output Produced by SASGSUB -GRIDGETRESULTS Command
Current Job Information
Job 1917 (testPgm) is Finished: Submitted: 08Dec2008:10:53:33, Started: 08Dec2008:10:53:33 on Host host1, Ended: 08Dec2008:10:53:33
Moved job information to .\SASGSUB-2008-11-21_21.52.57.130_testPgm
Job 1918 (testPgm) is Finished: Submitted: 08Dec2008:10:53:33, Started: 08Dec2008:10:53:33 on Host host1, Ended: 08Dec2008:10:53:33
Moved job information to .\SASGSUB-2008-11-24_13.13.39.167_testPgm
Job 1919 (testPgm) is Finished: Submitted: 08Dec2008:10:53:34, Started: 08Dec2008:10:53:34 on Host host1, Ended: 08Dec2008:10:53:34
Moved job information to .\SASGSUB-2008-11-24_13.16.06.060_testPgm
Job 1925 (testPgm) is Submitted: Submitted: 08Dec2008:10:53:34