<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-25740336.post4957605016970540521..comments</id><updated>2010-09-04T01:15:42.164+01:00</updated><category term='varchar'/><category term='Fine-Grained Auditing'/><category term='enq: RO - fast object reuse'/><category term='re-posting'/><category term='PeopleTools 8.48'/><category term='scalar queries'/><category term='clob'/><category term='Global Unique Identifier'/><category term='row cache lock'/><category term='Instrumentation'/><category term='Dead Connect Detection'/><category term='Append'/><category term='Recyclebin'/><category term='row source alias'/><category term='Application Server'/><category term='PeopleTools 8.49'/><category term='PSPMSESSIONS_VW'/><category term='QB_NAME'/><category term='unicode'/><category term='performance'/><category term='posting'/><category term='Truncate'/><category term='Stored Statements'/><category term='Application Engine'/><category term='Batch Timings'/><category term='scalability'/><category term='Hints'/><category term='Report Reposiory'/><category term='Restartability'/><category term='local write wait'/><category term='Stored Outlines'/><category term='SQL Server 2005'/><category term='global temporary tables'/><category term='SQR'/><category term='ASSM'/><category term='Database Links'/><category term='Temporary Records'/><category term='DDL trigger'/><category term='Materialized View'/><category term='Privileges'/><category term='Network Latency'/><category term='Oracle Enterprise Manager'/><category term='8.48'/><category term='COBOL'/><category term='v$session_longops'/><category term='Freelist'/><category term='%CurrentDateIn'/><category term='view'/><category term='column default values'/><category term='Optimizer Dynamic Sampling'/><category term='redo logging'/><category term='nvision'/><category term='Flashback Query'/><category term='PeopleSoft Temporary Records'/><category term='Grid Control'/><category term='Unix Process Limits Memory Application Engine'/><category term='Cache'/><category term='Component Processor'/><category term='Oracle 10g'/><category term='DataGuard'/><category term='SQL*Net'/><category term='Multi-versioning'/><category term='Partitions'/><category term='trace &quot;external table&quot; directory'/><category term='Parse'/><category term='ASH'/><category term='ReUse Statement'/><category term='Plan Stability'/><category term='Global Payroll'/><category term='Statistics Retention'/><category term='PeopeTools Tables'/><category term='PeopleTools 8.50'/><category term='Descending Indexs'/><category term='Dirty Reads'/><category term='Conference'/><category term='clone database'/><category term='DBMS_STATS'/><category term='Record Locator Dialogue'/><category term='Isolation Level'/><category term='Tuxedo'/><category term='Terminated Connection Timeout'/><category term='Oracle SQL Trace Trigger'/><category term='long'/><category term='PeopleTools 8.1x'/><category term='Dynamic Code'/><category term='GetNextNumberWithGapsCommit'/><category term='Performance Metrics'/><category term='PS/Query'/><category term='Performance Monitor'/><category term='Load Balancing'/><category term='serialisation'/><category term='SQL Tuning'/><category term='Null'/><category term='sequences'/><category term='Analyze'/><category term='DDL'/><category term='Lookup Exclusion'/><category term='Locking'/><category term='Read Consistency'/><category term='SQL*Plus login prompt'/><category term='Process Scheduler'/><category term='Search Record'/><category term='%UpdateStats'/><category term='DBMS_APPLICATION_INFO'/><category term='sparse index'/><category term='Scheduled Queries'/><category term='Redo'/><category term='DDL Model'/><category term='MetaSQL'/><category term='Run Control'/><category term='XML Reporting'/><category term='Deferred Segment Creation'/><category term='Descending Key'/><title type='text'>Comments on The PeopleSoft DBA Blog: Running Unix Commands and Scripts from the PeopleS...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.psftdba.com/feeds/4957605016970540521/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html'/><author><name>David Kurtz</name><uri>http://www.blogger.com/profile/00468908370233805717</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-r3gw1fMhCYA/Ts1X4_XLfVI/AAAAAAAAAAQ/6zxhePc05OY/s220/psftdba_medium.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-25740336.post-6616312162313713028</id><published>2010-09-04T01:15:42.164+01:00</published><updated>2010-09-04T01:15:42.164+01:00</updated><title type='text'>Hi David, I have worked with you in BT. I am getti...</title><content type='html'>Hi David, I have worked with you in BT. I am getting the error when i try to run the script via process scheduler as you can see from the log. But i am able to successfully execute from unix.&lt;br /&gt;&lt;br /&gt;/local/apps/psoft/DEVM/pt849_hcm/bin/psft.sh:sh sdtest.sh 0&lt;br /&gt;Sat Sep  4 00:36:24 BST 2010&lt;br /&gt;Linux hwl027a002 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux&lt;br /&gt;parameter 1: begindttm  parameter 2: 7&lt;br /&gt;PRCSINSTANCE : 1226516&lt;br /&gt;Setting process request 1226516 to status 7&lt;br /&gt;prcsapi: /local/apps/psoft/DEVM/pt849_hcm/bin/psft.sh[53]: sqlplus: not found&lt;br /&gt;RETURN CODE: 127&lt;br /&gt;SQL *Plus Error Return code: 0&lt;br /&gt;Sat Sep  4 00:36:24 BST 2010&lt;br /&gt;welcome&lt;br /&gt;Sat Sep  4 00:36:24 BST 2010&lt;br /&gt;parameter 1: enddttm  parameter 2: 9&lt;br /&gt;PRCSINSTANCE : 1226516 &lt;br /&gt;Setting process request 1226516 to status 9&lt;br /&gt;prcsapi: /local/apps/psoft/DEVM/pt849_hcm/bin/psft.sh[62]: sqlplus: not found&lt;br /&gt;RETURN CODE: 127&lt;br /&gt;SQL *Plus Error Return code: 0&lt;br /&gt;Sat Sep  4 00:36:24 BST 2010</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/6616312162313713028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/6616312162313713028'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1283559342164#c6616312162313713028' title=''/><author><name>Sam10</name><uri>http://www.blogger.com/profile/09034531023127178638</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/__RP67s4W5Ug/STnBa3DW5YI/AAAAAAAABEA/dosOHI6Tjhg/S220/DSC02946.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-646414249'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-8920481331565032320</id><published>2010-07-07T11:27:38.758+01:00</published><updated>2010-07-07T11:27:38.758+01:00</updated><title type='text'>I have corrected the script in this blog posting, ...</title><content type='html'>I have corrected the script in this blog posting, and uploaded a new script to the Go-Faster website.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/8920481331565032320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/8920481331565032320'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1278498458758#c8920481331565032320' title=''/><author><name>David Kurtz</name><uri>http://www.blogger.com/profile/00924323960047469300</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://www.go-faster.co.uk/images/psftdba.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-332347483'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-7492458135583910087</id><published>2010-07-07T10:21:53.521+01:00</published><updated>2010-07-07T10:21:53.521+01:00</updated><title type='text'>Hi David,

I think I spotted a minor problem in yo...</title><content type='html'>Hi David,&lt;br /&gt;&lt;br /&gt;I think I spotted a minor problem in your psft.sh script, where it updates the PSPRCSRQST table with status 7. At that point the variable PRCSRTNCD doesn&amp;#39;t have a value which makes the sql fail. Giving it an initial value of 0 does the job.&lt;br /&gt;&lt;br /&gt;Great script. I&amp;#39;ve been writing a lot of stuff over the past months that I can bring into the PeopleSoft envionment now.&lt;br /&gt;&lt;br /&gt;I noticed some issues with ssh/sftp in other posts. We have similar situations, so if I get that to run, I&amp;#39;ll post another comment.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/7492458135583910087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/7492458135583910087'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1278494513521#c7492458135583910087' title=''/><author><name>Paul Tap</name><uri>http://www.blogger.com/profile/10768699045063554684</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-735581229'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-580356454882592239</id><published>2010-02-26T17:49:00.079Z</published><updated>2010-02-26T17:49:00.079Z</updated><title type='text'>Hi David, we met a few years back - do you remembe...</title><content type='html'>Hi David, we met a few years back - do you remember coming to Perot Systems?  Anyway, I have a question about Unix Scripts and report distribution.  It seems like the report distribution feature only works for generic process types of SQR and App Engine.  Using OTH for Unix scripting does not allow saving the report distribution (User or role)values when I run the job.  When I trace this, I&amp;#39;m not finding anywhere this is being saved, so my fear is that this information is being deleted/saved within Peoplesoft propietary code which we don&amp;#39;t have access to.  I did update the process output destination type to defalut to Web as Web and Client are the only two that allow this functionality.  Any ideas?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/580356454882592239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/580356454882592239'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1267206540079#c580356454882592239' title=''/><author><name>Julie</name><uri>http://www.blogger.com/profile/01962912102641245848</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-286330532'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-934718388474096743</id><published>2009-07-01T16:57:56.342+01:00</published><updated>2009-07-01T16:57:56.342+01:00</updated><title type='text'>This is pretty awesome. Thanks a lot David.</title><content type='html'>This is pretty awesome. Thanks a lot David.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/934718388474096743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/934718388474096743'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1246463876342#c934718388474096743' title=''/><author><name>amol</name><uri>http://www.blogger.com/profile/04771463891792563493</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1225150016'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-7249215483858948020</id><published>2009-06-15T16:52:46.137+01:00</published><updated>2009-06-15T16:52:46.137+01:00</updated><title type='text'>Hi

Nopes , no luck with the &amp;quot;Couldn&amp;#39;t wa...</title><content type='html'>Hi&lt;br /&gt;&lt;br /&gt;Nopes , no luck with the &amp;quot;Couldn&amp;#39;t wait for ssh process: No child processes&amp;quot; issue .this comes while running the SFTP scripts through the proces scheduler.&lt;br /&gt;&lt;br /&gt;If you have any solution do let me know.&lt;br /&gt;&lt;br /&gt;Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/7249215483858948020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/7249215483858948020'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1245081166137#c7249215483858948020' title=''/><author><name>krishna</name><uri>http://www.blogger.com/profile/00364512907559843388</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1304727742'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-5723749952967690758</id><published>2009-06-05T17:22:24.167+01:00</published><updated>2009-06-05T17:22:24.167+01:00</updated><title type='text'>Is there a way to hide the password from command l...</title><content type='html'>Is there a way to hide the password from command line?&lt;br /&gt;&lt;br /&gt;Kicked off from the Process Scheduler, the from command line issued: ps -ef|grep uv&lt;br /&gt;&lt;br /&gt;Results (password replaced with x&amp;#39;s) &lt;br /&gt;&lt;br /&gt; psadmin  934092 1282132  10 11:40:52      -  0:06 /bin/ksh /u01/psoft/psenv/CSDEV/UVAcust/scripts/uv_sf_nelnet_billfile_ftp.sh bobtest rs2wq SYSADM/xxxxxxxx@CSDEV &lt;br /&gt; psadmin 1282132 1683642   0 11:40:52      -  0:00 /bin/ksh /u01/psoft/psenv/CSDEV/UVAcust/scripts/uv_psft.sh CSDEV SYSADM xxxxxxxx 36173 bobtest rs2wq /u01/psoft/psenv/CSDEV/UVAcust/scripts/uv_sf_nelnet_billfile_ftp.sh&lt;br /&gt;&lt;br /&gt;Parameter List:&lt;br /&gt;%%DBNAME%% %%ACCESSID%% %%ACCESSPSWD%% %%INSTANCE%% %%RUNCNTLID%% %%OPRID%%</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/5723749952967690758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/5723749952967690758'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1244218944167#c5723749952967690758' title=''/><author><name>ras</name><uri>http://www.blogger.com/profile/04515393363947411739</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1949618089'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-1434483482820949750</id><published>2009-04-24T15:28:00.000+01:00</published><updated>2009-04-24T15:28:00.000+01:00</updated><title type='text'>Krishna,
were you able to solve the "Couldn't wait...</title><content type='html'>Krishna,&lt;br /&gt;were you able to solve the "Couldn't wait for ssh process: No child processes" issue?&lt;br /&gt;&lt;br /&gt;Thanks in advance,&lt;br /&gt;Chris</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/1434483482820949750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/1434483482820949750'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1240583280000#c1434483482820949750' title=''/><author><name>Chris</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-526304997'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-3767187947356018700</id><published>2009-03-15T01:34:00.000Z</published><updated>2009-03-15T01:34:00.000Z</updated><title type='text'>Hi &lt;br&gt;I could resolve the "sftp command not found...</title><content type='html'>Hi &lt;BR/&gt;I could resolve the "sftp command not found" error..However when i run the shell script from process scheduler it says "Couldn't wait for ssh process: No child processes"&lt;BR/&gt;&lt;BR/&gt;Result - Process monitor run status is error.SFTP shell script process and does get the file transfer job, though this is only visible through crontab&lt;BR/&gt;&lt;BR/&gt;Think i got real close and stuck with this last one &lt;BR/&gt;any inputs ......</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/3767187947356018700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/3767187947356018700'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1237080840000#c3767187947356018700' title=''/><author><name>krishna</name><uri>http://www.blogger.com/profile/00364512907559843388</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1304727742'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-3598193375124283662</id><published>2009-02-27T23:38:00.000Z</published><updated>2009-02-27T23:38:00.000Z</updated><title type='text'>If you can script it, you can run from the Process...</title><content type='html'>If you can script it, you can run from the Process Scheduler.  Problems like this are often down to environment and path.  Try listing the environment variables with either &lt;I&gt;set&lt;/I&gt; or &lt;I&gt;env&lt;/I&gt;.  I sometimes use &lt;I&gt;set -x&lt;/I&gt; to see how execution of the script progresses.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/3598193375124283662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/3598193375124283662'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1235777880000#c3598193375124283662' title=''/><author><name>David Kurtz</name><uri>http://www.blogger.com/profile/00924323960047469300</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://www.go-faster.co.uk/images/psftdba.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-332347483'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-5287744194576348405</id><published>2009-02-27T23:05:00.000Z</published><updated>2009-02-27T23:05:00.000Z</updated><title type='text'>Hi &lt;br&gt;&lt;br&gt;Is this technique capable of doing Sftp...</title><content type='html'>Hi &lt;BR/&gt;&lt;BR/&gt;Is this technique capable of doing Sftp as well ?&lt;BR/&gt;I have shell script that has sftp command. &lt;BR/&gt;When i run that this way it says "sftp command not found".It runs succesfully through crontab though......&lt;BR/&gt;Any ideas......</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/5287744194576348405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/5287744194576348405'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1235775900000#c5287744194576348405' title=''/><author><name>gaurav</name><uri>http://www.blogger.com/profile/01351685583842492397</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-900697707'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-5626629635339233853</id><published>2008-09-13T14:51:00.000+01:00</published><updated>2008-09-13T14:51:00.000+01:00</updated><title type='text'>Opps...Helps if you save the called unix script ;)...</title><content type='html'>Opps...Helps if you save the called unix script ;) scripts/bobtest.sh BOB Was Here&lt;BR/&gt;&lt;BR/&gt;banner "HelloWorld"&lt;BR/&gt;BASENAME=$(basename $0 .sh)&lt;BR/&gt;if [ -d "${PSPRCSLOGDIR}" ]; then&lt;BR/&gt;echo "This script is running under Process Scheduler"&lt;BR/&gt;echo "value = " $1&lt;BR/&gt;echo "value = " $2&lt;BR/&gt;echo "value = " $3&lt;BR/&gt;cp $0 ${PSPRCSLOGDIR}/${BASENAME}.log&lt;BR/&gt;else&lt;BR/&gt;echo "This script is not running under Process Scheduler"&lt;BR/&gt;fi&lt;BR/&gt;exit $*&lt;BR/&gt;&lt;BR/&gt;This script is running under Process Scheduler&lt;BR/&gt;value =  BOB&lt;BR/&gt;value =  was&lt;BR/&gt;value =  here&lt;BR/&gt;Setting process request 7691 to status 9&lt;BR/&gt;Sat Sep 13 09:45:44 EDT 2008</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/5626629635339233853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/5626629635339233853'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1221313860000#c5626629635339233853' title=''/><author><name>ras</name><uri>http://www.blogger.com/profile/04515393363947411739</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1949618089'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-8362836038707443551</id><published>2008-09-13T13:34:00.000+01:00</published><updated>2008-09-13T13:34:00.000+01:00</updated><title type='text'>Great tip. In the override options, how can we pas...</title><content type='html'>Great tip. In the override options, how can we pass multiple parameters to the unix script? I only see first one (parm1) I have tried &lt;BR/&gt;&lt;BR/&gt;/scripts/bobtest.sh parm1 parm2 parm3&lt;BR/&gt;&lt;BR/&gt;/scripts/bobtest.sh parm1, parm2, parm3,&lt;BR/&gt;&lt;BR/&gt;/scripts/bobtest.sh %parm1 %parm2 %parm3&lt;BR/&gt;Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/8362836038707443551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/8362836038707443551'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1221309240000#c8362836038707443551' title=''/><author><name>ras</name><uri>http://www.blogger.com/profile/04515393363947411739</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1949618089'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-3642961925893802968</id><published>2008-06-11T17:30:00.000+01:00</published><updated>2008-06-11T17:30:00.000+01:00</updated><title type='text'>You wouldn't happen to have a similar wrapper scri...</title><content type='html'>You wouldn't happen to have a similar wrapper script from windows commands?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/3642961925893802968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/3642961925893802968'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1213201800000#c3642961925893802968' title=''/><author><name>bob</name><uri>http://www.blogger.com/profile/11951057481986784581</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1418414264'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-6070520495007351182</id><published>2008-02-25T21:25:00.000Z</published><updated>2008-02-25T21:25:00.000Z</updated><title type='text'>Never mind, my bad - recycled my process scheduler...</title><content type='html'>Never mind, my bad - recycled my process scheduler and all is well.&lt;BR/&gt;&lt;BR/&gt;Thanks again - great tip!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/6070520495007351182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/6070520495007351182'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1203974700000#c6070520495007351182' title=''/><author><name>Cayce</name><uri>http://www.blogger.com/profile/14222525161743646318</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-79402996'/></entry><entry><id>tag:blogger.com,1999:blog-25740336.post-970450177969370044</id><published>2008-02-25T21:14:00.000Z</published><updated>2008-02-25T21:14:00.000Z</updated><title type='text'>Hi - &lt;br&gt;&lt;br&gt;This was a great find. I'm trying to ...</title><content type='html'>Hi - &lt;BR/&gt;&lt;BR/&gt;This was a great find. I'm trying to implement, but PeopleSoft doesn't seem to be kicking off the script. I can pull the parameters from the process monitor and issue that command, and everything runs perfectly. When kicked off from process schedule, though, I get no joy - stays in queued and nothing kicks off on the server.&lt;BR/&gt;&lt;BR/&gt;Would really appreciate some assistance. cayce -dot- balara -at- crowley.com</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/970450177969370044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25740336/4957605016970540521/comments/default/970450177969370044'/><link rel='alternate' type='text/html' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html?showComment=1203974040000#c970450177969370044' title=''/><author><name>Cayce</name><uri>http://www.blogger.com/profile/14222525161743646318</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.psftdba.com/2007/09/running-unix-commands-and-scripts-from.html' ref='tag:blogger.com,1999:blog-25740336.post-4957605016970540521' source='http://www.blogger.com/feeds/25740336/posts/default/4957605016970540521' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-79402996'/></entry></feed>
