Do I need to create global variable before I can run the Autosys job below? If so how do i create one? I inherited some legacy code from someone and now I'm pulling my hair trying to figure out how to do that.
insert_job: AUTOSYS_TEST_VARIABLE job_type: c
command: sendevent -E SET_GLOBAL -G TEST_VARIABLE=TRUE
machine: MACHINE_ALIAS
owner: testowner
permission: gx,mx
description: set global variable
alarm_if_fail: 1
profile:/home/test/dbreplication.env
timezone: US/Eastern
sendevent -E SET_GLOBAL -G TEST_VARIABLE=TRUE defines and set the TEST_VARIABLE. The reason it wasn't working for me was because I need to have specific pattern of variable name for my application.