ESP Variable defined in DOCLIB member not working for Inserted JOBs
search cancel

ESP Variable defined in DOCLIB member not working for Inserted JOBs

book

Article ID: 236407

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

The %NUMBER variable is defined in the DOCLIB member like below:
NUMBER = '111'

It works for the jobs that had been loaded originally, but is ignored for the inserted JOBs.

If used AH (or ADHOC) to insert the predefined JOB, the following error is issued: 
ESPWSS2740W SYMBOL NUMBER NOT DEFINED

Resolution

Working as designed. 

Suggestion:  move the variable definition to the ESP Proc instead of using DOCLIB.