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 ====>
Capture Reply for unix
Moderators: chulett, rschirm, roy
When you call an execute command stage, you will get a [stagename].$CommandOutput activity variable.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
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.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.