Yes, you can do that: STAF <remote-machine> STAX EXECUTE FILE /dir/myjob.xml WAIT RETURNRESULT This assumes that the file /dir/myjob.xml is located on the machine where you submitted the request.
Thanks, David David Bender STAF/STAX Development IBM Software Group, WPLC 11501 Burnet Rd. Bldg. 903-5B002 Austin, TX 78758-3400 Phone (T/L): 1-512-286-5315 (363-5315) ITN: 23635315 Email: bda...@us.ibm.com staf-stax user <stafstaxu...@gmail.com> 12/17/2009 01:56 AM To David Bender/Austin/i...@ibmus cc staf-users@lists.sourceforge.net Subject Re: [staf-users] Execute Stax Function on Remote machine Thanks David. Let me state my problem: I have written one function in stax.xml. I wan't to invoke this function on remote machine (staf/stax is configured on this remote machine) & get back it's return value. Can you kindly assist me how to do it? Regard's On Wed, Dec 16, 2009 at 8:11 PM, David Bender <bda...@us.ibm.com> wrote: That depends on what you mean by "execute stax function on remote machine". In your STAX job, you can specify remote systems for <process> and <stafcmd> elements, and you can import STAX functions from remote machines via the <import> element. I would suggest you read through the Getting Started with STAX document: http://staf.sourceforge.net/current/staxgs.pdf Thanks, David David Bender STAF/STAX Development IBM Software Group, WPLC 11501 Burnet Rd. Bldg. 903-5B002 Austin, TX 78758-3400 Phone (T/L): 1-512-286-5315 (363-5315) ITN: 23635315 Email: bda...@us.ibm.com staf-stax user <stafstaxu...@gmail.com> 12/16/2009 07:40 AM To staf-users@lists.sourceforge.net cc Subject [staf-users] Execute Stax Function on Remote machine Hi I am new to staf/stax . Is it possible to execute stax function on remote machine? Regard's ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users