See the CA Workload Automation EE Command Reference Guide
WOBSF Command: Retrieve the Spool File for a Distributed Job
The WOBSF command retrieves spool files for distributed jobs in both active and completed applications. If you use the PURGSCHF command to purge jobs in completed applications, WOBSF is the only way to retrieve the spool file for distributed jobs. This is because the purged jobs are no longer in CSF, so you cannot use the W or WSF commands to retrieve spool files. For a job in an active application, you can use W or WSF in CSF to retrieve the spool file or you can issue WOBSF.
###
The above works as long as the file still exists on the UNIX server and has now been removed as part of your environments spool directory cleanup process.
If the WOBSF command does not provide what you need you can create the job below and
Trigger it with USER1=AGENT, USER2=APPLICATION, USER3=GENERATION, USER4=JOB.
Trigger the event with the agent name where the job ran and same values that you used in
the WOBSF command.
Check the job output with WSF and you will see the job output for the APPL.GEN/JOB you
specified when you trigered the event.
This uses ESP Agent environment variable $ESPAGENTDIR
PROCEDURE_SECTION:
UNIX_JOB WOBSF
AGENT %USER1
CMDNAME <valid shell>
ARGS -c 'cat $ESPAGENTDIR/spool/*/*/%USER2..%USER3/%USER4'
USER compops
RUN ANYDAY
ENDJOB
Notes:
-
Replace <valid shell> with a valid shell for UNIX system.
-
USER2 and USER4 must be UPPERCASE
-
Double dots '..' after %USER2 are required