Too Many records for execution in Uproc Job Log
search cancel

Too Many records for execution in Uproc Job Log

book

Article ID: 443686

calendar_today

Updated On:

Products

Automic Dollar Universe

Issue/Introduction

A particular Uproc, when executed, has the following lines at the end of the job log, still it completes successfully:

Too Many records for execution
Too Many records for execution

Investigation:

  • On the Uproc script, we can see a lot of calls to a function called MESSAGE (defined somewhere else in the user environment's scripts).
  • When the check the History Trace for that execution, we can see that there are 999 lines containing the same information that was passed to the MESSAGE function, so we suspect that MESSAGE invokes "uxset msg" command, ie:
    MESSAGE "DEBUT ${S_PROCEXE}" 2

Environment

Dollar Universe 6.x and 7.x

Cause

Limitation on the number of history trace messages for a particular numproc (999) reached.

Resolution

To resolve this issue, reduce the number of writes to the history trace:

  1. Modify Script Logging: Replace uxset msg calls with standard echo commands.
    • uxset msg writes to the history trace file, which is subject to the 999-record limit.
    • echo writes to the Job Log, which does not have this specific record limitation.
  2. Review Common Functions: If using a centralized function to log messages, comment out the uxset msg line within that function.