<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: Tip &#8212; PeopleTools: Application Engine Logging Ap&#8230;</title>
	<atom:link href="http://psst0101.wordpress.com/2006/08/22/tip-peopletools-application-engine-logging-ap/feed/" rel="self" type="application/rss+xml" />
	<link>http://psst0101.wordpress.com/2006/08/22/tip-peopletools-application-engine-logging-ap/</link>
	<description>Just Trying to Remember and Share What I Learn at Work</description>
	<pubDate>Sun, 07 Sep 2008 17:26:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: digitaleagle</title>
		<link>http://psst0101.wordpress.com/2006/08/22/tip-peopletools-application-engine-logging-ap/#comment-65</link>
		<dc:creator>digitaleagle</dc:creator>
		<pubDate>Thu, 09 Aug 2007 13:02:30 +0000</pubDate>
		<guid isPermaLink="false">http://psst0101.wordpress.com/2006/08/22/tip-peopletools-application-engine-logging-ap/#comment-65</guid>
		<description>radha krishnan,

Here is a quick version.  When I get time, I will try to create a new post with more specifics.

First, create a file layout.  This will basically map the fields in the database to the structure in the file.

Then, create an App Engine that looks something like this:

Step 1: Open the file with a component or global variable, attach the file layout to the file (SetFileLayout)
Step 2: Create a Do Select to select the rows, Create a PeopleCode action that runs for each row that will copy the data into the file layout rowset.  Then write the row set.
Step 3: Close the file

Alternative: instead of using the Do Select, you could combine everything into one step and use a SQL object in PeopleCode to select the data.

Hope that helps,

Stephen</description>
		<content:encoded><![CDATA[<p>radha krishnan,</p>
<p>Here is a quick version.  When I get time, I will try to create a new post with more specifics.</p>
<p>First, create a file layout.  This will basically map the fields in the database to the structure in the file.</p>
<p>Then, create an App Engine that looks something like this:</p>
<p>Step 1: Open the file with a component or global variable, attach the file layout to the file (SetFileLayout)<br />
Step 2: Create a Do Select to select the rows, Create a PeopleCode action that runs for each row that will copy the data into the file layout rowset.  Then write the row set.<br />
Step 3: Close the file</p>
<p>Alternative: instead of using the Do Select, you could combine everything into one step and use a SQL object in PeopleCode to select the data.</p>
<p>Hope that helps,</p>
<p>Stephen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: radha krishnan</title>
		<link>http://psst0101.wordpress.com/2006/08/22/tip-peopletools-application-engine-logging-ap/#comment-64</link>
		<dc:creator>radha krishnan</dc:creator>
		<pubDate>Thu, 09 Aug 2007 12:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://psst0101.wordpress.com/2006/08/22/tip-peopletools-application-engine-logging-ap/#comment-64</guid>
		<description>can u clearly give the procedure how to create a file and load data into tht file from the database?</description>
		<content:encoded><![CDATA[<p>can u clearly give the procedure how to create a file and load data into tht file from the database?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
