<?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/tag/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>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>

