ESP NOCACHE operand on events not working correctly.
search cancel

ESP NOCACHE operand on events not working correctly.

book

Article ID: 9814

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

Used the CACHE operand on the INVOKE statement.
Later when using the NOCACHE operand on several events, it appears that some instances still show cached.

Resolution

With PCACHE set to ON, the default for every INVOKE is going to CACHE. 
The NOCACHE operand needs to be added to the INVOKE statement(s) that you do not want CACHED.

Example:

UNIX_JOB TESTCACH
INVOKE 'hlq.test.testlib(myjob)'
INVOKE 'hlq.test.symtlib(@SYMBOLS)'
USER %DISTJOB
EXITCODE 0 SUCCESS
RESOURCE ADD(1,DISTJOB)
RUN WEEKDAYS SUN
INVOKE 'hlq.prod.symlib(<member>)' NOCACHE
AGENT %<member>
ENDJOB