<?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/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-20103408</id><updated>2012-01-30T16:19:39.677-05:00</updated><category term='8.50'/><category term='App Degigner'/><category term='Integration Broker'/><category term='Application Engine'/><category term='Reports'/><category term='Microsoft'/><category term='Scheduling'/><category term='Portal'/><category term='Web Services'/><category term='ExcelToCI'/><category term='AppEngine'/><category term='DST'/><category term='Workflow'/><category term='Metalink'/><category term='Security'/><category term='Oracle'/><category term='PIA'/><category term='WebLogic'/><category term='Trace'/><category term='chrome'/><category term='Component Interface'/><category term='Configuration'/><category term='Enterprise Portal'/><category term='Server Administration'/><category term='Application Server'/><category term='Support'/><category term='Process Scheduler'/><category term='PT8.50'/><category term='Install'/><category term='Crystal'/><category term='PeopleCode'/><category term='Process'/><category term='Signon'/><category term='Query'/><category term='FireFox'/><title type='text'>PeopleSoft Support &amp; Tips</title><subtitle type='html'>This blog contains posting related to peoplesoft Tools and technologies and specifically targeted towards peoplesoft developers.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>85</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-20103408.post-108584345198863968</id><published>2011-09-19T17:16:00.001-04:00</published><updated>2011-09-19T17:16:28.028-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PIA'/><category scheme='http://www.blogger.com/atom/ns#' term='FireFox'/><title type='text'>How to Use CTRL-J in Firefox</title><content type='html'>&lt;p&gt;When hitting Ctrl-J in Firefox, a new Firefox download window appears. In Microsoft Internet Explorer, hitting Ctrl-J shows PeopleSoft page information. &lt;/p&gt;  &lt;p&gt;To view page information using Firefox browser, hold down the ctrl key and quickly hit &amp;quot;J&amp;quot; TWICE.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Also see the Resolution on My Oracle Support : E-PIA How to Use CTRL-J in Firefox [ID 756546.1]&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-108584345198863968?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/108584345198863968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=108584345198863968' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/108584345198863968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/108584345198863968'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2011/09/how-to-use-ctrl-j-in-firefox.html' title='How to Use CTRL-J in Firefox'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-8863378450677283372</id><published>2011-09-02T10:54:00.001-04:00</published><updated>2011-09-02T10:54:53.311-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='chrome'/><title type='text'>How to Use CTRL+J in Google Chrome browser to display PeopleSoft Information</title><content type='html'>&lt;p&gt;Hi, I use chrome for most of my browsing needs. However, when I login to &amp;quot;Peoplesoft&amp;quot;, I generally use a shortcut Ctrl+J&amp;#160; to access some details that are specific to Peoplesoft. However, chrome has a predefined shortcut combo assigned with Ctrl+j. Does anyone know how to Disable it/Bypass it? On IE, pressing it twice will bypass the assigned shortcut. What's the procedure in Chorme? &lt;/p&gt;  &lt;p&gt;Here is the solution, both works for me. &lt;/p&gt;  &lt;p&gt;1. First press and hold J then press CTRL and release J.&lt;/p&gt;  &lt;p&gt;2. Press CTRL+SHIFT+J Twice&lt;/p&gt;  &lt;p&gt;For more details see the following link : &lt;a title="http://www.google.com/support/chrome/bin/answer.py?answer=95655" href="http://www.google.com/support/chrome/bin/answer.py?answer=95655"&gt;http://www.google.com/support/chrome/bin/answer.py?answer=95655&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-8863378450677283372?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/8863378450677283372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=8863378450677283372' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8863378450677283372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8863378450677283372'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2011/09/how-to-use-ctrlj-in-google-chrome.html' title='How to Use CTRL+J in Google Chrome browser to display PeopleSoft Information'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-3116013381616820667</id><published>2011-09-01T17:12:00.001-04:00</published><updated>2011-09-01T17:12:18.441-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='App Degigner'/><title type='text'>Display Prompt on a Search dialog box</title><content type='html'>&lt;p&gt;If you have a prompt defined on a search record, it does not get displayed if you have component properties –&amp;gt; Internet tab set to use Basic Mode. (Default). Only Advanced mode displays the prompt on the search dialog box.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-0bsppYQ0pAY/Tl_1MJ8givI/AAAAAAAABcM/ndc6uAVOOAc/s1600-h/image%25255B3%25255D.png"&gt;&lt;img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="149" alt="image" src="http://lh3.ggpht.com/-7QD9VM3cN3k/Tl_1Ma-m7ZI/AAAAAAAABcQ/wRDKNf5qPNk/image_thumb%25255B1%25255D.png?imgmax=800" width="419" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-3116013381616820667?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/3116013381616820667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=3116013381616820667' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/3116013381616820667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/3116013381616820667'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2011/09/display-prompt-on-search-dialog-box.html' title='Display Prompt on a Search dialog box'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/-7QD9VM3cN3k/Tl_1Ma-m7ZI/AAAAAAAABcQ/wRDKNf5qPNk/s72-c/image_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-8297561704738604213</id><published>2011-08-19T09:58:00.001-04:00</published><updated>2011-08-21T13:42:13.620-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PT8.50'/><category scheme='http://www.blogger.com/atom/ns#' term='8.50'/><title type='text'>PeopleTools 8.50/8.51 AJAX issues</title><content type='html'>&lt;p&gt;After immediately upgrading to PeopleTools 8.50, we have encountered several issues that were related to new AJAX features introduced in 8.50. Here is the list of such issues&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;1.&amp;#160; Getting frequent error &lt;strong&gt;501 not implemented&lt;/strong&gt; on the browser with IE7 and IE8.&lt;/p&gt;  &lt;p&gt;2.&amp;#160; Component page reset. Users are getting kicked out to first page or the search dialog box in the middle of a multi page transaction and losing the data they have entered.&lt;/p&gt;  &lt;p&gt;3.&amp;#160; Suddenly the page will become unresponsive and entire browser will freeze and will require restart of the browser.&lt;/p&gt;  &lt;p&gt;All the 3 symptoms were annoying for the users and we eventually traced it to AJAX feature, that results in loss of POST data. &lt;/p&gt;  &lt;p&gt;Turning off the AJAX setting resolved all 3 issues. Here is a way to turn off the AJAX&lt;/p&gt;  &lt;p&gt;Go to PeopleTools –&amp;gt; Web Profile &amp;gt; Open the Web profile you use for e.g. DEV or PROD.&lt;/p&gt;  &lt;p&gt;Go to Custom Properties and Add a Property AJAX of type Boolean and set its value to false. This will turn off the AJAX. To enable it again make it true or remove the row. Bounce all the Web servers using this web profile to make this setting take effect.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-8W3HFPglD8w/Tk5r7gp_EXI/AAAAAAAABcA/8lw6UOWxcAA/s1600-h/image%25255B3%25255D.png"&gt;&lt;img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="113" alt="image" src="http://lh3.ggpht.com/-PVSxvy-xUeY/Tk5r8LF8gbI/AAAAAAAABcE/atn_pLJw1GQ/image_thumb%25255B1%25255D.png?imgmax=800" width="373" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Though the above changes resolves the issue, this is not desirable and also may not be supported in future peopletools release. I have found this issue to be related to a bug in IE7 and IE8 when used with Windows XP OS. Fortunately microsoft includes the hotfix to resolve the issue, however registry change needs to be made to enable the hotfix. For more details, see this following KB : &lt;a title="http://support.microsoft.com/kb/895954 " href="http://support.microsoft.com/kb/895954 "&gt;http://support.microsoft.com/kb/895954 &lt;/a&gt;- &lt;strong&gt;When you use Microsoft Internet Explorer or another ! program to perform a re-POST operation, only the header data is posted. &lt;/strong&gt;See How to enable this hotfix section for registry changes.&lt;/p&gt;  &lt;p&gt;Basically, the issue happens as IE sends the AJAX request in 2 tcp ip packets one for the header and one for the body. When network error happens, and ie tries to send the ajax request again, it fails to send the body. This causes PIA to loose the session state and we see the issues described above. The other browsers Firefox, Safari and Chrome do not send ajax request in multiple packets and this issue does not appear there.&lt;/p&gt;  &lt;p&gt;Also see this article on further clarification on which registry key needs to be modified : &lt;a title="http://www.geoffchappell.com/viewer.htm?doc=notes/windows/ie/featurecontrol.htm" href="http://www.geoffchappell.com/viewer.htm?doc=notes/windows/ie/featurecontrol.htm"&gt;http://www.geoffchappell.com/viewer.htm?doc=notes/windows/ie/featurecontrol.htm&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;According to this , you can specify the value in any one of the following location, in order of decreasing precedence.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl &lt;/li&gt;    &lt;li&gt;HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl &lt;/li&gt;    &lt;li&gt;HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl &lt;/li&gt;    &lt;li&gt;HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main\FeatureControl &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Please leave comments, if applying the above registry changes resolves the issue.&lt;/p&gt;  &lt;p&gt;PeopleSoft has also published this resolution on My Oracle Support (MOS) - E-PIA: PeopleTools 8.50 and 8.51 - Intermittent &amp;quot;Error 501--Not implemented&amp;quot; Messages when Navigating to a Page Using IE7 or IE8 Browser. Doc ID : &lt;strong&gt;1337266.1&lt;/strong&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-8297561704738604213?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/8297561704738604213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=8297561704738604213' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8297561704738604213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8297561704738604213'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2011/08/peopletools-850851-and-higher-ajax.html' title='PeopleTools 8.50/8.51 AJAX issues'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/-PVSxvy-xUeY/Tk5r8LF8gbI/AAAAAAAABcE/atn_pLJw1GQ/s72-c/image_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-6570980298177418297</id><published>2011-06-15T12:14:00.001-04:00</published><updated>2011-06-15T12:14:59.430-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebLogic'/><title type='text'>Determine WebLogic Version in PT 8.50</title><content type='html'>&lt;p&gt;cd $PS_HOME/webserv/peoplesoft/bin&lt;/p&gt;  &lt;p&gt;. ./setEnv.sh&lt;/p&gt;  &lt;p&gt;java weblogic.version&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-6570980298177418297?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/6570980298177418297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=6570980298177418297' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/6570980298177418297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/6570980298177418297'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2011/06/determine-weblogic-version-in-pt-850.html' title='Determine WebLogic Version in PT 8.50'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-2297416042449127960</id><published>2011-05-24T14:59:00.001-04:00</published><updated>2011-05-24T14:59:25.836-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Portal'/><title type='text'>User does not see a Pagelet on a HomePage</title><content type='html'>&lt;p&gt;Even though user has a access to Pagelet, he does not see it on a HomePage. This indicates that WebServer Pagelet cache is corrupt. Only way to make it work correctly is to restart the webserver. But if this happens in the middle of a day, you can use this trick to force the webserver Homepage pagelet cache refresh. &lt;/p&gt;  &lt;p&gt; Add a new page to Homepage tab as a required fix. (PeopleTools –&amp;gt; Portal –&amp;gt; Structure and Content –&amp;gt; Portal Objects –&amp;gt; HomePage –&amp;gt; Tabs – Home).&lt;/p&gt;  &lt;p&gt; Go to the Tab Content Tab and add the new Pagelet as require fix and select the column, usually the last column. Save it and relogin with user id who is complaining that he is not able to see the pagelet. He should now see the missing pagelet. Remove the newly added pagelet, as it is no longer needed. You can use the following sql to determine what pagelet user has access to .&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;SELECT * FROM PSPRUHTABPGLT where oprid = '7420060' ORDER BY portal_col_num,portal_row_num;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;For further reference, Go to MOS (My Oracle Support) and see the following resolution.&lt;/p&gt;  &lt;p&gt;E-PORTAL: What Are The Tables Used By Portal Technology? [ID 651342.1] &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-2297416042449127960?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/2297416042449127960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=2297416042449127960' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/2297416042449127960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/2297416042449127960'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2011/05/user-does-not-see-pagelet-on-homepage.html' title='User does not see a Pagelet on a HomePage'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-8311036102611795922</id><published>2011-05-16T10:04:00.001-04:00</published><updated>2011-05-16T10:04:12.880-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Application Server'/><title type='text'>Page data is inconsistent with database</title><content type='html'>&lt;p&gt;If you are getting this message, while saving the page, please refer to following resolution on MOS (My Oracle Support).&lt;/p&gt;  &lt;p&gt;E-AS: How to Trace &amp;quot;Page data is inconsistent with database&amp;quot; error? [ID 655907.1] &lt;/p&gt;  &lt;p&gt;Step 1: Set the following in psappsrv.cfg&lt;/p&gt;  &lt;p&gt;TracePPR=1   &lt;br /&gt;TracePPRMask=32767&lt;/p&gt;  &lt;p&gt;Step 2: Go to the PIA and before logging on, add &amp;amp;trace=Y (uppercase y) at the end of the web address and press the keyboard Enter key. Check the the first 5 SQL options and for PeopleCode the 'List Program' and 'Each statement' options.&lt;/p&gt;  &lt;p&gt;Step 3: Log in to PIA and reproduce the error.&lt;/p&gt;  &lt;p&gt;Step 4: Check the trace, especially the portion which contains this information:   &lt;br /&gt;PSAPPSRV.28630&amp;#160;&amp;#160;&amp;#160; 1-167605 11.00.03&amp;#160;&amp;#160;&amp;#160; 0.001 Record RO_LINE_ATTR.ROW_LASTMANT_DTTM database value &amp;quot;2007-06-11-10.58.44.000000&amp;quot; page value &amp;quot;2007-06-11-10.05.30.000000&amp;quot;    &lt;br /&gt;The trace should clearly show the field which is producing the error as well as the values populated both on database side and page side.&lt;/p&gt;  &lt;p&gt;One of the most common reason for this happening is &lt;/p&gt;  &lt;p&gt;You are using a view to select data into a Scroll based on a table and No Auto Select option is turned on. The number of columns in view and scroll area base table differs and additional column in base table contain not null values. You use Auto update for Scroll and change the value of the field in a scroll and save.&lt;/p&gt;  &lt;p&gt;To resolve this issue, add the same number of&amp;#160; columns to view as the base table or if possible, make the same view as a base record for the scroll that you use for selection. &lt;/p&gt;  &lt;p&gt;Other reason is using SQLExec in SavePostChange to update the Base Table Record and therefore changing the value.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-8311036102611795922?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/8311036102611795922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=8311036102611795922' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8311036102611795922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8311036102611795922'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2011/05/page-data-is-inconsistent-with-database.html' title='Page data is inconsistent with database'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-8892037188482591028</id><published>2011-04-26T09:22:00.001-04:00</published><updated>2011-04-26T09:22:20.766-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ExcelToCI'/><title type='text'>Prompt Values specified on Add Mode Search Record is not enforced when using ExcelToCI</title><content type='html'>&lt;p&gt;If you are creating Component interface by default it will not enforce the prompt values specified on Add search record and will let you input any values even though they are not valid. This is an issue when inserting new rows using ExcelToCI as it allows the user to enter invalid values without giving any error message. &lt;/p&gt;  &lt;p&gt;To avoid this issue, open up the Add mode Search record for the component and go to Record field properties for the search fields and check Search Edit check box.&amp;#160; This will enforce the use of valid values when adding a new row using Component interface used in ExcelToCI. By default Search Edit is not checked.&amp;#160; &lt;/p&gt;  &lt;p&gt;Here is the description of this field in PeopleBooks. &lt;/p&gt;  &lt;p&gt;Search Edit&amp;#160;&amp;#160;&amp;#160; Enabled only if Search Key is selected. Selecting this option enforces the required property and table edits on the search page. It also enforces these edits under circumstances where the search page would normally be bypassed. With this option, the user no longer has the ability to perform partial searches on this field. &lt;/p&gt;  &lt;p&gt;Here is the MOS (My Oracle Support) Link that documents this issue.&lt;/p&gt;  &lt;p&gt;E-CI: Component Interface Does Not Validate Record Edits (Against Prompt table) When Using Create [ID 664377.1] &lt;/p&gt;  &lt;p&gt;Does Row Level Security Work in ExcelToCI? (Doc ID 972241.1)&lt;/p&gt;  &lt;p&gt;As per the above resolution, row level security is not enforced using ExcelToCI.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-8892037188482591028?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/8892037188482591028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=8892037188482591028' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8892037188482591028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8892037188482591028'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2011/04/prompt-values-specified-on-add-mode.html' title='Prompt Values specified on Add Mode Search Record is not enforced when using ExcelToCI'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-4205709795933485793</id><published>2011-04-21T09:34:00.001-04:00</published><updated>2011-04-21T09:34:49.653-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Integration Broker'/><title type='text'>Integration Gateway: General Connection Failed (158,10836)</title><content type='html'>&lt;p&gt;We send a XML Message to Vertex using HTTPTargetConnector&amp;#160; in an app engine program in batch mode.    &lt;br /&gt;Occasionally we see that the Return response is the following : Integration Gateway: General Connection Failed (158,10836)&lt;/p&gt;  &lt;p&gt;On seeing some other resolution the following could be the cause of this message.    &lt;br /&gt;This error is thrown when there is no valid response.     &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Possible errors include:    &lt;br /&gt;Bad gateway URL     &lt;br /&gt;Sync Service Timeout set and Service actually timed out.     &lt;br /&gt;Java exception thrown - Check Application Server for possible Java exception.     &lt;br /&gt;Since URL is correct and there is no Java exception, I think the reason is Sync Service Timeout set and Service actually timed out.&lt;/p&gt;  &lt;p&gt;When I was reading PeopleBooks for HTTPTargetConnector Properties there is a Header Property called Timeout for which the default value is 50 seconds.    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Here is the explanation from the peoplebook.    &lt;br /&gt;Specify the time in milliseconds for the connector to wait for the message to transmit. If the timeout period expires without a successful transmission, the transaction fails.     &lt;br /&gt;The default value is 50000 (50 seconds).&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Setting the property value to 120000 (120 seconds or 2 minutes), resolved the issue. Make sure that you modify the Node Connector as well as routing connector properties if one is defined. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_52IkIgEEWLo/TbAydoZ0QtI/AAAAAAAABbA/pq0_Dm3IIf8/s1600-h/image4.png"&gt;&lt;img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="321" alt="image" src="http://lh4.ggpht.com/_52IkIgEEWLo/TbAyeAm3UaI/AAAAAAAABbE/FQAsEUozwM4/image_thumb2.png?imgmax=800" width="748" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Navigation : PeopleTools –&amp;gt; Integration Broker –&amp;gt; Integration Setup –&amp;gt; Nodes –&amp;gt; Connectors&lt;/p&gt;  &lt;p&gt;Property ID: HEADER&lt;/p&gt;  &lt;p&gt;Property Name: TimeOut&lt;/p&gt;  &lt;p&gt;Value: 120000&lt;/p&gt;  &lt;p&gt;Go to Routings Tab and Select the Outbound Routing and Select Connector Properties. If you have a Property defined&amp;#160; for e.g. PRIMARYURL then you will need to add it here as well, otherwise if it is blank then it is not needed to be added here. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-4205709795933485793?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/4205709795933485793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=4205709795933485793' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/4205709795933485793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/4205709795933485793'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2011/04/integration-gateway-general-connection.html' title='Integration Gateway: General Connection Failed (158,10836)'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_52IkIgEEWLo/TbAyeAm3UaI/AAAAAAAABbE/FQAsEUozwM4/s72-c/image_thumb2.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-4000660779281461802</id><published>2011-04-07T11:19:00.001-04:00</published><updated>2011-04-07T11:19:03.040-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Application Engine'/><title type='text'>Application Engine Program : PSPAL::Abort: Unexpected signal received</title><content type='html'>&lt;p&gt;When we create a Application engine program which refers to an State record, and migrate it to other environment without migrating the State record, it gets migrated successfully. Trying to run this program on the Batch Server gives the following error message.&lt;/p&gt;  &lt;p&gt;Record XYZ not defined (108,505)    &lt;br /&gt;1341: 1301685557: PSPAL::Abort: Unexpected signal received     &lt;br /&gt;1341: 1301685557: PSPAL::Abort: Location: /vob/peopletools/src/pspal/exception_sigaction.cpp:492: RecoverableSignalHandler     &lt;br /&gt;1341: 1301685557: PSPAL::Abort: Generating process state report to /xxx/xxx/scripts/LOGS/psae.1341/process_state.txt     &lt;br /&gt;1341: 1301685557: PSPAL::Abort: Terminating process now. &lt;/p&gt;  &lt;p&gt;in Windows    &lt;br /&gt;2564: 1301686035: PSPAL::Abort: Unrecoverable exception received     &lt;br /&gt;2564: 1301686035: PSPAL::Abort: Location: E:\pt85010b-retail\peopletools\SRC\pspal\exception_winunhandled.cpp:577: PSPAL::UnhandledExceptionFilter::RecoverableExceptionFilter     &lt;br /&gt;2564: 1301686035: PSPAL::Abort: Abort diagnostics generation is currently disabled     &lt;br /&gt;2564: 1301686035: PSPAL::Abort: Terminating process now.     &lt;br /&gt;PeopleTools 8.50.10 - Application Engine     &lt;br /&gt;Copyright (c) 1988-2011 PeopleSoft, Inc.     &lt;br /&gt;All Rights Reserved&lt;/p&gt;  &lt;p&gt;Record XYZ not defined (108,505)    &lt;br /&gt;Message Set Number: 108     &lt;br /&gt;Message Number: 505     &lt;br /&gt;Message Reason: Record XYZ not defined (108,505)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Workaround      &lt;br /&gt;&lt;/strong&gt;Copy the missing AET Record to the target database and it application engine program will work fine.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-4000660779281461802?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/4000660779281461802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=4000660779281461802' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/4000660779281461802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/4000660779281461802'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2011/04/application-engine-program-pspalabort.html' title='Application Engine Program : PSPAL::Abort: Unexpected signal received'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-1864339603617838301</id><published>2011-04-07T11:07:00.001-04:00</published><updated>2011-04-07T11:15:39.276-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ExcelToCI'/><category scheme='http://www.blogger.com/atom/ns#' term='Component Interface'/><title type='text'>ExcelToCI Error occurred in routine sendSOAPRequest_SubmitToDB: The operation timed out.</title><content type='html'>&lt;p&gt;When trying to upload about 7000 rows using ExcelToCI for a custom component, users are getting the following error. &lt;/p&gt;  &lt;p&gt;Error occurred in routine sendSOAPRequest_SubmitToDB:    &lt;br /&gt;Error:     &lt;br /&gt;Number: -2147012894     &lt;br /&gt;Description: The operation timed out&lt;/p&gt;  &lt;p&gt;After doing my investigation, checking the web server and appserver access log I found the following issues, and here is what i did to resolve the issue. This is not documented anywhere. Please create a resolution if possible to help others. &lt;/p&gt;  &lt;p&gt;1. Found that ExcelToCI uses SERVERXMLHTTP MSXML 6.0 object to send the SOAP request to the webserver,    &lt;br /&gt;&amp;#160;&amp;#160; Set xHTTP = CreateObject(&amp;quot;MSXML2.SERVERXMLHTTP.6.0&amp;quot;)     &lt;br /&gt;&amp;#160;&amp;#160; This request has a default 30 second timeout for receiving a packet of response data from the target server,     &lt;br /&gt;&amp;#160;&amp;#160; See link : &lt;a href="http://msdn.microsoft.com/en-us/library/ms760403"&gt;http://msdn.microsoft.com/en-us/library/ms760403&lt;/a&gt; for more details on timeouts.&lt;/p&gt;  &lt;p&gt;2. After checking the webserver access log (PIA_Access.log), determined that some of the POST request are taking about 59 seconds to complete and therefore we were receiving the error.&lt;/p&gt;  &lt;p&gt;To resolve this issue, change the VB Macro code in ExcelToCI spreadsheet as follows&lt;/p&gt;  &lt;p&gt;=======================================================&lt;/p&gt;  &lt;p&gt;Add this line before xHTTP.send xDoc.xml in StagingAndSubmission Module under function sendSOAPRequest_SubmitToDB    &lt;br /&gt;Dim lResolve, lConnect, lSend, lReceive As Long     &lt;br /&gt;lResolve = 60 * CLng(1000)     &lt;br /&gt;lConnect = 90 * CLng(1000)     &lt;br /&gt;lSend = 90 * CLng(1000)     &lt;br /&gt;lReceive = 120 * CLng(1000) &lt;/p&gt;  &lt;p&gt;xHTTP.setTimeouts lResolve, lConnect, lSend, lReceive    &lt;br /&gt;=======================================================&lt;/p&gt;  &lt;p&gt;After changing this value, the ExcelToCI was still failing. Once again I checked the web Server and App server log and found that after loading about 50 to 60 rows, request is taking more than 5 minutes to respond and appserver is killing the appserv thread and therefore error was received saying that The Operation time out. &lt;/p&gt;  &lt;p&gt;I had two options    &lt;br /&gt;1. Increase the XMLHTTP timeout and also increase the appserver timeout or find out why a request is taking more than 5 minutes to complete. Used Precise i3 performance monitoring tool and also the live Oracle     &lt;br /&gt;session and determined the following issue.     &lt;br /&gt;1. CI was firing sql to fetch location code description using a view that was not correctly joined with other large table using location code.     &lt;br /&gt;2. A Save Edit Peoplecode was written at Level 2 to fetch some data from the Oracle table using SQL Exec. This was causing this sql to fire 160,000 times as it was firing for every row in the scroll as new rows are being added. &lt;/p&gt;  &lt;p&gt;Following improved the performance.    &lt;br /&gt;1.&amp;#160; Remove the related display field from the page. Alternative option is to tune the sql for related display field.     &lt;br /&gt;2.&amp;#160; Moved the save edit code to field edit, so that it fires only for the newly inserted rows. Other option is to write conditional logic to see if row is changed. &lt;/p&gt;  &lt;p&gt;After these, 2 changes, the process finished inserting 7100 rows in 23 minutes. Only two request exceeded&amp;#160; default timeout. One took 32 and other 35 seconds to respond. &lt;/p&gt;  &lt;p&gt;I have also noticed, that if Chunking factor is reduced to 1 to have smaller number of rows processed, PSAPPSRV is restarting due to recycle count of 5000 being reached, and this results in a login Error and HTML (invalid XML) data is being sent to the Excel. Is this the expected behavior?&amp;#160; Only solution to this issue is to increase the recycle count temporarily and change it back to original. Fortunately this parameter is dynamic and does not require restart of the appserver.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-1864339603617838301?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/1864339603617838301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=1864339603617838301' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/1864339603617838301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/1864339603617838301'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2011/04/exceltoci-error-occurred-in-routine.html' title='ExcelToCI Error occurred in routine sendSOAPRequest_SubmitToDB: The operation timed out.'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-2161870634276441659</id><published>2011-03-21T12:38:00.003-04:00</published><updated>2011-03-21T12:45:32.685-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PeopleCode'/><title type='text'>Changing the Userid when triggering the subscription peoplecode.</title><content type='html'>&lt;p&gt;You can use the following IntBroker Class method : SwitchAsyncEventUserContext to change the context of the peoplecode run inside subscription peoplecode. This is to be used by IB only (there are checks to make sure that is the case) and can only be used for IB events that are fired asynchronously (OnRoute, OnSend, OnNotification, etc..). One use case is if you are submitting a process request from a self service user id and you do not want to give access to query security to each user who is triggering the message. This method is added in PT 8.50 and not available for lower tools release. &lt;/p&gt;  &lt;p&gt;For more info use : E-IB: User Security required on target db for async messages in 8.48.0x [ID 654592.1]&lt;/p&gt;  &lt;p&gt;PeopleBook definition of this method is as follows.&lt;/p&gt;  &lt;h3&gt;SwitchAsyncEventUserContext&lt;/h3&gt;  &lt;br /&gt;Syntax   &lt;br /&gt;&lt;b&gt;SwitchAsyncEventUserContext&lt;/b&gt;(&lt;i&gt;UserID&lt;/i&gt;, &lt;i&gt;LanguageCode&lt;/i&gt;)   &lt;br /&gt;Description   &lt;br /&gt;Use the SwitchAsyncEventUserContext method to switch the user context within an Integration Broker asynchronous event.   &lt;br /&gt;Parameters   &lt;br /&gt;&lt;i&gt;UserID&lt;/i&gt;   &lt;br /&gt;Specify the user ID, as a string, to which you want to switch the context.   &lt;br /&gt;&lt;i&gt;LanguageCode&lt;/i&gt;   &lt;br /&gt;Specify the language code, as a string, for the user ID.   &lt;br /&gt;Returns   &lt;br /&gt;A Boolean value: true if the switch user was successful, false otherwise.   &lt;br /&gt;Example   &lt;br /&gt;&amp;amp;returnValue = %IntBroker.SwitchAsyncEventUserContext(&amp;quot;VP1&amp;quot;, &amp;quot;ENG&amp;quot;);     &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-2161870634276441659?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/2161870634276441659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=2161870634276441659' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/2161870634276441659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/2161870634276441659'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2011/03/changing-userid-when-triggering.html' title='Changing the Userid when triggering the subscription peoplecode.'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-4192857494057405304</id><published>2011-02-03T10:02:00.001-05:00</published><updated>2011-02-03T10:02:04.167-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Process Scheduler'/><title type='text'>Which Run Status values are considered "Active" by the Process Scheduler</title><content type='html'>&lt;p&gt;Question:&amp;#160; Which Run Status values are considered &amp;quot;Active&amp;quot; by the Process Scheduler ?   &lt;br /&gt;Answer: The Process Scheduler considers: Initiated, Blocked, and Processing as active slots.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-4192857494057405304?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/4192857494057405304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=4192857494057405304' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/4192857494057405304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/4192857494057405304'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2011/02/which-run-status-values-are-considered.html' title='Which Run Status values are considered &amp;quot;Active&amp;quot; by the Process Scheduler'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-7746343482603777110</id><published>2011-02-02T12:27:00.001-05:00</published><updated>2011-02-02T12:27:05.072-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Process Scheduler'/><title type='text'>Application Run Controls versus Process Run Controls</title><content type='html'>&lt;p&gt;Please see this on Oracle support Site : (&lt;a href="http://support.oracle.com"&gt;http://support.oracle.com&lt;/a&gt; or &lt;a href="http://supporthtml.oracle.com"&gt;http://supporthtml.oracle.com&lt;/a&gt; for non flash based browsers.&lt;/p&gt;  &lt;p&gt;E-PRCS: Master Note: Process Scheduler [ID 1266607.1]&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Application Run Controls versus Process Run Controls&amp;#160; &lt;br /&gt;&lt;/strong&gt;There are two types of &amp;quot;Run Control&amp;quot; stored in different database tables. &lt;/p&gt;  &lt;p&gt;Process Run Control (created by the system)   &lt;br /&gt;Application Run Control ( created by the Application) &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Process Run Control     &lt;br /&gt;&lt;/strong&gt;Process Run Controls are created automatically by the system when a user creates a process request. The process run controls are stored in multiple tables. User ID and Run Control ID are keys to each tables:    &lt;br /&gt;PS_PRCSRUNCNTL - Stores user's language code and language option    &lt;br /&gt;PSPRCSRUNCNTLS - Stores server name and time zone    &lt;br /&gt;PS_PRCSRUNCNTLEOPT - Stores parameters for process request runs to email such as email address, subject, body text…etc.    &lt;br /&gt;PS_PRCSRUNCNTLDTL - Stores run control details such as output type, output format, output destination, folder name, email output option for per process type and process name    &lt;br /&gt;PS_PRCSRUNCNTLDIST - Stores distribution list &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Application Run Control     &lt;br /&gt;&lt;/strong&gt;Application Run Controls are created by user when he/she submits a process to run. It holds parameters required and specific to the process/program. When the Application Run Control is created, it triggers the system to create the Process Run Controls as well using the same Run Control ID as the key. &lt;/p&gt;  &lt;p&gt;From the end-user perspective, there's no distinction between Process and Application Run Controls. The Process Run Control is assigned the exact same name/id as the Application Run Control.    &lt;br /&gt;However, it's important for application developers to distinguish between the two when creating new application process/program.     &lt;br /&gt;Process run control and application run control are stored in different tables.     &lt;br /&gt;PeopleTools delivers the table to store only the process run control.     &lt;br /&gt;Application developer is responsible for creating the application run control table to store the application run control information.    &lt;br /&gt;If a user creates a new application run control to run a report, then the corresponding process run control will be given the same name. &lt;/p&gt;  &lt;p&gt;Run Control information is stored in two PeopleTools tables (at least):    &lt;br /&gt;PSPRCSRUNCNTLS (stores information from the Process Scheduler request panel) and     &lt;br /&gt;PS_PRCSRUNCNTL (stores the language code),     &lt;br /&gt;and at least one Application Run Control Table.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; From 8.4x PSPRCSRUNCNTLS is introduced which is used in place of PSPRCSRUNCNTL. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-7746343482603777110?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/7746343482603777110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=7746343482603777110' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7746343482603777110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7746343482603777110'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2011/02/application-run-controls-versus-process.html' title='Application Run Controls versus Process Run Controls'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-7709504753416460397</id><published>2010-12-09T08:58:00.001-05:00</published><updated>2010-12-09T08:59:04.273-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Component Interface'/><title type='text'>Component Interface Does Not Validate Record Edits (Against Prompt table) When Using Create</title><content type='html'>&lt;p&gt; If you are creating Component interface by default it will not enforce the prompt values specified on Add search record and will let you input any values even though they are not valid. This is an issue when inserting new rows using ExcelToCI as it allows the user to enter invalid values without giving any error message. &lt;/p&gt;  &lt;p&gt;To avoid this issue, open up the Add mode Search record for the component and go to Record field properties for the search fields and check Search Edit check box.&amp;#160; This will enforce the use of valid values when adding a new row using Component interface used in ExcelToCI. By default Search Edit is not checked.&amp;#160; &lt;/p&gt;  &lt;p&gt;Here is the description of this field in PeopleBooks. &lt;/p&gt;  &lt;p&gt;Search Edit&amp;#160;&amp;#160;&amp;#160; Enabled only if Search Key is selected. Selecting this option enforces the required property and table edits on the search page. It also enforces these edits under circumstances where the search page would normally be bypassed. With this option, the user no longer has the ability to &lt;strong&gt;perform partial searches&lt;/strong&gt; on this field. &lt;/p&gt;  &lt;p&gt;See the Resolution &lt;/p&gt;  &lt;p&gt;E-CI: Component Interface Does Not Validate Record Edits (Against Prompt table) When Using Create [ID 664377.1] &lt;/p&gt;  &lt;p&gt;If you want the partial search for this field to be enabled, then do the following.&lt;/p&gt;  &lt;p&gt;Add the Search field as a read/write property in CI.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-7709504753416460397?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/7709504753416460397/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=7709504753416460397' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7709504753416460397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7709504753416460397'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2010/12/component-interface-does-not-validate.html' title='Component Interface Does Not Validate Record Edits (Against Prompt table) When Using Create'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-7227716685372796742</id><published>2010-12-09T08:39:00.001-05:00</published><updated>2010-12-09T08:59:32.432-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PeopleCode'/><category scheme='http://www.blogger.com/atom/ns#' term='AppEngine'/><title type='text'>SQLExec : Return: 8015 - Bind value is too long</title><content type='html'>&lt;p&gt;You get this error in an online page or while running a Application engine program. This error happens when you try to insert more than 254 characters in a long field using sqlexec and do not use %TextIn meta sql.&lt;/p&gt;  &lt;p&gt;Resolution&lt;/p&gt;  &lt;p&gt;Use %TextIn meta-sql for the bind variable that is used for inserting into a long field. For e.g. %TextIn(:1)&lt;/p&gt;  &lt;p&gt;%TextIn is documented in peoplebooks and is mandatory for all insertions/update of LongChar fields using sqlexec for all database platforms. &lt;/p&gt;  &lt;p&gt;Here are some resolutions that discusses this issue in Metalink – Oracle support site.&lt;/p&gt;  &lt;p&gt;E-AE Application Engine PeopleCode Step with SQLExec Receives Error; return code 8015 &amp;quot;Bind value is too long&amp;quot; [ID 889806.1] &lt;/p&gt;  &lt;p&gt;E-PC:&amp;quot;Bind value is too long&amp;quot; Error When Using SQLExec to Insert into Long Char Field [ID 620874.1] &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-7227716685372796742?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/7227716685372796742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=7227716685372796742' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7227716685372796742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7227716685372796742'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2010/12/sqlexec-return-8015-bind-value-is-too.html' title='SQLExec : Return: 8015 - Bind value is too long'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-7066208220165746904</id><published>2010-12-03T10:58:00.001-05:00</published><updated>2010-12-03T11:09:38.043-05:00</updated><title type='text'>Portal Content Reference Navigation Path</title><content type='html'>&lt;p&gt;Very often you need to find out what is the Navigation Path for a given component name in PeopleSoft portal or HRMS or Financials or CRM?&lt;/p&gt;  &lt;p&gt;If you are using 8.50 and 9.1 then you can find this information using Enterprise Components –&amp;gt; Find Object Navigation. You can search by component name, page name, Secondary Page name or Content Reference Name. Please note that you must be using application version 9.1 or higher. Just upgrading peopletools to 8.50 or higher will not enable this functionality.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_52IkIgEEWLo/TPkTnC7w3BI/AAAAAAAABaY/kPHcP9Eb2Qo/s1600-h/image%5B2%5D.png"&gt;&lt;img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="230" alt="image" src="http://lh3.ggpht.com/_52IkIgEEWLo/TPkTn9wGgdI/AAAAAAAABac/CbZoP_B04u4/image_thumb.png?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Another alternative way is to use SQL. However this requires creating a PL/SQL function and is only applicable for ORACLE database only. Other database platforms may need to write their own functions to implement this functionality.&lt;/p&gt;  &lt;p&gt;PL/SQL source code for the Function: &lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&lt;font color="#0000ff"&gt;CREATE&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;OR&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;replace&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;FUNCTION&lt;/font&gt; f&lt;font color="#ff0080"&gt;&lt;b&gt;x_get_portal_map&lt;/b&gt;&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;l_portal_name&lt;/font&gt;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#000000"&gt;&lt;i&gt;VARCHAR2&lt;/i&gt;&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;l_portal_reftype&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;&lt;i&gt;VARCHAR2&lt;/i&gt;&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;l_portal_objname&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;&lt;i&gt;VARCHAR2&lt;/i&gt;&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;l_level&lt;/font&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#000000"&gt;&lt;i&gt;NUMBER&lt;/i&gt;&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;l_type&lt;/font&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#000000"&gt;&lt;i&gt;VARCHAR2&lt;/i&gt;&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;       &lt;br /&gt;&lt;font color="#800000"&gt;l_count_max&lt;/font&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#000000"&gt;&lt;i&gt;INTEGER&lt;/i&gt;&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;DEFAULT&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;10&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;       &lt;br /&gt;&lt;font color="#0000ff"&gt;RETURN&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;&lt;i&gt;VARCHAR2&lt;/i&gt;&lt;/font&gt;       &lt;br /&gt;&lt;font color="#0000ff"&gt;IS&lt;/font&gt;       &lt;br /&gt;&amp;#160; &lt;font color="#800000"&gt;pl_count&lt;/font&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#000000"&gt;&lt;i&gt;INTEGER&lt;/i&gt;&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;:=&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;0&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;&amp;#160; &lt;font color="#800000"&gt;pl_portal_objname&lt;/font&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;psprsmdefn&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_objname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;%&lt;/font&gt;&lt;font color="#000000"&gt;&lt;i&gt;TYPE&lt;/i&gt;&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;:=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;l_portal_objname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;&amp;#160; &lt;font color="#800000"&gt;pl_portal_seq_num&lt;/font&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;psprsmdefn&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_seq_num&lt;/font&gt;&lt;font color="#c0c0c0"&gt;%&lt;/font&gt;&lt;font color="#000000"&gt;&lt;i&gt;TYPE&lt;/i&gt;&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;:=&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;0&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;&amp;#160; &lt;font color="#800000"&gt;pl_portal_label&lt;/font&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;psprsmdefn&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_label&lt;/font&gt;&lt;font color="#c0c0c0"&gt;%&lt;/font&gt;&lt;font color="#000000"&gt;&lt;i&gt;TYPE&lt;/i&gt;&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;:=&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;' '&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;&amp;#160; &lt;font color="#800000"&gt;pl_portal_prntobjname&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;psprsmdefn&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;%&lt;/font&gt;&lt;font color="#000000"&gt;&lt;i&gt;TYPE&lt;/i&gt;&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;:=&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;' '&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;&amp;#160; &lt;font color="#0000ff"&gt;CURSOR&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;cur_1&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;IS&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;portal_label&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;portal_seq_num&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;psprsmdefn&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;portal_name&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;l_portal_name&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;portal_reftype&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;l_portal_reftype&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;portal_objname&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;pl_portal_objname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;&lt;font color="#0000ff"&gt;BEGIN&lt;/font&gt;       &lt;br /&gt;&amp;#160; &lt;font color="#0000ff"&gt;WHILE&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;pl_count&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;&amp;lt;&amp;gt;&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;l_level&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;LOOP&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;pl_count&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;:=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;pl_count&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;+&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;1&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;EXIT&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;WHEN&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;pl_count&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;&amp;gt;&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;l_count_max&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;OPEN&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;cur_1&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;FETCH&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;cur_1&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;INTO&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;pl_portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;pl_portal_label&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;pl_portal_seq_num&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;IF&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;cur_1&lt;/font&gt;&lt;font color="#c0c0c0"&gt;%&lt;/font&gt;&lt;font color="#800000"&gt;found&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;THEN&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;pl_portal_objname&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;:=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;pl_portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;ELSE&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;pl_portal_label&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;:=&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;' '&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;pl_portal_seq_num&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;:=&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;0&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;EXIT&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;WHEN&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;cur_1&lt;/font&gt;&lt;font color="#c0c0c0"&gt;%&lt;/font&gt;&lt;font color="#800000"&gt;notfound&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;END&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;IF&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;CLOSE&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;cur_1&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;&amp;#160; &lt;font color="#0000ff"&gt;END&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;LOOP&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;      &lt;br /&gt;&amp;#160; &lt;font color="#0000ff"&gt;IF&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;l_type&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'S'&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;THEN&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;RETURN&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;pl_portal_seq_num&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;&amp;#160; &lt;font color="#0000ff"&gt;ELSE&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;RETURN&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;pl_portal_label&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;&amp;#160; &lt;font color="#0000ff"&gt;END&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;IF&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;       &lt;br /&gt;&lt;font color="#0000ff"&gt;END&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;&amp;#160;&lt;font color="#008000"&gt;&lt;i&gt;-- Function FX_GET_PORTAL_MAP&lt;/i&gt;&lt;/font&gt; &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;SQL Query to Get the Navigation. Note you can uncomment the portal_uri_seg2 to query for a specific component.&lt;/font&gt;&lt;/p&gt; &lt;font face="Courier New" size="2"&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_objname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_linkobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_seq_num&lt;/font&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;seq&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0080"&gt;&lt;b&gt;Ltrim&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;7&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ||     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0080"&gt;&lt;b&gt;Decode&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;     &lt;br /&gt;&lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;7&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;' '&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;''&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0000"&gt;' &amp;gt; '&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; || &lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;6&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ||     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0080"&gt;&lt;b&gt;Decode&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;     &lt;br /&gt;&lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;6&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;' '&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;''&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0000"&gt;' &amp;gt; '&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; || &lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;5&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ||     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0080"&gt;&lt;b&gt;Decode&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;     &lt;br /&gt;&lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;5&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;' '&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;''&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0000"&gt;' &amp;gt; '&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; || &lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;4&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ||     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0080"&gt;&lt;b&gt;Decode&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;     &lt;br /&gt;&lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;4&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;' '&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;''&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0000"&gt;' &amp;gt; '&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; || &lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;3&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ||     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0080"&gt;&lt;b&gt;Decode&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;     &lt;br /&gt;&lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;3&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;' '&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;''&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0000"&gt;' &amp;gt; '&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; || &lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;2&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ||     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0080"&gt;&lt;b&gt;Decode&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;     &lt;br /&gt;&lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;2&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;' '&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;''&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0000"&gt;' &amp;gt; '&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; || &lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;1&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; || &lt;font color="#ff0080"&gt;&lt;b&gt;Decode&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_label&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;' '&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;''&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0000"&gt;' &amp;gt; '&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; || &lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_label&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;navigation&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#008000"&gt;&lt;i&gt;--FX_GET_PORTAL_MAP(A.PORTAL_NAME,'F',A.PORTAL_PRNTOBJNAME,1,'L') LABEL1,&lt;/i&gt;&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#008000"&gt;&lt;i&gt;--FX_GET_PORTAL_MAP(A.PORTAL_NAME,'F',A.PORTAL_PRNTOBJNAME,2,'L') LABEL2,&lt;/i&gt;&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#008000"&gt;&lt;i&gt;--FX_GET_PORTAL_MAP(A.PORTAL_NAME,'F',A.PORTAL_PRNTOBJNAME,3,'L') LABEL3,&lt;/i&gt;&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#008000"&gt;&lt;i&gt;--FX_GET_PORTAL_MAP(A.PORTAL_NAME,'F',A.PORTAL_PRNTOBJNAME,4,'L') LABEL4,&lt;/i&gt;&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#008000"&gt;&lt;i&gt;--FX_GET_PORTAL_MAP(A.PORTAL_NAME,'F',A.PORTAL_PRNTOBJNAME,5,'L') LABEL5,&lt;/i&gt;&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#008000"&gt;&lt;i&gt;--FX_GET_PORTAL_MAP(A.PORTAL_NAME,'F',A.PORTAL_PRNTOBJNAME,6,'L') LABEL6,&lt;/i&gt;&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#008000"&gt;&lt;i&gt;--FX_GET_PORTAL_MAP(A.PORTAL_NAME,'F',A.PORTAL_PRNTOBJNAME,7,'L') LABEL7,&lt;/i&gt;&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_uri_seg1&lt;/font&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;menuname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_uri_seg2&lt;/font&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;component&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_uri_seg3&lt;/font&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;market&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_urltext&lt;/font&gt;     &lt;br /&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;psprsmdefn&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;     &lt;br /&gt;&lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'EMPLOYEE'&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_reftype&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'C'&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;&amp;lt;&amp;gt;&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;' '&lt;/font&gt;     &lt;br /&gt;&lt;font color="#008000"&gt;&lt;i&gt;--AND A.PORTAL_URI_SEG2 = 'COMPONENT_NAME'&lt;/i&gt;&lt;/font&gt;     &lt;br /&gt;&lt;font color="#0000ff"&gt;ORDER&lt;/font&gt;&amp;#160; &lt;font color="#0000ff"&gt;BY&lt;/font&gt;&amp;#160;&lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;1&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'S'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ||     &lt;br /&gt;&lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;1&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;2&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'S'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;|| &lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;2&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;3&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'S'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;|| &lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;3&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;4&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'S'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;|| &lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;4&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;5&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'S'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;|| &lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;5&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;6&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'S'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;|| &lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;6&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;7&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'S'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;|| &lt;font color="#ff0080"&gt;&lt;b&gt;Fx_get_portal_map&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_name&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'F'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;portal_prntobjname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;7&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'L'&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&amp;#160; &lt;/font&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-7066208220165746904?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/7066208220165746904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=7066208220165746904' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7066208220165746904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7066208220165746904'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2010/12/portal-content-reference-navigation.html' title='Portal Content Reference Navigation Path'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_52IkIgEEWLo/TPkTn9wGgdI/AAAAAAAABac/CbZoP_B04u4/s72-c/image_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-6714179092543308925</id><published>2010-11-13T13:46:00.001-05:00</published><updated>2010-11-13T13:46:18.799-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Process'/><title type='text'>Application Engine program remains in processing status forever.</title><content type='html'>&lt;p&gt;Process Scheduler Server Agent PSUNX is below the Log Space Threshold    &lt;br /&gt;The Log/Output Directory /xyz/psft/pt/8.50/appserv/prcs/xyz/log_output for the Process Scheduler Server Agent PSUNX     &lt;br /&gt;in server xyz.com for database xyz has 8 MB of free space.     &lt;br /&gt;This is below the disk threshold value of 10 MB in the Log Space Threshold     &lt;br /&gt;found in the Process Scheduler Configuration file. The system is suspending     &lt;br /&gt;the server agent until more disk becomes available.&amp;#160; Until then, no queued     &lt;br /&gt;process requests will be processed in this Process Scheduler Server Agent.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This happened because, one of the user modified the Application engine Process definition, override options as follows and ran the process using process scheduler.&lt;/p&gt;  &lt;p&gt;-debug Y –trace 3&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_52IkIgEEWLo/TN7c-IV5BWI/AAAAAAAABaQ/sF8eweKOTk8/s1600-h/image%5B2%5D.png"&gt;&lt;img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="98" alt="image" src="http://lh6.ggpht.com/_52IkIgEEWLo/TN7c-oBhemI/AAAAAAAABaU/dFGDXSuEYpI/image_thumb.png?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This resulted in a trace file that keeps growing very fast and consumes the entire available disk space on the appserver.&lt;/p&gt;  &lt;p&gt;Removing the above parameters (-debug Y) and deleting the huge log file resolved the issue. &lt;/p&gt;  &lt;p&gt;Following sql can be used to determine if there are any app engines that have this defined.&lt;/p&gt; &lt;font face="Courier New" size="2"&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;lastupdoprid&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;lastupddttm&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;prcsname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;parmlist&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;descrlong&lt;/font&gt;     &lt;br /&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;ps_prcsdefn&lt;/font&gt;     &lt;br /&gt;&lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;parmlist&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;&amp;lt;&amp;gt;&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;' '&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;prcstype&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'Application Engine'&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;prcsname&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;&amp;lt;&amp;gt;&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'PSCONQRS'&lt;/font&gt;&lt;font color="#c0c0c0"&gt;;&lt;/font&gt;&amp;#160; &lt;/font&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;-debug Y should only be used from psae command line for interactive debugging. It should not be used in Process definition.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-6714179092543308925?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/6714179092543308925/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=6714179092543308925' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/6714179092543308925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/6714179092543308925'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2010/11/application-engine-program-remains-in.html' title='Application Engine program remains in processing status forever.'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_52IkIgEEWLo/TN7c-oBhemI/AAAAAAAABaU/dFGDXSuEYpI/s72-c/image_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-8805475074460634272</id><published>2010-11-13T13:30:00.001-05:00</published><updated>2010-11-13T13:30:22.922-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Process'/><title type='text'>Scheduled Crystal Process remains in initiated status when the account is locked</title><content type='html'>&lt;p&gt;If you have implemented password controls that locks the users account after x no of invalid attempts and the user has a crystal report scheduled, it makes crystal report process to remain in initiated status forever. It also generates an ever increasing log file, which has a potential of consuming entire available disk space and disrupting the other batch processes.    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Following Trace files are generated.    &lt;br /&gt;CRW_XRFWIN_12345.log     &lt;br /&gt;pssqltrace[1].trc&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;It appears that Crystal Report&amp;#160; repeatedly calls the database sql statements and never comes out of it.     &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Steps to reproduce the issue.    &lt;br /&gt;1. Create a testid testps and assign roles PeopleTools and PeopleSoft User.     &lt;br /&gt;2. Schedule XRFWIN Crystal Report to run within next 5 minutes.     &lt;br /&gt;3. Update the testps user profile and lock the account.     &lt;br /&gt;4. Go back to process monitor and observe that process remains in initiated status.     &lt;br /&gt;Also if you go back to server and check the log_output folder for xrfwin you will see that log file and trace file size keeps on increasing.     &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Only workaround is to Run a SQL to detect this situation and cancel the process. Unlocking the user account also fixes the issue. The fix is targeted in next Tools release 8.51. We observed this behavior in only PT 8.50 and Crystal Report 2008 SP1. We are currently using patch 8.50.10.&lt;/p&gt;  &lt;p&gt;SQL to determine the Processes in initiated status.&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'Processes in Initiated Status '&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;prcsinstance&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;oprid&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;prcsname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;servernamerqst&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;servernamerun&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;rundttm&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;lastupddttm&lt;/font&gt;       &lt;br /&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;psprcsrqst&lt;/font&gt;       &lt;br /&gt;&lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;runstatus&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;6&lt;/font&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;(&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;SYSDATE&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;-&lt;/font&gt;&amp;#160;&lt;font color="#ff0080"&gt;&lt;b&gt;Cast&lt;/b&gt;&lt;/font&gt;&lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#800000"&gt;lastupddttm&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;AS&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;&lt;i&gt;DATE&lt;/i&gt;&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;)&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;*&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;24&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;*&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;60&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;&amp;gt;&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;15&lt;/font&gt;&amp;#160; &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New" size="2"&gt;SQL to determine Scheduled Processes and user account is locked.&lt;/font&gt;&lt;/p&gt; &lt;font face="Courier New" size="2"&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;prcsinstance&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;prcstype&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;prcsname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;e&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;descr&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;ps_prcsdefn&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;e&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;e&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;prcstype&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;prcstype&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;e&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;prcsname&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;prcsname&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;descr&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;oprid&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;oprdefndesc&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;psoprdefn&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;oprid&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;oprid&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;NAME&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;runcntlid&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;f&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;qryname&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; || &lt;font color="#ff0000"&gt;', '&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; || &lt;font color="#800000"&gt;f&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;descr&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;ps_query_run_cntrl&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;f&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;f&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;oprid&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;oprid&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;f&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;run_cntl_id&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;runcntlid&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;qryname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;recurname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;runstatus&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;xlatshortname&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;psxlatitem&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;c&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;c&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;fieldname&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'RUNSTATUS'&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;c&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;fieldvalue&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;runstatus&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;rundescr&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;diststatus&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;d&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;xlatshortname&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;psxlatitem&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;d&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;d&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;fieldname&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'DISTSTATUS'&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;d&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;fieldvalue&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;diststatus&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;distdescr&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;pt_retentiondays&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;rundttm&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;rqstdttm&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;lastupddttm&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;servernamerqst&lt;/font&gt;     &lt;br /&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;psprcsrqst&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;psoprdefn&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;z&lt;/font&gt;     &lt;br /&gt;&lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;runstatus&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;IN&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;(&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;5&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;oprid&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;z&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;oprid&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;z&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;acctlock&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;1&lt;/font&gt;     &lt;br /&gt;&lt;font color="#0000ff"&gt;ORDER&lt;/font&gt;&amp;#160; &lt;font color="#0000ff"&gt;BY&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;rundttm&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;DESC&lt;/font&gt;&amp;#160; &lt;/font&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-8805475074460634272?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/8805475074460634272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=8805475074460634272' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8805475074460634272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8805475074460634272'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2010/11/scheduled-crystal-process-remains-in.html' title='Scheduled Crystal Process remains in initiated status when the account is locked'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-3147434548159085568</id><published>2010-11-13T13:14:00.001-05:00</published><updated>2010-11-13T13:15:08.912-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Process'/><title type='text'>You are not authorized to run process type XRFWIN and process name Crystal. (65,8)</title><content type='html'>&lt;p&gt;This happens if the user’s Primary Permission List or Process Profile Permission list is blank and user is trying to submit a Process request using Process Scheduler.&lt;/p&gt;  &lt;p&gt;To fix this, make sure that user profile has valid primary permission list and Process profile permission list defined.&lt;/p&gt;  &lt;p&gt;You can use the following sql to find out which users does not have primary permission list or process profile permission list.&lt;/p&gt;  &lt;p&gt;Primary Permission List SQL&lt;/p&gt;  &lt;p&gt;select * from psoprdefn where oprclass = ' ';&lt;/p&gt;  &lt;p&gt;Process Profile Permission List SQL   &lt;br /&gt;select * from psoprdefn where prcsprflcls = ' ';&lt;/p&gt;  &lt;p&gt;You get the following Message if Primary permission list is blank.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_52IkIgEEWLo/TN7VgZdtpCI/AAAAAAAABZ4/4wNL-9_XpdY/s1600-h/clip_image002%5B3%5D.jpg"&gt;&lt;img title="clip_image002" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="37" alt="clip_image002" src="http://lh3.ggpht.com/_52IkIgEEWLo/TN7VhOgsHbI/AAAAAAAABZ8/VYcvNlWHA3c/clip_image002_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;---------------------------&lt;/p&gt;  &lt;p&gt;Windows Internet Explorer&lt;/p&gt;  &lt;p&gt;---------------------------&lt;/p&gt;  &lt;p&gt;You are not authorized to run process type XRFWIN and process name Crystal. (65,8) PRCSRQSTDLG_WRK.LOADPRCSRQSTDLGPB.FieldFormula Name:LaunchAndRunProcessRequest PCPC:97211 Statement:1113&lt;/p&gt;  &lt;p&gt;Called from:PRCSRQSTDLG_WRK.LOADPRCSRQSTDLGPB.FieldFormula Name:LaunchProcessRequestDlg Statement:1133&lt;/p&gt;  &lt;p&gt;Called from:PRCSRQSTDLG_WRK.LOADPRCSRQSTDLGPB.FieldChange Statement:1&lt;/p&gt;  &lt;p&gt;You must be specifically authorized to run this process. Authorization is granted using the Process Definition table and Maintain Security&lt;/p&gt;  &lt;p&gt;---------------------------&lt;/p&gt;  &lt;p&gt;You get the following message, if the Process Profile Permission list is blank.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_52IkIgEEWLo/TN7VhazgdvI/AAAAAAAABaA/LYsPiWfER98/s1600-h/clip_image002%5B4%5D%5B2%5D.jpg"&gt;&lt;img title="clip_image002[4]" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="38" alt="clip_image002[4]" src="http://lh4.ggpht.com/_52IkIgEEWLo/TN7Vh_xCfOI/AAAAAAAABaE/xI2899vZfzU/clip_image002%5B4%5D_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Windows Internet Explorer&lt;/p&gt;  &lt;p&gt;---------------------------&lt;/p&gt;  &lt;p&gt;Process Profile defined for user ID %2 is invalid (65,111)&lt;/p&gt;  &lt;p&gt;The process profile assigned to the user ID is either not valid or blank. Update the User Profile for the user ID in the Maintain Security component with a valid process profile.&lt;/p&gt;  &lt;p&gt;---------------------------&lt;/p&gt;  &lt;p&gt;You also get this message in addition to above.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_52IkIgEEWLo/TN7VioXuZFI/AAAAAAAABaI/bwKmhE2RsZk/s1600-h/clip_image002%5B6%5D%5B2%5D.jpg"&gt;&lt;img title="clip_image002[6]" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="35" alt="clip_image002[6]" src="http://lh3.ggpht.com/_52IkIgEEWLo/TN7VjXZHhsI/AAAAAAAABaM/nmecqDmNxwc/clip_image002%5B6%5D_thumb.jpg?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-3147434548159085568?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/3147434548159085568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=3147434548159085568' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/3147434548159085568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/3147434548159085568'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2010/11/you-are-not-authorized-to-run-process.html' title='You are not authorized to run process type XRFWIN and process name Crystal. (65,8)'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_52IkIgEEWLo/TN7VhOgsHbI/AAAAAAAABZ8/VYcvNlWHA3c/s72-c/clip_image002_thumb.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-8198549741081951708</id><published>2010-11-13T13:07:00.001-05:00</published><updated>2010-11-13T13:07:15.897-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Process'/><category scheme='http://www.blogger.com/atom/ns#' term='DST'/><title type='text'>E-PRCS: PeopleTools 8.50 After DST change processes run one hour ahead/behind scheduled time</title><content type='html'>&lt;p&gt;After the recent DST time change in USA on November 7th 2010, Scheduled processes are running one hour behind in our case. Our base time zone is EST. This happens due to a bug in the current Tools version less than 8.50.13.&amp;#160; This issue is fixed in 8.50.13 and 8.51. &lt;/p&gt;  &lt;p&gt;Workaround&lt;/p&gt;  &lt;p&gt;To resolve this issue, restart all your batch server domains in DEV/QA/PROD. Both NT and unix server domains are affected by this issue.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;For more detail see&amp;#160; : E-PRCS: 8.50 After DST change processes run one hour ahead/behind scheduled time (Doc ID 1265111.1)&lt;/p&gt;  &lt;p&gt;References NOTE:1163113.1 - E-PRCS Processes Are in &amp;quot;Queued&amp;quot; Status when Process Scheduler Resides in a Different Time Zone&lt;/p&gt;  &lt;p&gt;Root Cause&lt;/p&gt;  &lt;p&gt;This happens due to inability of process scheduler to detect change in sessiontimezone after the DST change and it’s use of the following SQL in 8.50&lt;/p&gt;  &lt;p&gt;select ..... from PSPRCSQUE........where RUNDTTM &amp;lt;= SYSTIMESTAMP&lt;/p&gt;  &lt;p&gt;By understanding the Oracle DBMS concept of SYSTIMESTAMP, the session time zone also takes effect when a TIMESTAMP value is converted to the TIMESTAMP WITH TIME ZONE or TIMESTAMP WITH LOCAL TIME ZONE datatype. &lt;/p&gt;  &lt;p&gt;Therefore, for this conversion to take place : RUNDTTM &amp;lt;= SYSTIMESTAMP, the user's session timezone is returned and is not the same timezone as the database server. &lt;/p&gt;  &lt;p&gt;Note: This only impacts those customers using Oracle and PT 8.50.12 or less. It does not impact non Oracle or lower tools release customers.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-8198549741081951708?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/8198549741081951708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=8198549741081951708' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8198549741081951708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8198549741081951708'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2010/11/e-prcs-peopletools-850-after-dst-change.html' title='E-PRCS: PeopleTools 8.50 After DST change processes run one hour ahead/behind scheduled time'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-1332213183205873269</id><published>2010-10-04T16:08:00.001-04:00</published><updated>2010-10-04T16:08:45.094-04:00</updated><title type='text'>E-QR: Wrong Output Is Generated When Running PSQuery Using Email Type</title><content type='html'>&lt;p&gt;If you have&amp;#160; files in the following folder $PS_CFG_HOME/appserv/prcs/&amp;lt;dbname&amp;gt;/files with extension xls, cxv , pdf and you try to schedule a query using Schedule Query (PSQUERY), and select email option, you may get incorrect file emailed to you. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Workaround: Delete the files in $PS_CFG_HOME/appserv/prcs/&amp;lt;dbname&amp;gt;/files folder that has extension xls, csv or pdf. &lt;/p&gt;  &lt;p&gt;This is a bug introduced in 8.50.08 and as of 8.50.12 not yet resolved. &lt;/p&gt;  &lt;p&gt; See My Oracle Support resolution ID: 1186374.1&lt;/p&gt;  &lt;p&gt;PS resolution says this happens when you have PS_FILEDIR is setup in the Process scheduler box, but this was not the case in our environment. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-1332213183205873269?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/1332213183205873269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=1332213183205873269' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/1332213183205873269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/1332213183205873269'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2010/10/e-qr-wrong-output-is-generated-when.html' title='E-QR: Wrong Output Is Generated When Running PSQuery Using Email Type'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-7216959752674101178</id><published>2010-09-29T10:06:00.001-04:00</published><updated>2010-10-08T10:25:18.875-04:00</updated><title type='text'>Error getting report repository location. (63,85)</title><content type='html'>&lt;p&gt;If you are getting this message when running a new Report, and all the configuration settings are correct then the issue is due to incorrect initialization of psreports or SchedulerTransfer servlet. This issue was resolved in 8.48.16 but appeared again in 8.50.10. To fix this simply do the following.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;From the IE browser, just paste the following URL.&lt;/p&gt;  &lt;p&gt;If using NON SSL &lt;/p&gt;  &lt;p&gt;&lt;a title="https://pghqcdaswebl01.ground.fedex.com:7271/psreports/ps/" href="http://xyz.com:port/psreports/ps/"&gt;http://xyz.com:port/psreports/ps/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;if using SSL&lt;/p&gt;  &lt;p&gt;&lt;a title="https://pghqcdaswebl01.ground.fedex.com:7271/psreports/ps/" href="https://xyz.com:port/psreports/ps/"&gt;https://xyz.com:port/psreports/ps/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Replace xyz.com with the actual Report repository web server name and port with actual port number used. Also if you use non default site, then replace ps with the actual pia site name.&lt;/p&gt;  &lt;p&gt;See the Metalink resolution : &lt;/p&gt;  &lt;p&gt;E-RD: Reports do not post initially when the Web Server is bounced [Video] [ID 660253.1]&amp;#160;&amp;#160; &lt;/p&gt;  &lt;p&gt;Other Option is to open a previously successful report that invokes the psreports servlet.&lt;/p&gt;  &lt;p&gt; This could be specific to WebLogic version and Patch applied.&lt;/p&gt;  &lt;p&gt;WebLogic 10.3.2 32 Bit on Red Hat Linux 5.3 64 bit&lt;/p&gt;  &lt;p&gt;JrockIT JRE&lt;/p&gt;  &lt;p&gt;java version &amp;quot;1.6.0_17&amp;quot;&lt;/p&gt;  &lt;p&gt;Java(TM) SE Runtime Environment (build 1.6.0_17-b04)&lt;/p&gt;  &lt;p&gt;BEA JRockit(R) (build R27.6.6-28_o-125824-1.6.0_17-20091214-2104-linux-ia32, compiled mode)&lt;/p&gt;  &lt;p&gt;PeopleTools : 8.50.10&lt;/p&gt;  &lt;p&gt;All the patches applied using WebLogic Smart Update Utility: bsu&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_52IkIgEEWLo/TK8pyf-9FkI/AAAAAAAABZw/APv18hVWzmo/s1600-h/image%5B2%5D.png"&gt;&lt;img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="57" alt="image" src="http://lh6.ggpht.com/_52IkIgEEWLo/TK8pzkIsupI/AAAAAAAABZ0/JqaruZS2o84/image_thumb.png?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-7216959752674101178?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/7216959752674101178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=7216959752674101178' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7216959752674101178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7216959752674101178'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2010/09/error-getting-report-repository.html' title='Error getting report repository location. (63,85)'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_52IkIgEEWLo/TK8pzkIsupI/AAAAAAAABZ0/JqaruZS2o84/s72-c/image_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-841272783798543642</id><published>2010-09-28T12:22:00.001-04:00</published><updated>2010-09-28T12:26:59.083-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Metalink'/><category scheme='http://www.blogger.com/atom/ns#' term='8.50'/><category scheme='http://www.blogger.com/atom/ns#' term='Support'/><title type='text'>PeopleTools 8.50 Known Issues - Master Note [ID 1114793.1]</title><content type='html'>&lt;p&gt;Oracle has posted a Master Resolution on Metalink (Flash based: &lt;a href="http://support.oracle.com"&gt;http://support.oracle.com&lt;/a&gt;) or Non Flash based (&lt;a href="http://supporthtml.oracle.com"&gt;http://supporthtml.oracle.com&lt;/a&gt;). &lt;/p&gt;  &lt;p&gt;Resolution ID: 1114793.1&lt;/p&gt;  &lt;p&gt;It has broken the incidents into following categories.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Application Development&lt;/li&gt;    &lt;li&gt;Install/Updates&lt;/li&gt;    &lt;li&gt;Integration Tools&lt;/li&gt;    &lt;li&gt;Reporting Tools&lt;/li&gt;    &lt;li&gt;Server Tools&lt;/li&gt;    &lt;li&gt;Open Incidents (ALL components)&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This document will be updated frequently. Please check this document to see if your issue is already listed in it.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-841272783798543642?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/841272783798543642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=841272783798543642' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/841272783798543642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/841272783798543642'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2010/09/peopletools-850-known-issues-master.html' title='PeopleTools 8.50 Known Issues - Master Note [ID 1114793.1]'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-2172956715046641797</id><published>2010-09-15T16:55:00.001-04:00</published><updated>2010-09-16T17:14:19.438-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Process'/><title type='text'>List of Batch Processes in queued status</title><content type='html'>&lt;p&gt;The following sql will generate a list of batch processes in queued status in Process Monitor.&lt;/p&gt; &lt;font face="Courier New" size="2"&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;prcsinstance&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;prcstype&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;prcsname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;e&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;descr&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;ps_prcsdefn&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;e&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;e&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;prcstype&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;prcstype&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;e&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;prcsname&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;prcsname&lt;/font&gt;&lt;font color="#800000"&gt;) &lt;/font&gt;&lt;font color="#800000"&gt;descr&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;oprid&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;oprdefndesc&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;psoprdefn&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;a&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;a&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;oprid&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;oprid&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;NAME&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;runcntlid&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;f&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;qryname&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; || &lt;font color="#ff0000"&gt;', '&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; || &lt;font color="#800000"&gt;f&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;descr&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;ps_query_run_cntrl&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;f&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;f&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;oprid&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;oprid&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;f&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;run_cntl_id&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;runcntlid&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;qryname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;recurname&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;runstatus&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;xlatshortname&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;psxlatitem&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;c&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;c&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;fieldname&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'RUNSTATUS'&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;c&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;fieldvalue&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;runstatus&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;rundescr&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;diststatus&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;(&lt;/font&gt;&lt;font color="#0000ff"&gt;SELECT&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;d&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;xlatshortname&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;psxlatitem&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;d&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;d&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;fieldname&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#ff0000"&gt;'DISTSTATUS'&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#0000ff"&gt;AND&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;d&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;fieldvalue&lt;/font&gt;&amp;#160;&lt;font color="#c0c0c0"&gt;=&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;&lt;font color="#c0c0c0"&gt;.&lt;/font&gt;&lt;font color="#800000"&gt;diststatus&lt;/font&gt;&lt;font color="#800000"&gt;)&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;distdescr&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;pt_retentiondays&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;rundttm&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;rqstdttm&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;lastupddttm&lt;/font&gt;&lt;font color="#c0c0c0"&gt;,&lt;/font&gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;servernamerqst&lt;/font&gt;     &lt;br /&gt;&lt;font color="#0000ff"&gt;FROM&lt;/font&gt;&amp;#160;&amp;#160; &lt;font color="#800000"&gt;psprcsrqst&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;b&lt;/font&gt;     &lt;br /&gt;&lt;font color="#0000ff"&gt;WHERE&lt;/font&gt;&amp;#160; &lt;font color="#800000"&gt;runstatus&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;IN&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;(&lt;/font&gt;&amp;#160;&lt;font color="#000000"&gt;5&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;)&lt;/font&gt;     &lt;br /&gt;&lt;font color="#0000ff"&gt;ORDER&lt;/font&gt;&amp;#160; &lt;font color="#0000ff"&gt;BY&lt;/font&gt;&amp;#160;&lt;font color="#800000"&gt;rundttm&lt;/font&gt;&amp;#160;&lt;font color="#0000ff"&gt;DESC&lt;/font&gt;&amp;#160; &lt;/font&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-2172956715046641797?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/2172956715046641797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=2172956715046641797' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/2172956715046641797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/2172956715046641797'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2010/09/list-of-batch-processes-in-queued.html' title='List of Batch Processes in queued status'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-1044332470118376717</id><published>2010-09-15T16:51:00.001-04:00</published><updated>2010-09-15T16:57:08.995-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Signon'/><title type='text'>Invalid signon time for user PS@xyx.com</title><content type='html'>&lt;p&gt;when user tries to signon they get the following message on the Login Page.&lt;/p&gt;  &lt;p&gt;Invalid signon time for user&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This message is thrown due to a&amp;#160; blank classid row in PSROLECLASS table. Use the following SQL to determine the Cause.    &lt;br /&gt;select * from psroleclass where&amp;#160; classid = ' ' &lt;/p&gt;  &lt;p&gt;To fix this, run this SQL.    &lt;br /&gt;delete from psroleclass where&amp;#160; classid = ' ' &lt;/p&gt;  &lt;p&gt;No Appserver or Webserver bounce was required.&lt;/p&gt;  &lt;p&gt;This was tested in 8.50.10&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-1044332470118376717?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/1044332470118376717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=1044332470118376717' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/1044332470118376717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/1044332470118376717'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2010/09/invalid-signon-time-for-user-psxyxcom.html' title='Invalid signon time for user PS@xyx.com'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-7692942645588755461</id><published>2010-03-25T16:38:00.001-04:00</published><updated>2010-03-25T16:38:31.039-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><title type='text'>PeopleTools 8.4x/8.1 ERD Diagram for Security tables</title><content type='html'>&lt;p&gt;On Metalink Go to Knowledgebase article : 611947.1 : PeopleTools 8.x Security Relationship Diagrams &lt;/p&gt;  &lt;p&gt;The above document provides the ERD diagram for peopletools security table.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-7692942645588755461?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/7692942645588755461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=7692942645588755461' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7692942645588755461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7692942645588755461'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2010/03/peopletools-84x81-erd-diagram-for.html' title='PeopleTools 8.4x/8.1 ERD Diagram for Security tables'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-2487445406436643822</id><published>2010-01-21T18:34:00.001-05:00</published><updated>2010-01-21T18:34:47.580-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Install'/><category scheme='http://www.blogger.com/atom/ns#' term='PT8.50'/><title type='text'>Run the PeopleTools 8.50 Installation in GUI mode for Linux/Unix servers</title><content type='html'>&lt;p&gt;In PeopleTools 8.50, PeopleSoft does not document the command line parameter needed to run the installation in GUI mode for Linux/Unix servers. The installation defaults to console mode. To get the same GUI experience, you can use the following command line flag.&lt;/p&gt;  &lt;p&gt;-i swing&lt;/p&gt;  &lt;p&gt;So of you have downloaded the PeopleTools installation media to PS_INSTALL, you can run the following.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;PS_INSTALL/Disk1/setup.sh –tempdir $HOME/tmp –i swing&lt;/p&gt;  &lt;p&gt;(Note tempdir is a documented command line parameter to use the folder other than /tmp. It requires at least 2GB free space in temp folder).&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;  &lt;p&gt;Usage: setup [-f &amp;lt;path_to_installer_properties_file&amp;gt; | -options]   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; (to execute the installer) &lt;/p&gt;  &lt;p&gt;where options include:   &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; -?    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; show this help text    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; -i [swing | console | silent]    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; specify the user interface mode for the installer    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; -D&amp;lt;name&amp;gt;=&amp;lt;value&amp;gt;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; specify installer properties&lt;/p&gt;  &lt;p&gt;--------------------------------------------------------------------------------------------------&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;I will be curious, if there is a way to do silent install by providing all the needed input in a properties file. I do not see this documented any where.&lt;/p&gt;  &lt;p&gt;Note: This method applies to other installation type for e.g. Verity Install.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-2487445406436643822?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/2487445406436643822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=2487445406436643822' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/2487445406436643822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/2487445406436643822'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2010/01/run-peopletools-850-installation-in-gui.html' title='Run the PeopleTools 8.50 Installation in GUI mode for Linux/Unix servers'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-1921996658279723842</id><published>2009-11-17T15:16:00.001-05:00</published><updated>2009-11-17T15:16:27.821-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><title type='text'>Trying to Schedule Query gives message "An error has occurred" and kicks the user back to an Error page.</title><content type='html'>&lt;p&gt;&lt;a href="http://lh3.ggpht.com/_52IkIgEEWLo/SwMEf3EUxEI/AAAAAAAABJQ/NRKmpa9Wrx4/s1600-h/image%5B2%5D.png"&gt;&lt;img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="149" alt="image" src="http://lh3.ggpht.com/_52IkIgEEWLo/SwMEgIZPedI/AAAAAAAABJU/IfsKi0TNs-U/image_thumb.png?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I have noticed the following issue on PeopleTools 8.48.16.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Go to Reporting Tools -&amp;gt; Query -&amp;gt; Schedule Query -&amp;gt; Add a new Value –&amp;gt; TEST&lt;/li&gt;    &lt;li&gt;Enter the query name : ERROR_QUERY and tab out of the field.&lt;/li&gt;    &lt;li&gt;This displays the run time prompt page. Enter the value and hit OK or CANCEL&lt;/li&gt;    &lt;li&gt;Page shows flashing Processing image and displays the page &amp;quot;An error has occurred&amp;quot; eventually. Appserver log shows that a core file is generated.&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;FIX&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;To fix the issue, open the query in Query Manager from PIA. Change the query properties –&amp;gt; Description and resave the query. This fixes the issue.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-1921996658279723842?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/1921996658279723842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=1921996658279723842' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/1921996658279723842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/1921996658279723842'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2009/11/trying-to-schedule-query-gives-message.html' title='Trying to Schedule Query gives message &amp;quot;An error has occurred&amp;quot; and kicks the user back to an Error page.'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_52IkIgEEWLo/SwMEgIZPedI/AAAAAAAABJU/IfsKi0TNs-U/s72-c/image_thumb.png?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-2377902038924979755</id><published>2009-10-09T17:22:00.001-04:00</published><updated>2009-10-09T17:22:02.956-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AppEngine'/><title type='text'>Could not sign on to database xxxx with user yyyy for app engine program</title><content type='html'>&lt;p&gt;When trying to run appengine program from command line (psae), you are getting this message&lt;/p&gt;  &lt;p&gt;“Could not sign on to database xxxx with user yyyy for app engine program”&lt;/p&gt;  &lt;p&gt;One possible reason is that psae needs database name in upper case. If you are using lower case name then the above message appears. &lt;/p&gt;  &lt;p&gt;Also PS_SERVER_CFG must contain the fully qualified name of a correctly configured Process Scheduler PSPRCS.CFG file&lt;/p&gt;  &lt;p&gt;For e.g.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;PS_SERVER_CFG=$PS_HOME/appserv/prcs/&amp;lt;domainname&amp;gt;/psprcs.cfg;export PS_SERVER_CFG&lt;/p&gt;  &lt;p&gt;psae -CT ORACLE -CD dbname-CO userid -CP password -R runcontrolid -I 0 -AI &amp;lt;appengine progname&amp;gt; &lt;/p&gt;  &lt;p&gt;Also When PeopleSoft Application Engine runs from the command line, it resolves %PS_SERVDIR% to the value of the environment variable PS_SERVDIR instead of the parent directory of a Process Scheduler configuration. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-2377902038924979755?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/2377902038924979755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=2377902038924979755' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/2377902038924979755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/2377902038924979755'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2009/10/could-not-sign-on-to-database-xxxx-with.html' title='Could not sign on to database xxxx with user yyyy for app engine program'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-966455071947373702</id><published>2009-09-14T17:49:00.001-04:00</published><updated>2009-09-14T17:49:05.240-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Enterprise Portal'/><title type='text'>An error has occurred that has stopped this transaction from continuing.</title><content type='html'>&lt;p&gt;The above error may happen when doing the following in Enterprise Portal:&lt;/p&gt;  &lt;p&gt;Navigation: Portal Administration -&amp;gt; Branding -&amp;gt; Define Headers or Define Footers (Add / View existing Value)&lt;/p&gt;  &lt;p&gt;Add a New Value or Find An existing Value &lt;/p&gt;  &lt;p&gt;Set Header ID: TEST1 &lt;/p&gt;  &lt;p&gt;You will get this message &amp;quot;An error has occurred that has stopped this transaction from continuing.&amp;quot; &lt;/p&gt;  &lt;p&gt;Reason   &lt;br /&gt;This message appears in Enterprise Portal due to 0 rows in PS_INSTALLATION Table. To fix this issue: Insert a row in PS_INSTALLATION table and&amp;#160; restart the appservers. &lt;/p&gt;  &lt;p&gt;The SQL I have used is as follows.&lt;/p&gt;  &lt;p&gt;INSERT INTO PS_INSTALLATION    &lt;br /&gt;VALUES('Y','Y','N','N','USA','USD','OFFIC','N',25,'N','N'); &lt;/p&gt;  &lt;p&gt;Tested this with Enterprise Portal 8.8 and PeopleTools 8.48.16&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-966455071947373702?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/966455071947373702/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=966455071947373702' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/966455071947373702'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/966455071947373702'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2009/09/error-has-occurred-that-has-stopped.html' title='An error has occurred that has stopped this transaction from continuing.'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-3745746179698947192</id><published>2009-01-15T11:11:00.001-05:00</published><updated>2009-01-15T11:11:23.583-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PeopleCode'/><title type='text'>Validate Userid and password against LDAP directories Using PeopleCode</title><content type='html'> &lt;style type="text/css"&gt;&lt;br /&gt;&lt;!--&lt;br /&gt;body { color: #000000; background-color: #ffffff; }&lt;br /&gt;.general1-comment { color: #008000; font-style: italic; }&lt;br /&gt;.general1-identifier { }&lt;br /&gt;.general1-key { color: #0000ff; }&lt;br /&gt;.general1-keywords2 { color: #0000ff; }&lt;br /&gt;.general1-keywords3 { color: #0000ff; }&lt;br /&gt;.general1-label { color: #ff0000; }&lt;br /&gt;.general1-number { color: #000080; }&lt;br /&gt;.general1-preprocessor { color: #008080; font-style: italic; }&lt;br /&gt;.general1-reservedword { color: #0000ff; }&lt;br /&gt;.general1-space { color: #008080; }&lt;br /&gt;.general1-string { color: #ff0000; }&lt;br /&gt;.general1-symbol { }&lt;br /&gt;--&gt;&lt;br /&gt;&lt;/style&gt;  &lt;p&gt;Following peoplecode is tested in 8.48.16 and assuming that you are using Oracle Wallet and LDAP libraries for connecting to ldap server. (Tested on HP*UX 11.11 server). It also assumes you have LDAP Port, Server name, Default Connect DN defined in PeopleTools -&amp;gt; Security -&amp;gt; Directory -&amp;gt;&amp;nbsp; Directory Configuration. LDAPS Port is optional but highly recommended. This can be used in following scenarios.&lt;/p&gt; &lt;p&gt;You are logged in PeopleSoft with generic id and you need to validate user's password against ldap directory. Or you want to see&amp;nbsp; programmatically if the user exist in LDAP with a valid password.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="font: 10pt courier new"&gt;&lt;span class="general1-reservedword"&gt;Create&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;this&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;as&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-reservedword"&gt;Class&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;to&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;Application&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;Package:&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;XX_UTILS&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-reservedword"&gt;class&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;LDAP&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;/span&gt;&lt;span class="general1-key"&gt;method&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;ValidatePassword(&amp;amp;userid&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;As&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;string&lt;/span&gt;&lt;span class="general1-symbol"&gt;,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;pwd&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;As&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;string&lt;/span&gt;&lt;span class="general1-symbol"&gt;,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;directory_id&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;As&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;string&lt;/span&gt;&lt;span class="general1-symbol"&gt;)&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;Returns&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;boolean&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-reservedword"&gt;end-class&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-key"&gt;method&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;ValidatePassword&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;/span&gt;&lt;span class="general1-symbol"&gt;/+&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;userid&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;as&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;String&lt;/span&gt;&lt;span class="general1-symbol"&gt;,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;+/&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;/span&gt;&lt;span class="general1-symbol"&gt;/+&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;pwd&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;as&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;String&lt;/span&gt;&lt;span class="general1-symbol"&gt;,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;+/&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;/span&gt;&lt;span class="general1-symbol"&gt;/+&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;directory_id&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;as&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;String&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;+/&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;/span&gt;&lt;span class="general1-symbol"&gt;/+&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;Returns&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;Boolean&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;+/&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;/span&gt;&lt;span class="general1-key"&gt;Local&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;string&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;defaultDN,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;dn,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;outDN,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;server,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;SSL;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;/span&gt;&lt;span class="general1-key"&gt;Local&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;integer&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;port,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;nonsslport,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;sslport,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;EXECRSLT,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;start,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;num_chars,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;ret;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;/span&gt;&lt;span class="general1-key"&gt;Local&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;Interlink&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;LDAP_BIND;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;/span&gt;&lt;span class="general1-key"&gt;Local&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;BIDocs&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;rootInDoc,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;rootOutDoc;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;br /&gt;   &lt;/span&gt;&lt;span class="general1-reservedword"&gt;SQLExec&lt;/span&gt;&lt;span class="general1-symbol"&gt;(&lt;/span&gt;&lt;span class="general1-string"&gt;"select a.DSCNCTDN, b.DSSRVR, b.LDAPPORT, b.ldapsport  from PSDSDIR a, PSDSSRVR b where a.DSDIRID = :1 and a.DSDIRID = b.DSDIRID"&lt;/span&gt;&lt;span class="general1-symbol"&gt;,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;directory_id,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;defaultDN,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;server,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;nonsslport,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;sslport);&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;/span&gt;&lt;span class="general1-key"&gt;If&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-reservedword"&gt;All&lt;/span&gt;&lt;span class="general1-symbol"&gt;(&amp;amp;sslport)&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;Then&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;SSL&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-string"&gt;"YES"&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;port&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;sslport;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;/span&gt;&lt;span class="general1-key"&gt;Else&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;SSL&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-string"&gt;"NO"&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;port&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;nonsslport;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;/span&gt;&lt;span class="general1-key"&gt;End-If&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;br /&gt;   &lt;/span&gt;&lt;span class="general1-key"&gt;If&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-reservedword"&gt;All&lt;/span&gt;&lt;span class="general1-symbol"&gt;(&amp;amp;server,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;port,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;defaultDN)&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;Then&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;br /&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;LDAP_BIND&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-reservedword"&gt;GetInterlink&lt;/span&gt;&lt;span class="general1-symbol"&gt;(Interlink.LDAP_BIND);&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;LDAP_BIND.UserID_Attribute_Name&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-string"&gt;"uid"&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;LDAP_BIND.URL&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-string"&gt;"file://psio_dir.dll"&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;LDAP_BIND.BIDocValidating&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-string"&gt;"Off"&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;LDAP_BIND.SSL&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;SSL;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-comment"&gt;REM &amp;amp;LDAP_BIND.SSL_DB = "e:\certs\cert7.db";&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;start&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-number"&gt;5&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;num_chars&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-reservedword"&gt;Find&lt;/span&gt;&lt;span class="general1-symbol"&gt;(&lt;/span&gt;&lt;span class="general1-string"&gt;","&lt;/span&gt;&lt;span class="general1-symbol"&gt;,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;defaultDN)&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;-&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;start;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;dn&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-reservedword"&gt;Replace&lt;/span&gt;&lt;span class="general1-symbol"&gt;(&amp;amp;defaultDN,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;start,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;num_chars,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;userid);&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;rootInDoc&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;LDAP_BIND.GetInputDocs(&lt;/span&gt;&lt;span class="general1-string"&gt;""&lt;/span&gt;&lt;span class="general1-symbol"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;ret&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;rootInDoc.AddValue(&lt;/span&gt;&lt;span class="general1-string"&gt;"Server"&lt;/span&gt;&lt;span class="general1-symbol"&gt;,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;server);&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;ret&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;rootInDoc.AddValue(&lt;/span&gt;&lt;span class="general1-string"&gt;"Port"&lt;/span&gt;&lt;span class="general1-symbol"&gt;,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;port);&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;ret&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;rootInDoc.AddValue(&lt;/span&gt;&lt;span class="general1-string"&gt;"Distinguished_Name"&lt;/span&gt;&lt;span class="general1-symbol"&gt;,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;dn);&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;ret&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;rootInDoc.AddValue(&lt;/span&gt;&lt;span class="general1-string"&gt;"User_Password"&lt;/span&gt;&lt;span class="general1-symbol"&gt;,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;pwd);&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;ret&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;rootInDoc.AddValue(&lt;/span&gt;&lt;span class="general1-string"&gt;"Encrypted"&lt;/span&gt;&lt;span class="general1-symbol"&gt;,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-string"&gt;"NO"&lt;/span&gt;&lt;span class="general1-symbol"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;br /&gt;      &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;EXECRSLT&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;LDAP_BIND.Execute();&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-key"&gt;If&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;(&amp;amp;EXECRSLT&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-number"&gt;1&lt;/span&gt;&lt;span class="general1-symbol"&gt;)&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;Then&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;         &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;rootOutDoc&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;LDAP_BIND.GetOutputDocs(&lt;/span&gt;&lt;span class="general1-string"&gt;""&lt;/span&gt;&lt;span class="general1-symbol"&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;         &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;ret&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;rootOutDoc.GetValue(&lt;/span&gt;&lt;span class="general1-string"&gt;"Distinguished_Name"&lt;/span&gt;&lt;span class="general1-symbol"&gt;,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;outDN);&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;         &lt;/span&gt;&lt;span class="general1-key"&gt;If&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;outDN&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;dn&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;Then&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;            &lt;/span&gt;&lt;span class="general1-key"&gt;Return&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;True&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;         &lt;/span&gt;&lt;span class="general1-key"&gt;End-If&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;      &lt;/span&gt;&lt;span class="general1-key"&gt;End-If&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;/span&gt;&lt;span class="general1-key"&gt;End-If&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;br /&gt;   &lt;/span&gt;&lt;span class="general1-key"&gt;Return&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;False&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-key"&gt;end-method&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;br /&gt;Sample&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-reservedword"&gt;code&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;to&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;call&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;the&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;function&lt;/span&gt;&lt;span class="general1-symbol"&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-reservedword"&gt;import&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;XX_UTILS:LDAP;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-key"&gt;Local&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;XX_UTILS:LDAP&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;ldap&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-reservedword"&gt;create&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-identifier"&gt;XX_UTILS:LDAP();&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-key"&gt;Local&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;boolean&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;&lt;/span&gt;&lt;span class="general1-key"&gt;return&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;br /&gt;&amp;amp;userid&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-string"&gt;"userid"&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;pwd&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-string"&gt;"xxxx"&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&amp;amp;directory_id&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-string"&gt;"LDAP"&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;br /&gt;&lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;&lt;/span&gt;&lt;span class="general1-key"&gt;return&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;=&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;ldap.ValidatePassword(&amp;amp;userid,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;pswd,&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;directory_id);&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;If&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-symbol"&gt;&amp;amp;&lt;/span&gt;&lt;span class="general1-key"&gt;return&lt;/span&gt;&lt;span class="general1-space"&gt; &lt;/span&gt;&lt;span class="general1-key"&gt;Then&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;    &lt;/span&gt;&lt;span class="general1-comment"&gt;/* success */&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-key"&gt;else&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-space"&gt;   &lt;/span&gt;&lt;span class="general1-comment"&gt;/* failure */&lt;br /&gt;&lt;/span&gt;&lt;span class="general1-key"&gt;end-if&lt;/span&gt;&lt;span class="general1-symbol"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-3745746179698947192?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/3745746179698947192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=3745746179698947192' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/3745746179698947192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/3745746179698947192'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2009/01/validate-userid-and-password-against.html' title='Validate Userid and password against LDAP directories Using PeopleCode'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-7660660100361028585</id><published>2008-10-16T11:55:00.001-04:00</published><updated>2008-10-16T11:55:43.183-04:00</updated><title type='text'>Identify List of users who has minimized the Menu Pagelet</title><content type='html'>&lt;p&gt;Sometimes user Minimizes the Menu Pagelet on PeopleSoft HRMS HomePage and do not know How to maximize it. Here is a query that can identify list of users who has minimized the Menu Pagelet.&lt;/p&gt; &lt;p&gt;PeopleSoft stores this information in PSPRUHTABPGLT Record.&lt;/p&gt; &lt;p&gt;It has a column PORTAL_MINIMIZE which has 2 values 0 (Maximize) and 1 (Minimize).&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;-- List of people who have maximized/minimized their Menu Pagelet&lt;br&gt;--PORTAL_MINIMIZE = 0 (Maximize)&lt;/p&gt; &lt;p&gt;&lt;br&gt;select * from PSPRUHTABPGLT where PORTAL_OBJNAME_PGT = 'MENU' and PORTAL_MINIMIZE = 0&lt;br&gt;select b.oprid,b.oprdefndesc,b.lastsignondttm from PSPRUHTABPGLT a, PSOPRDEFN B&amp;nbsp; where a.PORTAL_OBJNAME_PGT = 'MENU' and a.PORTAL_MINIMIZE = 0 and a.oprid = b.oprid&lt;/p&gt; &lt;p&gt;&lt;br&gt;--PORTAL_MINIMIZE = 1 (Minimize)&lt;br&gt;select * from PSPRUHTABPGLT where PORTAL_OBJNAME_PGT = 'MENU' and PORTAL_MINIMIZE = 1&lt;br&gt;select b.oprid,b.oprdefndesc,b.lastsignondttm from PSPRUHTABPGLT a, PSOPRDEFN B&amp;nbsp; where a.PORTAL_OBJNAME_PGT = 'MENU' and a.PORTAL_MINIMIZE = 1 and a.oprid = b.oprid&lt;/p&gt; &lt;p&gt;If there is no entry in this table, then it is always Maximized.&lt;/p&gt; &lt;p&gt;Here is a screenshot of How the minimized Menu Screen looks like.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/ket000/SPdj_ZvfXgI/AAAAAAAAApA/3IWaxyAobJw/menu_minimize%5B2%5D.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="71" alt="menu_minimize" src="http://lh6.ggpht.com/ket000/SPdj_u6wDBI/AAAAAAAAApE/EqiHVUUWQpk/menu_minimize_thumb.jpg" width="244" border="0"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-7660660100361028585?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/7660660100361028585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=7660660100361028585' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7660660100361028585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7660660100361028585'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2008/10/identify-list-of-users-who-has.html' title='Identify List of users who has minimized the Menu Pagelet'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/ket000/SPdj_u6wDBI/AAAAAAAAApE/EqiHVUUWQpk/s72-c/menu_minimize_thumb.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-9015422648411029582</id><published>2008-07-21T14:55:00.001-04:00</published><updated>2008-07-21T14:55:30.544-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Trace'/><category scheme='http://www.blogger.com/atom/ns#' term='AppEngine'/><title type='text'>Configuration Settings for Tracing</title><content type='html'>&lt;p&gt;&lt;strong&gt;Online Process&lt;/strong&gt; &lt;p&gt;Set the following in psappsrv.cfg, or for a single user session in PIA using trace=y &lt;p&gt;“31” is the recommended value when tracing with “TraceSQL”.&lt;br&gt;“1984” is the recommended value when tracing with “TracePC”. &lt;p&gt;&lt;strong&gt;Batch Process&lt;/strong&gt; &lt;p&gt;&lt;strong&gt;Application Engine&lt;/strong&gt; &lt;p&gt;"135" is the recommended value when tracing with "TraceAE" &lt;p&gt;if peoplecode tracing is needed, please also set &lt;p&gt;TraceSQL= 31 &lt;p&gt;TracePC = 1984  &lt;p&gt;You can also do this in process definition of Application Engine to affect this for only 1 program. &lt;p&gt;Override options : Append : -TRACE 135 -TOOLSTRACESQL 31 -TOOLSTRACEPC 1984 &lt;p&gt;To see which processes are set with this options, run this sql. &lt;p&gt;SELECT PRCSNAME, PARMLIST FROM PS_PRCSDEFN WHERE UPPER(PARMLIST) LIKE '%TRACE%' AND PRCSTYPE = 'Application Engine'; &lt;p&gt;To generate Database Level Trace, Use TraceAE=2183. This will create file within the "UDUMP" directory on the database server.&lt;/p&gt; &lt;p&gt;It will contain details of each SQL statement that was executed on the database including its runtime execution plan. You can then use this as a input to tkprof for generating formatted trace report. However this will not capture bind variables. To capture bind variables, following trigger is needed.&lt;/p&gt; &lt;p&gt;CREATE OR REPLACE TRIGGER MYDB.SET_TRACE_POCALC &lt;p&gt;BEFORE UPDATE OF RUNSTATUS ON MYDB.PSPRCSRQST &lt;p&gt;FOR EACH ROW &lt;p&gt;WHEN ( NEW.runstatus = 7 &lt;p&gt;AND OLD.runstatus != 7 &lt;p&gt;AND NEW.prcstype = 'Application Engine' &lt;p&gt;AND NEW.prcsname = 'PO_PO_CALC'  &lt;p&gt;) &lt;p&gt;BEGIN &lt;p&gt;EXECUTE IMMEDIATE &lt;p&gt;'ALTER SESSION SET TIMED_STATISTICS = TRUE'; &lt;p&gt;EXECUTE IMMEDIATE &lt;p&gt;'ALTER SESSION SET MAX_DUMP_FILE_SIZE = UNLIMITED'; &lt;p&gt;EXECUTE IMMEDIATE  &lt;p&gt;'ALTER SESSION SET TRACEFILE_IDENTIFIER = ''POCALC'''; &lt;p&gt;EXECUTE IMMEDIATE &lt;p&gt;'ALTER SESSION SET EVENTS = ''10046 TRACE NAME CONTEXT FOREVER, LEVEL 12'''; &lt;p&gt;END; &lt;p&gt;/ &lt;p&gt;&lt;strong&gt;Cobol Process&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;TraceSQL=128&lt;/p&gt; &lt;p&gt;&lt;strong&gt;SQR Process&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;A database level trigger is the only way for generating SQR trace.&lt;/p&gt; &lt;p&gt;Sample trigger script.&lt;/p&gt; &lt;p&gt;CREATE OR REPLACE TRIGGER MYDB.SET_TRACE_INS6000 &lt;p&gt;BEFORE UPDATE OF RUNSTATUS ON MYDB.PSPRCSRQST &lt;p&gt;FOR EACH ROW &lt;p&gt;WHEN ( NEW.runstatus = 7 &lt;p&gt;AND OLD.runstatus != 7 &lt;p&gt;AND NEW.prcstype = 'SQR REPORT' &lt;p&gt;AND NEW.prcsname = 'INS6000'  &lt;p&gt;) &lt;p&gt;BEGIN &lt;p&gt;EXECUTE IMMEDIATE &lt;p&gt;'ALTER SESSION SET TIMED_STATISTICS = TRUE';&lt;br&gt;EXECUTE IMMEDIATE &lt;p&gt;'ALTER SESSION SET MAX_DUMP_FILE_SIZE = UNLIMITED';&lt;br&gt;EXECUTE IMMEDIATE &lt;p&gt;'ALTER SESSION SET TRACEFILE_IDENTIFIER = ''INS6000''';&lt;br&gt;EXECUTE IMMEDIATE &lt;p&gt;'ALTER SESSION SET EVENTS = ''10046 TRACE NAME CONTEXT FOREVER, LEVEL 12'''; &lt;p&gt;END; &lt;p&gt;/ &lt;p&gt;Once the raw database trace is captured, execute the program “tkprof” with following sort options: &lt;p&gt;tkprof &amp;lt;trace_input_file&amp;gt; &amp;lt;rpt_output_file&amp;gt; sys=no explain=&amp;lt;user_id&amp;gt;/&amp;lt;password&amp;gt; sort=exeela,fchela,prscpu,execpu,fchcpu &lt;p&gt;For more information, Read peoplesoft resolution 201049233: E-ORACLE:10g Master Performance Solution for Oracle 10g and download the red paper attached to it.   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-9015422648411029582?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/9015422648411029582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=9015422648411029582' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/9015422648411029582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/9015422648411029582'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2008/07/configuration-settings-for-tracing.html' title='Configuration Settings for Tracing'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-4828728368925940145</id><published>2008-07-03T14:45:00.001-04:00</published><updated>2008-07-03T14:45:36.988-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Integration Broker'/><title type='text'>Synchronous App Message Error Status SQL</title><content type='html'>&lt;p&gt;If you have turned on Logging in your Service Operations -&amp;gt; Routings, you can run these sql statements to get the Error details.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;select * from psibloghdr where STATUSSTRING = 'ERROR' order by PUBLISHTIMESTAMP desc&lt;/p&gt; &lt;p&gt;select * from psiblogerr order by ERRORTIMESTAMP desc&lt;/p&gt; &lt;p&gt;select * from psiblogerrp order by ERRORTIMESTAMP desc&lt;/p&gt; &lt;p&gt;To see the explanation for message no., Run&lt;/p&gt; &lt;p&gt;select * from PSMSGCATDEFN where message_set_nbr = 158 and message_nbr = :1&lt;/p&gt; &lt;p&gt;You can see this information from online page&lt;/p&gt; &lt;p&gt;PeopleTools -&amp;gt; Integration Broker -&amp;gt; Service Operations Monitor -&amp;gt; Synchronous Services &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-4828728368925940145?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/4828728368925940145/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=4828728368925940145' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/4828728368925940145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/4828728368925940145'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2008/07/synchronous-app-message-error-status.html' title='Synchronous App Message Error Status SQL'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-7344121524140294695</id><published>2008-06-30T12:07:00.001-04:00</published><updated>2008-06-30T12:07:47.756-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AppEngine'/><title type='text'>Application Engine Aborts if it has state record that is not present in the Database.</title><content type='html'>&lt;p&gt;If you have a application engine program that has define a state record and it is not defined in the App designer it causes core dump when trying to run the program. This can happen if you have migrated a app engine program from DEV to other environment and forgot to add the state record to project. Here is a query that can identify all such app engine programs.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;select * from PSAEAPPLSTATE a where&amp;nbsp; not exists (select 'x' from psrecdefn b where a.AE_STATE_RECNAME = b.recname).&lt;/p&gt; &lt;p&gt;This was observed in PT 8.48.16 and running the App engine program using command line on HP*UX 11.11 server. Database: Oracle 9.2.0.8 64 bit on HP*UX.&lt;/p&gt; &lt;p&gt;Here is the actual error message.&lt;/p&gt; &lt;p&gt;Executing PS Application Engine XXXX program which will use run control XXXX&lt;br&gt;aCC runtime: pure virtual function called for class "IPSRecBuf".&lt;br&gt;24493: 1214837730: PSPAL::Abort: Unrecoverable signal received&lt;br&gt;24493: 1214837730: PSPAL::Abort: Location: /vob/peopletools/src/pspal/exception_sigaction.cpp:553: UnrecoverableSignalHandler&lt;br&gt;24493: 1214837730: PSPAL::Abort: Generating process state report to /xxxx/xxxx/xxxx/LOGS/psae.24493/process_state.txt&lt;br&gt;24493: 1214837730: PSPAL::Abort: Terminating process now.&lt;br&gt;./xxxx.sh[67]: 24493 Abort(coredump)&lt;/p&gt; &lt;p&gt;&amp;nbsp; &lt;p&gt;Keyword: IPSRecBuf&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-7344121524140294695?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/7344121524140294695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=7344121524140294695' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7344121524140294695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7344121524140294695'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2008/06/application-engine-aborts-if-it-has.html' title='Application Engine Aborts if it has state record that is not present in the Database.'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-1551838762447642561</id><published>2008-04-11T14:37:00.001-04:00</published><updated>2008-04-11T14:37:56.038-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><category scheme='http://www.blogger.com/atom/ns#' term='Process'/><title type='text'>Schedule Query Security Access</title><content type='html'>&lt;p&gt;Access to Schedule Query is controlled by the following. &lt;p&gt;1. Schedule Query Component&lt;br&gt;2. Access to PSQUERY App engine process. &lt;p&gt;There are 2 ways you can run&amp;nbsp; schedule Query process. &lt;p&gt;1. From Query Manager or Query viewer: These pages uses SCHED_QUERY_QRYVW (SCHEDQUERY2) Component with different search record: QUERY_RUN_QRYVW&lt;br&gt;2. From Schedule Query: This page uses SCHED_QUERY (SCHEDQUERY) Component with search record: QUERY_RUN_CNTRL &lt;p&gt;Following Process Groups are assigned to the PSQUERY App engine process that is used for scheduling queries.&lt;br&gt;TLSALL &lt;p&gt;select * from PS_PRCSDEFNGRP where prcsname = 'PSQUERY' &lt;p&gt;Therefore to Grant access to all users for Scheduling Queries who have access to Query Manager or Query Viewer Component following must be done. &lt;p&gt;1. Add access to Component : SCHED_QUERY (Baritemname: SCHEDQUERY) and SCHED_QUERY_QRYVW (Baritemname: SCHEDQUERY2)&lt;br&gt;2. Add Process groups to Same permission list that grants access to Schedule query: TLSALL &lt;p&gt;In Demo, PTPT1000 Classid and Role PeopleSoft user has access to the components &lt;/p&gt; &lt;p&gt;SCHED_QUERY (Baritemname: SCHEDQUERY) and SCHED_QUERY_QRYVW (Baritemname: SCHEDQUERY2)&lt;br&gt;&lt;/p&gt; &lt;p&gt;In Demo, PTPT1200 Classid and Role PeopleTools has access to TLSALL Process group which can run PSQUERY Process.&lt;/p&gt; &lt;p&gt;Therefore, user must have access to PTPT1000 and PTPT1200 permission list. Therefore Role PeopleTools and PeopleSoft user must be assigned to successfully run the Schedule Query process using delivered Pages.&lt;/p&gt; &lt;p&gt;If you are creating a custom permission list, you can assign access to these components and process group to same permission list. Assign the permission list to a role and assign it to actual user.&lt;/p&gt; &lt;p&gt;Your users may get this error message, if they do not have access to process group assigned to PSQUERY Process and try to schedule the query.&lt;/p&gt; &lt;p&gt;PeopleSoft error report: Error: Required ProcessRequest attribute missing: JobName (65,151) PRCSRQSTDLG_WRK.LOADPRCSRQSTDLGPB.FieldFormula&amp;nbsp; Name:LaunchAndRunProcessRequest&amp;nbsp; PCPC:67779&amp;nbsp; Statement:768 Called from:PRCSRQSTDLG_WRK.LOADPRCSRQSTDLGPB.FieldFormula&amp;nbsp; Name:LaunchProcessRequestDlg&amp;nbsp; Statement:787 Called from:QUERY_RUN_CNTRL.QRYNAME.SavePreChange&amp;nbsp; Statement:2&lt;/p&gt; &lt;p&gt;This error normally means user is not having access to Job or process group assigned to the process or job name. You can use these queries to determine what process groups are assigned to a job or process definition and what permission list has access to it.&lt;/p&gt; &lt;p&gt;select * from PS_PRCSDEFNGRP where prcsname = 'PSQUERY'&lt;br&gt;select * from PS_PRCSJOBGRP where PRCSJOBNAME = '3CBL'&lt;br&gt;select * from psauthprcs where prcsgrp = 'TLSALL'   &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-1551838762447642561?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/1551838762447642561/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=1551838762447642561' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/1551838762447642561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/1551838762447642561'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2008/04/schedule-query-security-access.html' title='Schedule Query Security Access'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-3443190521298461771</id><published>2008-04-03T17:35:00.001-04:00</published><updated>2008-04-04T10:52:21.316-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PeopleCode'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Retrieve milliseconds from Oracle database and display it on a page.</title><content type='html'>&lt;p&gt;You can use the following SQL to get milliseconds from Oracle 9i and higher and assign it to a Field of Type Time in PeopleSoft page. May Place this code in FieldDefault event.&lt;/p&gt; &lt;p&gt;SQLExec("select TO_CHAR(SYSTIMESTAMP,'HH24:MI:SS.FF') from dual", XX_TEST_DERIVED.XX_TIME);&lt;/p&gt; &lt;p&gt;Set the Time Formatting to HH:MI:SS:999999 in Field properties. &lt;/p&gt; &lt;p&gt;For Date Time Field, use the following SQL.&lt;/p&gt; &lt;p&gt;SQLExec("select TO_CHAR(SYSTIMESTAMP,'YYYY-MM-DD-HH24:MI:SS.FF') from dual", XX_TEST_DERIVED.XX_DATETIME); &lt;p&gt;Set the Time Formatting to HH:MI:SS:999999 in Field properties. Select Display Century and Display Time Zone in Page Field Properties to display complete date and time. &lt;p&gt;You will see this on page as follows:` &lt;p&gt;&lt;a href="http://lh3.google.com/ket000/R_VNknvz09I/AAAAAAAAAoE/zl8I_toE4Ew/image%5B2%5D.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="48" alt="image" src="http://lh3.google.com/ket000/R_VNknvz0-I/AAAAAAAAAoM/lRdnmN8DaP0/image_thumb.png" width="244" border="0"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-3443190521298461771?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/3443190521298461771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=3443190521298461771' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/3443190521298461771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/3443190521298461771'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2008/04/retrieve-milliseconds-from-oracle.html' title='Retrieve milliseconds from Oracle database and display it on a page.'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-8696319175871575305</id><published>2007-12-07T12:04:00.001-05:00</published><updated>2007-12-07T12:12:05.990-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Scheduling'/><category scheme='http://www.blogger.com/atom/ns#' term='Reports'/><category scheme='http://www.blogger.com/atom/ns#' term='Query'/><category scheme='http://www.blogger.com/atom/ns#' term='Crystal'/><title type='text'>How to Default sysdate (Current Date)  for Crystal Report and PeopleTools Query prompt automatically</title><content type='html'>&lt;p&gt;If you have a Query or Crystal Report, that has a date prompt and you want to schedule the report daily, so that date value is defaulted to sysdate (Current date), you can do this as follows.&lt;/p&gt; &lt;p&gt;Open the Query in PeopleTools Query tool.&lt;/p&gt; &lt;p&gt;Go to Criteria tab. Right Click on Expression2 Column and Select Expression or Expr-Expr if you are using between operator.&lt;/p&gt; &lt;p&gt;Type the following in Edit Expression.&lt;/p&gt; &lt;table cellspacing="0" cellpadding="2" width="409" border="1" unselectable="on"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="82"&gt;&lt;strong&gt;Type&lt;/strong&gt;&lt;/td&gt; &lt;td valign="top" width="117"&gt;&lt;strong&gt;Default Date&lt;/strong&gt;&lt;/td&gt; &lt;td valign="top" width="208"&gt;&lt;strong&gt;Expression&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="86"&gt;Criteria&lt;/td&gt; &lt;td valign="top" width="118"&gt;current date&lt;/td&gt; &lt;td valign="top" width="208"&gt;decode(:1,TO_DATE('1900-01-01','YYYY-MM-DD'),trunc(sysdate),:1)&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="89"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="119"&gt;current date&amp;nbsp;- 1&lt;/td&gt; &lt;td valign="top" width="208"&gt;decode(:1,TO_DATE('1900-01-01','YYYY-MM-DD'),trunc(sysdate)-1,:1)&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="91"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="119"&gt;current date + 1&lt;/td&gt; &lt;td valign="top" width="208"&gt;decode(:1,TO_DATE('1900-01-01','YYYY-MM-DD'),trunc(sysdate)+1,:1)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;replace :1 with the actual prompt value. You must first create this prompt.&lt;/p&gt; &lt;p&gt;Now you need to pass 01/01/1900 as an input parameter if you want to run the query for current date. Passing any other values will make the query run for that date. &lt;/p&gt; &lt;p&gt;This way you can achieve both i.e. run the query for a user selected date or run a query for current date which can be used to schedule. Note : you can use any date as a replacement for sysdate and not just &lt;strong&gt;01/01/1900&lt;/strong&gt;.&lt;/p&gt; &lt;p&gt;Also you can default it to any day relative to current date for e.g. &lt;strong&gt;trunc&lt;/strong&gt;(sysdate) - 1 or &lt;strong&gt;trunc&lt;/strong&gt;(sysdate) + 1 etc.&lt;/p&gt; &lt;p&gt;If you want to know what parameter user has passed in your report, you can add the following expression as field in your query.&lt;/p&gt; &lt;p&gt;Create an expression of type &lt;strong&gt;Date &lt;/strong&gt;in left hand side Under Expressions.&lt;/p&gt; &lt;table cellspacing="0" cellpadding="2" width="420" border="1" unselectable="on"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="72"&gt;&lt;strong&gt;Type&lt;/strong&gt;&lt;/td&gt; &lt;td valign="top" width="119"&gt;&lt;strong&gt;Default Date&lt;/strong&gt;&lt;/td&gt; &lt;td valign="top" width="227"&gt;&lt;strong&gt;Expression&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="75"&gt;Field&lt;/td&gt; &lt;td valign="top" width="120"&gt;Current Date&lt;/td&gt; &lt;td valign="top" width="227"&gt;decode(:1,'1900-01-01',to_char(trunc(sysdate),'YYYY-MM-DD') ,:1)&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="78"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="121"&gt;Current Date - 1&lt;/td&gt; &lt;td valign="top" width="227"&gt;decode(:1,'1900-01-01',to_char((trunc(sysdate)-1),'YYYY-MM-DD') ,:1)&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="80"&gt;&amp;nbsp;&lt;/td&gt; &lt;td valign="top" width="121"&gt;Current Date + 1&lt;/td&gt; &lt;td valign="top" width="227"&gt;decode(:1,'1900-01-01',to_char((trunc(sysdate)+1),'YYYY-MM-DD') ,:1)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;I have tested this on Oracle 9.2.0.8 and PeopleTools 8.48.12. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-8696319175871575305?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/8696319175871575305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=8696319175871575305' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8696319175871575305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8696319175871575305'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/12/how-to-default-sysdate-current-date-for.html' title='How to Default sysdate (Current Date)  for Crystal Report and PeopleTools Query prompt automatically'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-8857326063101055608</id><published>2007-12-07T11:06:00.001-05:00</published><updated>2007-12-07T11:06:28.409-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Server Administration'/><category scheme='http://www.blogger.com/atom/ns#' term='PeopleCode'/><category scheme='http://www.blogger.com/atom/ns#' term='Workflow'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>ORA-00022: invalid session ID; access denied</title><content type='html'>&lt;p&gt;If you are getting this error, here is a quick fix.&lt;/p&gt; &lt;p&gt;Set the following value in psappsrv.cfg (appserver)&amp;nbsp;and psprcs.cfg (batch server) for all the configured appservers and batch servers. You may have to reconfigure the appserver and batch servers and restart them.&lt;/p&gt; &lt;p&gt;DbFlags=8&lt;/p&gt; &lt;p&gt;Default value is DbFlags=0 which means use Persistent Secondary DB Connection.&lt;/p&gt; &lt;p&gt;Setting DbFlags=4 is not recommended by PeopleSoft, which completely disables the secondary database connection.&lt;/p&gt; &lt;p&gt;Setting it to 8 disables Persistent Secondary DB Connection, but it still uses on demand Secondary DB Connection for each request. This is required for using GetNextNumberWithGapsCommit (GNNWGC) function, which is internally used by PeopleSoft for workflow transactions to generate &lt;strong&gt;APPR_INSTANCE&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;If you do not do this, you may get row inserted in PS_APPR_INST_LOG with &lt;font size="2"&gt;&lt;/p&gt; &lt;p&gt;APPR_INSTANCE &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;= &lt;/font&gt;&lt;font size="2"&gt;0&lt;/p&gt;&lt;/font&gt; &lt;p&gt;which may cause, some undesired workflow routings. &lt;/p&gt; &lt;p&gt;The easiest solution I have found is&lt;/p&gt;&lt;b&gt;&lt;font color="#0000ff" size="2"&gt; &lt;p&gt;delete from &lt;/b&gt;&lt;/font&gt;&lt;font size="2"&gt;ps_appr_inst_log &lt;/font&gt;&lt;b&gt;&lt;font color="#0000ff" size="2"&gt;where &lt;/b&gt;&lt;/font&gt;&lt;font size="2"&gt;APPR_INSTANCE &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;= &lt;/font&gt;&lt;font size="2"&gt;0&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Please make sure that you backup the data and test it.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;Here is some more information on GetNextNumberWithGapsCommit (GNNWGC) function from peoplebooks.&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt; &lt;p&gt;Use this function instead of the GetNextNumberWithGaps function. The GetNextNumberWithGaps function is very restrictive in its usage. The GetNextNumberWithGapsCommit function can be used in any event. The sequence number (record.field ) is incremented right away and it doesn't hold any database internal row lock beyond the execution of this function.  &lt;p&gt;Note. A secondary database connection is used to increment and retrieve record.field. The default behavior is to keep the secondary database connection persistent in order to improve performance for the next GetNextNumberWithGapsCommit usage. If the database administrator finds the persistent connection too high an overhead for the production environment (which should not be the case since PeopleSoft uses application server to mulitplex the database connection), the database administrator can change the default behavior to use an on-demand connection method. The persistent second connection is disabled using DbFlags bit eight in the application server and process scheduler configuration files. The second connection can be completely disabled using DbFlags bit four in the application server and process scheduler configuration files  &lt;p&gt;This issue may be happening in Tools 8.45 and higher (8.46, 8.47, 8.48, 8.49 etc.), as secondary connection is introduced in 8.45. &lt;p&gt;See Peoplesoft Customer connection Resolutions for &amp;nbsp;more information.&lt;/p&gt; &lt;p&gt;Resolution : 201049233 - E-ORACLE:10g Master Performance Solution for Oracle 10g&amp;nbsp; &lt;/p&gt; &lt;p&gt;In this resolution, PeopleSoft generally recommends to Set &lt;strong&gt;DbFlags=8. &lt;/strong&gt;I hope thay deliver this value by default in future peopletools releases.&lt;/p&gt; &lt;p&gt;Resolution : 201049902 - E-PC: Sporadic ORA-00022 Errors in AE w/ GetNextNumberWithGapsCommit PCode&lt;/p&gt; &lt;p&gt;Resolution : 201022463 - E-NV nVision reports that are run on Client Machine fail - Error message Invalid Cursor Number &lt;/p&gt; &lt;p&gt;Resolution : 201015931 - E-SEC: SQL looking for inactive roles causes slow logins for users &lt;/p&gt; &lt;p&gt;Resolution : 201023068 - E-WF:Deadlocks whenever a high load of transactions create worklists&amp;nbsp; &lt;/p&gt; &lt;p&gt;Resolution : 201024183 - E-NV Running nVision via Define Report Book gives 8055 cursor entry error &lt;/p&gt; &lt;p&gt;Resolution : 200987809 - E-NV: nVision reports are queued when running in Windows 3 tier mode&lt;/p&gt; &lt;p&gt;Note : All the discussion is surrounding oracle database only. I found that it is disabled automatically for informix. For all other databases you may need to test the functionality your self.&lt;/p&gt; &lt;p&gt;&lt;/font&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-8857326063101055608?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/8857326063101055608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=8857326063101055608' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8857326063101055608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8857326063101055608'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/12/ora-00022-invalid-session-id-access.html' title='ORA-00022: invalid session ID; access denied'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-8150758422365139509</id><published>2007-11-27T15:19:00.001-05:00</published><updated>2007-11-27T15:19:46.805-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PeopleCode'/><title type='text'>Alternative to SendMail Function : PT_MCF_MAIL</title><content type='html'>&lt;p&gt;You can use Application package PT_MCF_MAIL (PeopleTools 8.46 or higher only) to generate emails instead of using SendMail peoplecode function.&lt;/p&gt; &lt;p&gt;Go to the PeopleBooks to get the complete description.&lt;/p&gt; &lt;p&gt;Home &amp;gt; PeopleBooks &amp;gt; Enterprise PeopleTools 8.48 PeopleBook: PeopleCode API Reference &amp;gt; Mail Classes&lt;/p&gt; &lt;p&gt;Go to Mail Classed Example section to see How to use these classes. Following examples are provided.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Creating Text Email&lt;/li&gt; &lt;li&gt;Creating Email and Overriding SMTP Settings&lt;/li&gt; &lt;li&gt;Creating HTML Email&lt;/li&gt; &lt;li&gt;Creating Multi-Part Email With Both Text and HTML Parts&lt;/li&gt; &lt;li&gt;Creating HTML Email with Images&lt;/li&gt; &lt;li&gt;Creating Email with Attachments&lt;/li&gt; &lt;li&gt;Creating Email Attachments Specifying a URL&lt;/li&gt; &lt;li&gt;Creating Multiple Emails&lt;/li&gt; &lt;li&gt;Authenticating Email While Sending&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Advantages&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Structured Code&lt;/li&gt; &lt;li&gt;Can generate HTML Email&lt;/li&gt; &lt;li&gt;Can override Default SMTP Parameters&lt;/li&gt; &lt;li&gt;Better Error Handling&lt;/li&gt; &lt;li&gt;Send emails&amp;nbsp; return receipt request (email reception notification)&lt;/li&gt; &lt;li&gt;Ability to set Message priority&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Reference&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="http://xtrahot.chili-mango.net/2006/04/rich-emails-using-sendmail/" target="_blank"&gt;Rich emails using SendMail()&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Issues&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&amp;nbsp; You might not be able to use &lt;strong&gt;GetHTMLText&lt;/strong&gt; in Application Engine program run using process scheduler or in 2 tier mode, as this function does not support bind variables in 2 tier mode. PeopleBooks list the following constraints for this function.&lt;br&gt;&lt;br&gt;&lt;strong&gt;Restrictions on Use&lt;/strong&gt;&lt;/li&gt; &lt;p&gt;Use this function with the PeopleSoft Pure Internet Architecture. If run from a 2 tier environment, the &lt;strong&gt;parameter&lt;/strong&gt; substitution &lt;strong&gt;does &lt;i&gt;not&lt;/i&gt; take&lt;/strong&gt; place. &lt;/p&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-8150758422365139509?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/8150758422365139509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=8150758422365139509' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8150758422365139509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8150758422365139509'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/11/alternative-to-sendmail-function.html' title='Alternative to SendMail Function : PT_MCF_MAIL'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-8345479880476451641</id><published>2007-11-23T13:40:00.001-05:00</published><updated>2007-11-23T13:40:55.207-05:00</updated><title type='text'>Oracle Openworld 2007 PeopleSoft Conference Sessions</title><content type='html'>&lt;p&gt;You can download pdf file of the conference presentations for PeopleSoft at the following link.&lt;/p&gt; &lt;p&gt;&lt;a title="Peoplesoft Sessions - Oracle Openworld 2007" href="http://www28.cplan.com/cc176/catalog.jsp?ilc=176-1&amp;amp;ilg=english&amp;amp;isort_sessions=&amp;amp;isort_demos=&amp;amp;isort_exhibitors=&amp;amp;is=yes&amp;amp;ip=%3C%2Fipresentations%3E&amp;amp;isort_sessions_type=&amp;amp;isort_exhibitors_type=&amp;amp;isort_demos_type=&amp;amp;search_sessions=yes&amp;amp;icriteria1=25339&amp;amp;icriteria2=+&amp;amp;icriteria5=&amp;amp;icriteria4=+&amp;amp;icriteria8=&amp;amp;icriteria9=+&amp;amp;icriteria6=&amp;amp;icriteria3=+&amp;amp;icriteria7=" target="_blank"&gt;PeopleSoft Sessions - Oracle Openworld 2007&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-8345479880476451641?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/8345479880476451641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=8345479880476451641' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8345479880476451641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8345479880476451641'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/11/oracle-openworld-2007-peoplesoft.html' title='Oracle Openworld 2007 PeopleSoft Conference Sessions'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-7610319056876224879</id><published>2007-11-21T12:20:00.001-05:00</published><updated>2007-11-21T12:20:57.684-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Services'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>Microsoft Oracle and PeopleSoft White papers</title><content type='html'>&lt;p&gt;This site provides the white papers specifically targeting Oracle PeopleSoft Enterprise Customers using Microsoft technologies for e.g. Share Point server, SQL Server. It also offers tips and techniques and provided a step by step instruction for integrating share point portal with PeopleSoft using web services.&lt;/p&gt; &lt;p&gt;&lt;a title="Microsoft - Oracle - PeopleSoft white papers" href="http://www.microsoft-oracle.com/PeopleSoft/Pages/default.aspx" target="_blank"&gt;Microsoft - Oracle - PeopleSoft white papers&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Following are some of the interesting white papers that customers can take advantage of.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Connecting Microsoft Office InfoPath 2003 to PeopleSoft &lt;/li&gt; &lt;li&gt;Connecting PeopleSoft and Microsoft Excel using the Information Bridge Framework &lt;/li&gt; &lt;li&gt;Integrating Microsoft Office SharePoint Portal Server 2007 with PeopleSoft Enterprise Applications &lt;/li&gt; &lt;li&gt;Peoplesoft Performance Tuning on Microsoft SQL Server &lt;/li&gt; &lt;li&gt;PeopleSoft Red Paper: Microsoft SQL Server Tuning Tips for PeopleSoft 8.x&lt;/li&gt; &lt;li&gt;Connecting to PeopleSoft Web Services with Microsoft Visual Studio .NET&lt;/li&gt; &lt;li&gt;Connecting Microsoft Office InfoPath 2003 to Peoplesoft &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;You may also want to look at following Oracle Open World 2007 Session PDF file.&lt;/p&gt; &lt;p&gt;Integrating PeopleSoft Applications with Microsoft Oracle. (Steve Fox from Microsoft presented the session). &lt;/p&gt; &lt;p&gt;He demonstrated how to use Microsoft Visual studio 2008 Office programming to connect outlook with PeopleSoft back end data. Demo showed a form in outlook that displayed recruitment information from PeopleSoft in outlook.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-7610319056876224879?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/7610319056876224879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=7610319056876224879' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7610319056876224879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7610319056876224879'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/11/microsoft-oracle-and-peoplesoft-white.html' title='Microsoft Oracle and PeopleSoft White papers'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-7420698091668857550</id><published>2007-06-01T10:46:00.001-04:00</published><updated>2007-06-01T10:46:20.121-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Configuration'/><title type='text'>Determine Languages installed for your PeopleSoft Application.</title><content type='html'>&lt;p&gt;You can use this SQL to find out which languages are already installed for your installation.&lt;/p&gt; &lt;p&gt;select * from PSLANGUAGES where installed = 1 &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-7420698091668857550?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/7420698091668857550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=7420698091668857550' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7420698091668857550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7420698091668857550'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/06/determine-languages-installed-for-your.html' title='Determine Languages installed for your PeopleSoft Application.'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-8183744754254455086</id><published>2007-05-10T16:19:00.001-04:00</published><updated>2007-06-01T10:43:08.904-04:00</updated><title type='text'>Find if the current user has been assigned the named role</title><content type='html'>&lt;p&gt;You can use this in your peoplecode to determine if the current logged in user has&amp;nbsp;role assigned to him.&lt;/p&gt; &lt;p&gt;&amp;amp;IND = %Roles.Find("MYROLENAME");&lt;/p&gt; &lt;p&gt;IF &amp;amp;IND &amp;lt;&amp;gt; 0 Then&lt;/p&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* User has this Role */&lt;/p&gt; &lt;p&gt;or&amp;nbsp; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp; /* User does not have this Role */&lt;/p&gt; &lt;p&gt;end-if&lt;/p&gt; &lt;p&gt;You can also use the peoplecode function IsUserInRole("ROLENAME") to find the same.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-8183744754254455086?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/8183744754254455086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=8183744754254455086' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8183744754254455086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/8183744754254455086'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/05/find-if-current-user-has-been-assigned.html' title='Find if the current user has been assigned the named role'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-3526764680623408988</id><published>2007-04-20T14:00:00.001-04:00</published><updated>2007-04-20T14:00:05.426-04:00</updated><title type='text'>Export to PDF Fix for Crystal Report 8.5</title><content type='html'>&lt;p&gt;If you try to run Export to PDF from Crystal Report 8.5 Report designer, it does not work. To resolve this, download this &lt;a href="http://support.businessobjects.com/communityCS/FilesAndUpdates/dbexdrvrwin_en.zip"&gt;hot fix&lt;/a&gt; from businessobject web site and install it. &lt;a href="http://support.businessobjects.com/downloads/monthly_hot_fixes/crystalreports.asp#02" target="_blank"&gt;Click here&lt;/a&gt; to get list of all downloads available for 8.5&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-3526764680623408988?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/3526764680623408988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=3526764680623408988' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/3526764680623408988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/3526764680623408988'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/04/export-to-pdf-fix-for-crystal-report-85.html' title='Export to PDF Fix for Crystal Report 8.5'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-7214160608326931939</id><published>2007-04-20T13:49:00.001-04:00</published><updated>2007-04-20T13:49:49.286-04:00</updated><title type='text'>Crystal Report Tip: Know the height and width of a object</title><content type='html'>&lt;p&gt;In Crystal Report, you can right click on any field or object and select Object Size and Position.&lt;/p&gt; &lt;p&gt;&lt;img src="http://ketan.web.googlepages.com/object_size_and_position_right_click.jpg"&gt; &lt;/p&gt; &lt;p&gt;&lt;img src="http://ketan.web.googlepages.com/object_size_and_position.jpg"&gt; &lt;/p&gt; &lt;p&gt;This can help you align two objects horizontally or vertically using same x and y coordinate and also allow you to set the same height and width. Very useful, when you need to delete one field and add another from different source. Just note down the all the values before deleting and set the values after adding the new object.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-7214160608326931939?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/7214160608326931939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=7214160608326931939' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7214160608326931939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7214160608326931939'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/04/crystal-report-tip-know-height-and.html' title='Crystal Report Tip: Know the height and width of a object'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-1855411334495868854</id><published>2007-04-20T13:41:00.001-04:00</published><updated>2007-04-20T13:41:27.489-04:00</updated><title type='text'>How to link Sub Report to Main Crystal Report</title><content type='html'>&lt;p&gt;Sub reports allows to use another query as a data source, different from the main query. You can have as many subreports as you want. Sub reports can not have another sub report inside it. One of the challenge is to link the sub report parameters with main report, so that sub report query is executed for the every row retrieved from the main report. This is easy.&lt;/p&gt; &lt;p&gt;I will explain this using a Sample. Let's say we are designing a report that prints user profile information. The main query is based on psoprdefn and is used in the main report. The Sub report is based on psroleuser and is used in the subreport to print role names for each user selected in the main query.&lt;/p&gt; &lt;p&gt;Click Insert -&amp;gt; Sub Report&lt;/p&gt; &lt;p&gt;Select Create a Sub Report and Type in PSROLEUSER and click on Report Expert.&lt;/p&gt; &lt;p&gt;Click on Database and Select the Query name. Complete the rest of steps by clicking on Next. Once you return to main Insert Subreport dialog box, Select Link tab. You can also change links for sub report later on by right clicking on sub report and selecting Change Subreport links.&lt;/p&gt; &lt;p&gt;Select Oprid from Available Fields and Click on &amp;gt; button to move it to Fields(s) to link To. &lt;/p&gt; &lt;p&gt;Now Click on Subreport Parameter fields to use: &lt;/p&gt; &lt;p&gt;&lt;img src="http://ketan.web.googlepages.com/crystal_subreport_parameter_fields.jpg"&gt; &lt;/p&gt; &lt;p&gt;Click on tiny Scroll bar, (Note: Do not use ?Pm-GF_C_PSOPRDEFN.OPRID as your parameter to link to).&lt;/p&gt; &lt;p&gt;Once you see the parameter field for the sub query i.e. user id select it.&lt;/p&gt; &lt;p&gt;&lt;img src="http://ketan.web.googlepages.com/crystal_subreport_parameter_fields1.jpg"&gt; &lt;/p&gt; &lt;p&gt;Note: Both main query and subquery has a common parameter i.e. oprid or Userid. We need to match the Oprid field from main query and assign it to Parameter field of the sub query and do not use autogenerated Crystal Report parameter. There may be other ways to achieve the same results, but i found this works best.&lt;/p&gt; &lt;p&gt;Once you insert the subreport to main report, Right click on it and select border and colors. Set Line style to none for Left, Right, Top and Bottom. Right click on Subreport and Select Edit SubReport. You may want to Delete Report Header and Report footer in the subreport and arrange the fields and add any additional information you need. Also delete the Print Date special field.&lt;/p&gt; &lt;p&gt;Note: This is based on Crystal Report 8.5&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-1855411334495868854?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/1855411334495868854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=1855411334495868854' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/1855411334495868854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/1855411334495868854'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/04/how-to-link-sub-report-to-main-crystal.html' title='How to link Sub Report to Main Crystal Report'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-496162655441571990</id><published>2007-04-20T09:48:00.001-04:00</published><updated>2007-04-20T09:50:11.500-04:00</updated><title type='text'>Crystal Report 8.5 and SubReports</title><content type='html'>&lt;p&gt;If you have a linked sub report in Main Crystal Report, every time you open the main report, it re imports the sub report if it founds the sub report in the same location. This is despite the fact that Re-import Subreports when Opening Reports check box is unchecked. &lt;/p&gt; &lt;p&gt;&lt;img src="http://ketan.web.googlepages.com/crystal_subreport_options.jpg"&gt; &lt;/p&gt; &lt;p&gt;This seems to me a bug. Similar bug in Crystal 10 has been reported on businessobject support web site.&lt;/p&gt; &lt;p&gt;&lt;a href="http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&amp;amp;docType=kc&amp;amp;externalId=c2017466&amp;amp;sliceId=&amp;amp;dialogID=19546986&amp;amp;stateId=1%200%2019552172" target="_blank"&gt;Clearing the 'Re-import Subreport on Open' check box does not work (c2017466)&lt;/a&gt; &lt;/p&gt; &lt;p&gt;This creates a annoying behavior, as Crystal report will remove the links between main report and sub report. Only workaround I have found is to rename the sub reports or move them to other folders, once they are imported in main report. If Crystal Report does not find the sub report in the original location, it does not re import the sub report.&lt;/p&gt; &lt;p&gt;If any body has encountered the similar issues, please post it in the comments section.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-496162655441571990?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/496162655441571990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=496162655441571990' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/496162655441571990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/496162655441571990'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/04/crystal-report-85-and-subreports.html' title='Crystal Report 8.5 and SubReports'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-330677013745904880</id><published>2007-03-26T16:01:00.001-04:00</published><updated>2007-03-26T16:01:56.692-04:00</updated><title type='text'>Determine Hidden Folders and Content References for Portal Navigation</title><content type='html'>&lt;p&gt;If you do not see a folder or content Reference (Menu Item) in Left hand side navigation, (Applicable to 8.4x ) then you must check to see if the folder or content reference is not marked as hidden. Other reasons could be security. Here is a SQL to find out all the objects that are hidden.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;To find all the folders which are hidden from Portal Navigation.&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;select * from PSPRSMSYSATTRVL where portal_name = 'EMPLOYEE' and PORTAL_ATTR_NAM = 'PORTAL_HIDE_FROM_NAV' and portal_Reftype = 'F' &lt;/p&gt; &lt;p&gt;select a.portal_objname,b.portal_label,b.portal_prntobjname,c.portal_label&lt;br&gt;from PSPRSMSYSATTRVL a,psprsmdefn b,psprsmdefn c where a.portal_name = 'EMPLOYEE' &lt;br&gt;and a.PORTAL_ATTR_NAM = 'PORTAL_HIDE_FROM_NAV' &lt;br&gt;and b.portal_Reftype = 'F' and a.portal_name = b.portal_name &lt;br&gt;and a.portal_objname = b.portal_objname&lt;br&gt;and b.portal_name = c.portal_name&lt;br&gt;and b.portal_prntobjname = c.portal_objname &lt;p&gt;&lt;strong&gt;To find all the content references which are hidden from Portal Navigation. &lt;/strong&gt;&lt;/p&gt; &lt;p&gt;select * from PSPRSMSYSATTRVL where portal_name = 'EMPLOYEE' and PORTAL_ATTR_NAM = 'PORTAL_HIDE_FROM_NAV' and portal_Reftype = 'C'  &lt;p&gt;select a.portal_objname,b.portal_label,b.portal_prntobjname,c.portal_label&lt;br&gt;from PSPRSMSYSATTRVL a,psprsmdefn b,psprsmdefn c where a.portal_name = 'EMPLOYEE' &lt;br&gt;and a.PORTAL_ATTR_NAM = 'PORTAL_HIDE_FROM_NAV' &lt;br&gt;and b.portal_Reftype = 'C' and a.portal_name = b.portal_name &lt;br&gt;and a.portal_objname = b.portal_objname&lt;br&gt;and b.portal_name = c.portal_name&lt;br&gt;and b.portal_prntobjname = c.portal_objname &lt;p&gt;&amp;nbsp; &lt;p&gt;Replace EMPLOYEE with Your portal name. Some of the Other names are. &lt;p&gt;CUSTOMER&lt;br&gt;DEMOSITE&lt;br&gt;EMPLOYEE&lt;br&gt;MOBILE&lt;br&gt;PORTAL&lt;br&gt;PS_SITETEMPLATE&lt;br&gt;SUPPLIER &lt;p&gt;Portal Content Reference/folder Attributes are stored in &lt;p&gt;PSPRSMSYSATTR &lt;p&gt;PSPRSMSYSATTRVL &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-330677013745904880?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/330677013745904880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=330677013745904880' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/330677013745904880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/330677013745904880'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/03/determine-hidden-folders-and-content.html' title='Determine Hidden Folders and Content References for Portal Navigation'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-1997685870763114725</id><published>2007-02-22T17:55:00.001-05:00</published><updated>2007-02-22T17:55:27.072-05:00</updated><title type='text'>Online Performance Configuration Guidelines for PeopleTools 8.45, 8.46 and 8.47, 8.48</title><content type='html'>&lt;p&gt;You should carefully review and implement ther performance guidelines to get Optimal performance from your PeopleSoft Application. This document is posted on Customer connection and you will need a loginid and password to access it. Here is the direct link.&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.peoplesoft.com/media/cupa/pdf/red_paper/rp_e_opcg_845_846_847_848.htm" target="_blank"&gt;Online Performance Configuration Guidelines for PeopleTools 8.45, 8.46 and 8.47, 8.48&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-1997685870763114725?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/1997685870763114725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=1997685870763114725' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/1997685870763114725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/1997685870763114725'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/02/online-performance-configuration.html' title='Online Performance Configuration Guidelines for PeopleTools 8.45, 8.46 and 8.47, 8.48'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-3888557963864699272</id><published>2007-02-20T16:34:00.001-05:00</published><updated>2007-02-20T16:34:35.773-05:00</updated><title type='text'>Troubleshoot Workflow EMAIL (SMTP Server) issues.</title><content type='html'>&lt;p&gt;Many time End users get an Error message : Unable to Send Email, Invalid ID, while saving the page. This usually means some kind of issue while sending email from your appserver or batchserver using the SMTP Server. The error message is not correct and to get the exact reason, why send email is failing, you need to add/Update the following in your appserver configuration (PSAPPSERV.CFG) or batch server Configuration (PSPRCS.CFG) under SMTP Settings.&lt;/p&gt; &lt;p&gt;SMTPTrace=1&lt;/p&gt; &lt;p&gt;1 means enabled, 0 - Disabled. This setting is sometimes not present in PSPRCS.CFG. You have to add it manually opening the file. This setting is dynamic and does not require reboot of the Server, which is very good for troubleshooting in production environments. &lt;/p&gt; &lt;p&gt;Once turned on, it will generate Trace file SMTP.LOG in LOGS Folder under $PS_HOME/tools/appserv/DOMAIN for Appserver and $PS_HOME/tools/appserv/prcs/DOMAIN for Batchserver.&lt;br&gt;&lt;br&gt;Open SMTP.LOG and fix the issues logged in it. This will make your users to save the page.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-3888557963864699272?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/3888557963864699272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=3888557963864699272' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/3888557963864699272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/3888557963864699272'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/02/troubleshoot-workflow-email-smtp-server.html' title='Troubleshoot Workflow EMAIL (SMTP Server) issues.'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-4193488414284572402</id><published>2007-02-20T16:21:00.001-05:00</published><updated>2007-02-20T16:21:11.588-05:00</updated><title type='text'>Login to Two Tier using your Enterprise LDAP ID.</title><content type='html'>&lt;p&gt;Normally, If you use LDAP Authentication for logging into your PeopleSoft application, you can not use the same id to login in Two Tier. This will force you to have multiple ids as you can do following in only two tier mode.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Data Mover access&lt;/li&gt; &lt;li&gt;Run Compare Reports&lt;/li&gt; &lt;li&gt;Build SQL Tables&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;This is not very convenient and not a secure approach. PeopleSoft&amp;nbsp; &lt;strong&gt;SOLUTION ID 200735608 - E-LDAP: LDAP Authentication does not work in 2-tier&lt;/strong&gt; describes this behavior.&lt;/p&gt; &lt;p&gt;I have found this undocumented Trick to use the same LDAP ID to login to App Designer in Two tier mode. I have tested this in PeopleTools 8.43 only and it may not work in higher tools release. (Let me know in comments) Note: &lt;strong&gt;This trick does not bypass peoplesoft security.&lt;/strong&gt; If you do not have access to underlying components or menu items (for e.g. DATA MOVER Or Run compare reports or Build SQL), you won't be able to perform this. &lt;/p&gt; &lt;p&gt;Here are the Steps.&lt;/p&gt; &lt;ol&gt; &lt;li&gt;Login to App Designer in Three Tier. If you get an error message (&lt;strong&gt;You cannot sign on because the password for this user (PSOPRDEFN.OPERPSWD) isn't encrypted. Run encrypt_password * in Datamover, or change the password in Maintain Security.) , &lt;/strong&gt;Press OK to continue and you will be logged in App Designer. &lt;strong&gt;The above message is a warning only and it does not prevent you from signon.&lt;/strong&gt; This is identified as a known issue and is fixed in PeopleTools 8.46. See SOLUTION ID 200776124 - E-LDAP: Cannot logon 3 tier with LDAP user as ENCRYPTED field on PSOPRDEFN is set to 0 &lt;/li&gt; &lt;li&gt;Now Login to App Designer by running this from Start -&amp;gt; Run or create a shortcut on the desktop.&lt;br&gt;&lt;br&gt;&amp;lt;path to pside&amp;gt;pside.exe -CT ORACLE -CD dbname -CO userid -CI people -SUBSEQUENT -MN"APPLICATION_DESIGNER"&lt;br&gt;&lt;br&gt;Replace ORACLE With your DBType, userid with your LDAP Userid, people with your connectid if different. Note you do not need password as you are already logged in. &lt;/li&gt; &lt;li&gt;You can run Data Mover&amp;nbsp;from Go -&amp;gt; Data Mover Command once you are logged in 2 Tier mode.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-4193488414284572402?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/4193488414284572402/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=4193488414284572402' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/4193488414284572402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/4193488414284572402'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/02/login-to-two-tier-using-your-enterprise.html' title='Login to Two Tier using your Enterprise LDAP ID.'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-7073269056549802214</id><published>2007-02-20T16:02:00.001-05:00</published><updated>2007-02-20T16:02:37.764-05:00</updated><title type='text'>Use Dynamic SQL for Prompts - SqlText</title><content type='html'>&lt;p&gt;Normally you can not use dynamically generated SQL at runtime as your prompt record. You can use %EDITTABLE to specify the prompt table you want to use, but it has to be predefined. There is this little known property&amp;nbsp;&lt;strong&gt;SqlText&lt;/strong&gt; for Field Class, which allows you to do exactly that.&lt;/p&gt; &lt;p&gt;Here is the description and sample code taken from peoplebooks.&lt;/p&gt; &lt;p&gt;This property is valid only for fields that have a &lt;strong&gt;dynamic view&lt;/strong&gt; as their prompt record. If you set SqlText to a non-null value, that text is used instead of the dynamic view's normal text used for prompting. &lt;/p&gt; &lt;p&gt;Suppose you wanted to have a different prompt table depending on the settings of other fields in the row. Normally you could use %EDITTABLE to dynamically specify the prompt table you want. However in this case there are too many possible combinations of values, which would require too many views. Furthermore, the values are customizable by the end-user or the application, which means even if you, the developer, wanted to, you couldn't provide all the combinations of views necessary. However you can generate the desired SQL text for the view in PeopleCode based on what the user enters.  &lt;p&gt;If you use a dynamic view as the prompt table, and have the dynamic view contain a SQL object that is updated from PeopleCode, you could achieve this functionality. However, a SQL object is a shared object, so if multiple users used the same page, they overwrite each other's settings and the SQL object contains the SQL for the most recent user. Similarly if a single user had multiple rows on a page, the SQL object is valid only for the most recent row. This means if the user went to another row and did a prompt, they would get the wrong values again.  &lt;p&gt;The purpose of this property is to enable you to specify the generated SQL text independently for each occurrence in each transaction. It enables you to override the text of a dynamic view being used as a prompt table on a field by field basis.  &lt;p&gt;It is up to the developer to verify that the text specified for this property is valid, that is, that it selects the correct number of fields for the record definition, and so on.  &lt;p&gt;This property is read-write.  &lt;p&gt;Local string &amp;amp;SQLSTRING;  &lt;p&gt;Function set_jrnl_id_prompt();&lt;br&gt;&amp;amp;SQLSTRING = "SELECT DISTINCT JOURNAL_ID, BUSINESS_UNIT_IU, JOURNAL_DATE, LEDGER_GROUP, SOURCE, SYSTEM_SOURCE, PROC_PART_ID, JRNL_HDR_STATUS, DESCR FROM PS_JRNL_HEADER WHERE JRNL_HDR_STATUS IN ('N','E','V')"&lt;br&gt;If All(JRNL_EDIT_REQ.BUSINESS_UNIT) Then&lt;br&gt;&amp;amp;SQLSTRING = &amp;amp;SQLSTRING | " AND BUSINESS_UNIT_IU='" | JRNL_EDIT_REQ.BUSINESS_UNIT | "'"&lt;br&gt;End-If;&lt;br&gt;If All(JRNL_EDIT_REQ.LEDGER_GROUP) Then&lt;br&gt;&amp;amp;SQLSTRING = &amp;amp;SQLSTRING | " AND LEDGER_GROUP='" | JRNL_EDIT_REQ.LEDGER_GROUP | "'"&lt;br&gt;End-If;&lt;br&gt;If All(JRNL_EDIT_REQ.SOURCE) Then&lt;br&gt;&amp;amp;SQLSTRING = &amp;amp;SQLSTRING | " AND SOURCE='" | JRNL_EDIT_REQ.SOURCE | "'"&lt;br&gt;End-If;&lt;br&gt;If All(JRNL_EDIT_REQ.SYSTEM_SOURCE) Then&lt;br&gt;&amp;amp;SQLSTRING = &amp;amp;SQLSTRING | " AND SYSTEM_SOURCE='" | JRNL_EDIT_REQ.SYSTEM_SOURCE | "'"&lt;br&gt;End-If;&lt;br&gt;If All(JRNL_EDIT_REQ.PROC_PART_ID) Then&lt;br&gt;&amp;amp;SQLSTRING = &amp;amp;SQLSTRING | " AND PROC_PART_ID='" | JRNL_EDIT_REQ.PROC_PART_ID | "'"&lt;br&gt;End-If;&lt;br&gt;GetRecord().GetField(Field.JOURNAL_ID_FROM).SqlText = &amp;amp;SQLSTRING;&lt;br&gt;GetRecord().GetField(Field.JOURNAL_ID_TO).SqlText = &amp;amp;SQLSTRING;&lt;br&gt;End-Function;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-7073269056549802214?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/7073269056549802214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=7073269056549802214' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7073269056549802214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/7073269056549802214'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2007/02/use-dynamic-sql-for-prompts-sqltext.html' title='Use Dynamic SQL for Prompts - SqlText'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-5821280978187979369</id><published>2006-12-19T16:33:00.001-05:00</published><updated>2006-12-19T18:12:15.074-05:00</updated><title type='text'>Data being added conflicts with existing data</title><content type='html'>&lt;p&gt;If users are encountering this error, chances are that your sequence no. table is out of synch with your main transaction table. For e.g. this can happen while hiring a new employee and a new employee id needs to be generated. PeopleSoft delivered code uses SQLExec approach to &lt;/p&gt; &lt;ul&gt; &lt;li&gt;First Update the Sequence to next number  &lt;li&gt;Selecting the sequence from the table  &lt;li&gt;Assign this to page field &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;This method works fine, except where you are calling this function conditionally in Saveprechange event and Subsequent workflow or savepostchange event errors out and PeopleSoft issues rollback and all changes to database are rolled back. This results in Sequence no table not being updated to next value. However the actual page field is updated with this new value. If the user is able to correct the error and save the page again, the peoplecode to update the sequence does not fire due to it's conditional execution. (for e.g. EMPLID = 'NEW' as emplid is already equal to a new value). Remember, error does not clear the page values only rolls back database changes. This results in your emplid in person table&amp;nbsp;higher than&amp;nbsp;last employee id in installation table. Now when the users trying to hire new employees it gives the&amp;nbsp;above error.&lt;/p&gt; &lt;p&gt;The best way to avoid this is to use &lt;strong&gt;GetNextNumberWithGaps &lt;/strong&gt;peoplecode function, which automatically increments the counter and commits the value to database. This also improves the database locking. &lt;/p&gt; &lt;p&gt;If for some reason you can not use this function, you can still use &lt;strong&gt;GetNextNumber&lt;/strong&gt; or &lt;strong&gt;SQLExec&lt;/strong&gt; and make sure that this gets executed all the time, even after the error has occurred in Workflow or savepostchange event. Instead of evaluating the current value of emplid = 'NEW' , store the value when the user enters the component in a component variable and use that variable for comparison. This will ensure that your update logic is firing all the time.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Here is the Old PeopleCode&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Function assign_employee_id(&amp;amp;EMPLID);&lt;br&gt;&amp;amp;LENGTH = INSTALLATION.EMPLID_LENGTH;&lt;br&gt;&amp;amp;CHECK = Rept("9", &amp;amp;LENGTH);&lt;br&gt;SQLExec("Update PS_INSTALLATION Set EMPLID_LAST_EMPL = EMPLID_LAST_EMPL + 1");&lt;br&gt;SQLExec("Select EMPLID_LAST_EMPL From PS_INSTALLATION", &amp;amp;EMPLID);&lt;br&gt;If Value(&amp;amp;EMPLID) &amp;gt; Value(&amp;amp;CHECK) Then&lt;br&gt;SQLExec("Update PS_INSTALLATION Set EMPLID_LAST_EMPL = EMPLID_LAST_EMPL - 1");&lt;br&gt;Error MsgGet(1000, 74, "The maximum Employee ID of %1 has been assigned.", &amp;amp;CHECK);&lt;br&gt;Else&lt;br&gt;&amp;amp;EMPLID = Rept("0", &amp;amp;LENGTH - Len(&amp;amp;EMPLID)) | &amp;amp;EMPLID;&lt;br&gt;End-If;&lt;br&gt;End-Function;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Here is the new PeopleCode&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Function assign_employee_id(&amp;amp;EMPLID);&lt;br&gt;&amp;amp;LENGTH = INSTALLATION.EMPLID_LENGTH;&lt;br&gt;&amp;amp;CHECK = Rept("9", &amp;amp;LENGTH);&lt;br&gt;&amp;amp;EMPLID = GetNextNumberWithGaps(INSTALLATION.EMPLID_LAST_EMPL,&amp;amp;CHECK,1);&lt;br&gt;Evaluate &amp;amp;EMPLID&lt;br&gt;When = %GetNextNumber_SQLFailure &lt;br&gt;/* Do Error processing */ &lt;br&gt;break;&lt;br&gt;When = %GetNextNumber_TooBig &lt;br&gt;Error MsgGet(1000, 74, "The maximum Employee ID of %1 has been assigned.", &amp;amp;CHECK);&lt;br&gt;break;&lt;br&gt;When = %GetNextNumber_NotFound &lt;br&gt;/* Do Error processing */ &lt;br&gt;break;&lt;br&gt;When-other &lt;br&gt;&amp;amp;EMPLID = Rept("0", &amp;amp;LENGTH - Len(&amp;amp;EMPLID)) | &amp;amp;EMPLID;&lt;br&gt;End-Evaluate;&lt;br&gt;End-Function;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-5821280978187979369?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/5821280978187979369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=5821280978187979369' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/5821280978187979369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/5821280978187979369'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/12/data-being-added-conflicts-with.html' title='Data being added conflicts with existing data'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-4306386255808344844</id><published>2006-12-15T10:35:00.001-05:00</published><updated>2006-12-15T10:46:36.492-05:00</updated><title type='text'>Search PeopleSoft Customer Connection for Solutions to most common issues</title><content type='html'>&lt;p&gt;PeopleSoft customer connection website has been recently enhanced with a new feature : &lt;strong&gt;Knowledge browser. &lt;/strong&gt;This will allow you to look for most common resolutions easily. You can also download a spreadsheet containing solutions by product area.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Navigation : &lt;/strong&gt;Support -&amp;gt; Online Support -&amp;gt; Knowledge Browser -&amp;gt; Peoplesoft Enterprise&lt;/p&gt; &lt;p&gt;Direct URL : &lt;a title="http://urlic.com/knowledgebrowser" href="http://urlic.com/knowledgebrowser" target="_blank"&gt;http://urlic.com/knowledgebrowser&lt;/a&gt;&amp;nbsp;(Enter your customer connection Userid and password). Following High level topics are available.&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="http://urlic.com/etools" target="_blank"&gt;Enterprise Tools&lt;/a&gt; : &lt;a href="http://urlic.com/listetools" target="_blank"&gt;Spreadsheet of All Tools Solutions&lt;/a&gt; &lt;ul&gt; &lt;li&gt;Core Tools : Application Engine, Cobol, Workflow, PIA, Enterprise Portal  &lt;li&gt;App Development : Application Designer, LDAP, Security, Peoplecode, Panel Processor, Mobile  &lt;li&gt;Install and Upgrade : Change Assistant, Install, Upgrade, Certification  &lt;li&gt;Reporting Tools : Query, Tree Manager, Crystal, nVision, Report distribution, Ren Server, Process scheduler, ACE, Cube Manager, BAM  &lt;li&gt;Server Tools : Application Server, Web Server, Tuxedo, Verity  &lt;li&gt;Performance : Performance, Performance Monitor  &lt;li&gt;Integration Tools : Integration Broker, Component Interface, Business Interlink, Multi Channel Framework  &lt;li&gt;Updates and Fixes  &lt;li&gt;Documentation and Training Tools : User Productivity Kit, PeopleBooks, End User Training&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;&lt;a href="http://urlic.com/finance" target="_blank"&gt;Financial Management&lt;/a&gt;  &lt;li&gt;&lt;a href="http://urlic.com/hrms" target="_blank"&gt;Human Capital Management&lt;/a&gt;  &lt;li&gt;&lt;a href="http://urlic.com/campus" target="_blank"&gt;Campus Solutions&lt;/a&gt;  &lt;li&gt;&lt;a href="http://urlic.com/crm" target="_blank"&gt;Customer Relationship Management&lt;/a&gt;  &lt;li&gt;&lt;a href="http://urlic.com/elm" target="_blank"&gt;Enterprise Learning Management&lt;/a&gt;  &lt;li&gt;&lt;a href="http://urlic.com/epm" target="_blank"&gt;Enterprise Performance Management&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-4306386255808344844?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/4306386255808344844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=4306386255808344844' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/4306386255808344844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/4306386255808344844'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/12/search-peoplesoft-customer-connection.html' title='Search PeopleSoft Customer Connection for Solutions to most common issues'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-4428748472696360781</id><published>2006-12-11T11:58:00.001-05:00</published><updated>2006-12-11T15:13:38.173-05:00</updated><title type='text'>Download Oracle OpenWorld Presentations for Peoplesoft</title><content type='html'>&lt;p&gt;&lt;/p&gt; &lt;p&gt;You can download Oracle OpenWorld Presentations at &lt;a href="http://urlic.com/openworld2006" target="_blank"&gt;http://urlic.com/openworld2006&lt;/a&gt; &lt;p&gt;Enter the following in the popup dialog box.&lt;br&gt;Username: cboracle &lt;br&gt;Password: oraclec6  &lt;p&gt;There are lot of useful presentations on PeopleSoft Upgrade. To search for peopleSoft technology related presentations, use following&lt;br&gt;Search In: Sessions&lt;br&gt;Key Topics: All&lt;br&gt;Track: Application Technology&lt;br&gt;Special Interests: PeopleSoft Enterprise  &lt;p&gt;or go to this URL at &lt;a href="http://urlic.com/peoplesoft_openworld2006" target="_blank"&gt;PeopleSoft Technology Presentations - Oracle Open World 2006&lt;/a&gt; &lt;p&gt;This returns total of 59 records.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-4428748472696360781?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/4428748472696360781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=4428748472696360781' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/4428748472696360781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/4428748472696360781'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/12/download-oracle-openworld-presentations.html' title='Download Oracle OpenWorld Presentations for Peoplesoft'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-5080278059772866657</id><published>2006-10-19T14:53:00.000-04:00</published><updated>2006-10-19T14:59:27.475-04:00</updated><title type='text'>Search Customer Connection Effectively</title><content type='html'>Type following Keyword : SPOTLIGHT and any other keyword to find most important resolutions. For e.g. To search for Crystal Relate issues, search for&lt;br /&gt;SPOTLIGHT crystal&lt;br /&gt;&lt;br /&gt;These resolutions are specially created to address specific issues. I just learned it today in Advisor webcast : PeopleTools 8.48 : Integration broker overview.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-5080278059772866657?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/5080278059772866657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=5080278059772866657' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/5080278059772866657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/5080278059772866657'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/10/search-customer-connection-effectively.html' title='Search Customer Connection Effectively'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-116014552798375391</id><published>2006-10-06T10:38:00.000-04:00</published><updated>2006-10-10T16:39:33.883-04:00</updated><title type='text'>Impact of U.S. Daylight Saving Time Changes in 2007 on peoplesoft</title><content type='html'>&lt;p&gt;US DST changes may require updating the JRE used in Web/App/Batch servers. More information can be found in these links&lt;/p&gt; &lt;p&gt;&lt;a href="http://java.sun.com/developer/technicalArticles/Intl/USDST/ "&gt;http://java.sun.com/developer/technicalArticles/In...&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.hp.com/products1/unix/java/DST-US.html"&gt;http://www.hp.com/products1/unix/java/DST-US.html&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Do you think it will also impact peopletools release as well. I do not see any documents on this on customer connection. Please share your thoughts on this issue. &lt;/p&gt; &lt;p&gt;I think this PeopleSoft Page and associated data stored in &lt;strong&gt;PSTIMEZONE&lt;/strong&gt; and &lt;strong&gt;PSDSTTIME&lt;/strong&gt; must be updated. I have seen one other record &lt;strong&gt;PSTZOFFSET&lt;/strong&gt; which may need to be updated, if you are using this in your environment. The data in this table is not required by peoplesoft and can be used in query to simplify the access to timezone data. This makes the time zone information available in a format that can be easily accessed with SQL. (Exception : May be used by Time and Labor. Check your installation). You may also want to update only for the period 2007 and onwards after applying the updated timezone information. &lt;/p&gt; &lt;p&gt;&lt;strong&gt;PeopleTools -&amp;gt; Utilities -&amp;gt; International -&amp;gt; TimeZones&lt;/strong&gt; and Hit the button &lt;strong&gt;Generate Query Offsets&lt;/strong&gt; and enter the start and end date for which you want to generate the information. This will delete the old data and enter the new data. You may want to update the data only for the year 2007 onwards only.&lt;/p&gt; &lt;p&gt;Here is a link to peoplebooks -&amp;gt; &lt;a href="https://financial.gmis.in.gov/htmldoc/eng/psbooks/tglb/htm/tglb03.htm" target="_blank"&gt;Unserstanding Time Zones&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Navigation for PeopleTools 8.4x&lt;/p&gt; &lt;p&gt;&lt;strong&gt;PeopleTools -&amp;gt; Utilities -&amp;gt; International -&amp;gt; Time zones&lt;/strong&gt;&lt;br&gt;Menu: Utilities &lt;br&gt;Component: TIMEZONEPNLGRP &lt;br&gt;Page: TIMEZONEDATA, DSTDATA &lt;br&gt;Record: PSTIMEZONE, PSDSTTIME&lt;/p&gt; &lt;p&gt;Here is the SQL to update the record.&lt;/p&gt; &lt;p&gt;INSERT INTO PSDSTTIME VALUES ( '2FirstSunNov', 'N', '11', 1, '0', 2, 0, 'First Sunday in Nov, 2:00am' )&lt;br&gt;INSERT INTO PSDSTTIME VALUES ( '22ndSunMar', 'N', '3', 2, '0', 2, 0, 'Second Sunday in March, 2:00am' )&lt;br&gt;UPDATE PSTIMEZONE SET DSTSTART='22ndSunMar' WHERE TIMEZONE IN ('AKST','CST','EST','MST','PST');&lt;br&gt;UPDATE PSTIMEZONE SET DSTEND='2FirstSunNov' WHERE TIMEZONE IN ('AKST','CST','EST','MST','PST');&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-116014552798375391?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/116014552798375391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=116014552798375391' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/116014552798375391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/116014552798375391'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/10/impact-of-us-daylight-saving-time.html' title='Impact of U.S. Daylight Saving Time Changes in 2007 on peoplesoft'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-115988831122078163</id><published>2006-10-03T11:11:00.000-04:00</published><updated>2006-10-08T11:50:53.653-04:00</updated><title type='text'>Define Optional Query Prompt/Criteria in PeopleSoft Query</title><content type='html'>To create a optional query criteria, in Peoplesoft Query create a prompt as expression as shown below&lt;br&gt;:1 OR :1 = ' '&lt;br&gt;Note their is a single space between two quotes. This will make query run with or without prompt. User can either provide the prompt value to return results for a specific value or leave it blank to return rows for all values.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-115988831122078163?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/115988831122078163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=115988831122078163' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115988831122078163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115988831122078163'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/10/define-optional-query-promptcriteria.html' title='Define Optional Query Prompt/Criteria in PeopleSoft Query'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-115930100114691625</id><published>2006-09-26T16:03:00.000-04:00</published><updated>2006-09-26T16:03:21.216-04:00</updated><title type='text'>Execute query from Lefthand Portal Navigation</title><content type='html'>&lt;p&gt;You can run PeopleSoft Query from Lefthand Portal Navigation. This helps the end user to navigate to remember the query name easily.&lt;/p&gt; &lt;p&gt;Go to Portal -&amp;gt; Structure and Content &lt;/p&gt; &lt;p&gt;Navigate to&amp;nbsp; the folder under which you want to create the content reference.&lt;/p&gt; &lt;p&gt;Add a new content reference and fill following fields as follows&lt;/p&gt; &lt;p&gt;Check No Template check box. This will remove the portal Header and Left hand menu navigation.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;URL information&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Node Name : Always use Local or appropriate remote node name&lt;/p&gt; &lt;p&gt;URL Type : PeopleSoft Generic URL&lt;/p&gt; &lt;p&gt;Portal URL : q/?ICAction=ICQryNameURL=PUBLIC.YOUR_QUERY_NAME&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Content Reference Attributes&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Name: NAVNEWWIN&lt;/p&gt; &lt;p&gt;Uncheck Translate check box.&lt;/p&gt; &lt;p&gt;Attribute value: true&lt;/p&gt; &lt;p&gt;This will open the query results in a new window.&lt;/p&gt; &lt;p&gt;Go to Security Tab and add appropriate permission list and save the content reference.&lt;/p&gt; &lt;p&gt;You may have to refresh the homepage to be able to see this new portal content reference in Left hand&amp;nbsp; Navigation menu.&lt;/p&gt; &lt;p&gt;This is applicable for PeopleTools 8.4x only.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-115930100114691625?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/115930100114691625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=115930100114691625' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115930100114691625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115930100114691625'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/09/execute-query-from-lefthand-portal.html' title='Execute query from Lefthand Portal Navigation'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-115876180514985376</id><published>2006-09-20T10:16:00.000-04:00</published><updated>2006-09-20T10:16:45.230-04:00</updated><title type='text'>Target Operator ID has 'No Access' to Upgrade. (62,14)</title><content type='html'>&lt;p&gt;&lt;/p&gt; &lt;p&gt;when you try to copy a project from one database to anonther, you get a message Target Operator ID has 'No Access' to Upgrade. (62,14). This is despite you have correct permission list assigned to the userid in target database. This is due to bug in PeopleTools and is fixed in &lt;strong&gt;8.46&lt;/strong&gt;. Here is a workaround. Run this query in your target database. &lt;p&gt;SELECT * FROM PSAUTHITEM WHERE CLASSID IN &lt;br&gt;(SELECT OPRCLASS FROM PSOPRCLS WHERE OPRID='xxxxx') AND &lt;br&gt;MENUNAME='APPLICATION_DESIGNER' AND BARNAME='UPGRADE'  &lt;p&gt;The operator class or permission list returned by very first row of query results, must have access to upgrade for that user. (AUTHORIZEDACTIONS = 4 for MENUNAME = APPLICATION_DESIGNER and BARNAME = UPGRADE). &lt;p&gt;Open Permission List, Go to PeopleTools Tab. Select Tools Permissions Link and Asign Full Access for Upgrade (at the bottom). Generally permission list &lt;strong&gt;PTPT1200&lt;/strong&gt; and Role &lt;strong&gt;PeopleTools &lt;/strong&gt;has access to copy the project to target database. &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-115876180514985376?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/115876180514985376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=115876180514985376' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115876180514985376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115876180514985376'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/09/target-operator-id-has-no-access-to.html' title='Target Operator ID has &apos;No Access&apos; to Upgrade. (62,14)'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-115591229951247374</id><published>2006-08-18T10:44:00.000-04:00</published><updated>2006-08-30T10:30:23.093-04:00</updated><title type='text'>Reset your PeopleSoft Password or AccessID Password</title><content type='html'>&lt;p&gt;Many times you may get a request from user to reset his password and you can not login to PeopleSoft Web App to do that. Here is a way to reset the password using your database SQL utility. This assumes that you can login to your database using valid Peoplesoft db account or superuser account.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;This resets the password = oprid&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;update psoprdefn&lt;br&gt;set operpswd = oprid,&lt;br&gt;encrypted = 0&lt;br&gt;where oprid = any_oprid;&lt;/p&gt; &lt;p&gt;Login to data mover (bootstrap mode or regular mode) &lt;br&gt;and run encrypt_password oprid;&lt;/p&gt; &lt;p&gt;2. For some reason, you login to Appdesigner and it gives following error message &lt;/p&gt; &lt;p&gt;SQL error. Stmt #: 2 Error Position: 0 Return: 404 - ORA-01017: invalid username/password; logon denied;  &lt;p&gt;This indicated that your database password and password stroed in PSACCESSPRFL (Encrypted format in accesspswd) are not in sync. &lt;br&gt;Run the following command in your database SQL Utility  &lt;p&gt;update PSACCESSPRFL&lt;br&gt;set accessid = 'peoplesoft_schema_id',&lt;br&gt;accesspswd = 'current_password',&lt;br&gt;encrypted = 0&lt;br&gt;where symbolicid = &amp;lt;your symbolic id&amp;gt;  &lt;p&gt;Login to App designer and it will let you login again and also encrypt the password in PSACCESSPRFL&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-115591229951247374?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/115591229951247374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=115591229951247374' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115591229951247374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115591229951247374'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/08/reset-your-peoplesoft-password-or.html' title='Reset your PeopleSoft Password or AccessID Password'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-115506354531359768</id><published>2006-08-08T14:56:00.000-04:00</published><updated>2006-08-08T14:59:05.826-04:00</updated><title type='text'>Another Application Designer is the Debugger. (143,7) error</title><content type='html'>If you are getting this error &lt;strong&gt;Another Application Designer is the Debugger. (143,7) error&lt;/strong&gt; then try the following&lt;br /&gt;&lt;br /&gt;Restart the application server after clearing the cache.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-115506354531359768?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/115506354531359768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=115506354531359768' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115506354531359768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115506354531359768'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/08/another-application-designer-is.html' title='Another Application Designer is the Debugger. (143,7) error'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-115282084978797345</id><published>2006-07-13T16:00:00.001-04:00</published><updated>2006-07-13T16:07:14.300-04:00</updated><title type='text'>Crystal Report - Sub Report Unhandled Exception</title><content type='html'>If you are using sub reports in crystal Report and you want to suppress them, You must insert each sub report in a new section and suppress the section using the formula instead of suppressing the sub report directly. Otherwise it results in Unhandled exception error. This happens if the there are no rows returned by sub report for the last row of the main query. Assuming these sub reports are linked.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-115282084978797345?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/115282084978797345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=115282084978797345' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115282084978797345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115282084978797345'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/07/crystal-report-sub-report-unhandled.html' title='Crystal Report - Sub Report Unhandled Exception'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-115090224859596113</id><published>2006-06-21T11:03:00.000-04:00</published><updated>2006-06-21T11:04:09.043-04:00</updated><title type='text'>Portal registry search index No Success</title><content type='html'>Whenever I run the portal registry search index process (8.43.17) for all languages installed (CFR - French, ENG - English, ESP - Spanish), it errors out with No success message. The dump file shows the following error. The app engine process eventually runs fine, after multiple restart. Has anybody encountered similar issues?&lt;br /&gt;&lt;br /&gt;PSAESRV.28984 [06/21/06 10:25:55 CkSta1008857](0)&lt;br /&gt;&lt;br /&gt;PSAESRV.28984 [06/21/06 10:25:55 CkSta1008857](0) PSAESRV crash dump at 2006-06-21 10.25.55.000000PSAESRV.28984 [06/21/06 10:25:55 CkSta1008857](0) PSAESRV.28984 [06/21/06 10:25:55 CkSta1008857](0) Assertion (!nSqlRecurse) Failed at /local_home/build84/pt84317-retailr_o/src/pssys/samlib.cpp, line 1404.PSAESRV.28984 [06/21/06 10:25:55 CkSta1008857](0) Assertion (!nSqlRecurse) Failed at /local_home/build84/pt84317-retailr_o/src/pssys/samlib.cpp, line 1404.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-115090224859596113?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/115090224859596113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=115090224859596113' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115090224859596113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115090224859596113'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/06/portal-registry-search-index-no.html' title='Portal registry search index No Success'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-115084205956437556</id><published>2006-06-20T18:01:00.000-04:00</published><updated>2006-06-20T18:20:59.850-04:00</updated><title type='text'>Create Portal Registry Content Reference for a Query</title><content type='html'>You can easily create a new Content Reference for running the Query directly from Left hand menu, without navigating thru Query viewer. This allows easy execution of query by end user.&lt;br /&gt;&lt;br /&gt;The Query URL is of the following format&lt;br /&gt;&lt;br /&gt;q/?ICAction=&lt;strong&gt;ICQryNameURL&lt;/strong&gt;=PUBLIC.MYQUERYNAME&lt;br /&gt;&lt;br /&gt;Go to Structure and Content and Create a new Content reference, with following properties&lt;br /&gt;&lt;br /&gt;Usage Type : Target&lt;br /&gt;Select No Template check box.&lt;br /&gt;Node Type : Always use Local, if you want to run the query hosted locally&lt;br /&gt;URL Type : PeopleSoft Generic URL&lt;br /&gt;Portal URL : q/?ICAction=ICQryNameURL=PUBLIC.MYQUERYNAME&lt;br /&gt;Note : No forward slash before q. Otherwise Portal template will not be removed.&lt;br /&gt;&lt;strong&gt;Content Reference Attributes&lt;/strong&gt;&lt;br /&gt;Name : NAVNEWWIN&lt;br /&gt;Attribute Value : true&lt;br /&gt;Uncheck Translate check box.&lt;br /&gt;&lt;br /&gt;This will open the query page in a new window with no Portal wrapper.&lt;br /&gt;&lt;br /&gt;If you want to pass parameters to query URL, you need to add the following at the end&lt;br /&gt;"&amp;&amp;lt;unique prompt name&amp;gt;=&amp;lt;value&amp;gt;"&lt;br /&gt;&lt;br /&gt;You can find the unique prompt name from prompt definition page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-115084205956437556?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/115084205956437556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=115084205956437556' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115084205956437556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/115084205956437556'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/06/create-portal-registry-content.html' title='Create Portal Registry Content Reference for a Query'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-114908694020944155</id><published>2006-05-31T10:39:00.000-04:00</published><updated>2006-05-31T10:55:30.553-04:00</updated><title type='text'>NewLine in Workflow Emails</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt; If you want to insert a new line in workflow emails, add a derived/work record field to the page (newline). Set the value of this field as follows &lt;/p&gt;  &lt;p&gt; derived_hr.newline = Char(13) | Char(10); &lt;/p&gt;  &lt;p&gt; Add this field to Email mapping&lt;br /&gt;  &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-114908694020944155?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/114908694020944155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=114908694020944155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114908694020944155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114908694020944155'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/05/newline-in-workflow-emails.html' title='NewLine in Workflow Emails'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-114902660824429581</id><published>2006-05-30T17:59:00.000-04:00</published><updated>2006-05-31T10:54:25.786-04:00</updated><title type='text'>Downloadble PeopleSoft Software and Documentation</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;br /&gt;  &lt;div&gt;  Click here to download the PeopleSoft Enterprise Software&lt;br /&gt;  &lt;br /&gt;  &lt;a href="http://edelivery.oracle.com"&gt;PeopleSoft Software&lt;/a&gt;&lt;br /&gt;  &lt;br /&gt;  You can find the licensecodes at the following site&lt;br /&gt;  &lt;br /&gt;  &lt;a href="http://licensecodes.oracle.com"&gt;License Codes&lt;/a&gt;&lt;br /&gt;  &lt;br /&gt;  You can download the PDF version of PeopleSoft Enterprise documentation here.&lt;br /&gt;  &lt;br /&gt;  &lt;a href="http://www.oracle.com/technology/documentation/psftent.html"&gt;PeopleSoft Enterprise Documentation&lt;/a&gt;&lt;br /&gt;  &lt;br /&gt;  &lt;a href="http://www.oracle.com/technology/documentation/psftarch.html"&gt;Archive PeopleSoft Enterprise Documentation&lt;/a&gt;&lt;br /&gt;  &lt;/div&gt;  &lt;br /&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-114902660824429581?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/114902660824429581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=114902660824429581' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114902660824429581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114902660824429581'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/05/downloadble-peoplesoft-software-and.html' title='Downloadble PeopleSoft Software and Documentation'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-114678006830366533</id><published>2006-05-04T18:01:00.000-04:00</published><updated>2006-05-10T18:02:02.846-04:00</updated><title type='text'>Directory Interface Troubleshooting Tips</title><content type='html'>If Directory interface fails to update the Directory Server, an easy way to find list of upload errors is&lt;br /&gt;&lt;b&gt;select * from ps_eo_dsbiload_err order by ds_time_Stamp desc&lt;/b&gt;&lt;br /&gt;&lt;H&gt;Common Errors&lt;/H&gt;&lt;br /&gt;&lt;b&gt;Bad parameter to an ldap routine&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Resolution: This error occurs, if you do not have cert7.db file present in your appserver domain directory. $PS_HOME/appserv/domainname/cert7.db. Make sure that this file is present in all the appservers not just one, configured for your database. I have seen this error appearing randomly, when the cert7.db file was present in only one domain and absent in other domain. Remember to copy this file, if you use SSL for LDAP, everytime you add a new appserver for your database.&lt;br /&gt;&lt;br /&gt;If you use the custom function to modify the attribute values, and inside this custom function you change the value of&lt;br /&gt;&amp;amp;AttrIN  (Holds the value of the Rec.Field assigned to the current&lt;br /&gt;Attribute.) For e.g. any assignment statement like&lt;br /&gt;&lt;br /&gt;&amp;amp;AttrIN = GetCommonName(&amp;AtttIN) or xyz;&lt;br /&gt;&lt;br /&gt;will modify the value of &amp;amp;AttrIN and cause the above error. Never modify&lt;br /&gt;this input variable.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;No such attribute &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This happens, when PeopleSoft Business interlink is trying to delete the&lt;br /&gt;Attribute in LDAP and the value is not present. This is normally harmless.&lt;br /&gt;&lt;br /&gt;I have also noticed that Function modifiers are not applied when it generated&lt;br /&gt;action (DSAUDITACTN) = AD&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Can't connect to the LDAP server &lt;/b&gt;&lt;br /&gt;&lt;OL&gt;&lt;LI&gt;Invalid LDAP Directory Server Address&lt;br /&gt;&lt;LI&gt;Invalid Directory Server Port&lt;br /&gt;&lt;LI&gt;If using SSL, Expired SSL Certificate or invalid SSL Port&lt;br /&gt;&lt;LI&gt;No cert7.db locaed inside the appserver domain for e.g. $PS_HOME/appserv/domainname/cert7.db    &lt;br /&gt;&lt;LI&gt; The above directory name is valid only if &lt;br /&gt;If you have not modified the SSL_DB parameter under the settings tab in Business interlink LDAP_SEARCH or LDAP_SEARCH_BIND. For more information, check &lt;b&gt;LDAP Authentication with PeopleTools&lt;/b&gt; Red Paper by Tom Lenz on customer connection (Last updated June 24 2005).&lt;br /&gt;&lt;/OL&gt;&lt;br /&gt;Please share any other errors and possible solution you encountered in setting up LDAP Directory interface process.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-114678006830366533?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/114678006830366533/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=114678006830366533' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114678006830366533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114678006830366533'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/05/directory-interface-troubleshooting.html' title='Directory Interface Troubleshooting Tips'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-114418807279727500</id><published>2006-04-04T17:22:00.000-04:00</published><updated>2006-04-05T15:32:38.376-04:00</updated><title type='text'>Run PeopleSoft Query from Excel or to Excel</title><content type='html'>I got inspired from this &lt;a href="http://www.erpassociates.com/blogs/index.php/2006/03/31/open_peoplesoft_queries_from_excel"&gt;post in PeopleSoft Corner&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I found following issues with the above solution.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;You need to use third party XML PeopleCode Library&lt;/li&gt;&lt;br /&gt;&lt;li&gt;XML files generated by this process can be viewed only in Microsoft Excel 2003&lt;/li&gt;&lt;br /&gt;&lt;li&gt;XML Link is buggy in PeopleTools 8.43. It does not support special characters (#,$) etc. in password field. So if your site has implemented password controls which requires special characters, XML Link servelet will fail in 8.43 with error message Error: The return content is not xmllink data, please check log file.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Also XML Link does not use configuration.properties parameters defaultXMLLinkUSERID and defaultXMLLinkPWD. It defaults to userid and pwd supplied in the url&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;You can use following URL in IE or open it from inside Excel File Open dialog box. Remove the breaks from the URL before pasting it in ie or excel. Also change the portal registry (EMPLOYEE) and Portal Node (EMPL) and Site ID (ps) for your site.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;http://hostname:port/psc/ps/EMPLOYEE/EMPL/s/&gt;&lt;br&gt;WEBLIB_XXX.QRYRUN.FieldFormula.IScript_ToExcel?&lt;br&gt;userid=yyy&amp;amp;pwd=zzz&amp;amp;disconnect=y&amp;amp;type=public&amp;amp;&lt;br&gt;qryname=PT_SEC_PTLS_USERS&amp;amp;&lt;br&gt;MENUNAME=DATA_MOVER&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You will need to create this IScript Function inside a Web Library Record (WEBLIB_XXX) as follows. You also need to assign the ISCript to appropriate permission list&lt;br /&gt;&lt;iframe src="http://mediamax.streamload.com/ket000/Hosted/iscript_toexcel.txt" height="600" width="400"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;a href="http://mediamax.streamload.com/ket000/Hosted/iscript_toexcel.txt?action=save"&gt;Download Source Code&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-114418807279727500?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/114418807279727500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=114418807279727500' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114418807279727500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114418807279727500'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/04/run-peoplesoft-query-from-excel-or-to.html' title='Run PeopleSoft Query from Excel or to Excel'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-114079446239263765</id><published>2006-02-24T10:03:00.000-05:00</published><updated>2006-02-24T10:21:02.410-05:00</updated><title type='text'>Developer's Short cut to launch AE programs as processes</title><content type='html'>You can use this method to launch AE programs as processes without having specific individual Process Definitions created using AE Request Page.&lt;br /&gt;&lt;br /&gt;The idea is to replace %%PRCSNAME%% with %%RUNCNTLID%% so that you run AE Programs by creating run control id = AE Program name.&lt;br /&gt;&lt;br /&gt;1. Create a New Process Definition FASTTEST of Type App engine and in the OverRide Options Tab, Specify Parameter List -&gt; Override as follows&lt;br /&gt;&lt;br /&gt;-CT %%DBTYPE%% -CD %%DBNAME%% -CO %%OPRID%% -CP %%OPRPSWD%% -R %%RUNCNTLID%% -I %%INSTANCE%% &lt;b&gt;-AI %%RUNCNTLID%%&lt;/b&gt; -OT %%OUTDESTTYPE%% -FP %%OUTDEST%% -OF %%OUTDESTFORMAT%%&lt;br /&gt;&lt;br /&gt;Also associate it with AE_REQUEST component &amp; TLSALL Process Group on the Process Defintion options tab&lt;br /&gt;&lt;br /&gt;You can then navigate to PeopleTools -&gt; Application Engine -&gt; Request AE -&gt; Add&lt;br /&gt;User ID           TEST&lt;br /&gt;Run Control       AEPROGNAME&lt;br /&gt;Program name      AEPROGNAME &lt;br /&gt;&lt;br /&gt;When the Request page opens, select process frequency always and hit the run button. Select the server Name and FASTTEST.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; You will not get Redirected Terminal Output (the standard output for the Application Engine program 2-tier). If run via Process Scheduler, there will be no log file generated, because a specific Process Definition for the Application Engine program was not used. Also use this method to test only in Dev Environment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-114079446239263765?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/114079446239263765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=114079446239263765' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114079446239263765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114079446239263765'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/02/developers-short-cut-to-launch-ae.html' title='Developer&apos;s Short cut to launch AE programs as processes'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-114070829639856569</id><published>2006-02-23T10:12:00.000-05:00</published><updated>2006-02-23T10:24:56.416-05:00</updated><title type='text'>Initialize Application Engine State Records</title><content type='html'>Sometimes you need to Re initialize application angine state record (AET) to its default values in your steps other than the first one. Instead of using the SetDefault peoplecode for each field of the state record, you can do this using a simple peoplecode function in peoplecode action or using %SelectInit Meta SQL construct in SQL action.&lt;br /&gt;&lt;br /&gt;PeopleCode Solution. &lt;br /&gt;Function SetDefaultValues(&amp;rec As Record)&lt;br /&gt;   For &amp;I = 1 To &amp;rec.FieldCount&lt;br /&gt;      &amp;statefld = &amp;rec.GetField(&amp;I);&lt;br /&gt;      /* PROCESS_INSTANCE is a reserved state field that cannot be modified */&lt;br /&gt;      If &amp;statefld.Name &lt;&gt; "PROCESS_INSTANCE" Then&lt;br /&gt;         &amp;rec.GetField(&amp;I).SetDefault();&lt;br /&gt;      End-If;&lt;br /&gt;   End-For;&lt;br /&gt;End-Function;&lt;br /&gt;&lt;br /&gt;/* Sample PeopleCode to Call this function */&lt;br /&gt;Declare Function SetDefaultValues PeopleCode FUNCLIB_UTIL.FUNCTION_FIELD FieldFormula;&lt;br /&gt;Local Record &amp;staterec;&lt;br /&gt;Local Field &amp;statefld;&lt;br /&gt;&lt;br /&gt;/* Get the Record variable for the State Record) */&lt;br /&gt;&amp;staterec = GetRecord(Record.GF_ATTACH_AET);&lt;br /&gt;MY_AET.OPRID = "xxxxxx";&lt;br /&gt;MessageBox(0, "test", 0, 0, "Oprid before default = " | MY_AET.OPRID);&lt;br /&gt;SetDefaultValues(&amp;staterec);&lt;br /&gt;MessageBox(0, "test", 0, 0, "Oprid after default = " | MY_AET.OPRID);&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; MessageBox function in application engine peoplecode generates the entry in Message Log and can be viewd in process monitor using Log/Details link. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;SQL Step Solution&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;You can add the SQL Step and use %SelectInit to initialize the State Record.&lt;br /&gt;&lt;br /&gt;you can include a SQL Step with following values&lt;br /&gt;%Select Init(State Record fields1, State Record fields2)&lt;br /&gt;select 'x', 'x', 'x' ..... from ps_installation where 1 = 2&lt;br /&gt;&lt;br /&gt;This meta-SQL construct is identical to %SELECT with the following exception?if the SELECT returns no rows, %SelectInit reinitializes the buffers. In the case of a %SELECT and no rows are returned, the state record fields retain their previous values.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-114070829639856569?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/114070829639856569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=114070829639856569' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114070829639856569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114070829639856569'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/02/initialize-application-engine-state.html' title='Initialize Application Engine State Records'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-114070748281202377</id><published>2006-02-23T09:59:00.000-05:00</published><updated>2006-02-23T12:34:50.430-05:00</updated><title type='text'>Monitor App Messaging Errors</title><content type='html'>PeopleSoft provide an application engine program to monitor the error status in application messages. However it involves more setup to schedule this program. It is important to monitor these messages, as No further messages will be processed, if one of them errors out. Here are 3 simple SQL scripts that can be used to Monitor the error Status for messages&lt;br /&gt;&lt;br /&gt;&lt;b&gt; Various Status Codes and their descriptions &lt;/b&gt;&lt;br /&gt;0 - Error, 1 - New , 2 - Started, 3 - Working, &lt;br /&gt;4 - Done, 5 - Retry, 6 - Timeout, 7 - Edited, 8 - Canceled&lt;br /&gt;&lt;b&gt; Message Instance Script &lt;/b&gt;&lt;br /&gt;select * from PSAPMSGPUBHDR WHERE PUBSTATUS IN (0,6);&lt;br /&gt;&lt;b&gt; Publication Contract Script &lt;/b&gt;&lt;br /&gt;select * from PSAPMSGPUBCON WHERE PUBCONSTATUS IN (0,6);&lt;br /&gt;&lt;b&gt; Subscription Contract Script &lt;/b&gt;&lt;br /&gt;select * from PSAPMSGSUBCON WHERE SUBCONSTATUS IN (0,6);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-114070748281202377?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/114070748281202377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=114070748281202377' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114070748281202377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114070748281202377'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/02/monitor-app-messaging-errors.html' title='Monitor App Messaging Errors'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-114045969433972556</id><published>2006-02-20T12:25:00.000-05:00</published><updated>2006-02-20T13:42:22.453-05:00</updated><title type='text'>Batch file to Check status of multiple PeopleSoft Process Scheduler Servers running on Windows 2000 Server</title><content type='html'>You can use this batch file to check status of multiple peoplesoft process scheduler servers (Batch server), running on Windows 2000 Server. You need to run this &lt;a href="http://mediamax.streamload.com/ket000/Hosted/psstatus.bat?action=save"&gt;batch&lt;/a&gt; file from %PS_HOME%\appserv directory. Preferably create a shortcut on desktop pointed to this file with Start In folder setup to %PS_HOME%\appserv folder. You will also need to create a &lt;a href="http://mediamax.streamload.com/ket000/Hosted/prcsserver.txt"&gt; View prcsserver.txt&lt;/a&gt; or &lt;a href="http://mediamax.streamload.com/ket000/Hosted/prcsserver.txt?action=save"&gt; Download prcsserver.txt&lt;/a&gt; file, which should contain name of process scheduler servers one per line. Place this file in the same folder, where your batch file is located. &lt;br /&gt;Once you run this batch file, it opens a notepad displaying the status.txt file. It also creates a status1.txt file that contains tmadmin Version amd Copyright information. These files are all created under the same folder where batch file is located.&lt;br /&gt;&lt;br /&gt;You can also edit the batch file variables to give different file name. They are&lt;br /&gt;&lt;ul&gt;&lt;li&gt;outfile - Output File that displays the status&lt;/li&gt;&lt;li&gt;outfile1 - Output File that contains tmadmin Copyright info&lt;/li&gt;&lt;li&gt;filename - List of Process Scheduler Servers&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-114045969433972556?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://mediamax.streamload.com/ket000/Hosted/psstatus.bat?action=save' title='Batch file to Check status of multiple PeopleSoft Process Scheduler Servers running on Windows 2000 Server'/><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/114045969433972556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=114045969433972556' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114045969433972556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/114045969433972556'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/02/batch-file-to-check-status-of-multiple.html' title='Batch file to Check status of multiple PeopleSoft Process Scheduler Servers running on Windows 2000 Server'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-113995347788850146</id><published>2006-02-14T16:38:00.000-05:00</published><updated>2006-02-14T16:48:01.123-05:00</updated><title type='text'>PeopleSoft Tutorial - nVision/Java/Chart</title><content type='html'>You can download these free tutorials provided by &lt;a href="http://www.iconsultinginc.com" target="_blank"&gt;Integration Consulting Inc.&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.iconsultinginc.com/products/newsletter/projectfusiontutorial/project_fusion_java_tutorial.htm" target="_blank"&gt;Project Fusion - Transform SQR to Java skills&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://www.iconsultinginc.com/products/newsletter/techtips_sept.pdf" target="_blank"&gt;Use Peoplecode to create awesome charts&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://www.iconsultinginc.com/products/newsletter/nvisiontutorial/nvision_tutorial.htm" target="_blank"&gt;Create a Query and create an nVision Report&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;Disclaimer:&lt;/b&gt; I am not affiliated with Integration Consulting inc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-113995347788850146?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.iconsultinginc.com/products/Freetutorial.htm' title='PeopleSoft Tutorial - nVision/Java/Chart'/><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/113995347788850146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=113995347788850146' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113995347788850146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113995347788850146'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/02/peoplesoft-tutorial-nvisionjavachart.html' title='PeopleSoft Tutorial - nVision/Java/Chart'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-113958289625548163</id><published>2006-02-10T09:40:00.000-05:00</published><updated>2006-03-19T17:48:11.466-05:00</updated><title type='text'>Trace Unique PeopleSoft Session</title><content type='html'>If you want to generate trace for your own PeopleSoft Session (8.x) and not for everybody else, you can append trace=y to the login URL. For e.g. if the login URL is&lt;br /&gt;http://yourwebserver.com/psp/ps/?cmd=login adding &amp;trace=y at the end will show you special trace settings you can enable. The url will look like&lt;br /&gt;http://yourwebserver.com/psp/ps/?cmd=login&amp;trace=y&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/3941/1053/1600/ScreenShot015.jpg"&gt;&lt;img style="float:left; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/3941/1053/320/ScreenShot015.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-113958289625548163?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/113958289625548163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=113958289625548163' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113958289625548163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113958289625548163'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/02/trace-unique-peoplesoft-session.html' title='Trace Unique PeopleSoft Session'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-113778958040094831</id><published>2006-01-20T15:39:00.000-05:00</published><updated>2006-02-17T20:10:15.576-05:00</updated><title type='text'>Monitor PeopleSoft Application Server Performance</title><content type='html'>use the script jsmon.sh to monitor your Appserver processes&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-113778958040094831?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.agentbob.info/agentbob/PeopleSoft/MonitorPSAppServ.html' title='Monitor PeopleSoft Application Server Performance'/><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/113778958040094831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=113778958040094831' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113778958040094831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113778958040094831'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/01/monitor-peoplesoft-application-server.html' title='Monitor PeopleSoft Application Server Performance'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-113770653336295356</id><published>2006-01-19T16:35:00.000-05:00</published><updated>2006-01-19T16:49:25.516-05:00</updated><title type='text'>Meta HTML Variables</title><content type='html'>Meta HTML variables are powerful options available in peoplecode that can be used in HTML areas to dynamically insert PeopleSoft environment variables and allow you to create pages that are dynamic. The following 2 are specially important.&lt;br /&gt;%Image and %UserID.&lt;br /&gt;If you want to refer to an image in your HTML Area, you can use %Image as follows&lt;br /&gt;&amp;lt;img src='%Image(PSLOGO)'/&amp;gt; where PSLOGO is the name of image stored in peopesoft database image catalog. PeopleSoft will download this image file at runtime on the webserver and replace it with appropriate image url.&lt;br /&gt;If you want to generate a url with currently logged in userid, %Userid can be used, instead of cookies, which may be problematic. For e.g.&lt;br /&gt;&amp;lt;a href="http://www.xyz.com?userid=%userid"&amp;gt;My Link&amp;lt;/a&amp;gt;&lt;br /&gt;Peoplesoft will automatically replace the %UserID with currently logged in user ID.&lt;br /&gt;%URL(URLIdentifier [, NOENCODE | ENCODE | DESCR]) can be used to display the link stored in the URL Maintenance page. &lt;a href="javascript:void%280%29;" onclick="return false;"&gt; &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-113770653336295356?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/113770653336295356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=113770653336295356' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113770653336295356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113770653336295356'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/01/meta-html-variables_19.html' title='Meta HTML Variables'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-113641965601804570</id><published>2006-01-04T19:06:00.001-05:00</published><updated>2008-03-17T16:47:15.566-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PeopleCode'/><title type='text'>How To Skip Search Dialog Box</title><content type='html'>Sometimes you want to suppress Search dialog box during the Page display. You must understand the default search dialog box processing and then determine what can you do to alter it programmatically.&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;At Component Definition Level under Use Tab after Add Search record, there is a checkbox Force Search Processing. The Default is cleared which means do not display the search dialog box, if following conditions are true.&lt;br /&gt;a&gt; All required keys have been provided (either by system defaults or by PeopleCode)&lt;br /&gt;b&gt; If this an Add dialog box, then no "duplicate key error" results from the provided keys; if this error occurs, the processing resets to the default behavior.&lt;br /&gt;c&gt; If this is a Search dialog box, then at least one row is returned based on the provided keys.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;If you select the Checkbox Force Search processing, then even if the above conditions are true, system will always display the search dialog box.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;To alter the search dialog box behaviour programmatically, irrespective of Component Definition Force Search Processing checkbox, You need to use &lt;strong&gt;SetSearchDialogBehavior(force_or_skip if possible)&lt;/strong&gt; function in SearchInit event of the SearchRecord-&gt; SearchField or at component level Search Record. for skip if possible use value &lt;strong&gt;0&lt;/strong&gt; and for force display use value &lt;strong&gt;1&lt;/strong&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Another way of skipping the search dialog box is to use a search record which do not have any search keys defined for e.g Derived/Work record. It can be any record as long as it does not contain any fields with search key attribute selected in record field property.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note: &lt;/strong&gt;The above methods to skip search dialog box (except records with no search key) only works, if you meet the condition specified in 1 i.e. all the key items has values and it returns at least one row and no errors occur. You can use SetSearchDialogBehavior to override component level setting in searchinit event. Also see this Post for more info. &lt;a href="http://blog.greysparling.com/2005/10/why-you-should-avoid-peoplecode-for.html" target=_blank&gt;SetSearchDialogBehavior&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Tip: (8.4x tools rel only)&lt;/strong&gt; To directly navigate to a page with portal navigation&lt;br /&gt;&lt;br /&gt;Link: http://server/servlet_name/SiteName/PortalName/&lt;br /&gt;NodeName/content_type/content_id?content_parm&lt;br /&gt;&lt;br /&gt;For components content parameters are : Page=pagename&amp;amp;action=action_value&amp;amp;key_id=key_value&lt;br /&gt;&lt;br /&gt;If you do not specify the Page then it goes to the first page in component.&lt;br /&gt;&lt;br /&gt;Action = A - Add, U - Update/Display, L - Update/Display All, C - Correction&lt;br /&gt;&lt;br /&gt;KeyIDs are actual Field Name of the Search record that has search key attribute set.&lt;br /&gt;&lt;br /&gt;To display a page and navigate to that page for e.g URL Maintenance Page the URL will be&lt;br /&gt;&lt;br /&gt;https://servername/psp/ps/EMPLOYEE/EMPL/c/&lt;br /&gt;UTILITIES.URL_TABLE.GBL?Page=URL_TABLE&amp;amp;Action=U&amp;amp;URL_ID=CMDOCDB&lt;br /&gt;&lt;br /&gt;where psp - Portal servlet, use psc - content servlet to go to page without portal navigation&lt;br /&gt;&lt;br /&gt;Sitename = ps, Portal Name = Employee, Node Name = EMPL and Content Type = C for Component,&lt;br /&gt;&lt;br /&gt;Content ID = &amp;lt;menu&amp;gt;.&amp;lt;component&amp;gt;.&amp;lt;market&amp;gt;&lt;br /&gt;&lt;br /&gt;Menu = UTILITIES, Component = URL_TABLE, Market = GBL&lt;br /&gt;&lt;br /&gt;Key ID: URL_ID&lt;br /&gt;&lt;br /&gt;Key Value: CMDOCDB&lt;br /&gt;&lt;br /&gt;This link will open directly the URL Maintenance page with URL Definition of CMDOCDB.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-113641965601804570?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/113641965601804570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=113641965601804570' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113641965601804570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113641965601804570'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2006/01/how-to-skip-search-dialog-box_04.html' title='How To Skip Search Dialog Box'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-113595569639828732</id><published>2005-12-30T10:14:00.000-05:00</published><updated>2005-12-30T10:14:56.406-05:00</updated><title type='text'>Send SQR Generated Files to Report Repository</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;When we use SQR file open to generate a file, it normally get's&lt;br /&gt;generated in FILEPREFIX directory which is set by setfile.sqc included&lt;br /&gt;in setenv.sqc which is normally defaulted to /usr/tmp. This file is not&lt;br /&gt;transferred to report repository and user needs to manually ftp the&lt;br /&gt;file from unix server. There is a way by which we can send the&lt;br /&gt;generated file to report repository.&lt;/p&gt;&lt;p&gt;Call this procedure in your&lt;br /&gt;sqr. This initializes the $directory variable which can be then be used&lt;br /&gt;in place of '{FILEPREFIX}' to set the filepath. This generates the file&lt;br /&gt;in the sqr log directory which is then transferred to report repository.&lt;/p&gt;BEGIN-PROCEDURE GET-FILE-PATH&lt;br/&gt;!Taken Code from fin2025.sqr&lt;br/&gt;do Get-Directory&lt;br/&gt;   let $directory = rtrim($directory, ' ')&lt;br/&gt;   ! database platform&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;   #ifdef MVS&lt;br/&gt;      let $direct_temp = translate($directory, '','.')&lt;br/&gt;      let $directory = $direct_temp&lt;br/&gt;      let #drive_length = instr($directory, ':', 1)&lt;br/&gt;      let #path_length = length($directory)&lt;br/&gt;      add 1 to #drive_length&lt;br/&gt;      let $directory  = {PS-SUBSTR}($directory, #drive_length, #path_length)&lt;br/&gt;      let $directory = 'DSN:' || $directory&lt;br/&gt;   #else&lt;br/&gt;      #ifdef OS400&lt;br/&gt;         let $direct_temp = translate($directory, '','.')&lt;br/&gt;         let $directory = $direct_temp&lt;br/&gt;         let #drive_length = instr($directory, ':', 1)&lt;br/&gt;         let #path_length = length($directory)&lt;br/&gt;         add 1 to #drive_length&lt;br/&gt;         let $directory  = {PS-SUBSTR}($directory, #drive_length, #path_length)&lt;br/&gt;         let $directory = 'DSN:' || $directory&lt;br/&gt;      #else&lt;br/&gt;         #ifdef UNIX   !UPD110341&lt;br/&gt;           let $direct_temp = translate($directory, '','/')&lt;br/&gt;           let $directory = $direct_temp&lt;br/&gt;         #else&lt;br/&gt;           !continue&lt;br/&gt;         #end-if&lt;br/&gt;      #end-if&lt;br/&gt;#end-if&lt;br/&gt;&lt;br/&gt;DISPLAY 'Destination Directory : ' NOLINE&lt;br/&gt;DISPLAY $DIRECTORY&lt;br/&gt;PRINT 'Destination Directory : ' (+1,1,)&lt;br/&gt;PRINT $DIRECTORY ()&lt;br/&gt;&lt;br/&gt;END-PROCEDURE&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;BEGIN-PROCEDURE Get-Directory&lt;br/&gt;&lt;br/&gt;begin-select&lt;br/&gt;ORIGOUTDEST,&lt;br/&gt;PRCSOUTPUTDIR&lt;br/&gt;! if isblank(rtrim (upper( ' '))&lt;br/&gt; if rtrim (upper( ' ') = '%%LOG/OUTPUT DIRECTORY%%'&lt;br/&gt;     let $directory = rtrim( ' ') || ''&lt;br/&gt; else&lt;br/&gt;     let $directory = rtrim( ' ')&lt;br/&gt; end-if&lt;br/&gt;from PSPRCSPARMS where&lt;br/&gt;PRCSINSTANCE = #prcs_process_instance&lt;br/&gt;end-select&lt;br/&gt;&lt;br/&gt;END-PROCEDURE&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-113595569639828732?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/113595569639828732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=113595569639828732' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113595569639828732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113595569639828732'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2005/12/send-sqr-generated-files-to-report.html' title='Send SQR Generated Files to Report Repository'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-113536576830992961</id><published>2005-12-23T14:22:00.001-05:00</published><updated>2008-06-30T12:26:20.174-04:00</updated><title type='text'>Refresh webserver Cache without restarting it</title><content type='html'>You can set auditPWD parameter in configuration.properties (pre 8.44) or web profile (&gt; 8.44) to refresh the webserver cache dynamically without restarting it. This is really helpfull when you do not want to disturb your developer population.&lt;br /&gt;&lt;br /&gt;auditPWD=dayoff&lt;br /&gt;&lt;br /&gt;Set this to something unique for e.g. dayoff and fireoff this url to refresh the cache&lt;br /&gt;http://myserver:port/psp/ps/?cmd=purge&amp;amp;pwd=dayoff&lt;br /&gt;&lt;br /&gt;To view configuration.properties&lt;br /&gt;&lt;br /&gt;http://myserver:port/psp/ps/?cmd=viewconfig&amp;amp;pwd=dayoff&lt;br /&gt;http://myserver:port/psp/ps/?cmd=viewsprop&lt;br /&gt;&lt;br /&gt;To Reset Timeout&lt;br /&gt;&lt;br /&gt;http://xxx.xxx.com:5500/psp/ps/?cmd=resettimeout&amp;amp;pwd=xxxx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-113536576830992961?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/113536576830992961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=113536576830992961' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113536576830992961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113536576830992961'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2005/12/refresh-webserver-cache-without.html' title='Refresh webserver Cache without restarting it'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-113528018795562237</id><published>2005-12-22T14:34:00.000-05:00</published><updated>2005-12-22T14:38:32.963-05:00</updated><title type='text'>Debug PeopleCode using GetFile</title><content type='html'>To &lt;a href="http://www.writely.com/View.aspx?docid=aht7zjjrm64h"&gt;debug a peoplecode (See complete document)&lt;/a&gt;, we can use File write very effectively.&lt;br /&gt;&lt;br /&gt;Step 1&lt;br /&gt;&lt;br /&gt;Declare a file variable&lt;br /&gt;Local File &amp;MYFILE;&lt;br /&gt;&lt;br /&gt;Step 2&lt;br /&gt;Add the following Code. replace ketan with your username to uniquely identify your name.&lt;br /&gt;&lt;br /&gt;&amp;MYFILE = GetFile("debugketan.txt", "W");&lt;br /&gt;If &amp;MYFILE.IsOpen Then&lt;br /&gt;&amp;amp;amp;MYFILE.WriteLine("your text");&lt;br /&gt;&amp;MYFILE.WriteLine("ketan");&lt;br /&gt;&amp;MYFILE.Close();&lt;br /&gt;End-If;&lt;br /&gt;&lt;br /&gt;Step 3:&lt;br /&gt;&lt;br /&gt;This file will be created in unix under respective appserver&lt;br /&gt;&lt;br /&gt;PS_HOME\APPSERV\\files&lt;br /&gt;&lt;br /&gt;For e.g. if peoplecode is running on hrdev appserver the file will be created on&lt;br /&gt;&lt;br /&gt;/disk01/psoft/hr84x/appserv/hrdev/files directory.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-113528018795562237?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.writely.com/View.aspx?docid=aht7zjjrm64h' title='Debug PeopleCode using GetFile'/><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/113528018795562237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=113528018795562237' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113528018795562237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113528018795562237'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2005/12/debug-peoplecode-using-getfile.html' title='Debug PeopleCode using GetFile'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-113528001362351930</id><published>2005-12-22T14:20:00.000-05:00</published><updated>2005-12-22T14:33:33.630-05:00</updated><title type='text'>PeopleSoft Record Types</title><content type='html'>0 - table &lt;br /&gt;1 - View &lt;br /&gt;2 - Derived/Work &lt;br /&gt;3 - Subrecord &lt;br /&gt;5 - Dynamic View &lt;br /&gt;6 - Query View &lt;br /&gt;7 - Temp table&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-113528001362351930?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/113528001362351930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=113528001362351930' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113528001362351930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113528001362351930'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2005/12/peoplesoft-record-types_22.html' title='PeopleSoft Record Types'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20103408.post-113527917271856078</id><published>2005-12-22T14:15:00.000-05:00</published><updated>2005-12-22T14:19:32.720-05:00</updated><title type='text'>Extract PeopleCode</title><content type='html'>If you want to create a file that contains all the PeopleCode for a project (or database) you can use the &lt;span style="font-weight:bold;"&gt;Find In.&lt;/span&gt; . .feature, and search for "&lt;span style="font-weight:bold;"&gt;;&lt;/span&gt;". Be sure to select Save PeopleCode to File. (Do not use double quotes).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20103408-113527917271856078?l=peoplesoftexperts.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://peoplesoftexperts.blogspot.com/feeds/113527917271856078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20103408&amp;postID=113527917271856078' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113527917271856078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20103408/posts/default/113527917271856078'/><link rel='alternate' type='text/html' href='http://peoplesoftexperts.blogspot.com/2005/12/extract-peoplecode_22.html' title='Extract PeopleCode'/><author><name>Ketan Kothari</name><uri>http://www.blogger.com/profile/17459077644208180243</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp2.blogger.com/_52IkIgEEWLo/R_VI5Hvz07I/AAAAAAAAAnk/zGpL0YjgIqo/S220/ketan_small.jpg'/></author><thr:total>6</thr:total></entry></feed>
