How to Export a job which has a message handler.
Moderators: chulett, rschirm, roy
How to Export a job which has a message handler.
HI all,
i have a job with a Job level message handler which controls the warning message.
now i want to export the job to another project ,
i have exported job, the issue is unable to compile( says no message handler found)
can any one pls sujjest how to export the job with that message handler.
thanks much in advance.
rajan.
i have a job with a Job level message handler which controls the warning message.
now i want to export the job to another project ,
i have exported job, the issue is unable to compile( says no message handler found)
can any one pls sujjest how to export the job with that message handler.
thanks much in advance.
rajan.
Two options.
1. Move the whole DSParam file from you project to the new project.
2. Director -- > Message Handlers --> Save.
And move this file to the new server to the respective folder.
Search the forum, it has been dealt previously.
1. Move the whole DSParam file from you project to the new project.
2. Director -- > Message Handlers --> Save.
And move this file to the new server to the respective folder.
Search the forum, it has been dealt previously.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Hi Kumar
thanks a lot for ur reply,
what i understood from ur reply is need to export DSParam,
can u pls tell me where can i get this DSParam,
thanks for ur reply.
rajan.
thanks a lot for ur reply,
what i understood from ur reply is need to export DSParam,
can u pls tell me where can i get this DSParam,
thanks for ur reply.
rajan.
kumar_s wrote:Two options.
1. Move the whole DSParam file from you project to the new project.
2. Director -- > Message Handlers --> Save.
And move this file to the new server to the respective folder.
Search the forum, it has been dealt previously.
Hi kumar ,
thankyou once again,
am sorry to say ,i didnt find any such folder named with project. where can i see this.can u pls let me know in detail.
thanks in advance.
rajan.
thankyou once again,
am sorry to say ,i didnt find any such folder named with project. where can i see this.can u pls let me know in detail.
thanks in advance.
rajan.
kumar_s wrote:DSParams is the file that holds all the parameters for the project. It will be under the project folder. You need to check if it exist for Job level Message handler. You may need to follow the other a ...
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Local run-time message handlers are stored in the RT_SCnnnn subdirectory in the project, where nnnn is the job number. I have no information ready to hand as to whether these are exported with the job, with the job executables and/or with the job source code. If it is not, copy the file called Local.msh into the RT_SCnnnn subdirectory for the job in the new project.
Named message handlers are server-wide so, if you're moving to a new project on the same server, you need to do nothing; the named message handlers are available automatically to all projects.
To migrate a named message handler called Fred to a different server machine, cd to the DataStage home directory ($DSHOME) then cd to ../MsgHandlers. In that directory you will find a file called Fred.msh, which you need to copy to the MsgHandlers directory on the other server.
DSParams file is not involved.
&PH& is not involved.
&COMO& is not involved.
Named message handlers are server-wide so, if you're moving to a new project on the same server, you need to do nothing; the named message handlers are available automatically to all projects.
To migrate a named message handler called Fred to a different server machine, cd to the DataStage home directory ($DSHOME) then cd to ../MsgHandlers. In that directory you will find a file called Fred.msh, which you need to copy to the MsgHandlers directory on the other server.
DSParams file is not involved.
&PH& is not involved.
&COMO& is not involved.
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.
Hi all..
Sorry for the long silence.
@ray,
i found RT_snXX and i can see the message handler for that job , this is fine thnx a lot.
am little confused with this, when i copied the same file to the other project, how can one job gets that message handler , do we need to create a message handler with the same name..?
thnanks once again for the help.
rajan.
Sorry for the long silence.
@ray,
i found RT_snXX and i can see the message handler for that job , this is fine thnx a lot.
am little confused with this, when i copied the same file to the other project, how can one job gets that message handler , do we need to create a message handler with the same name..?
thnanks once again for the help.
rajan.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Hi all,ray.wurlod wrote:The xxx part of the directory name RT_SCxxx is the job number from DS_JOBS. You must emplace Local.msh into the correct directory for that job. ...
my problem solved.
there is a folder name MsgHandler in the project directory , need to copy the relevent .msh file and paste in the another project, in the same MsgHandler folder. then the job which is exported with a message handler will allow u to compile and the message handler works fine.
thanks all of u for ur kind responces.
Rajan