Page 1 of 1

How can we get the System out from datastage job

Posted: Tue Jun 08, 2010 5:10 am
by muralidwhds
Hi All,

How can we get the system out from a datastage job in DS V 8.0.1

Regards,
Murali

Posted: Tue Jun 08, 2010 5:13 am
by ArndW
What do you mean by "System out"?

Re: How can we get the System out from datastage job

Posted: Tue Jun 08, 2010 5:57 am
by ray.wurlod
muralidwhds wrote:Hi All,

How can we get the system out from a datastage job in DS V 8.0.1

Regards,
Murali
You can't, because there isn't one.

Posted: Tue Jun 08, 2010 6:05 am
by chulett
You'd need to do a much better job of asking your question to get any help with it.

Posted: Tue Jun 08, 2010 6:10 am
by Sainath.Srinivasan
If you mean to write output to another stream, you can call system commands from before / after routines, sequences etc. You can write from jobs also.

For identifying and debugging, you can either enable debug or use dsLogInfo (or its accomplices).

Provide the location and details you wish to gather to obtain more specific response.

Re: How can we get the System out from datastage job

Posted: Tue Jun 08, 2010 12:04 pm
by vinnz
muralidwhds wrote:Hi All,

How can we get the system out from a datastage job in DS V 8.0.1

Regards,
Murali

Are you referring to the Std out stream from a OS level command? - Answered above
Would you like to get the job completion code from invoking a DataStage job? - look up the dsjob command
Are you referring to the System.out package in Java? - I suppose the Java pack may help ..

Re: How can we get the System out from datastage job

Posted: Wed Jun 09, 2010 3:24 am
by muralidwhds
Hi,

i want to see the SystemOut and SystemErr log files from the particular datastage job in Server Edition V8.0.1

i think this is clear...

Thanks,
Murali
















vinnz wrote:
muralidwhds wrote:Hi All,

How can we get the system out from a datastage job in DS V 8.0.1

Regards,
Murali

Are you referring to the Std out stream from a OS level command? - Answered above
Would you like to get the job completion code from invoking a DataStage job? - look up the dsjob command
Are you referring to the System.out package in Java? - I suppose the Java pack may help ..

Posted: Wed Jun 09, 2010 3:36 am
by ArndW
DataStage does not produce a Std out and Std err stream in the classical sense, thus the answer to your query is that you cannot get that information directly. The DataStage equivalent would be the director log file for a job run, which is accessible through API calls.

Posted: Wed Jun 09, 2010 4:12 am
by ray.wurlod
As I said earlier, and Arnd confirmed, DataStage operates in its own shell, so does not have a stdout/stderr in the conventional sense.