Capture Reply for unix

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
times29
Premium Member
Premium Member
Posts: 202
Joined: Mon Sep 22, 2008 3:47 pm

Capture Reply for unix

Post by times29 »

Hi,
Which Actvity Variable capture Unix Reply code as i don't see any Reply code variable in there all i see in Activity variables are:

JobName
JobStatus
UserStatus

Want to capture Reply
Reply=0
Output from command ====>
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

When you call an execute command stage, you will get a [stagename].$CommandOutput activity variable.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

For job activity you don't get a UNIX exit status; you get a DataStage exit status (via the $JobStatus activity variable). Note in particular that, in a DataStage exit status, 0 does not mean "success" - it means "running". You're unlikely to see this downstream of a Job activity, since the Job activity does not return until the job does.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply