Download CA Workload Automation AE User Guide

Transcript
Generate Blob Reports Using Autorep
Example: Export Job Definition with Input Blobs
This example uses the autorep command to export a job definition:
autorep -J ALL -q
The output might resemble the following:
insert_job: test_job
job_type: cmd
command: cat
machine: juno
owner: jerry@ca
permission: gx,ge,wx
alarm_if_fail: 1
If the job has one or more input blobs tied to it, in addition to the job definition, the
autorep command extracts each of the job blob definitions, and the output might
resemble the following:
insert_job: test_job_with_blob
job_type: cmd
command: cat
machine: juno
owner: jerry@juno
permission:
std_in_file: $$blobt
alarm_if_fail: 1
/* -- test_job_with_blob:insert_blob #1 -- */
insert_blob: test_job_with_blob
blob_input: <auto_blobt>multi-lined text data for job blob 1
</auto_blobt>
/* -- test_job_with_blob:insert_blob #2 -- */
insert_blob: test_job_with_blob
blob_input: <auto_blobt> multi-lined text data for job blob 2
</auto_blobt>
/* -- test_job_with_blob:insert_blob #3 -- */
insert_blob: test_job_with_blob
blob_input: <auto_blobt> multi-lined text data for job blob 3
</auto_blobt>
You can also specify a location to download the blobs using the -f parameter as follows:
autorep -J ALL -q -f /myblobsdir
The output might resemble the following:
insert_job: test_job_with_blob
job_type: cmd
command: cat
machine: juno
owner: jerry@juno
permission:
Chapter 27: Working with Binary Large Objects (Blobs) 529