How to set these Environment variables ???

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
VineelPrem
Participant
Posts: 19
Joined: Tue Jun 26, 2012 11:14 am
Location: Houston

How to set these Environment variables ???

Post by VineelPrem »

Hi i am using 8.5 edition . I have parallel jobs which are kicked off daily from OPC jobs(mainframe) .Today all of a sudden all the jobs failed and i get the following error :

main_program: Fatal Error: ?? (Exception thrown from CC_MessageResources::openResourceBundle, file CC_MessageResources.cpp, line 298: [unknown] Unable to load resource bundle: Resource bundle name: CC_DAAPI, current locale: en_US, DS_RESOURCE_LOCATION environment variable not set, DSHOMEenvironment variable found, value: /opt/IBM/InformationServer/Server/DSEngine, DataStage Server location found: /opt/IBM/InformationServer/Server/DSEngine/../DSComponents/res/CC, loading resource bundle for package: /opt/IBM/InformationServer/Server/DSEngine/../DSComponents/res/CC/CC_DAAPI_msgs, locale: en_US, ures_open failed with error status: 2)
Resource bundle corresponding to message key CONN-NGBR-00006 not found! Check that DSHOME or APT_RESPATH is set.
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

Had any new code migrations lately?

Look on your DataStage server under your project directory. Did someone do an "rm *" in that path?
VineelPrem
Participant
Posts: 19
Joined: Tue Jun 26, 2012 11:14 am
Location: Houston

Post by VineelPrem »

Hi Paul .Thanks for the response.We didnt migrate the code nor we removed anything from the projects .I cannot find any documentaion on this error.I would appreciate if u can help me understand the error or any any documentation on this error !


Thanks in Advance,
Prem
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

Go out and look on your unix system.

Is "/.dshome" file present?

Are you on an HA setup where your servers could have failed over to the other system?

did your trigger script source $DSHOME/dsenv before executing?

Go look at the user id that you are using to submit jobs as.

Go look at your DSParams file in your project directory.
VineelPrem
Participant
Posts: 19
Joined: Tue Jun 26, 2012 11:14 am
Location: Houston

Post by VineelPrem »

changed the permissions on the folder :
/opt/IBM/InformationServer/Server/DSEngine/../DSComponents/res/CC/CC_DAAPI_msgs.
That solves the issues . Thanks for your responses


regards,
Vineel
Post Reply