Warning Suppression and migrating jobs to diffenet environme

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
DataDoctor
Premium Member
Premium Member
Posts: 30
Joined: Mon Sep 14, 2009 10:34 am
Location: Omaha NE

Warning Suppression and migrating jobs to diffenet environme

Post 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.
anbu
Premium Member
Premium Member
Posts: 596
Joined: Sat Feb 18, 2006 2:25 am
Location: india

Post by anbu »

You cannot migrate message handler rules in the job. You need to add the rules again in the job in Test.
You are the creator of your destiny - Swami Vivekananda
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post 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.
Mamu Kim
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Sorry the filename is DSParams. There is one per project.
Mamu Kim
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Message handlers are stored in {YourPath}\IBM\InformationServer\Server\MsgHandlers and can be copied from one installation to another.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Arnd, is that version 8?
Mamu Kim
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Seems like it, I recall them being in "msh" files in each job's folder... under the "SC" directory, perhaps? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
highpoint
Premium Member
Premium Member
Posts: 123
Joined: Sat Jun 19, 2010 12:01 am
Location: Chicago

Post 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.
mandyli
Premium Member
Premium Member
Posts: 898
Joined: Wed May 26, 2004 10:45 pm
Location: Chicago

Post 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
highpoint
Premium Member
Premium Member
Posts: 123
Joined: Sat Jun 19, 2010 12:01 am
Location: Chicago

Post 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
highpoint
Premium Member
Premium Member
Posts: 123
Joined: Sat Jun 19, 2010 12:01 am
Location: Chicago

Post 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.
Post Reply