Recently we have migrated our jobs to new server and imported the project to that server. It was running successfully before. Even now we are able to connect to sql but we are getting this error now. We did check for envorinmental variables in the profile and everything is set.
Error 6 initializing SQL*Plus Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
But do the other jobs access ORACLE? It sounds like a dsenv file problem that needs to be corrected by adding the Oracle libraries, paths and environment variables. When you run the job, the ENV settings are displayed. IS "ORACLE_HOME" set there?
Exactly. Your script can make no assumptions about where it is or what environment variables are available. Source your dsenv file in the script or do something to set the proper variables up.
-craig
"You can never have too many knives" -- Logan Nine Fingers