Skip to Content
avatar image
Former Member

$G_JOB_ID> Declare the variable in the context that it is being used

Hi Expert,

issue.jpg

Need help...

when I ran the job, its automatically stops..please look at he screenshot and looked at the error in the log file says: Referencing an undeclared variable <$G_JOB_ID>. Declare the variable in the context that it is being used.

But it is declared already as Global variable. It was working fine before, but all of sudden this error came up... :-(

Could someone please help me....its more important and urgent...

issue.jpg (76.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Dec 14, 2016 at 02:19 PM

    Your screenshot does not show the error or show the Variables and Parameters window to show the variable you think you have created.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 15, 2016 at 05:28 AM

    Hi Dan,

    The screenshot referring to the job, which stops at processing job ( Job_name), but when I checked the log file its shows declare the variable. which is already declared at the job level... there is no error. Please help

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 15, 2016 at 09:59 AM

    Dear Amarnath A,

    You are using a variable's in the job that is not created in the variables list or recheck the variable's names in the script's so that you misspelled the variable's you declared in the job.


    Regards,
    Akhilesh Kiran.

    Add comment
    10|10000 characters needed characters exceeded