Page 1 of 1
some of the warnings that we suppress and are not harmful
Posted: Tue Mar 14, 2006 7:10 am
by sendmk
Can anyone give me some of the warnings that we suppress and that are not harmful.
thx
Posted: Tue Mar 14, 2006 7:57 am
by ArndW
I can't think of any warnings in Server that need to be suppressed and are not harmful. PX jobs are different, but one can't just give a list since each warning is potentially harmful if not handled correctly.
Again, server jobs should be designed to not issue any warnings.
Posted: Tue Mar 14, 2006 8:05 am
by sendmk
i agree to you andrw, i need a few most common ones atleast for documentation.
Posted: Tue Mar 14, 2006 8:08 am
by kcbland
A purposeful reject link will generate a yellow warning message in the job log if the row count on the reject link is non-zero. Other than that, warning messages on Server jobs tell you your metadata is wrong, or your job has spewed information into the phantom capture file indicating non-numeric values in calculations or such errors.
Posted: Tue Mar 14, 2006 8:16 am
by ArndW
You mean like "Character string truncation" warnings? (this is a harmful one) or "Warning: column name does not match SQL name!" (which might be harmful)?
You can enter TCL or use the ADMIN tool and do a "SELECT * FROM DS_RESENU;" (or "LIST DS_RESENU" for non-sql type query) to get a list of the messages that can come out of DataStage.
Posted: Wed Mar 15, 2006 12:01 am
by sendmk
Can anyone tell me where i have enter the SELECT * FROM DS_RESENU etc, TCL etc
Posted: Wed Mar 15, 2006 12:07 am
by rasi
You can use your datastage adminstrator to run your command.
SELECT * FROM DS_RESENU
Under the project tab click the command button. Inside you can run your query.
Posted: Wed Mar 15, 2006 1:12 am
by balajisr
rasi wrote:You can use your datastage adminstrator to run your command.
SELECT * FROM DS_RESENU
Under the project tab click the command button. Inside you can run your query.
I can execute the command "SELECT * from DS_RESENU;" from the administrator but not from unix. But i can execute commands like LISTV,LISTS etc.. from unix
I had even tried executing "select * from DS_JOBS;" both from administrator and from Unix. It is working fine from the administrator but not from unix.
The error message i get when i execute from unix is:
"Table DS_RESENU does not exist"
"TABLE DS_JOBS does not exist"
Am i making any basic mistake?
--Balaji S.R
Posted: Wed Mar 15, 2006 1:48 am
by ArndW
You first need to change to your project from the master account by using a "LOGTO {projectname}" command within TCL.
Posted: Wed Mar 15, 2006 1:59 am
by balajisr
ArndW wrote:You first need to change to your project from the master account by using a "LOGTO {projectname}" command within TCL. ...
Got it. Thanks a lot ArndW.
--Balaji S.R