Hi all,

I am executing the following command:

staf local stax EXECUTE FILE file.xml WAIT 10m RETURNRESULT DETAILS


Which is returning the following output:

-------- { Job ID : 35 Start Date-Time: 20120510-09:44:57 End Date-Time :
20120510-09:45:08 Status : Normal Result : 1 Job Log Errors : [] Testcase
Totals: { Tests : 1 Passes: 0 Fails : 1 } Testcases : [**Removed for
brevity**] } ] }

---

I am trying to get the RUNLEVEL in console/dos to reflect result of 1 as
indicated by the "Result". But for some reason this command is always
returning 0. I need STAF to return an error value back to console when
something goes wrong. This seems like it should be a fairly common
operation, but I am having trouble tracking down documentation on this.

Thanks,
Josh
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to