No, there is not a tool (other than the STAX Monitor) that generates a STAX job parms file.
Perhaps via your script, you can submit the STAX EXECUTE request with the HOLD option, and in one thread start the STAX Monitor using the "-job NN" option and in another thread, delay for a few seconds while the STAX Monitor is starting and then submit a STAX RELEASE JOB <NN> request to release the job. Or, you could change all your STAX .xml files to delay for a while before starting (e.g. add an <stafcmd> element at the beginning that submits a "DELAY 10s" request to the DELAY service before any <message> elements). My best recommendation however is that you should be logging any important messages that you don't want to miss in the STAX Job User Log in addition to (or instead of) sending the message to the STAX Monitor. That way, the messages are logged so that even if you aren't monitoring the STAX job, you have all the messages logged in the STAX Job User Log which you can view at any time. To do this either use the <log> element instead of the <message> element or add the log="1" attribute to any important message elements in your STAX job, e.g. <message log="1">'Hello'</message>. Or you can set the STAXLogMessage variable to 1 (true) to automatically log all <message> messages to the STAX Job User Log in addition to sending them to the STAX Monitor if you didn't want to change all of your <message> elements to include the log="1" attribute. You could use the SCRIPT option on your STAX EXECUTE request to do this, e.g. STAF local STAX EXECUTE FILE C:/tests/job1.xml SCRIPT "STAXLogMessage = 1" -------------------------------------------------------------- Sharon Lucas IBM Austin, luc...@us.ibm.com (512) 286-7313 or Tieline 363-7313 Strösser, Bodo <bodo.stroes...@ts.fujitsu.com> 05/26/2009 12:05 PM To "'staf-users@lists.sourceforge.net'" <staf-users@lists.sourceforge.net> cc Subject [staf-users] How to directly create a jobParamsFile for STAX Hi, as I need to start a STAX job and the monitor from a shell script, I tried to call STAX-Monitor using "-job NN" after having started the job via "STAF LOCAL STAX EXECUTE ...." Unfortunately, some early messages from the job sometimes are not displayed by the monitor, as it is started too late. So I need to synchronize job and monitor. Next, I tried to start the job using the "HOLD" option, but then I need to release the job manually from the monitor :( I guess, it would be the best solution if I could start the monitor using the option "-jobparms <File>". But the job has changing call- params and the file isn't a text file. So my question is, is there any tool that helps to create a jobParmsFile without the need to call STAXMon? Or do you know any other solution for this? Thanks in advance for your help! Best regards Bodo Stroesser ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users