<?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>Extra Hot &#187; SQR</title>
	<atom:link href="http://xtrahot.chili-mango.net/category/ps/sqr/feed/" rel="self" type="application/rss+xml" />
	<link>http://xtrahot.chili-mango.net</link>
	<description>Extra spicy goodness</description>
	<lastBuildDate>Wed, 07 Nov 2012 13:22:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>CSV output in SQR</title>
		<link>http://xtrahot.chili-mango.net/2005/11/csv-output-in-sqr/</link>
		<comments>http://xtrahot.chili-mango.net/2005/11/csv-output-in-sqr/#comments</comments>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<dc:creator>ChiliJoe</dc:creator>
				<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[SQR]]></category>

		<guid isPermaLink="false">http://www.chili-mango.net/wpmove/2005/11/csv-output-in-sqr/</guid>
		<description><![CDATA[Do you know that SQR supports writing CSV reports using its <code class="SQR">print</code> command? In the column number, specify the column number as it will be displayed in Excel. <a href="http://xtrahot.chili-mango.net/2005/11/csv-output-in-sqr/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I don&#8217;t get to code much SQR in my current job, this is something new I learned recently.</p>
<p>Do you know that SQR supports writing CSV reports using its <code class="SQR">print</code> command? In the column number, specify the column number as it will be displayed in Excel. For example, a 3-column sheet, the SQR code looks like this:</p>
<p><span id="more-21"></span></p>
<pre><code class="SQR">
   print "Column 1" (1,1)
   print "Column 2" (,2)
   print "Column 3" (,3)

   print $line1a    (+1,1)
   print $line1b    (,2)
   print $line1c    (,3)

   print $line2a    (+1,1)
   print $line2b    (,2)
   print $line2c    (,3)
</code></pre>
<p>SQR takes care of the formatting if the value being printed contains embedded commas and quotes. To instruct SQR to print in CSV mode, the -EH_CSV should be added to the SQR command-line parameters. In Process Scheduler, it adds this parameter if you choose CSV as the output format.</p>
]]></content:encoded>
			<wfw:commentRss>http://xtrahot.chili-mango.net/2005/11/csv-output-in-sqr/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>
