Re: [staf-users] STAXResult shows incorrect values for unicode output from process element

2013-08-02 Thread Sharon Lucas
Please see my answer to the STAF forum posting at https://sourceforge.net/projects/staf/forums/forum/104046/topic/4563879 regarding the output from a wmic command. -- Sharon Lucas IBM Austin, luc...@us.ibm.com (512) 286-7313 or Tielin

Re: [staf-users] STAXResult

2011-04-19 Thread Sharon Lucas
luc...@us.ibm.com (512) 286-7313 or Tieline 363-7313 From: Cindy Zhu To: Sharon Lucas/Austin/IBM@IBMUS Cc: "staf-users@lists.sourceforge.net" Date: 04/19/2011 11:55 AM Subject:RE: [staf-users] STAXResult Right, your code gives me the number of the entr

Re: [staf-users] STAXResult

2011-04-19 Thread Cindy Zhu
@lists.sourceforge.net Subject: RE: [staf-users] STAXResult Why are you trying to marshall the STAFResult? I have do idea why you are doing this. I gave you an example of how to get the number of entries in the STAFResult (which it is a list). dir = '%s\Silk\Apps\TestResults' % (tempfolder)

Re: [staf-users] STAXResult

2011-04-19 Thread Sharon Lucas
uot;RC==0"> <script> from PySTAF import * import re result=STAFResult len=[len(STAFResult)) mr=marshall(STAFResult) ... Do I need to "from PySTAF import *" to import the module to marshall STAFResult? I also got "NameError: marshall" when I ran the code? Can

Re: [staf-users] STAXResult

2011-04-19 Thread Cindy Zhu
Result) ... Do I need to "from PySTAF import *" to import the module to marshall STAFResult? I also got "NameError: marshall" when I ran the code? Can you please help? Thanks, Cindy From: Sharon Lucas [mailto:luc...@us.ibm.com] Sent: April-19-11 9:26 AM To: Cindy Zhu C

Re: [staf-users] STAXResult

2011-04-19 Thread Sharon Lucas
The element does not set a Python variable named STAXResult. The section titled "stafcmd: Run a STAF Command" in the STAX User's Guide at http://staf.sourceforge.net/current/STAX/staxug.html#Header_Stafcmd describes the Python variables that are set by the element. It says: After the STAF c