Workload Automation

Blobs and Globs in WAAE 

Dec 22, 2017 02:43 AM

Binary Large Objects (blobs) are binary data (or text data) of variable length. Blobs are associated with a WAAE Job definition.   Global Blobs (Globs) have a unique name and can be shared between jobs.   The WAAE documentation explains the detail, this blob test document provides some examples (Linux/Unix) to play with.

https://docops.ca.com/ca-workload-automation-ae/11-4-2/en/scheduling/ae-scheduling/manage-binary-large-objects-blobs

Deploying ApplyPTF

This uses a global blob "$$glob.BT-glob-ApplyPTF" to hold the ApplyPTF executables.

Job “BT-glob-get-applyptf” copies the zipped executables to the target server

The jil subcommand “insert_glob:” is used to created and load the BT-glob-ApplyPTF glob with data

 Job “BT-blob-install-applyptf” uses blob "$$blobt" with its list of commands, as input to the shell to do the installation. The blob is loaded from a file as part of the job definition.

The file BT-ApplyPTF-example.jil has sample definitions for this. BT-DeleteApplyPTF_glob.jil is the code to delete the glob.  I have not included the ApplyPTF binaries, you can get the latest of these from CA Support.

 

Creating a blob in a job

This sequence of jobs demonstrates creating a blob, using it in another job and removing it afterwards.

BT-glob-create

  creates a global blob with data from the env command

BT-glob-view

  retrieves the blob $$globt.BT-glob

  BT-glob-make-jil

   creates a jil file with the delete_glob subcommand

BT-glob-delete

      cleans up by deleting the global blob

 

good hunting

Statistics
0 Favorited
7 Views
4 Files
0 Shares
13 Downloads
Attachment(s)
zip file
BT-ApplyPTF-example.jil.zip   495 B   1 version
Uploaded - May 29, 2019
zip file
BT-DeleteApplyPTF_glob.jil.zip   197 B   1 version
Uploaded - May 29, 2019
zip file
BT-glob-example.jil.zip   522 B   1 version
Uploaded - May 29, 2019
zip file
install_applyptf.txt.zip   237 B   1 version
Uploaded - May 29, 2019

Related Entries and Links

No Related Resource entered.