IBM Support

"error importing function definition" in DataStage job/routines/installation

Troubleshooting


Problem

In a job, a routine or command might give one or more of these errors:

sh: switchml: line 1: syntax error: unexpected end of file
sh: error importing function definition for `switchml'

sh: which: line 1: syntax error: unexpected end of file
sh: error importing function definition for `which'

sh: ml: line 1: syntax error: unexpected end of file
sh: error importing function definition for `ml'

sh: _module_raw: line 1: syntax error: unexpected end of file
sh: error importing function definition for `_module_raw'

sh: scl: line 1: syntax error: unexpected end of file
sh: error importing function definition for `scl'

sh: module: line 1: syntax error: unexpected end of file
sh: error importing function definition for `module'
This error might also occur during installation.

Additionally, an attempt to create a new project after the install of a patch, service pack, or fix pack might fail until services are restarted.

Errors were detected during project creation that may render project projname unstable. Please contact your support provider if you encounter problems.  Caused by: DSR.ADMIN: Error creating DR elements, Error was java.io.FileNotFoundException: JAR entry ProjectManagement/1:.Project.xml not found in /opt/IBM/InformationServer/ASBNode/lib/java/datastage_project_resources.jar
 

Document Location

Worldwide


[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSZJPZ","label":"IBM InfoSphere Information Server"},"ARM Category":[{"code":"a8m50000000L0t8AAC","label":"DataStage"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"11.7.0;11.7.1"}]

To view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM InfoSphere Information Server

Component:
DataStage

Software version:
11.7.0, 11.7.1

Operating system(s):
Linux

Document number:
7148868

Modified date:
25 April 2025

UID

ibm17148868

Manage My Notification Subscriptions