Exporting a job with warnings
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 288
- Joined: Tue May 27, 2008 3:42 am
- Location: Luxembourg
Exporting a job with warnings
Good morning all,
I am exporting a DSEE 8.5 job which on execution is returning a few warnings on my development environment. I cannot evade these warnings and thus I am demoting these warnings to informational status in my director module.
However on exporting this job to another server these warnings reappear. is there anyway I can export these jobs taking into account warnings that shouldn't show up in yellow?
Thanks
S. BASU
I am exporting a DSEE 8.5 job which on execution is returning a few warnings on my development environment. I cannot evade these warnings and thus I am demoting these warnings to informational status in my director module.
However on exporting this job to another server these warnings reappear. is there anyway I can export these jobs taking into account warnings that shouldn't show up in yellow?
Thanks
S. BASU
Tony
BI Consultant - Datastage
BI Consultant - Datastage
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
-
- Premium Member
- Posts: 288
- Joined: Tue May 27, 2008 3:42 am
- Location: Luxembourg
By 'define the message handler in the target environment' you mean I have to run the job in the target environment and physically convert the warnings to informational status just as I did in my dev.?
Or is there any other way to 'define the message handler in the target environment'?
Or is there any other way to 'define the message handler in the target environment'?
Tony
BI Consultant - Datastage
BI Consultant - Datastage
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Re: Exporting a job with warnings
You're not trying hard enough.BASU wrote: I cannot evade these warnings
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
One well known way is to do copy & paste.. Open both source & trarget message handler windows and do a copy/pasteBASU wrote:Or is there any other way to 'define the message handler in the target environment'?
One another way is also there....
Kandy
_________________
Try and Try again…You will succeed atlast!!
_________________
Try and Try again…You will succeed atlast!!
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
-
- Premium Member
- Posts: 288
- Joined: Tue May 27, 2008 3:42 am
- Location: Luxembourg
I know what you mean Ray and I'll be honest with you. This is not exactly my development. I have simply been given this as an exercise and I need to come up with a solution. Ths eradicating the warnings, thus nipping the issue in the bud is not a solution.
As for the 2 solutions by kandyshandy, I confess that I don't understand very well what to do.
I have added the warnings to my message handler i.e. local runtime handler' for my job as well as added a new handler. How do I export these messages also as part of my DSX so that the target server knows that these warnings shouldn't appear in yellow?
As for the 2 solutions by kandyshandy, I confess that I don't understand very well what to do.
I have added the warnings to my message handler i.e. local runtime handler' for my job as well as added a new handler. How do I export these messages also as part of my DSX so that the target server knows that these warnings shouldn't appear in yellow?
Tony
BI Consultant - Datastage
BI Consultant - Datastage
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
I posted a detailed reply and i could not see it here. God.. should i type it again? Let me make it simple..
Source Env -> DataStage Designer/Director -> Message Handler Manager/Management -> copy ->
{paste in Message Handler Manager/Management of target environment} -> save it -> close it.
Source Env -> DataStage Designer/Director -> Message Handler Manager/Management -> copy ->
{paste in Message Handler Manager/Management of target environment} -> save it -> close it.
Kandy
_________________
Try and Try again…You will succeed atlast!!
_________________
Try and Try again…You will succeed atlast!!
-
- Premium Member
- Posts: 288
- Joined: Tue May 27, 2008 3:42 am
- Location: Luxembourg
I can go upto Source Env -> DataStage Designer/Director -> Message Handler Manager/Management ->
I don't get an option to copy anything.
To be specific its Source Env -> DataStage Designer/Director -> TOOLS -> Message Handler Management
This is specific for each job.
Once we open this there is an option to SAVE Message Handler / Save Message Handler As
So where / how can I implement the copy paste method?
Regards
I don't get an option to copy anything.
To be specific its Source Env -> DataStage Designer/Director -> TOOLS -> Message Handler Management
This is specific for each job.
Once we open this there is an option to SAVE Message Handler / Save Message Handler As
So where / how can I implement the copy paste method?
Regards
Tony
BI Consultant - Datastage
BI Consultant - Datastage
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
Basu, did you ever create a message handler in source environment? If yes, when you open message handler manager from designer, you will see a drop down list which lists out all available message handlers. If you don't any see in the drop down list, that means you don't have a message handler for that environment.
Once you select one from the drop down list, you can see corresponding message ids, action etc.
Once you select one from the drop down list, you can see corresponding message ids, action etc.
Kandy
_________________
Try and Try again…You will succeed atlast!!
_________________
Try and Try again…You will succeed atlast!!
-
- Premium Member
- Posts: 288
- Joined: Tue May 27, 2008 3:42 am
- Location: Luxembourg
Alright, I am adding the message I want to suppress from my log / demote to informational status to my message handler under a new name. Now when I run this job the earlier warning does not come up in yellow. However once I export this job, how do I ensure that in the target environment the same warning is also handled in the same way as in the source environment?
Tony
BI Consultant - Datastage
BI Consultant - Datastage
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
-
- Premium Member
- Posts: 288
- Joined: Tue May 27, 2008 3:42 am
- Location: Luxembourg
-
- Participant
- Posts: 597
- Joined: Fri Apr 29, 2005 6:19 am
- Location: Singapore
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
If it is a project level message handler then there are 2 things you need to do.
you need to copy .msh file from <installation directory>/MessageHandlers
so now you have the message handler in the target system now you need to configure the project to use it, so in administrator select that message handler. (you can copy DSParams as well but then you may need to change quite a few parameters there)
you need to copy .msh file from <installation directory>/MessageHandlers
so now you have the message handler in the target system now you need to configure the project to use it, so in administrator select that message handler. (you can copy DSParams as well but then you may need to change quite a few parameters there)
Priyadarshi Kunal
Genius may have its limitations, but stupidity is not thus handicapped.
Genius may have its limitations, but stupidity is not thus handicapped.