Datastage deployment can be easy but such a pain when it comes to validation.
Remember the times when you deployed hundreds or thousand of jobs an you need to validate whether you left one or two jobs un-compiled?
Developers gets lazy at times and so struggle to find ways to simplify stuff and make his life easier with a few commands. The following comes handy in this case...
Login on the datatage unix box and execute the following sequence of commands:
Remember the times when you deployed hundreds or thousand of jobs an you need to validate whether you left one or two jobs un-compiled?
Developers gets lazy at times and so struggle to find ways to simplify stuff and make his life easier with a few commands. The following comes handy in this case...
Login on the datatage unix box and execute the following sequence of commands:
1. cd <DSHOME>
2. . ./<dsenvironment variable file>
3. dsjob -ljobs -status 98 <DS_PROJECT>
3. dsjob -ljobs -status 98 <DS_PROJECT>
Supply status = 98 (“Not Compiled”) and the DS
Project.
This will show all uncompiled job list in your DS Project environment.
bash-4.2$ cd /app/ibm/InformationServer/Server/DSEngine
bash-4.2$ . ./dsenv
bash-4.2$ dsjob -ljobs -status 98 MY_DS_PROJECT_DEV
DUMMY_ACTIVITY
DUMMY_MEMBER
DUMMY_LEAD
DUMMY_OPPORTUNITY
DUMMY_HISTORY
DUMMY_PRODUCT
DUMMY_RECORD
DUMMY_USER
Status code = 0
bash-4.2$
Below are the list of available statuses from IBM Technote that can be found on the following link:
Runnable Job Status (do something)
1 "Finished"
2 "Finished (see log)"
9 "Has been reset"
11 "Validated OK"
12 "Validated (see log)"
21 "Has been reset"
99 "Compiled"
Runnable Job Status (do something)
0 "Running"
3 "Aborted"
8 "Failed validation"
13 "Failed validation"
96 "Aborted"
97 "Stopped"
98 "Not Compiled"
Such a nice thing you had provided here. While hiring with the people for certain position, these are the things to keep in mind. Thank you very much for providing this here. And i am expecting much more information from you
ReplyDeleteManpower Consultancy in Chennai
Very Nice Information of datastage .... thanks for sharing Datastage_Online_Training
ReplyDelete