<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Code400 -The Support Alternative - RPG/RPGLE</title>
		<link>http://www.code400.com/forum/</link>
		<description>RPG/RPGLE Code Forum</description>
		<language>en</language>
		<lastBuildDate>Tue, 07 Sep 2010 00:44:15 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.code400.com/forum/images/misc/rss.png</url>
			<title>Code400 -The Support Alternative - RPG/RPGLE</title>
			<link>http://www.code400.com/forum/</link>
		</image>
		<item>
			<title>Setp. 6, 2010 HSSFCGI release</title>
			<link>http://www.code400.com/forum/showthread.php/9637-Setp.-6-2010-HSSFCGI-release?goto=newpost</link>
			<pubDate>Mon, 06 Sep 2010 22:16:12 GMT</pubDate>
			<description><![CDATA[There is a new release - dated Sept. 6, 2010 - of the Easy400.net utility HSSFCGI. 
 
This utility allows ILE-RPG programs to generate Excel spreadsheets with format XLS (Windows Office 2003) and XLSX (Windows office 2007). 
The utility is based on Scott Klement's service program HSSFR4 and POI...]]></description>
			<content:encoded><![CDATA[<div>There is a new release - dated Sept. 6, 2010 - of the Easy400.net utility HSSFCGI.<br />
<br />
This utility allows ILE-RPG programs to generate Excel spreadsheets with format XLS (Windows Office 2003) and XLSX (Windows office 2007).<br />
The utility is based on Scott Klement's service program HSSFR4 and POI Java classes 3.2 and 3.6.<br />
Everything (HSSFR4 and POI classes) is in the package.<br />
OS/400 V4R3 or subsequent.<br />
Open source and no charge.<br />
<br />
A special command, TABLEXLS, allows to generate spreadsheets directly from database files.<br />
An intermediate XML-like XLSGEN stream file is generated and then processed<br />
by spreadsheet generation commands (XLSGEN and XLSXGEN). <br />
<br />
Documentation at page <a href="http://www.easy400.net/hssfcgi/html/page1.htm" target="_blank">http://www.easy400.net/hssfcgi/html/page1.htm</a> .<br />
<br />
In previous HSSFCGI releases the spreadsheet generation commands (XLSGEN and XLSXGEN)<br />
could not read intermediate XML-like XLSGEN stream file larger than 16 Mb.<br />
<br />
<i>The current HSSFCGI release removes the 16Mb restriction.</i><br />
<br />
Giovanni B. Perotti</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/2-RPG-RPGLE">RPG/RPGLE</category>
			<dc:creator>jbperotti</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9637-Setp.-6-2010-HSSFCGI-release</guid>
		</item>
		<item>
			<title>Converting sheets O in external printer</title>
			<link>http://www.code400.com/forum/showthread.php/9636-Converting-sheets-O-in-external-printer?goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 22:06:36 GMT</pubDate>
			<description>I have an idea to develop a software application to *“convert” O sheets in external printer files*. In fact it should read one ILERPG source in iSeries, then change it and create an external printer file (DDS of type PRTF) in order to them be compiled and them would run in the same way former one...</description>
			<content:encoded><![CDATA[<div>I have an idea to develop a software application to <b>“convert” O sheets in external printer files</b>. In fact it should read one ILERPG source in iSeries, then change it and create an external printer file (DDS of type PRTF) in order to them be compiled and them would run in the same way former one used to do. <br />
<i>Do you know if sort of it is yet in market?<br />
Do you think someone could pay money to get its old O sheets converted in printer files?</i>Now I need to seek a partner in Barcelona (Catalonia) who was IBM partner to distribute it and to let me use its iSeries in order to develope my idea. :duh</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/2-RPG-RPGLE">RPG/RPGLE</category>
			<dc:creator>jmquintanad</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9636-Converting-sheets-O-in-external-printer</guid>
		</item>
		<item>
			<title>Array index is not valid in rpg/400</title>
			<link>http://www.code400.com/forum/showthread.php/9634-Array-index-is-not-valid-in-rpg-400?goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 04:59:56 GMT</pubDate>
			<description>Good Day!! 
 
I am facing the error , Array Index is not v alid, Kindly let me how solve this error. :duh 
 
Sudhaa</description>
			<content:encoded><![CDATA[<div>Good Day!!<br />
<br />
I am facing the error , Array Index is not v alid, Kindly let me how solve this error. :duh<br />
<br />
Sudhaa</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/2-RPG-RPGLE">RPG/RPGLE</category>
			<dc:creator>sudha</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9634-Array-index-is-not-valid-in-rpg-400</guid>
		</item>
		<item>
			<title>AS400 and vb.net</title>
			<link>http://www.code400.com/forum/showthread.php/9632-AS400-and-vb.net?goto=newpost</link>
			<pubDate>Fri, 03 Sep 2010 11:31:57 GMT</pubDate>
			<description>Dear All, 
 
I am setting in vb.net a connection to a physical file in as400 in order to generate an XML file 
am setting the connection as follow it is not working anyone can help in this issue? 
Thanks 
 
Imports System.Data 
Imports System.Data.SqlClient 
Imports System.IO</description>
			<content:encoded><![CDATA[<div>Dear All,<br />
<br />
I am setting in vb.net a connection to a physical file in as400 in order to generate an XML file<br />
am setting the connection as follow it is not working anyone can help in this issue?<br />
Thanks<br />
<br />
Imports System.Data<br />
Imports System.Data.SqlClient<br />
Imports System.IO<br />
<br />
Module Module1<br />
<br />
    Sub Main()<br />
<br />
        Dim cnNwind As New SqlConnection("Data Source=Equation;user id=qwqw;password=avcx")<br />
        Dim daOrders As New SqlDataAdapter("Select * from library1.CRC02PF", cnNwind)<br />
<br />
        Dim ds As New DataSet()<br />
        Try<br />
            daOrders.FillSchema(ds, SchemaType.Mapped, "LIBRARY1.CRC02PF")<br />
<br />
<br />
            ds.WriteXmlSchema("C:\Orders.xsd")<br />
            Console.WriteLine("The XSD schema is written to C:\Orders.xsd.")<br />
            Console.Read()<br />
        Catch ex As Exception<br />
            Console.WriteLine(ex.Message)<br />
            Console.Read()<br />
        End Try<br />
    End Sub<br />
<br />
End Module</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/2-RPG-RPGLE">RPG/RPGLE</category>
			<dc:creator>casporov</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9632-AS400-and-vb.net</guid>
		</item>
		<item>
			<title>Write a text file on IFS</title>
			<link>http://www.code400.com/forum/showthread.php/9616-Write-a-text-file-on-IFS?goto=newpost</link>
			<pubDate>Tue, 31 Aug 2010 21:18:15 GMT</pubDate>
			<description><![CDATA[I need to read the records in a database file, then write the contents of a single field into a text file on the IFS (followed by CRLF). 
 
Sometimes the simpler things elude me... I have used CGIDEV2 to create HTML and XML files, but never just a plain text file with hex '0D0A' at the end of each...]]></description>
			<content:encoded><![CDATA[<div>I need to read the records in a database file, then write the contents of a single field into a text file on the IFS (followed by CRLF).<br />
<br />
Sometimes the simpler things elude me... I have used CGIDEV2 to create HTML and XML files, but never just a plain text file with hex '0D0A' at the end of each row.<br />
<br />
Any slick ideas would be appreciated.<br />
<br />
thx.</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/2-RPG-RPGLE">RPG/RPGLE</category>
			<dc:creator>gwilburn</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9616-Write-a-text-file-on-IFS</guid>
		</item>
		<item>
			<title>Changes to physical file requires compiling</title>
			<link>http://www.code400.com/forum/showthread.php/9613-Changes-to-physical-file-requires-compiling?goto=newpost</link>
			<pubDate>Tue, 31 Aug 2010 13:34:05 GMT</pubDate>
			<description><![CDATA[Hello guys, newbie question. We have a bunch of physical files and want to add a new field that will hold the time the record was inserted. 
 
A fellow programmer tells me that if you add the new field to the end of the file, the program won't crash if it isn't recompiled. If this true? If so, is...]]></description>
			<content:encoded><![CDATA[<div>Hello guys, newbie question. We have a bunch of physical files and want to add a new field that will hold the time the record was inserted.<br />
<br />
A fellow programmer tells me that if you add the new field to the end of the file, the program won't crash if it isn't recompiled. If this true? If so, is there a way to add the new field in the middle of the file without recompiling?<br />
<br />
The new field is type T.</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/2-RPG-RPGLE">RPG/RPGLE</category>
			<dc:creator>fjleon</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9613-Changes-to-physical-file-requires-compiling</guid>
		</item>
		<item>
			<title>XML Data Structure Setup</title>
			<link>http://www.code400.com/forum/showthread.php/9610-XML-Data-Structure-Setup?goto=newpost</link>
			<pubDate>Mon, 30 Aug 2010 18:53:06 GMT</pubDate>
			<description><![CDATA[Hi All: 
  
This is my XML: 
 
PHP: 
--------- 
  
 < S01_EmpFirstName>John< /S01_EmpFirstName>  
 < S01_EmpMidName>L< /S01_EmpMidName>  
 < S01_EmpLastName>Smith< /S01_EmpLastName>]]></description>
			<content:encoded><![CDATA[<div>Hi All:<br />
 <br />
This is my XML:<br />
<div class="bbcode_container">
	<div class="bbcode_description">PHP Code:</div>
	<hr /><code class="bbcode_code"><code><span style="color: #000000">
<span style="color: #0000BB">&nbsp;<br />&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">S01_EmpFirstName</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">John</span><span style="color: #007700">&lt;&nbsp;/</span><span style="color: #0000BB">S01_EmpFirstName</span><span style="color: #007700">&gt;&nbsp;<br />&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">S01_EmpMidName</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">L</span><span style="color: #007700">&lt;&nbsp;/</span><span style="color: #0000BB">S01_EmpMidName</span><span style="color: #007700">&gt;&nbsp;<br />&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">S01_EmpLastName</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Smith</span><span style="color: #007700">&lt;&nbsp;/</span><span style="color: #0000BB">S01_EmpLastName</span><span style="color: #007700">&gt;&nbsp;<br />&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">S02_SpsFirstName&nbsp;</span><span style="color: #007700">/&nbsp;&gt;&nbsp;<br />&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">S02_SpsMidName&nbsp;</span><span style="color: #007700">/&nbsp;&gt;&nbsp;<br />&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">S02_SpsLastName&nbsp;</span><span style="color: #007700">/&nbsp;&gt;&nbsp;<br />&nbsp;&nbsp;&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">Children</span><span style="color: #007700">&gt;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">SChild_FirstName</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Thea</span><span style="color: #007700">&lt;&nbsp;/</span><span style="color: #0000BB">SChild_FirstName</span><span style="color: #007700">&gt;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">SChild_MiddleName&nbsp;</span><span style="color: #007700">/&nbsp;&gt;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">SChild_LastName</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Smith</span><span style="color: #007700">&lt;&nbsp;/</span><span style="color: #0000BB">SChild_LastName</span><span style="color: #007700">&gt;&nbsp;<br />&nbsp;&nbsp;&nbsp;&lt;&nbsp;/</span><span style="color: #0000BB">Children</span><span style="color: #007700">&gt;&nbsp;<br />&nbsp;&nbsp;&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">Children</span><span style="color: #007700">&gt;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">SChild_FirstName</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Danielle</span><span style="color: #007700">&lt;&nbsp;/</span><span style="color: #0000BB">SChild_FirstName</span><span style="color: #007700">&gt;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">SChild_MiddleName&nbsp;</span><span style="color: #007700">/&nbsp;&gt;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">SChild_LastName</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Smith</span><span style="color: #007700">&lt;&nbsp;/</span><span style="color: #0000BB">SChild_LastName</span><span style="color: #007700">&gt;&nbsp;<br />&nbsp;&nbsp;&nbsp;&lt;&nbsp;/</span><span style="color: #0000BB">Children</span><span style="color: #007700">&gt;&nbsp;<br />....</span><span style="color: #0000BB">could&nbsp;be&nbsp;0&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">10&nbsp;children</span><span style="color: #007700">....<br />&lt;&nbsp;/</span><span style="color: #0000BB">tbl1395</span><span style="color: #007700">&gt;&nbsp;<br /></span><span style="color: #0000BB"></span>
</span>
</code></code><hr />
</div> How do I set-up my data structure for an xml-into?<br />
 <br />
{edit} ....Moved code out of php block to make it Readable.... {/Edit}<br />
 <br />
< S01_EmpFirstName>John< /S01_EmpFirstName> <br />
< S01_EmpMidName>L< /S01_EmpMidName> <br />
< S01_EmpLastName>Smith< /S01_EmpLastName> <br />
< S02_SpsFirstName / > <br />
< S02_SpsMidName / > <br />
< S02_SpsLastName / > <br />
< Children> <br />
< SChild_FirstName>Thea< /SChild_FirstName> <br />
< SChild_MiddleName / > <br />
< SChild_LastName>Smith< /SChild_LastName> <br />
< /Children> <br />
< Children> <br />
< SChild_FirstName>Danielle< /SChild_FirstName> <br />
< SChild_MiddleName / > <br />
< SChild_LastName>Smith< /SChild_LastName> <br />
< /Children> <br />
....could be 0 - 10 children....<br />
< /tbl1395><br />
 <br />
Thanks<br />
GLS</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/2-RPG-RPGLE">RPG/RPGLE</category>
			<dc:creator>GLS400</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9610-XML-Data-Structure-Setup</guid>
		</item>
		<item>
			<title>Usage of DBCLOB field in RPGLE</title>
			<link>http://www.code400.com/forum/showthread.php/9609-Usage-of-DBCLOB-field-in-RPGLE?goto=newpost</link>
			<pubDate>Mon, 30 Aug 2010 15:09:35 GMT</pubDate>
			<description>hi, I have a file with DBCLOB field. When i try to compile the program,  it says that the DBCLOB field is not recognized. 
if anyone have a idea please let me know how to handle this field in ILE Rpgle</description>
			<content:encoded><![CDATA[<div>hi, I have a file with DBCLOB field. When i try to compile the program,  it says that the DBCLOB field is not recognized.<br />
if anyone have a idea please let me know how to handle this field in ILE Rpgle</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/2-RPG-RPGLE">RPG/RPGLE</category>
			<dc:creator>Kabil400</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9609-Usage-of-DBCLOB-field-in-RPGLE</guid>
		</item>
		<item>
			<title>want to change sorting field... Key field change</title>
			<link>http://www.code400.com/forum/showthread.php/9608-want-to-change-sorting-field...-Key-field-change?goto=newpost</link>
			<pubDate>Mon, 30 Aug 2010 12:37:59 GMT</pubDate>
			<description>HI all,,, 
 in my screen F8 button is there.... 
 
my req is if i press the F8 once... sorting should do on SNO 
 
If i press again f8 sorting should be based on NAME 
 
if i press again .... sorting with City</description>
			<content:encoded><![CDATA[<div><font face="Arial Black"><br />
</font><br />
<br />
HI all,,,<br />
 in my screen F8 button is there....<br />
<br />
my req is if i press the F8 once... sorting should do on <font color="olive"><font size="5">SNO</font></font><br />
<br />
If i press again f8 sorting should be based on <font size="5">NAME</font><br />
<br />
if i press again .... sorting with <font size="5">City</font><br />
<br />
<br />
Can any one know the IDEA<br />
to do this ....<br />
<br />
<br />
Thanks In advance.</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/2-RPG-RPGLE">RPG/RPGLE</category>
			<dc:creator>venky2903</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9608-want-to-change-sorting-field...-Key-field-change</guid>
		</item>
		<item>
			<title>RPG and XML</title>
			<link>http://www.code400.com/forum/showthread.php/9602-RPG-and-XML?goto=newpost</link>
			<pubDate>Thu, 26 Aug 2010 07:14:14 GMT</pubDate>
			<description><![CDATA[Dear All, 
Hope ur all fine,I would like to know if it's possible to be able to have an XML file from a Physical file? 
 
Thanks in advance, 
Have a nice day]]></description>
			<content:encoded><![CDATA[<div>Dear All,<br />
Hope ur all fine,I would like to know if it's possible to be able to have an XML file from a Physical file?<br />
<br />
Thanks in advance,<br />
Have a nice day</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/2-RPG-RPGLE">RPG/RPGLE</category>
			<dc:creator>casporov</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9602-RPG-and-XML</guid>
		</item>
		<item>
			<title>BITOR operation</title>
			<link>http://www.code400.com/forum/showthread.php/9600-BITOR-operation?goto=newpost</link>
			<pubDate>Thu, 26 Aug 2010 06:58:39 GMT</pubDate>
			<description><![CDATA[Hi  
 
Could anyone explain me the usage of BITOR operator here? As FLAG1, FLAG2, FLAG3 are reset before doing the operation, shant we just have  
Flag1=S1 
Flag2=S2 
Flag3=S3 
the 7 character s1,s2,s3 hold on 0s and 1s like '0101000' 
 
 
PHP:]]></description>
			<content:encoded><![CDATA[<div>Hi <br />
<br />
Could anyone explain me the usage of BITOR operator here? As FLAG1, FLAG2, FLAG3 are reset before doing the operation, shant we just have <br />
Flag1=S1<br />
Flag2=S2<br />
Flag3=S3<br />
the 7 character s1,s2,s3 hold on 0s and 1s like '0101000'<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">PHP Code:</div>
	<hr /><code class="bbcode_code"><code><span style="color: #000000">
<span style="color: #0000BB">&nbsp;</span><span style="color: #007700">*</span><span style="color: #0000BB">Flag1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Flag2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Flag3&nbsp;are&nbsp;indicator&nbsp;arrays&nbsp;declared&nbsp;</span><span style="color: #007700">as&nbsp;</span><span style="color: #0000BB">follows<br />D&nbsp;&nbsp;Flag1C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;38N&nbsp;&nbsp;&nbsp;Dim</span><span style="color: #007700">(</span><span style="color: #0000BB">7</span><span style="color: #007700">)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /></span><span style="color: #0000BB">D&nbsp;&nbsp;&nbsp;Flag1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;38&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><br />&nbsp;</span><span style="color: #007700">*</span><span style="color: #0000BB">S1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">S2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">S3&nbsp;are&nbsp;hidden&nbsp;fields&nbsp;in&nbsp;display&nbsp;file&nbsp;defined&nbsp;</span><span style="color: #007700">as&nbsp;</span><span style="color: #0000BB">follows<br />AS1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7A&nbsp;&nbsp;H&nbsp;<br /><br /><br />Flag1&nbsp;</span><span style="color: #007700">=&nbsp;*</span><span style="color: #0000BB">Off</span><span style="color: #007700">;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /></span><span style="color: #0000BB">Flag2&nbsp;</span><span style="color: #007700">=&nbsp;*</span><span style="color: #0000BB">Off</span><span style="color: #007700">;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /></span><span style="color: #0000BB">Flag3&nbsp;</span><span style="color: #007700">=&nbsp;*</span><span style="color: #0000BB">Off</span><span style="color: #007700">;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />For&nbsp;</span><span style="color: #0000BB">Rrn&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">2&nbsp;to&nbsp;Max</span><span style="color: #007700">;&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;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Chain&nbsp;Rrn&nbsp;DSpfile1</span><span style="color: #007700">;&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;<br />&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;%</span><span style="color: #0000BB">Found</span><span style="color: #007700">(</span><span style="color: #0000BB">DSpfile1</span><span style="color: #007700">);&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;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Flag1&nbsp;</span><span style="color: #007700">=&nbsp;%</span><span style="color: #0000BB">BITOR</span><span style="color: #007700">(</span><span style="color: #0000BB">Flag1</span><span style="color: #007700">:</span><span style="color: #0000BB">S1</span><span style="color: #007700">);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Flag2&nbsp;</span><span style="color: #007700">=&nbsp;%</span><span style="color: #0000BB">BITOR</span><span style="color: #007700">(</span><span style="color: #0000BB">Flag2</span><span style="color: #007700">:</span><span style="color: #0000BB">S2</span><span style="color: #007700">);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Flag3&nbsp;</span><span style="color: #007700">=&nbsp;%</span><span style="color: #0000BB">BITOR</span><span style="color: #007700">(</span><span style="color: #0000BB">Flag3</span><span style="color: #007700">:</span><span style="color: #0000BB">S3</span><span style="color: #007700">);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;EndIf;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />EndFor;&nbsp;<br /></span><span style="color: #0000BB"></span>
</span>
</code></code><hr />
</div> </div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/2-RPG-RPGLE">RPG/RPGLE</category>
			<dc:creator>regu400</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9600-BITOR-operation</guid>
		</item>
		<item>
			<title>Is the free access to AS400 server rzh.de or something still available</title>
			<link>http://www.code400.com/forum/showthread.php/9598-Is-the-free-access-to-AS400-server-rzh.de-or-something-still-available?goto=newpost</link>
			<pubDate>Wed, 25 Aug 2010 16:24:22 GMT</pubDate>
			<description>Folks. is this free service still on. I am not able to submit the form on the site given.. Jamie help please.</description>
			<content:encoded><![CDATA[<div>Folks. is this free service still on. I am not able to submit the form on the site given.. Jamie help please.</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/2-RPG-RPGLE">RPG/RPGLE</category>
			<dc:creator>rtkriishna</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9598-Is-the-free-access-to-AS400-server-rzh.de-or-something-still-available</guid>
		</item>
		<item>
			<title>Concatenation</title>
			<link>http://www.code400.com/forum/showthread.php/9590-Concatenation?goto=newpost</link>
			<pubDate>Tue, 24 Aug 2010 19:26:38 GMT</pubDate>
			<description>Ok, I need some assistance here…. 
 
I’m trying to concatenate fields together and I’m having difficulties because, according to the manual: 
 
The book says… 
“If no factor 1 is specified, factor 2 is concatenated to the end of the result field string” – wrong, doesn’t work for me. All I get it...</description>
			<content:encoded><![CDATA[<div>Ok, I need some assistance here….<br />
<br />
I’m trying to concatenate fields together and I’m having difficulties because, according to the manual:<br />
<br />
The book says…<br />
“If no factor 1 is specified, factor 2 is concatenated to the end of the result field string” – wrong, doesn’t work for me. All I get it the first field in the result field.<br />
<br />
The book says…<br />
 If the number of blanks is not specified, the trailing and leading blanks of factor 1 and factor 2 are included in the result. If the number of blanks is specified, however, the trailing blanks of factor 1 are ignored and only as many blanks as specified are included in the result between the last nonblank character in factor 1 and the first character of factor 2. Leading blanks in factor 2 are always included. – Wrong, losing my blank in position #1 of factor 2.<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  MOVELSXCN09 $$IMPT175<br />
$$IMPT&nbsp; &nbsp; CAT&nbsp; SXCN10:0&nbsp; $$IMPT&nbsp;  <br />
$$IMPT&nbsp; &nbsp; CAT&nbsp; SXCN11:0&nbsp; $$IMPT&nbsp;  <br />
$$IMPT&nbsp; &nbsp; CAT&nbsp; SXCN12:0&nbsp; $$IMPT&nbsp;  <br />
$$IMPT&nbsp; &nbsp; CAT&nbsp; SXCN13:0&nbsp; $$IMPT&nbsp;  <br />
$$IMPT&nbsp; &nbsp; CAT&nbsp; SXCN14:0&nbsp; $$IMPT&nbsp;  <br />
$$IMPT&nbsp; &nbsp; CAT&nbsp; SXCN15:0&nbsp; $$IMPT&nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  MOVEL$$IMPT&nbsp;  VDIMPT</code><hr />
</div> In the above example, as it sits, I’m losing the blank at the beginning of factor 2, if one exists, so, I tried removing the “:0”. This gave me a rather unusual outcome where the result field only contained the data contained in SXCN09! All the other data was missing.<br />
<br />
Than I tried removing both factor 1 and the “:0”  which also gave me the same result as before.<br />
<br />
Either my program has gremlins or the book is wrong!</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/2-RPG-RPGLE">RPG/RPGLE</category>
			<dc:creator>redvan</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9590-Concatenation</guid>
		</item>
		<item>
			<title>Arrays as parameter in RPLGE</title>
			<link>http://www.code400.com/forum/showthread.php/9587-Arrays-as-parameter-in-RPLGE?goto=newpost</link>
			<pubDate>Tue, 24 Aug 2010 09:19:51 GMT</pubDate>
			<description>Hi,  
 
Can an array of record can be passed as parameter in RPGLE? If yes please give me a sample example on how to use that. 
 
Regards 
Regu</description>
			<content:encoded><![CDATA[<div>Hi, <br />
<br />
Can an array of record can be passed as parameter in RPGLE? If yes please give me a sample example on how to use that.<br />
<br />
Regards<br />
Regu</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/2-RPG-RPGLE">RPG/RPGLE</category>
			<dc:creator>regu400</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9587-Arrays-as-parameter-in-RPLGE</guid>
		</item>
		<item>
			<title>TESTN for decimal?</title>
			<link>http://www.code400.com/forum/showthread.php/9582-TESTN-for-decimal?goto=newpost</link>
			<pubDate>Mon, 23 Aug 2010 13:20:04 GMT</pubDate>
			<description>How do you do the TESTN for 123,456 ?</description>
			<content:encoded><![CDATA[<div>How do you do the TESTN for 123,456 ?</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/2-RPG-RPGLE">RPG/RPGLE</category>
			<dc:creator>Thunder</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9582-TESTN-for-decimal</guid>
		</item>
	</channel>
</rss>
