I tried this, But if the script contains ~ metacharacters like below then it is not working. Where as execution of script with out STAF works.
#!/usr/bin/ksh cp file1 ~/abcd will give the error. Response -------- { Return Code: 0 Key : <None> Files : [ { Return Code: 0 Data : cp: ~/abcd/ not found } ] } Please let me know is there a way to overcome this? Note that '*' metacharacter works for filenames that is #!/usr/bin/ksh cp file* /export/home/abcd works. Thanks, Uma. ________________________________ From: David Bender [mailto:bda...@us.ibm.com] Sent: Mon 3/22/2010 7:49 PM To: Uma Maheswar Chilukuri Cc: staf-users@lists.sourceforge.net Subject: Re: [staf-users] Persisten Shell Session through PROCESS service No, that is not possible. If you need to have multiple requests execute in the same shell, then you could create a shell script (or Windows bat file) that executed the multiple requests, and then execute the shell script or bat file via the PROCESS START request. Thanks, David ________________________________ David Bender <http://w3.ibm.com/bluepages/simpleSearch.wss?searchBy=Name&searchFor=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 <mailto:bda...@us.ibm.com> ________________________________ Inactive hide details for "Uma Maheswar Chilukuri" ---03/22/2010 08:41:32 AM--- Hi,<https://email.mach.com/exchange/umch/Drafts/graycol.gif> "Uma Maheswar Chilukuri" ---03/22/2010 08:41:32 AM--- Hi, <https://email.mach.com/exchange/umch/Drafts/ecblank.gif> From: <https://email.mach.com/exchange/umch/Drafts/ecblank.gif> "Uma Maheswar Chilukuri" <u...@mach.com> <https://email.mach.com/exchange/umch/Drafts/ecblank.gif> To: <https://email.mach.com/exchange/umch/Drafts/ecblank.gif> <staf-users@lists.sourceforge.net>, <staf-users@lists.sourceforge.net> <https://email.mach.com/exchange/umch/Drafts/ecblank.gif> Date: <https://email.mach.com/exchange/umch/Drafts/ecblank.gif> 03/22/2010 08:41 AM <https://email.mach.com/exchange/umch/Drafts/ecblank.gif> Subject: <https://email.mach.com/exchange/umch/Drafts/ecblank.gif> [staf-users] Persisten Shell Session through PROCESS service ________________________________ Hi, >From STAF User guide for PROCESS service. 8.12.2 "SHELL specifies that COMMAND should be started via a separate shell." >From this I know that each request to PROCESS service is executed in a >separate/New shell. Is there a way to have a shell session persisted for multiple requests? Thanks Uma.------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users