Page 1 of 1

Warning Suppression and migrating jobs to diffenet environme

Posted: Wed Jul 21, 2010 11:58 am
by DataDoctor
I had warning in development environment and I suppressed those warning by adding rules using Add Rule to Message Handler. Now when I migrate this job to test environment, it throws same warnings. Is there any way, I can migrate message handler rules too. Or how do I handle this situation.

Posted: Wed Jul 21, 2010 12:06 pm
by anbu
You cannot migrate message handler rules in the job. You need to add the rules again in the job in Test.

Posted: Wed Jul 21, 2010 2:11 pm
by kduke
A lot of people edit DSParms. It is tricky to get it correct. It is in there twice. You need to always back these files up. Just copy it and add the current date to name. This way you can roll back if you mess it up. You can also lock down thes files and only allow admins to change them. Then copy the whole file from the dev server to the test server. This also needs a backup copy.

Posted: Wed Jul 21, 2010 2:13 pm
by kduke
Sorry the filename is DSParams. There is one per project.

Posted: Thu Jul 22, 2010 5:50 am
by ArndW
Message handlers are stored in {YourPath}\IBM\InformationServer\Server\MsgHandlers and can be copied from one installation to another.

Posted: Thu Jul 22, 2010 11:41 am
by kduke
Arnd, is that version 8?

Posted: Thu Jul 22, 2010 12:32 pm
by chulett
Seems like it, I recall them being in "msh" files in each job's folder... under the "SC" directory, perhaps? :?

Posted: Thu Jul 22, 2010 7:22 pm
by ray.wurlod
Local message handlers are in the msh files.
Global (named) message handlers are in the directory Arnd mentioned.

You can migrate the files - they are pure text. The main issue is getting the correct msh file into the correct job SC directory on the target.

I believe istool is better at picking these up than is DataStage export/import.

Posted: Wed Aug 25, 2010 10:13 am
by highpoint
ray.wurlod wrote:Local message handlers are in the msh files.
Global (named) message handlers are in the directory Arnd mentioned.

You can migrate the files - they are pure text. The main issue is getting the correct msh file into the correct job SC directory on the target.

I believe istool is better at picking these up than is DataStage export/import.
Hi,

I have the same problem for which this topic was created.

I have local message handlers for one of my job.They are lost in different environment and sometime in the same environment.

I am suspecting this is due to recompilation.

I would like to know if we deploy the job executable without job design then also will i get the same issue in the test environment?

And were are the msh files located?? And how do i move them to different environment.??

Appreciate reply.

Posted: Wed Aug 25, 2010 1:47 pm
by mandyli
Just copy Message handler from DEV to QA or QA to Production.

All the nessage handlers stored in the following path with *.msh.

/opt/IBM/Engine/InformationServer/Server/MsgHandlers


Thanks
Man

Posted: Wed Aug 25, 2010 3:33 pm
by highpoint
mandyli wrote:Just copy Message handler from DEV to QA or QA to Production.

All the nessage handlers stored in the following path with *.msh.

/opt/IBM/Engine/InformationServer/Server/MsgHandlers


Thanks
Man
Actually i am using version 7.5.2

Posted: Fri Aug 27, 2010 11:42 am
by highpoint
highpoint wrote:
mandyli wrote:Just copy Message handler from DEV to QA or QA to Production.

All the nessage handlers stored in the following path with *.msh.

/opt/IBM/Engine/InformationServer/Server/MsgHandlers


Thanks
Man
Actually i am using version 7.5.2
Resolved. We exported executable along with job design and reimported in test environment. So this takes care of migration of message handlers as well.