Empty Lines within the POST_PROCESS generate a runtime error during execution

book

Article ID: 88014

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
U00020504 Runtime error in object 'UC0.EXP.V11_UX_TEST_9.00A431_4B1.JOBS(2)' line '00004': JCL, statement or function is not allowed in POST PROCESS.

Empty lines in post-process of a job lead to a runtime error during execution. 

When upgrading to version 11, jobs fail with a runtime error similar to the one above.

Review of the POST_PROCESS shows that there are blank lines present after a read statement such as:

:READ &UC_CAUSE_RETCODE

:PRINT "TEST'

Cause

Cause type:
Defect
Root Cause: Empty lines in post-process of a job lead to run time error during execution. This results in run time error: 20504

Environment

OS Version: N/A

Resolution

Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Automation Engine 11.2.2 - Available
Automation Engine 11.1.3 - Available

Additional Information

Workaround :
Remove the empty lines.