<?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>iPort Technology</title>
	<atom:link href="http://iporttech.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://iporttech.com</link>
	<description>RPG programming for the IBM Power i</description>
	<lastBuildDate>Fri, 05 Nov 2010 12:52:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Format Text Date</title>
		<link>http://iporttech.com/format-text-date/</link>
		<comments>http://iporttech.com/format-text-date/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 00:13:08 +0000</pubDate>
		<dc:creator>MrPort</dc:creator>
				<category><![CDATA[Service Programs]]></category>
		<category><![CDATA[format date rpg]]></category>
		<category><![CDATA[sample RPGLE code]]></category>

		<guid isPermaLink="false">http://iporttech.com/?p=87</guid>
		<description><![CDATA[&#160; &#160;&#160;&#160;&#160;&#160; //___________________________________________________________ &#160;&#160;&#160;&#160;&#160; //&#160; TextDate():&#160; Returns the current date, formatted as text &#160;&#160;&#160;&#160;&#160; // &#160;&#160;&#160;&#160;&#160; //&#160;&#160;&#160;&#160; For example:&#160; &#8216;Aug 25, 2009&#8242; &#160;&#160;&#160;&#160;&#160; //&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175;&#175; &#160;&#160;&#160;&#160; p TextDate&#160;&#160;&#160;&#160;&#160;&#160;&#160; b &#160;&#160;&#160;&#160; d&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pi&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 25a &#160;&#160;&#160;&#160; d&#160; peDate&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; d&#160;&#160; Options(*NoPass) &#160;&#160;&#160;&#160; d&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; DatFmt(*ISO) &#160;&#160;&#160;&#160; d CurDate&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; s&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; d&#160;&#160; DatFmt(*ISO) &#160;&#160;&#160;&#160; d&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Inz(*Sys) &#160;&#160;&#160;&#160; d CurDay&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; s&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 2p 0 [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<table width="90%" cellspacing="1" cellpadding="1" border="2">
<tbody>
<tr>
<td><span style="font-family: Courier New;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //___________________________________________________________<br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;  TextDate():&nbsp; Returns the current date, formatted as text<br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //<br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  //&nbsp;&nbsp;&nbsp;&nbsp; For example:&nbsp; &#8216;Aug 25, 2009&#8242;<br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  //&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;&macr;<br />
            &nbsp;&nbsp;&nbsp;&nbsp; p  TextDate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; b<br />
            &nbsp;&nbsp;&nbsp;&nbsp; d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 25a<br />
            &nbsp;&nbsp;&nbsp;&nbsp; d&nbsp;  peDate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; d&nbsp;&nbsp; Options(*NoPass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p;&nbsp;&nbsp;&nbsp; 4p 0<br />
            &nbsp;&nbsp;&nbsp;&nbsp; d CurMM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; s&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2p  0<br />
            &nbsp;&nbsp;&nbsp;&nbsp; d CurMonth&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; s&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3a&nbsp;&nbsp; varying</p>
<p>            &nbsp;&nbsp;&nbsp;&nbsp; d  retField&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; s&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 25a</p>
<p>            &nbsp;&nbsp;&nbsp;&nbsp; d MonthsDS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ds<br />
            &nbsp;&nbsp;&nbsp;&nbsp;  d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3a&nbsp;&nbsp; Inz(&#8216;Jan&#8217;)<br />
            &nbsp;&nbsp;&nbsp;&nbsp;  d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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bsp;&nbsp;  /Free</p>
<p>            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If %Parms &gt; 0;<br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CurDate =  peDate;<br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EndIf;<br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CurDay&nbsp; = %subdt(CurDate  :*Days);<br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CurYear = %subdt(CurDate :*Years);<br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CurMM&nbsp;&nbsp;  = %subdt(CurDate :*Months);</p>
<p>            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CurMonth =  Months(CurMM);</p>
<p>            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; retField = CurMonth + &#8216;  &#8216;<br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + %EditC( CurDay: &#8216;X&#8217; ) + &#8216;, &#8216;<br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +  %EditC( CurYear: &#8216;X&#8217; );</p>
<p>            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Return retField;</p>
<p>            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  /End-Free<br />
            &nbsp;&nbsp;&nbsp;&nbsp; p&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; e<br />
            </span></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://iporttech.com/format-text-date/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RPG center text Procedure</title>
		<link>http://iporttech.com/rpg-center-text-procedure/</link>
		<comments>http://iporttech.com/rpg-center-text-procedure/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 04:04:41 +0000</pubDate>
		<dc:creator>MrPort</dc:creator>
				<category><![CDATA[Service Programs]]></category>
		<category><![CDATA[example code]]></category>
		<category><![CDATA[procedures]]></category>

		<guid isPermaLink="false">http://iporttech.com/?p=75</guid>
		<description><![CDATA[&#160; &#160; h NoMain &#160; &#160; &#160;//_______________________________________________________________ &#160; &#160; &#160;// &#160; &#160;&#353;Center text. &#160; &#160; &#160;// &#160; &#160;&#353;Returns passed in text centered within size of field &#160; &#160; &#160;// &#160; &#160;&#353;passed in. &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; // &#160; &#160; Copyright 2009 &#160;&#160;&#160;&#160; //&#160;&#160;&#160; iPort Tech&#160; www.iPortTech.com &#160; &#160; &#160;//_______________________________________________________________ &#160; &#160; &#160;//&#710;Revision Log &#160; &#160; &#160;//žDate &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<table height="578" width="662" cellspacing="1" cellpadding="1" border="2" align="center" style="">
<tbody>
<tr>
<td>
<div><font face="courier new,monospace">&nbsp; &nbsp; h NoMain</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp;//___________________________<wbr></wbr>______________________________<wbr></wbr>______</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp;// &nbsp; &nbsp;&scaron;Center text.</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp;// &nbsp; &nbsp;&scaron;Returns passed in text centered within size of field</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp;// &nbsp; &nbsp;&scaron;passed in.</font></div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-family: Courier New;">// &nbsp; &nbsp; Copyright 2009</span></div>
<div><span style="font-family: Courier New;">&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; iPort Tech&nbsp; www.iPortTech.com</span></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp;//___________________________<wbr></wbr>______________________________<wbr></wbr>______</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp;//&circ;Revision Log</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp;//žDate &nbsp; &nbsp; &nbsp; žProgrammer &nbsp; žComment</font></div>
<div><font face="courier new,monospace">&nbsp;</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp;/Copy cpysrc,z_Center</font></div>
<div><font face="courier new,monospace">&nbsp;</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp;//___________________________<wbr></wbr>______________________________<wbr></wbr>______</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; p z_Center &nbsp; &nbsp; &nbsp; &nbsp;b &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Export</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; d &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pi &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 256a</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; d peString &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 256a &nbsp; Const</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; d &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Varying</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; d peLength &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5u 0 Const</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; d &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Options(*NoPass)</font></div>
<div><font face="courier new,monospace">&nbsp;</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; d StartPos &nbsp; &nbsp; &nbsp; &nbsp;s &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5i 0 Inz</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; d wwLen &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; s &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5i 0 Inz</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; d retField &nbsp; &nbsp; &nbsp;&nbsp; s&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 256a &nbsp; Varying</font></div>
<div><font face="courier new,monospace">&nbsp;</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp;/Free</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp; If %Parms &gt; 1;</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp; &nbsp; wwLen = peLength;</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp; Else;</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp; &nbsp; wwLen = %Len(peString);</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp; EndIf;</font></div>
<div><font face="courier new,monospace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; retField = wwLen;</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp; StartPos = ((wwLen &#8211; %Len(%Trim(peString))) / 2) + 1;</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp; %SubSt(retField :StartPos) = %Trim(peString);</font></div>
<div><font face="courier new,monospace">&nbsp;</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp; Return retField;</font></div>
<div><font face="courier new,monospace">&nbsp; &nbsp; &nbsp;/End-Free</font></div>
<p>            <font face="courier new,monospace">&nbsp; &nbsp; p &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e&nbsp; </font></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://iporttech.com/rpg-center-text-procedure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>API Programming</title>
		<link>http://iporttech.com/api-programming/</link>
		<comments>http://iporttech.com/api-programming/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 06:15:02 +0000</pubDate>
		<dc:creator>MrPort</dc:creator>
				<category><![CDATA[API Programming]]></category>
		<category><![CDATA[ile rpg]]></category>
		<category><![CDATA[rpg api's]]></category>
		<category><![CDATA[rpg iv]]></category>

		<guid isPermaLink="false">http://iporttech.com/?p=42</guid>
		<description><![CDATA[The number of API&#8217;s available on the Power i are increasing with each release of the OS. Why aren&#8217;t you taking advantage of these handy tools? Admittedly some API&#8217;s are very complex and cumbersome. We can help you write simple to use wrappers around some of these giving your programming staff easy access to these [...]]]></description>
			<content:encoded><![CDATA[<p>The number of API&#8217;s available on the Power i are increasing with each release of the OS. Why aren&#8217;t you taking advantage of these handy tools?</p>
<p>Admittedly some API&#8217;s are very complex and cumbersome. We can help you write simple to use wrappers around some of these giving your programming staff easy access to these tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://iporttech.com/api-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Binding Directories</title>
		<link>http://iporttech.com/binding-directories/</link>
		<comments>http://iporttech.com/binding-directories/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 05:56:50 +0000</pubDate>
		<dc:creator>MrPort</dc:creator>
				<category><![CDATA[Binding Directories]]></category>
		<category><![CDATA[ile rpg]]></category>
		<category><![CDATA[rpg]]></category>
		<category><![CDATA[rpg iv]]></category>

		<guid isPermaLink="false">http://iporttech.com/?p=36</guid>
		<description><![CDATA[Did you know by placing the correct H spec in your RPG code listing a binding directory you can eliminate the need to manually bind all procedures and service programs when you create your program? The use of binding directories in combination with /Copy code can help standardize your applications and reduce complex processes to [...]]]></description>
			<content:encoded><![CDATA[<p>Did you know by placing the correct H spec in your RPG code listing a binding directory you can eliminate the need to manually bind all procedures and service programs when you create your program?</p>
<p>The use of binding directories in combination with /Copy code can help standardize your applications and reduce complex processes to compile code.</p>
]]></content:encoded>
			<wfw:commentRss>http://iporttech.com/binding-directories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Service Programs</title>
		<link>http://iporttech.com/service-programs/</link>
		<comments>http://iporttech.com/service-programs/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 05:45:44 +0000</pubDate>
		<dc:creator>MrPort</dc:creator>
				<category><![CDATA[Service Programs]]></category>
		<category><![CDATA[rpg]]></category>
		<category><![CDATA[rpg iv]]></category>
		<category><![CDATA[rpgle]]></category>
		<category><![CDATA[service programs rpg]]></category>

		<guid isPermaLink="false">http://iporttech.com/?p=34</guid>
		<description><![CDATA[When do you use a service program and when do you use a module? There is a difference in performance with each and using the correct method can save processing time for your applications. We use modules when they are called for and service programs when the application justifies it. As always, if you have [...]]]></description>
			<content:encoded><![CDATA[<p>When do you use a service program and when do you use a module? There is a difference in performance with each and using the correct method can save processing time for your applications. We use modules when they are called for and service programs when the application justifies it.</p>
<p>As always, if you have questions we&#8217;d love to help you answer them.</p>
]]></content:encoded>
			<wfw:commentRss>http://iporttech.com/service-programs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subfile Programming</title>
		<link>http://iporttech.com/subfile-programming/</link>
		<comments>http://iporttech.com/subfile-programming/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 21:18:38 +0000</pubDate>
		<dc:creator>MrPort</dc:creator>
				<category><![CDATA[Subfiles]]></category>
		<category><![CDATA[rpg iv]]></category>
		<category><![CDATA[subfile programming RPG]]></category>
		<category><![CDATA[subfile rpg]]></category>

		<guid isPermaLink="false">http://iporttech.com/?p=20</guid>
		<description><![CDATA[Subfile programming can be tricky but is an essential part of RPG programming. We have the expertise to develop or enhance subfile applications for you. Don&#8217;t hesitate to contact us and take advantage of our knowledge and experience. We listen to what you want.]]></description>
			<content:encoded><![CDATA[<p>Subfile programming can be tricky but is an essential part of RPG programming.</p>
<p>We have the expertise to develop or enhance subfile applications for you. Don&#8217;t hesitate to contact us and take advantage of our knowledge and experience. We listen to what you want.</p>
]]></content:encoded>
			<wfw:commentRss>http://iporttech.com/subfile-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedded SQL</title>
		<link>http://iporttech.com/programming-services/</link>
		<comments>http://iporttech.com/programming-services/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 19:19:13 +0000</pubDate>
		<dc:creator>MrPort</dc:creator>
				<category><![CDATA[Embedded SQL]]></category>
		<category><![CDATA[embedded sql rpg]]></category>
		<category><![CDATA[sqlrpgle]]></category>

		<guid isPermaLink="false">http://iporttech.com/?p=11</guid>
		<description><![CDATA[Have you wanted to see multiple views of a physical file and had to create a logical file for each view? How about deleting whole sets of records without chaining or reading each one? With embedded SQL in RPG we can gather data from files in almost any view without creating logical files. The flexibility [...]]]></description>
			<content:encoded><![CDATA[<p>Have you wanted to see multiple views of a physical file and had to create a logical file for each view? How about deleting whole sets of records without chaining or reading each one?</p>
<p>With embedded SQL in RPG we can gather data from files in almost any view without creating logical files. The flexibility this provides is nearly invaluable. We can incorporate embedded SQL in applications for you.</p>
<p><a href="http://iporttech.com/contact">Contact</a> us for a sample embedded SQL RPGLE program.</p>
]]></content:encoded>
			<wfw:commentRss>http://iporttech.com/programming-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

