<?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; Development</title>
	<atom:link href="http://workingscripts.com/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://workingscripts.com</link>
	<description>The Stuff that Just Works</description>
	<lastBuildDate>Thu, 27 Oct 2011 17:03:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PeopleTools Gottchas</title>
		<link>http://workingscripts.com/2011/09/peopletools-gottchas/</link>
		<comments>http://workingscripts.com/2011/09/peopletools-gottchas/#comments</comments>
		<pubDate>Sun, 25 Sep 2011 19:18:00 +0000</pubDate>
		<dc:creator>Iouri Chadour</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[PeopleTools]]></category>

		<guid isPermaLink="false">http://workingscripts.com/?p=277</guid>
		<description><![CDATA[As I was working on the Peoplesoft upgrade project I have noticed that some of the developers were still using App. Designer Compare reports as a sole means to comparing the code and components during customization reapplication process. It seems the new ways of doing compares are not being used as extensively as I hoped. <a href='http://workingscripts.com/2011/09/peopletools-gottchas/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>As I was working on the Peoplesoft upgrade project I have noticed that some of the developers were still using App. Designer Compare reports as a sole means to comparing the code and components during customization reapplication process. It seems the new ways of doing compares are not being used as extensively as I hoped.</p>
<p>I figured I would write a quick post to remind my developers and others out there some of the features that have been implemented since version 8.49. For those experts readers who have been using these and other technics for awhile I would appreciate if you share your own technics.</p>
<p><strong> Running Compares</strong></p>
<p>So without further due, below you can see a sample PeopleSoft&#8217;s visual merge compare for Project Peoplecode. In order to save you from long and boring explanations &#8211; I will leave it to <a title="Using Merge Interface" href="http://download.oracle.com/docs/cd/E18083_01/pt851pbr0/eng/psbooks/tlcm/book.htm?File=tlcm/htm/tlcm05.htm#H4018" target="_blank">PeopleBooks &#8211; Using Merge Interface</a>. However I would like to add just a few comments &#8211; sometimes I find myself pasting compare code into good old Notepad++ and running a compare in there. I guess I do like the power of the full fledged editor and <a title="Notepad++ for Peoplecode and SQR" href="http://workingscripts.com/2009/06/notepad-peoplecode-sqr/" target="_blank">syntax highlighting</a> does not hurt as well.</p>
<p><a href="http://download.oracle.com/docs/cd/E18083_01/pt851pbr0/eng/psbooks/tlcm/img/graphic_Merge_interface_for_a_text_definitionge8a1940e8daeca39_61d5ea_129f6c07e1f__7f0d.png" target="_blank"><img class="alignnone" title="PeopleCode Compare/Merge" src="http://download.oracle.com/docs/cd/E18083_01/pt851pbr0/eng/psbooks/tlcm/img/graphic_Merge_interface_for_a_text_definitionge8a1940e8daeca39_61d5ea_129f6c07e1f__7f0d.png" alt="PeopleCode Compare/Merge" width="284" height="157" /></a></p>
<p>As much fun as App Designer reports are I always like to look at the reports in the HTML view  &#8211; better , faster and cleaner experience. And all it take is specifying Generate HTML report in the Compare Options in App Designer:</p>
<p><a href="http://workingscripts.com/wp-content/uploads/2011/09/generatebrowserreports.jpg"><img class="size-thumbnail wp-image-286 alignnone" title="Generate Browser Reports" src="http://workingscripts.com/wp-content/uploads/2011/09/generatebrowserreports-150x150.jpg" alt="Generate Browser Reports" width="150" height="150" /></a></p>
<p><strong>Secondary Pages</strong></p>
<p>If you are creating a complex page that contains some sort of look-up pages &#8211; always a good idea to split the interface and not create page that would overwhelm the user.  In earlier versions of tools going to secondary pages required user to transfer to a separate page, however since Tools 8.50 &#8211; secondary and modal pages can open in a modal JavaScript Popup that still allows you to stay on the same page:</p>
<p><a href="http://workingscripts.com/wp-content/uploads/2011/09/modalsecondaryform.jpg"><img class="alignleft size-thumbnail wp-image-283" title="modal secondary form" src="http://workingscripts.com/wp-content/uploads/2011/09/modalsecondaryform-150x150.jpg" alt="modal secondary form" width="150" height="150" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>In order to enable this behavior for existing and new pages you just need to enable one little checkbox and voila:</p>
<p><a href="http://download.oracle.com/docs/cd/E18083_01/pt851pbr0/eng/psbooks/tapd/img/graphic_Page_Properties_dialog_box_Secondary_page_typeg1aa489d66b0496d2_ef90c_129f5dc6782__40ab.png" target="_blank"><img class="alignnone" title="Enable Modal Secondary Page" src="http://download.oracle.com/docs/cd/E18083_01/pt851pbr0/eng/psbooks/tapd/img/graphic_Page_Properties_dialog_box_Secondary_page_typeg1aa489d66b0496d2_ef90c_129f5dc6782__40ab.png" alt="Enable Modal Secondary Page" width="155" height="205" /></a></p>
<p>&nbsp;</p>
<p><strong>Change Control</strong></p>
<p>When working in a team and making multiple changes to the environment you don&#8217;t want to be stepping on each others toes. Although still quite limited and inferior to Tools like Quest Stat &#8211; PeopleTools built in change control does provide you the ability to lock objects while you change them and leave comments as to what was done (always a good idea). This also helps with documentation &#8211; once you are done with the changes you can run a quick SQL and get a report of all the changes that were done for more please go to <a title="PeopleTools Change control" href="http://download.oracle.com/docs/cd/E18083_01/pt851pbr0/eng/psbooks/tapd/book.htm?File=tapd/htm/tapd24.htm#_563176ae_12cf5dc5362__1395" target="_blank">here</a>.</p>
<p>I hope you enjoy this and let me know if you have any suggestions.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://workingscripts.com/2011/09/peopletools-gottchas/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 <a href='http://workingscripts.com/2009/07/what-environment-am-i-in/'>[...]</a>]]></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>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 guess <a href='http://workingscripts.com/2009/06/oracle-books-online-free-edition/'>[...]</a>]]></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>Introducing PSUnit &#8211; Automate Your Testing</title>
		<link>http://workingscripts.com/2009/05/introducing-psunit-automate-your-testing-2/</link>
		<comments>http://workingscripts.com/2009/05/introducing-psunit-automate-your-testing-2/#comments</comments>
		<pubDate>Sat, 30 May 2009 21:05:57 +0000</pubDate>
		<dc:creator>Iouri Chadour</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[PeopleTools. AppClass]]></category>

		<guid isPermaLink="false">http://workingscripts.com/?p=35</guid>
		<description><![CDATA[It seems that PeopleSoft is really becoming object oriented – now it has it’s own automated unit testing&#160; tool, like JUnit – this one is called PSUnit. I hope this one is as good as it sounds. Check out the Wiki article below Introducing PSUnit &#8211; Oracle Wiki You can download the actual project file <a href='http://workingscripts.com/2009/05/introducing-psunit-automate-your-testing-2/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>It seems that PeopleSoft is really becoming object oriented – now it has it’s own automated unit testing&#160; tool, like JUnit – this one is called PSUnit. I hope this one is as good as it sounds. Check out the Wiki article below </p>
<p><a href="http://wiki.oracle.com/page/Introducing+PSUnit">Introducing PSUnit &#8211; Oracle Wiki</a></p>
<p>You can download the actual project file here:</p>
<p><a title="http://blogs.oracle.com/peopletools/2009/03/psunit_unit_test_framework_for.html" href="http://blogs.oracle.com/peopletools/2009/03/psunit_unit_test_framework_for.html">http://blogs.oracle.com/peopletools/2009/03/psunit_unit_test_framework_for.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://workingscripts.com/2009/05/introducing-psunit-automate-your-testing-2/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  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 <a href='http://workingscripts.com/2009/05/peoplesoft-debugging-techniques/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I would like to briefly describe some of the PeopleSoft  debugging techniques that I have used and found invaluable during development batch and online programs.</p>
<p><span style="font-size: medium;"><strong>SQR Debugging </strong></span></p>
<table border="1" cellspacing="0" cellpadding="2" width="431">
<tbody>
<tr>
<td width="97" valign="top"><strong>Flag</strong></td>
<td width="332" valign="top"><strong>Description</strong></td>
</tr>
<tr>
<td width="97" valign="top"><strong>-S</strong></td>
<td width="332" valign="top">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 width="97" valign="top"><strong>–debug(flag)</strong></td>
<td width="332" valign="top">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 </strong></p>
<p><strong> </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><span style="font-size: medium;"><strong> </strong></span></p>
<p><span style="font-size: medium;"><strong>COBOL Debugging </strong></span></p>
<table style="height: 122px;" border="1" cellspacing="0" cellpadding="0" width="662">
<tbody>
<tr>
<td width="287" valign="top"><strong>Flag</strong></td>
<td width="381" valign="top"><strong>Description</strong></td>
</tr>
<tr>
<td width="287" valign="top">
<pre><code><strong>%%PRCSNAME%% %%DBTYPE%%/%%DBNAME%%/%%OPRID%%/
%%OPRPSWD%%/%%RUNCNTLID%%/%%INSTANCE%%//%%DBFLAG%%</strong></code></pre>
</td>
<td width="381" valign="top">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><span style="font-size: medium;"><strong>App Engine Debugging</strong></span></p>
<table border="1" cellspacing="0" cellpadding="0" width="668">
<tbody>
<tr>
<td width="203" valign="top"><strong>Flag</strong></td>
<td width="465" valign="top"><strong>Description</strong></td>
</tr>
<tr>
<td width="203" valign="top"><strong>-TRACE 131 </strong></td>
<td width="465" valign="top">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>
<tr>
<td width="203" valign="top"><strong>-TRACE 131</strong></p>
<p><strong>-TOOLSTRACEPC 2048</strong></td>
<td width="465" valign="top">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>
<tr>
<td width="203" valign="top"><strong>-TRACE 131 </strong></p>
<p><strong>-TOOLSTRACESQL 31</strong></td>
<td width="465" valign="top">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>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 style="display: inline; border: 0px;" title="image" src="http://workingscripts.com/wp-content/uploads/2009/05/image-thumb.png" border="0" alt="image" width="425" height="322" /></a></p>
<p>Open App Engine program  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>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>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:08ec926f-3712-44f8-ad43-0a7f0419b519" class="wlWriterEditableSmartContent" style="display: inline; float: none; margin: 0px; padding: 0px;">del.icio.us Tags: <a rel="tag" href="http://del.icio.us/popular/Peoplesoft">Peoplesoft</a>,<a rel="tag" href="http://del.icio.us/popular/Debugging">Debugging</a>,<a rel="tag" href="http://del.icio.us/popular/AppEngine">AppEngine</a>,<a rel="tag" href="http://del.icio.us/popular/SQR">SQR</a>,<a rel="tag" href="http://del.icio.us/popular/PeopleCode">PeopleCode</a></div>
<p>Tags: <a rel="tag" href="http://technorati.com/tag/Peoplesoft">Peoplesoft</a> <a rel="tag" href="http://technorati.com/tag/Debugging">Debugging</a> <a rel="tag" href="http://technorati.com/tag/AppEngine">AppEngine</a> <a rel="tag" href="http://technorati.com/tag/SQR">SQR</a> <a rel="tag" href="http://technorati.com/tag/PeopleCode">PeopleCode</a></p>
]]></content:encoded>
			<wfw:commentRss>http://workingscripts.com/2009/05/peoplesoft-debugging-techniques/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

