DC301031

Document ID : KB000014715
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

How do I resolve the following message?

DC301031  UPDATE OF TASK 'S' BUT PROGRAM TO BE INVOKED IS NOT IN THIS SYSTEM

Answer:

The SYSGEN compiler has placed an update flag on a TASK record. However, in response to a VALIDATE/GENERATE statement, the SYSGEN compiler cannot update the task's object record because the INVOKES PROGRAM specification in the task's source record designates a program that is not associated with the system being processed.

You would need to issue the following syntax:

DIS SYSTEM X.  **where X is the name of the current system

DIS ALL TASK.

DIS ALL PROGRAM.

 

Then look for the tasks 'S' and its associated program in this list.

There is a quirk to the sysgen compiler that if you issue a

DIS SYSTEM X.   **where X is the name of the current system

DISPLAY TASK S.

 

 

The compiler will calc to the task specified. The task is in the dictionary, but not necessarily attached to that system.

This is the same for programs.

If you DISPLAY TASK xxxx (the task specified in the DC301031 msg) it will show the Program to be invoked.  If the program is in the SYSTEM dictionary but not included in the SYSTEM on which you are current, you can DISPLAY PROGRAM xxxxxxx AS SYNTAX, erase the DISPLAY syntax and hit enter to add the program to the current SYSTEM, then GENERATE. 

 

All new tasks and programs are added to system 99 during the install.  A post configuration step must be to add all tasks and programs from system 99 to your current system.