<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WorkingScripts &#187; PeopleSoft</title>
	<atom:link href="http://workingscripts.com/tag/peoplesoft/feed/" rel="self" type="application/rss+xml" />
	<link>http://workingscripts.com</link>
	<description>The Stuff that Just Works</description>
	<lastBuildDate>Mon, 07 Jun 2010 20:06:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PeopleSoft Security Logging</title>
		<link>http://workingscripts.com/2009/08/peoplesoft-security-logging/</link>
		<comments>http://workingscripts.com/2009/08/peoplesoft-security-logging/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:24:10 +0000</pubDate>
		<dc:creator>Iouri Chadour</dc:creator>
				<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://workingscripts.com/2009/08/peoplesoft-security-logging/</guid>
		<description><![CDATA[This question came up during the recent application security audit – how does PeopleSoft track user sign in attempts and locations. 
Aside from the obvious PSOPRDEFN table there is PSACCESSLOG – this table has OPRID, LOGIPADDRESS, LOGINDTTM, LOGOUTDTTM columns that give you information about user sign on activity. LOGIPADDRESS will contain the RemoteAddr property&#160; of&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>This question came up during the recent application security audit – how does PeopleSoft track user sign in attempts and locations. </p>
<p>Aside from the obvious PSOPRDEFN table there is PSACCESSLOG – this table has OPRID, LOGIPADDRESS, LOGINDTTM, LOGOUTDTTM columns that give you information about user sign on activity. LOGIPADDRESS will contain the <font color="#0000ff">RemoteAddr</font> property&#160; of&#160; <font color="#0000ff">%Request</font> object, which is also useful in case you validate user ip address at the sign on. The only problem this could pose is in case your users are behind a single or multiple gateways that perform NAT. Then the value of this field would contain those NATed ip addresses and not the actual user ip addresses. </p>
]]></content:encoded>
			<wfw:commentRss>http://workingscripts.com/2009/08/peoplesoft-security-logging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QuestDirect Conference Notes</title>
		<link>http://workingscripts.com/2009/08/questdirect-conference-notes/</link>
		<comments>http://workingscripts.com/2009/08/questdirect-conference-notes/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 03:57:12 +0000</pubDate>
		<dc:creator>Iouri Chadour</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[Conference]]></category>

		<guid isPermaLink="false">http://workingscripts.com/2009/08/questdirect-conference-notes/</guid>
		<description><![CDATA[I have not had a chance to write anything earlier – had to catch up with my primary responsibilities at work. But now I would like to give a short overview of QuestDirect OUIG Conference that I had a chance to attend.
I would like to start from the end and the good news for all [...]]]></description>
			<content:encoded><![CDATA[<p>I have not had a chance to write anything earlier – had to catch up with my primary responsibilities at work. But now I would like to give a short overview of QuestDirect OUIG Conference that I had a chance to attend.</p>
<p>I would like to start from the end and the good news for all Oracle PeopleSoft application users – Oracle plans to maintain PeopleSoft application for some time even though there are plans to try and come up with mysterious Fusion Applications, but no one knows when, where or what modules would Oracle to start with.</p>
<p>Because Oracle does not seem to be a able to eliminate all of the product lines it has acquired over the years – the long term strategy is to keep the products but heavily invest into integration solutions – Fusion Middleware – and expand the suite of included product and toolsets. </p>
<p><strong>Crystal Reports</strong> – currently part of the PeopleSoft , was recently purchased by rival SAP, will still be supported,&#160; but if you would like to have less problems with upgrades and next version you should try and use XML Publisher.</p>
<p><strong>PeopleTools 8.50 – </strong>the official “not written” word is 3rd quarter of 2009 and I really hope this is true, because after seeing the new suite in action,as in presentation in my earlier posts, we’ve been all waiting to get our hands on and give it a try. Just a quick note – as long as you are on version 8.4+ you should be able to upgrade to new tools to utilize the latest and greatest of the new platform – new sleek look, AJAX , partial page refreshes and new integrations.</p>
<p>All of the further slides I am including are borrowed from the presentation by Tom Vassallo. </p>
<p>Here is a diagram that outlines the Application compatibility and Tools Releases:</p>
<p><a href="http://workingscripts.com/wp-content/uploads/2009/08/captured_Image.png.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="captured_Image.png" border="0" alt="captured_Image.png" src="http://workingscripts.com/wp-content/uploads/2009/08/captured_Image.png_thumb.png" width="244" height="132" /></a> </p>
<p>Furthermore , folks at Oracle PeopleSoft added some cool features like iPhone apps for Expenses:</p>
<p><a href="http://workingscripts.com/wp-content/uploads/2009/08/captured_Image.png4.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="captured_Image.png[4]" border="0" alt="captured_Image.png[4]" src="http://workingscripts.com/wp-content/uploads/2009/08/captured_Image.png4_thumb.png" width="244" height="132" /></a> </p>
<p>Remember there was this great BI product Hyperion Essbase, oh sorry – Oracle System 11. Well the good news for all of us that are using these tools, according to the new strategy – “unite and conquer” – Oracle is throwing some free features with Tools:</p>
<p><a href="http://workingscripts.com/wp-content/uploads/2009/08/captured_Image.png6.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="captured_Image.png[6]" border="0" alt="captured_Image.png[6]" src="http://workingscripts.com/wp-content/uploads/2009/08/captured_Image.png6_thumb.png" width="244" height="132" /></a> </p>
<p>The icing on this cake are ability to integrate with social networking, RSS feeds:</p>
<p><a href="http://workingscripts.com/wp-content/uploads/2009/08/captured_Image.png8.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="captured_Image.png[8]" border="0" alt="captured_Image.png[8]" src="http://workingscripts.com/wp-content/uploads/2009/08/captured_Image.png8_thumb.png" width="244" height="132" /></a> </p>
<p>To stay with current trend Oracle is also starting to add SaaS solutions for all of the lines of products. I am sure we’ll see more of those appear soon.</p>
<p>To finish this post here is the official roadmap for PeopleTools and Application 9.1</p>
<p><a href="http://workingscripts.com/wp-content/uploads/2009/08/captured_Image.png10.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="captured_Image.png[10]" border="0" alt="captured_Image.png[10]" src="http://workingscripts.com/wp-content/uploads/2009/08/captured_Image.png10_thumb.png" width="244" height="132" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://workingscripts.com/2009/08/questdirect-conference-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What Environment Am I in?</title>
		<link>http://workingscripts.com/2009/07/what-environment-am-i-in/</link>
		<comments>http://workingscripts.com/2009/07/what-environment-am-i-in/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 03:44:00 +0000</pubDate>
		<dc:creator>Iouri Chadour</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://workingscripts.com/2009/07/what-environment-am-i-in/</guid>
		<description><![CDATA[As I was going through some of the sessions on the QUEST NORTHEAST CONFERENCE I noticed on of the presenters mentioning customizing Test environments Main PeopleSoft CSS PSSTYLEDEF so that the users are always able to distinguish between environments.
The solution that I have employ to solve this problem is to modify the PT_BRANDING:BrandingBase class to [...]]]></description>
			<content:encoded><![CDATA[<p align="left">As I was going through some of the sessions on the <a title="QUEST NORTHEAST CONFERENCE" href="http://www.questdirect.org/QuestDirect/Events/Quest+Northeast/" target="_blank">QUEST NORTHEAST CONFERENCE</a> I noticed on of the presenters mentioning customizing Test environments Main PeopleSoft CSS PSSTYLEDEF so that the users are always able to distinguish between environments.</p>
<p align="left">The solution that I have employ to solve this problem is to modify the PT_BRANDING:BrandingBase class to dynamically display environment name based on the URL, like this:</p>
<p align="left"><a href="http://workingscripts.com/wp-content/uploads/2009/07/captured_Image.png.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="captured_Image.png" src="http://workingscripts.com/wp-content/uploads/2009/07/captured_Image.png_thumb.jpg" border="0" alt="captured_Image.png" width="244" height="73" /></a></p>
<p align="left">PT_BRANDING Application package was meant to be used to dynamically customize the look and feel of you application and of course you can do a lot more with this but this is just a very simple example of how easy this can be done.</p>
<p align="left">In order to achieve the above effect all you need is to add code to 2 methods in the class PT_BRANDING:BrandingBase</p>
<div>
<pre class="csharpcode">method GetUniHeaderHTML
method GetUniHeaderHTML_PIA</pre>
</div>
<p align="left">
<p><!--.csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p align="left">These methods, as the name suggests are responsible for rendering you Application Portal Header.</p>
<div>
<div id="codeSnippetWrapper" style="border: 1px solid silver; margin: 20px 0px 10px; padding: 4px; overflow: auto; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 97.88%; font-family: 'Courier New',courier,monospace; direction: ltr; height: 210px; max-height: 200px; font-size: 8pt; cursor: text;">
<pre id="codeSnippet" style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span style="color: #008000">/*Iouri Chadour - Added to put Test Environment notification in the header</span><span style="color: #008000">&amp;Request.ContentURI - returns your portal URL in form http://server:port/psp/PSPRC/</span><span style="color: #008000">Left(Right(&amp;Request.ContentURI, 4), 3) - extracts the significant piece to display</span><span style="color: #008000">on the header*/</span>
&amp;zEnvName = Left(Right(&amp;Request.ContentURI, 4), 3);
&amp;Greeting = &amp;zEnvName | " Environment " | ", UserID:" | <span style="color: #0000ff;">%UserId </span>| ", Name: " | <span style="color: #0000ff;">%UserDescription</span>;
<span style="color: #008000">/* End Mod */</span>

<span style="color: #008000">/* This code below is delivered checks for client browser to ensure that</span><span style="color: #008000"> Header is displayed correctly */</span>

If &amp;navTheme.isNS4x() Then    &amp;UniHeaderHTMLPIA = GetHTMLText(HTML.PORTAL_UNI_HEADER_NS4X, &amp;Response.GetImageURL(Image.NEW_PS_LOGO), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_TBRCRV), <span style="color: #006080">" "</span>, <span style="color: #006080">" "</span>, &amp;FavoritesHTML, &amp;AddToFavoritesHTML, &amp;HelpHTML, <span style="color: #006080">""</span>, &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_CRV), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_BG), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_BG), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_TBRCRV), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_SHD), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_TBR), &amp;styleSheet, &amp;homeURL, &amp;startURL, &amp;AddToFavFormHTML, &amp;LogoutURL, MsgGetText(95, 400, <span style="color: #006080">"Return Home"</span>), <span style="color: #008000">/*20*/</span>MsgGetText(95, 401, <span style="color: #006080">"Home"</span>), MsgGetText(95, 402, <span style="color: #006080">"Return to Menu"</span>), MsgGetText(95, 403, <span style="color: #006080">"Menu"</span>), MsgGetText(95, 408, <span style="color: #006080">"Sign out"</span>), &amp;Greeting, &amp;SearchHTML, &amp;ColSpanHTML, &amp;PersonalizeHTML, <span style="color: #006080">""</span>, <span style="color: #006080">""</span>, &amp;HelpJSHTML, &amp;homepageJS, <span style="color: #006080">""</span>, &amp;TabHTML, &amp;WLHTML, &amp;domainScript, &amp;Response.GetJavaScriptURL(HTML.PT_SAVEWARNINGSCRIPT), <span style="color: #006080">""</span>, &amp;SaveWarnCrossDomainScript, &amp;Response.GetImageURL(Image.PT_HOME_TAB_ACTIVE_CENTER), &amp;Response.GetImageURL(Image.PT_HOME_TAB_INACTIVE_CENTER), <span style="color: #008000">/*40*/</span>&amp;Response.GetImageURL(Image.PT_HOME_TAB_LINE), %Request.ExpireMeta, &amp;CTIHTML, &amp;MCFHTML, &amp;PPMHTML, &amp;Charset);ElseElse    &amp;UniHeaderHTMLPIA = GetHTMLText(HTML.PORTAL_UNI_HEADER_NNS, &amp;Response.GetImageURL(Image.NEW_PS_LOGO), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_TBRCRV), <span style="color: #006080">""</span>, <span style="color: #006080">""</span>, &amp;FavoritesHTML, &amp;AddToFavoritesHTML, &amp;HelpHTML, <span style="color: #006080">""</span>, &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_CRV), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_BG), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_BG), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_TBRCRV), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_SHD), &amp;Response.GetImageURL(Image.NEW_PORTAL_HDR_TBR), &amp;styleSheet, &amp;homeURL, &amp;startURL, &amp;AddToFavFormHTML, &amp;LogoutURL, MsgGetText(95, 400, <span style="color: #006080">"Return Home"</span>), <span style="color: #008000">/*20*/</span>MsgGetText(95, 401, <span style="color: #006080">"Home"</span>), MsgGetText(95, 402, <span style="color: #006080">"Return to Menu"</span>), MsgGetText(95, 403, <span style="color: #006080">"Menu"</span>), MsgGetText(95, 408, <span style="color: #006080">"Sign out"</span>), &amp;Greeting, &amp;SearchHTML, &amp;ColSpanHTML, &amp;PersonalizeHTML, <span style="color: #006080">""</span>, <span style="color: #006080">""</span>, &amp;HelpJSHTML, &amp;homepageJS, MsgGetText(95, 138, <span style="color: #006080">"Tool Bar Header"</span>), &amp;TabHTML, &amp;WLHTML, &amp;domainScript, &amp;Response.GetJavaScriptURL(HTML.PT_SAVEWARNINGSCRIPT), <span style="color: #006080">""</span>, &amp;SaveWarnCrossDomainScript, &amp;Response.GetImageURL(Image.PT_HOME_TAB_ACTIVE_CENTER), &amp;Response.GetImageURL(Image.PT_HOME_TAB_INACTIVE_CENTER), <span style="color: #008000">/*40*/</span>&amp;Response.GetImageURL(Image.PT_HOME_TAB_LINE), %Request.ExpireMeta, &amp;CTIHTML, &amp;MCFHTML, &amp;PPMHTML, &amp;Charset); End-If;</pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://workingscripts.com/2009/07/what-environment-am-i-in/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Notepad++ for Peoplecode and SQR</title>
		<link>http://workingscripts.com/2009/06/notepad-peoplecode-sqr/</link>
		<comments>http://workingscripts.com/2009/06/notepad-peoplecode-sqr/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 03:59:59 +0000</pubDate>
		<dc:creator>Iouri Chadour</dc:creator>
				<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[peoplecode]]></category>
		<category><![CDATA[SQR]]></category>
		<category><![CDATA[utility]]></category>

		<guid isPermaLink="false">http://workingscripts.com/?p=73</guid>
		<description><![CDATA[There are a few people who mention different tools for Application Development in PeopleSoft. Over the past years I have tried many of the IDEs like TextPad, UltraEdit. For the past 6 months I have started extensively using Notepad++ and I absoltely love it. Unfortunately App Designer does not include a good syntax highlighting, Intellisense [...]]]></description>
			<content:encoded><![CDATA[<p>There are a few people who mention different tools for Application Development in PeopleSoft. Over the past years I have tried many of the IDEs like TextPad, UltraEdit. For the past 6 months I have started extensively using Notepad++ and I absoltely love it. Unfortunately App Designer does not include a good syntax highlighting, Intellisense and other features that have been long implemented in other IDEs like Visual Studio, JBuilder, Eclipse. It seems that so far Notpad++ developers did a great job with developing enough options that the tool could be easily configured to support multiple languages, specifically SQR and PeopleCode. I have started by downloading initial syntax color scheme files from greysparling.com (they are always on the forefront of peoplesoft development). Then, I have played with options a little and voila – I finally have an IDE that makes it all easier – syntax highlighting, IntelliSense (I wish it could access AppDesigner API too). Below I would like to provide a 5 minute guide to configuring NOTEPAD++ for use:</p>
<ol>
<li>Download Notepad++ from <a title="http://notepad-plus.sourceforge.net/" href="http://notepad-plus.sourceforge.net/">http://notepad-plus.sourceforge.net/</a></li>
<li>After install go to Settings and remove all languages that you are not using:</li>
</ol>
<p><a href="http://workingscripts.com/wp-content/uploads/2009/06/image2.png"><img style="border-width: 0px; display: inline;" title="image" src="http://workingscripts.com/wp-content/uploads/2009/06/image-thumb2.png" border="0" alt="image" width="244" height="125" /></a> <a href="http://workingscripts.com/wp-content/uploads/2009/06/image5.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" src="http://workingscripts.com/wp-content/uploads/2009/06/image-thumb3.png" border="0" alt="image" width="244" height="175" /></a></p>
<p>3. Download PeopleCode and SQR syntax and Intellisense files <strong>below</strong></p>
<blockquote><p><strong>a)</strong> Paste Intellisense File below</p>
<p>into <span style="color: #0000ff">C:\Program Files\Notepad++\plugins\APIs\</span></p>
<p>and <span style="color: #0000ff">%appdata%\Notepad++\plugins</span></p>
<div id="scid:FF7EC618-8FBE-49a5-B908-2339AF2ABCDF:1b334f12-b288-40a8-bdeb-8b0e46159b04" class="wlWriterEditableSmartContent" style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px">
<div>Download Files -<br />
<strong><a href="http://workingscripts.com/wp-content/uploads/2009/09/PeopleCode.api" target="_self">PeopleCode IntelliSense 1</a></strong></div>
<p><strong><a href="http://workingscripts.com/wp-content/uploads/2009/09/PeopleCode.xml" target="_self">PeopleCode IntelliSense 2</a></strong></div>
<p><strong>b) </strong>Paste PeopleCode and SQR Syntax files attached below into <span style="color: #0000ff">%appdata%\Notepad++\</span></p>
<div id="scid:FF7EC618-8FBE-49a5-B908-2339AF2ABCDF:cdddc87c-a4e0-4d4f-ba81-5106279175c5" class="wlWriterEditableSmartContent" style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px">
<div>Download File &#8211; <strong><a href="http://workingscripts.com/wp-content/uploads/2009/09/userDefineLang.xml" target="_self">PeopleCode SQR Syntax Files</a></strong></div>
<div><strong>c) </strong>Close and restart<strong> </strong>Notepad++<strong><br />
</strong></div>
</div>
</blockquote>
<p>4. Configure Notpad++ to recognize sqr and peoplecode by following the instructions below:</p>
<p><a href="http://workingscripts.com/wp-content/uploads/2009/06/image4.png"><img style="border: 0pt none; display: inline;" title="image" src="http://workingscripts.com/wp-content/uploads/2009/06/image-thumb4.png" border="0" alt="image" width="244" height="176" /></a></p>
<p><a href="http://workingscripts.com/wp-content/uploads/2009/06/image5.png"><img style="border: 0pt none; display: inline;" title="image" src="http://workingscripts.com/wp-content/uploads/2009/06/image-thumb5.png" border="0" alt="image" width="244" height="162" /></a></p>
<p>Choose the desired language e.g. Peoplecode or SQR and change the color scheme to the way you like it. For PeopleCode I suggest specifying <span style="color: #008000">rem </span><span style="color: #000000">and </span><span style="color: #008000">/ / </span><span style="color: #000000">as start and finish of the comment, because for some reason PeopleCode has more that 2 types of comments – </span></p>
<p><span style="color: #008000">/+ your comment +/</span></p>
<p><span style="color: #008000">/* your comment */</span></p>
<p><span style="color: #008000">rem your comment</span></p>
<p><span style="color: #008000">remark your comment</span></p>
<p><span style="color: #000000">Enjoy – in my next post I will explain how Notepad++ can be effectively used for looking at PeopleCode Trace files.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://workingscripts.com/2009/06/notepad-peoplecode-sqr/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>SQL for Retrieving Portal, Security, Record and Navigation</title>
		<link>http://workingscripts.com/2009/06/peoplsoft-retrieving-portal-security-record-navigation/</link>
		<comments>http://workingscripts.com/2009/06/peoplsoft-retrieving-portal-security-record-navigation/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 19:38:00 +0000</pubDate>
		<dc:creator>Iouri Chadour</dc:creator>
				<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[Portal]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://workingscripts.com/?p=61</guid>
		<description><![CDATA[

SELECT DISTINCT       ltrim (rtrim (a.classid))  AS classid, ltrim (rtrim (b.menuname))  AS       menuname, ltrim (rtrim (b.barname))  AS barname, ltrim          (rtrim (b.baritemname))  AS baritemname, ltrim(rtrim(d.pnlname))  AS      [...]]]></description>
			<content:encoded><![CDATA[</p>
<div id="codeSnippetWrapper" style="border-right: silver 1px solid; padding-right: 4px; border-top: silver 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: silver 1px solid; width: 140.88%; cursor: text; direction: ltr; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: silver 1px solid; font-family: &#39;Courier New&#39;, courier, monospace; height: 274px; background-color: #f4f4f4; text-align: left">
<pre id="codeSnippet" style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"><span style="color: #0000ff">SELECT</span> <span style="color: #0000ff">DISTINCT</span>       ltrim (rtrim (a.classid))  <span style="color: #0000ff">AS</span> classid, ltrim (rtrim (b.menuname))  <span style="color: #0000ff">AS</span>       menuname, ltrim (rtrim (b.barname))  <span style="color: #0000ff">AS</span> barname, ltrim          (rtrim (b.baritemname))  <span style="color: #0000ff">AS</span> baritemname, ltrim(rtrim(d.pnlname))  <span style="color: #0000ff">AS</span>       pnlname, ltrim (rtrim (d.itemlabel))  <span style="color: #0000ff">AS</span> itemlabel, ltrim          (rtrim (e.itemlabel))  <span style="color: #0000ff">AS</span> itemlabel, ltrim(rtrim(c.pageaccessdescr))         <span style="color: #0000ff">AS</span> pageaccessdescr, b.displayonly, ltrim (rtrim (f.portal_label))  <span style="color: #0000ff">AS</span>       portal_label, ltrim (rtrim (f.portal_objname))  <span style="color: #0000ff">AS</span> portal_objname,       ltrim(rtrim(f.portal_uri_seg1))  <span style="color: #0000ff">AS</span> portal_uri_seg1, ltrim (rtrim (f.portal_uri_seg2)       )  <span style="color: #0000ff">AS</span> portal_uri_seg2, (<span style="color: #0000ff">SELECT</span><span style="color: #0000ff">CASE</span>          <span style="color: #0000ff">WHEN</span> ltrim(rtrim(descr)) = <span style="color: #006080">''</span><span style="color: #0000ff">THEN</span>             ltrim(rtrim(menulabel))<span style="color: #0000ff">ELSE</span>             ltrim(rtrim(descr))<span style="color: #0000ff">END</span><span style="color: #0000ff">FROM</span> psmenudefn<span style="color: #0000ff">WHERE</span> menuname = b.menuname)       || <span style="color: #006080">' &gt; '</span>       || ltrim(rtrim(f.portal_label))  <span style="color: #0000ff">AS</span> <span style="color: #0000ff">path</span><span style="color: #0000ff">FROM</span> psroleclass a,       psauthitem b,       pspgeaccessdesc c,       pspnlgroup d,       psmenuitem e,       psprsmdefn f,       psprsmperm g<span style="color: #0000ff">WHERE</span> a.classid = b.classid<span style="color: #0000ff">AND</span> d.pnlgrpname = e.pnlgrpname<span style="color: #0000ff">AND</span> b.menuname = e.menuname<span style="color: #0000ff">AND</span> b.barname = e.barname<span style="color: #0000ff">AND</span> b.baritemname = e.itemname--<span style="color: #0000ff">AND</span> a.rolename <span style="color: #0000ff">LIKE</span> <span style="color: #006080">'GLIC_PO%'</span><span style="color: #0000ff">AND</span> b.menuname <span style="color: #0000ff">NOT</span> <span style="color: #0000ff">IN</span> (<span style="color: #006080">'APPLICATION_DESIGNER'</span>,                              <span style="color: #006080">'CLIENTPROCESS'</span>,                              <span style="color: #006080">'DATA_MOVER '</span>,                              <span style="color: #006080">'IMPORT_MANAGER '</span>,                              <span style="color: #006080">'OBJECT_SECURITY '</span>,                              <span style="color: #006080">'QUERY '</span>,                              <span style="color: #006080">'PERFMONPPMI '</span>)<span style="color: #0000ff">AND</span> b.menuname <span style="color: #0000ff">NOT</span> <span style="color: #0000ff">LIKE</span> <span style="color: #006080">'WEBLIB%'</span>

<span style="color: #0000ff">AND</span> B.PNLITEMNAME <span style="color: #0000ff">IN</span> (<span style="color: #0000ff">SELECT</span> <span style="color: #0000ff">DISTINCT</span> PNLNAME<span style="color: #0000ff">FROM</span> PSFSSYS.PSPNLFIELD<span style="color: #0000ff">where</span> RECNAME =<span style="color: #006080">'PYMNT_ADVICE'</span>)<span style="color: #0000ff">AND</span> <span style="color: #0000ff">NOT</span> <span style="color: #0000ff">EXISTS</span>             (<span style="color: #0000ff">SELECT</span> <span style="color: #006080">'x'</span><span style="color: #0000ff">FROM</span> psprsmsysattrvl<span style="color: #0000ff">WHERE</span> portal_name = f.portal_name<span style="color: #0000ff">AND</span> portal_reftype = f.portal_reftype<span style="color: #0000ff">AND</span> portal_objname = f.portal_objname<span style="color: #0000ff">AND</span> portal_attr_nam = <span style="color: #006080">'PORTAL_HIDE_FROM_NAV'</span><span style="color: #0000ff">AND</span> f.portal_objname <span style="color: #0000ff">NOT</span> <span style="color: #0000ff">IN</span> (<span style="color: #006080">'CO_NAVIGATION_COLLECTIONS'</span>,                                                  <span style="color: #006080">'PORTAL_BASE_DATA'</span>))<span style="color: #0000ff">AND</span> b.authorizedactions = c.authorizedactions<span style="color: #0000ff">AND</span> f.portal_reftype = <span style="color: #006080">'C'</span><span style="color: #0000ff">AND</span> f.portal_cref_usgt = <span style="color: #006080">'TARG'</span><span style="color: #0000ff">AND</span> f.portal_name = g.portal_name<span style="color: #0000ff">AND</span> f.portal_reftype = g.portal_reftype<span style="color: #0000ff">AND</span> f.portal_objname = g.portal_objname<span style="color: #0000ff">AND</span> a.classid = g.portal_permname<span style="color: #0000ff">AND</span> b.classid = g.portal_permname<span style="color: #0000ff">AND</span> f.portal_name = <span style="color: #006080">'EMPLOYEE'</span><span style="color: #0000ff">AND</span> f.portal_uri_seg1 &lt;&gt; <span style="color: #006080">' '</span><span style="color: #0000ff">AND</span> f.portal_uri_seg2 &lt;&gt; <span style="color: #006080">' '</span><span style="color: #0000ff">AND</span> f.portal_uri_seg3 &lt;&gt; <span style="color: #006080">' '</span><span style="color: #0000ff">AND</span> f.portal_uri_seg1 = b.menuname<span style="color: #0000ff">AND</span> b.pnlitemname = d.itemname  <span style="color: #0000ff">WITH</span> UR;
</pre>
<p></div>
]]></content:encoded>
			<wfw:commentRss>http://workingscripts.com/2009/06/peoplsoft-retrieving-portal-security-record-navigation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle&#8217;s Safari Online &#8211; Free Edition?</title>
		<link>http://workingscripts.com/2009/06/oracle-books-online-free-edition/</link>
		<comments>http://workingscripts.com/2009/06/oracle-books-online-free-edition/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 15:38:12 +0000</pubDate>
		<dc:creator>Iouri Chadour</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle Database]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[PeopleSoft]]></category>

		<guid isPermaLink="false">http://workingscripts.com/?p=55</guid>
		<description><![CDATA[ It seems that Oracle have caught on with the Virtual Documentation, not only lots of books are available in common formats, but they allow you to format your search results as a book as well. Now you can take just what you need and read it on your screen or printed and stapled. I [...]]]></description>
			<content:encoded><![CDATA[<p> It seems that Oracle have caught on with the Virtual Documentation, not only lots of books are available in common formats, but they allow you to format your search results as a book as well. Now you can take just what you need and read it on your screen or printed and stapled. I guess they really want us to know know more about their products!</p>
<p>Here is a link to </p>
<p><a href="http://www.oracle.com/pls/db111/portal.all_books">Oracle Database Online Documentation 11g Release 1 (11.1)</a></p>
<p>And here PeopleBooks Link:</p>
<p><a title="http://download.oracle.com/docs/cd/E12341_01/crm9pbr0_run2/eng/index.htm" href="http://download.oracle.com/docs/cd/E12341_01/crm9pbr0_run2/eng/index.htm">http://download.oracle.com/docs/cd/E12341_01/crm9pbr0_run2/eng/index.htm</a><a href="http://workingscripts.com/wp-content/uploads/2009/06/captured-image.png"><img title="captured_Image.png" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="164" alt="captured_Image.png" src="http://workingscripts.com/wp-content/uploads/2009/06/captured-image-thumb.png" width="244" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://workingscripts.com/2009/06/oracle-books-online-free-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nVision Performance Tuning</title>
		<link>http://workingscripts.com/2009/05/nvision-performance-tuning/</link>
		<comments>http://workingscripts.com/2009/05/nvision-performance-tuning/#comments</comments>
		<pubDate>Sat, 23 May 2009 23:23:51 +0000</pubDate>
		<dc:creator>Iouri Chadour</dc:creator>
				<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[nVision]]></category>
		<category><![CDATA[nVisoin]]></category>

		<guid isPermaLink="false">http://workingscripts.com/?p=24</guid>
		<description><![CDATA[As many PeopleSoft developers and managers I have suffered through my share of nVision Tuning efforts and until very recent we could not get our reports to run under 4 hours, until the recent change&#8230;   In any case here are a few points from my experience:    We experienced an almost [...]]]></description>
			<content:encoded><![CDATA[<p>As many PeopleSoft developers and managers I have suffered through my share of nVision Tuning efforts and until very recent we could not get our reports to run under 4 hours, until the recent change&#8230;   <br />In any case here are a few points from my experience:    <br />We experienced an almost almost 5 fold increase in performance when we did a PS_LEDGER reorg with PSCLEDGER index option as follows:</p>
<div id="codeSnippetWrapper" style="border-right: silver 1px solid; padding-right: 4px; border-top: silver 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: silver 1px solid; width: 97.5%; cursor: text; direction: ltr; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: silver 1px solid; font-family: &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4; text-align: left">
<div id="codeSnippet" style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"><span id="lnum1" style="color: #606060">   1:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"><span id="lnum2" style="color: #606060">   2:</span> db2 &quot;reorg <span style="color: #0000ff">table</span> PSFSSYS.PS_LEDGER <span style="color: #0000ff">index</span> PSFSSYS.PSCLEDGER allow <span style="color: #0000ff">read</span> access indexscan&quot;</pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"><span id="lnum3" style="color: #606060">   3:</span> db2 &quot;RUNSTATS <span style="color: #0000ff">ON</span> <span style="color: #0000ff">TABLE</span> PSFSSYS.PS_LEDGER <span style="color: #0000ff">FOR</span> <span style="color: #0000ff">INDEX</span> PSFSSYS.PSCLEDGER&quot;</pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"><span id="lnum4" style="color: #606060">   4:</span> db2 &quot;reorgchk <span style="color: #0000ff">current</span> <span style="color: #0000ff">statistics</span> <span style="color: #0000ff">on</span> <span style="color: #0000ff">table</span> PSFSSYS.PS_LEDGER&quot;</pre>
<p><!--CRLF--></div>
</div>
<p>Also it is great to cleanup treeselectors, to make sure that static selectors did not get out of sync with trees, this can be done on a regular basis, see a sample script below. Please note that the number in the end of the treeselector name xx &#8211; corresponds to the chartfield length:</p>
<div id="codeSnippetWrapper" style="border-right: silver 1px solid; padding-right: 4px; border-top: silver 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: silver 1px solid; width: 97.5%; cursor: text; direction: ltr; max-height: 200px; line-height: 12pt; padding-top: 4px; border-bottom: silver 1px solid; font-family: &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4; text-align: left">
<div id="codeSnippet" style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"><span id="lnum1" style="color: #606060">   1:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"><span id="lnum2" style="color: #606060">   2:</span> <span style="color: #008000">-- Delete TreeSelectors</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"><span id="lnum3" style="color: #606060">   3:</span> <span style="color: #0000ff">Delete</span> <span style="color: #0000ff">from</span> PSFSSYS.PSTREESELECT05;</pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"><span id="lnum4" style="color: #606060">   4:</span> <span style="color: #0000ff">Delete</span> <span style="color: #0000ff">from</span> PSFSSYS.PSTREESELECT06;</pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"><span id="lnum5" style="color: #606060">   5:</span> <span style="color: #0000ff">Delete</span> <span style="color: #0000ff">from</span> PSFSSYS.PSTREESELECT10;</pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"><span id="lnum6" style="color: #606060">   6:</span>&#160; </pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"><span id="lnum7" style="color: #606060">   7:</span> <span style="color: #008000">-- Delete Tree Control table for the respective selectors above</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none"><span id="lnum8" style="color: #606060">   8:</span> <span style="color: #0000ff">delete</span> <span style="color: #0000ff">from</span> PSFSSYS.pstreeselctl</pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none"><span id="lnum9" style="color: #606060">   9:</span> <span style="color: #0000ff">where</span> length <span style="color: #0000ff">in</span> (5,6,10);</pre>
<p><!--CRLF--></div>
</div>
<p>For details about PeopleSoft nVision architecture and structure please make sure to read the Red Paper by clicking below </p>
<p><a title="PeopleSoft nVision Red Paper" href="http://www.scribd.com/doc/15757313/Red-Paper-Psnvision" target="_blank">PeopleSoft nVision Red Paper</a></p>
<p>Tags: <a href="http://technorati.com/tag/PeopleSoft" rel="tag">PeopleSoft</a> <a href="http://technorati.com/tag/nVisoin" rel="tag">nVisoin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://workingscripts.com/2009/05/nvision-performance-tuning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PeopleSoft Debugging Techniques &#8211; Part I (Batch)</title>
		<link>http://workingscripts.com/2009/05/peoplesoft-debugging-techniques/</link>
		<comments>http://workingscripts.com/2009/05/peoplesoft-debugging-techniques/#comments</comments>
		<pubDate>Sat, 23 May 2009 21:36:34 +0000</pubDate>
		<dc:creator>Iouri Chadour</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://workingscripts.com/?p=19</guid>
		<description><![CDATA[I would like to briefly describe some of the PeopleSoft&#160; debugging techniques that I have used and found invaluable during development batch and online programs. 
SQR Debugging 




Flag


Description



-S
Choose Append Option on Parameter List of Process Definition. All of your SQL statements – simple and clear + execution counts


–debug(flag)
Choose Append Option on Parameter List of Process [...]]]></description>
			<content:encoded><![CDATA[<p>I would like to briefly describe some of the PeopleSoft&#160; debugging techniques that I have used and found invaluable during development batch and online programs. </p>
<p><font size="4"><strong>SQR Debugging </strong></font></p>
<table cellspacing="0" cellpadding="2" width="431" border="1">
<tbody>
<tr>
<td valign="top" width="97">
<p align="center"><strong>Flag</strong></p>
</td>
<td valign="top" width="332">
<p align="center"><strong>Description</strong></p>
</td>
</tr>
<tr>
<td valign="top" width="97"><strong>-S</strong></td>
<td valign="top" width="332">Choose <strong>Append</strong> Option on <strong>Parameter List </strong>of Process Definition. All of your SQL statements – simple and clear + execution counts</td>
</tr>
<tr>
<td valign="top" width="97"><strong>–debug(flag)</strong></td>
<td valign="top" width="332">Choose <strong>Append</strong> Option on <strong>Parameter List </strong>of Process Definition. Put the following statements in your code          </p>
<p><strong>#debug(flag) show           <br />#debug(flag) display            </p>
<p></strong>this will allow you to display definitions in your log. What is most useful this allows you to specify different levels of tracing using the <strong>flag – </strong>which can be letters A-Z. Specifying –<strong>debug(A-Z) </strong>on process definition it allows you to selectively display your debug statements.</td>
</tr>
</tbody>
</table>
<p><font size="4"><strong></strong></font></p>
<p><font size="4"><strong>COBOL Debugging </strong></font></p>
<table cellspacing="0" cellpadding="2" width="451" border="1">
<tbody>
<tr>
<td valign="top" width="253">
<p align="center"><strong>Flag</strong></p>
</td>
<td valign="top" width="196">
<p align="center"><strong>Description</strong></p>
</td>
</tr>
<tr>
<td valign="top" width="253">
<pre><strong><code>%%PRCSNAME%% %%DBTYPE%%/</code><code>%%DBNAME%%/</code></strong></pre>
<pre><strong><code>%%OPRID%%/</code></strong></pre>
<pre><code><strong>%%OPRPSWD%%/%%RUNCNTLID%%/</strong></code></pre>
<pre><code><strong>%%INSTANCE%%//%%DBFLAG%%</strong></code></pre>
</td>
<td valign="top" width="196">Choose <strong>Override</strong> Option on <strong>Parameter List </strong>of Process Definition. Copy and paste Flags and run your process normally. You will see the trace file in the Process Monitor</td>
</tr>
</tbody>
</table>
<p>&#160;</p>
<p><font size="4"><strong>App Engine Debugging </strong></font></p>
<table cellspacing="0" cellpadding="2" width="400" border="1">
<tbody>
<tr>
<td valign="top" width="165">
<p align="center"><strong>Flag</strong></p>
</td>
<td valign="top" width="235">
<p align="center"><strong>Description</strong></p>
</td>
</tr>
<tr>
<td valign="top" width="165">
<p><strong>-TRACE 131 </strong></p>
<pre><code><strong></strong></code></pre>
</td>
<td valign="top" width="235">Choose <strong>Append</strong> Option on <strong>Parameter List </strong>of Process Definition. </p>
<p><strong>Required</strong> to start the app engine trace. Does not display much more than message log</td>
</tr>
</tbody>
</table>
<table cellspacing="0" cellpadding="2" width="402" border="1">
<tbody>
<tr>
<td valign="top" width="165">
<p><strong>-TRACE 131</strong></p>
<p><strong>-TOOLSTRACEPC 2048</strong></p>
<pre><code><strong></strong></code></pre>
</td>
<td valign="top" width="235">Choose <strong>Append</strong> Option on <strong>Parameter List </strong>of Process Definition. </p>
<p>Adding <strong>TOOLSTRACEPC </strong>with a number causes detailed PeopleCode code trace – be careful those can get very large and significantly impact performance. </td>
</tr>
</tbody>
</table>
<table cellspacing="0" cellpadding="2" width="402" border="1">
<tbody>
<tr>
<td valign="top" width="165">
<p><strong>-TRACE 131 </strong></p>
<p><strong>-TOOLSTRACESQL 31</strong></p>
<pre><code><strong></strong></code></pre>
</td>
<td valign="top" width="235">Choose <strong>Append</strong> Option on <strong>Parameter List </strong>of Process Definition. </p>
<p>Adding </p>
<p><strong>TOOLSTRACESQL </strong></p>
<p>with a number causes detailed SQL trace. This option should always be used when tracing – app engine are all about SQL. </td>
</tr>
</tbody>
</table>
<p>&#160;</p>
<p>App engine can also be debugged on the client. In order to do this you need to configure trace setting in the configuration manager:</p>
<p><a href="http://workingscripts.com/wp-content/uploads/2009/05/image.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="322" alt="image" src="http://workingscripts.com/wp-content/uploads/2009/05/image-thumb.png" width="425" border="0" /></a> </p>
<p>&#160;</p>
<p>Open App Engine program&#160; in the Application Designer, press the Run Program icon and enter the Run Control ID and Process Instance Number (You should have an existing process instance and run control id defined online). Click ‘OK’ to run the App Engine process in two-tier mode.</p>
<p>&#160;</p>
<p>If you would like to read about debugging in more details here is an excellent overview presentation by Kai Markowitz from CSU:</p>
<p><a title="http://www.scribd.com/doc/15756180/Tracing-Debugging-in-People-Tools-84x-CMS411" href="http://www.scribd.com/doc/15756180/Tracing-Debugging-in-People-Tools-84x-CMS411">http://www.scribd.com/doc/15756180/Tracing-Debugging-in-People-Tools-84x-CMS411</a></p>
</p>
<div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:08ec926f-3712-44f8-ad43-0a7f0419b519" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">del.icio.us Tags: <a href="http://del.icio.us/popular/Peoplesoft" rel="tag">Peoplesoft</a>,<a href="http://del.icio.us/popular/Debugging" rel="tag">Debugging</a>,<a href="http://del.icio.us/popular/AppEngine" rel="tag">AppEngine</a>,<a href="http://del.icio.us/popular/SQR" rel="tag">SQR</a>,<a href="http://del.icio.us/popular/PeopleCode" rel="tag">PeopleCode</a></div>
</p>
<p>Tags: <a href="http://technorati.com/tag/Peoplesoft" rel="tag">Peoplesoft</a> <a href="http://technorati.com/tag/Debugging" rel="tag">Debugging</a> <a href="http://technorati.com/tag/AppEngine" rel="tag">AppEngine</a> <a href="http://technorati.com/tag/SQR" rel="tag">SQR</a> <a href="http://technorati.com/tag/PeopleCode" rel="tag">PeopleCode</a></p>
]]></content:encoded>
			<wfw:commentRss>http://workingscripts.com/2009/05/peoplesoft-debugging-techniques/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PeopleSoft for DBA Part 1</title>
		<link>http://workingscripts.com/2009/05/peoplesoft-dba-stuff-1/</link>
		<comments>http://workingscripts.com/2009/05/peoplesoft-dba-stuff-1/#comments</comments>
		<pubDate>Fri, 22 May 2009 13:58:26 +0000</pubDate>
		<dc:creator>Iouri Chadour</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PeopleSoft]]></category>

		<guid isPermaLink="false">http://workingscripts.com/?p=12</guid>
		<description><![CDATA[Here a great presentation by David Kurtz the author of the
“PeopleSoft for the Oracle DBA”.  It has a few nice things that DBA should know, especially PeopleSoft DBA. I hope you enjoy this and share with others let me know if you have any questions and I will try to post more original and hopefully [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Here a great presentation by David Kurtz the author of the</p>
<p><span>“<em>PeopleSoft for the Oracle DBA</em>”.  It has a few nice things that DBA should know, especially PeopleSoft DBA. I hope you enjoy this and share with others let me know if you have any questions and I will try to post more original and hopefully useful material:</span></p>
<p><a title="http://www.scribd.com/doc/15709032/People-Soft-for-the-DBA" href="http://www.scribd.com/doc/15709032/People-Soft-for-the-DBA">http://www.scribd.com/doc/15709032/People-Soft-for-the-DBA</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://workingscripts.com/2009/05/peoplesoft-dba-stuff-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PeopleSoft and Fusion Platform</title>
		<link>http://workingscripts.com/2009/05/peoplesoft-fusion-platform/</link>
		<comments>http://workingscripts.com/2009/05/peoplesoft-fusion-platform/#comments</comments>
		<pubDate>Fri, 22 May 2009 12:03:12 +0000</pubDate>
		<dc:creator>Iouri Chadour</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[ppt]]></category>
		<category><![CDATA[presentation]]></category>

		<guid isPermaLink="false">http://workingscripts.com/?p=11</guid>
		<description><![CDATA[This is an Oracle presentation from some time ago but I think it has a good overview of the Fusion Technology and general product direction that is still valid. It talks about how Fusion plugs into PeopleSoft and other architectures, XML Publisher etc.
http://www.scribd.com/doc/15708929/Technology-Directions-Oracle

Tags: PeopleSoft DBA
]]></description>
			<content:encoded><![CDATA[<blockquote><p>This is an Oracle presentation from some time ago but I think it has a good overview of the Fusion Technology and general product direction that is still valid. It talks about how Fusion plugs into PeopleSoft and other architectures, XML Publisher etc.</p>
<p><a title="http://www.scribd.com/doc/15708929/Technology-Directions-Oracle" href="http://www.scribd.com/doc/15708929/Technology-Directions-Oracle">http://www.scribd.com/doc/15708929/Technology-Directions-Oracle</a></p>
</blockquote>
<p>Tags: <a href="http://technorati.com/tag/PeopleSoft" rel="tag">PeopleSoft</a> <a href="http://technorati.com/tag/DBA" rel="tag">DBA</a></p>
]]></content:encoded>
			<wfw:commentRss>http://workingscripts.com/2009/05/peoplesoft-fusion-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
