Problem(Abstract)
When attempting to compile a job, user receives: Failed to invoke GenRuntime using phantom process helper.
Cause
Possible causes for this error include:
Servers /tmp space was full
Jobs status incorrect.
Format problem with projects uvodbc,config file
Corrupted DS_STAGETYPES file
Internal locks.
Diagnosing the problem
If the steps under Resolving the problem do not resolve the problem, proceed with the following steps,
Before opening a PMR with support, turn on server side tracing, attempt to compile the problem job, turn off server side tracing, and gather the tracing information.
- Turn on server side by connecting to the server with the DataStage Administrator client.
- High light the project which has the problem job.
- Click on the Properties button.
- In the Properties window, click the Tracing tab
- Click on the Enabled check box
- Click the OK button
- With a new DataStage Designer connection, attempt to compile the job.
- With the DataStage Administrator client, go back into the projects properties
- Select the Tracing tab
- Uncheck the Enabled check box
- For each DSRTRACE entry do the following:
a) High light the entry and click View
b) High light the contents of the display and click on Copy
c) Paste the copied information into Notepad - Open a PMR with support and supply the Notepad information.
Resolving the problem
Servers /tmp space full:
Clean up space in /tmp
Jobs status is incorrect:
DataStage Director->Job->Clear Status File
Format problem with projects uvodbc.config file:
Confirm uvodbc.config has the following entry/format:
[ODBC DATA SOURCES]
DBMSTYPE = UNIVERSE
network = TCP/IP
service = uvserver
host = 127.0.0.1
Corrupted DS_STAGETYPES:
- Connect to the DataStage server,change directory to DSEngine, source dsenv ( . ./dsenv)
$ bin/uvsh
>LOGTO projectname (case sensitive) - Set a file pointer RTEMP to the template DS_STAGETYPES file
>SETFILE /Template/DS_STAGETYPES RTEMP - Check that all of the entries in the template DS_STAGETYPES file are present in the project's DS_STAGETYPES file
>SELECT RTEMP
* this will return a count of records found in the template DS_STAGETYPES file
>COUNT DS_STAGETYPES
* this will return a count of records found in the project's DS_STAGETYPES file
* These numbers should be the same - If the numbers differ and some records are missing from the project's DS_STAGETYPES file
>COPY FROM RTEMP TO DS_STAGETYPES ALL OVERWRITING - exit Universe shell
>Q
Internal locks:
- Connect to the DataStage server,change directory to DSEngine, source dsenv ( . ./dsenv)
- Change directory to the projects directory that has the job generating the error.
- Execute the following replacing
with the actual job name.
$ $DSHOME/bin/uvsh "DS.PLADMIN.CMD NOPROMPT CLEAR LOCKS"