<?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"
	>
<channel>
	<title>Comments on: Load both numeric and character data using prerun time array in RPGLE</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/load-both-numeric-and-character-data-using-prerun-time-array-in-rpgle/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/load-both-numeric-and-character-data-using-prerun-time-array-in-rpgle/</link>
	<description></description>
	<pubDate>Sat, 26 May 2012 02:02:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/load-both-numeric-and-character-data-using-prerun-time-array-in-rpgle/#comment-101471</link>
		<dc:creator>Philpl1jb</dc:creator>
		<pubDate>Tue, 10 Jan 2012 18:37:58 +0000</pubDate>
		<guid isPermaLink="false">#comment-101471</guid>
		<description>Sorry, I don't have such a list.
I suspect that fixed format dsply is more of an excepotion than a rule.
DSPLY isn't used in production.
Phil</description>
		<content:encoded><![CDATA[<p>Sorry, I don&#8217;t have such a list.<br />
I suspect that fixed format dsply is more of an excepotion than a rule.<br />
DSPLY isn&#8217;t used in production.<br />
Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pdsathishkumar</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/load-both-numeric-and-character-data-using-prerun-time-array-in-rpgle/#comment-101457</link>
		<dc:creator>Pdsathishkumar</dc:creator>
		<pubDate>Tue, 10 Jan 2012 11:55:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-101457</guid>
		<description>Thanks Mr. Phil and Tom, i got the answer from your coding...

can you do one favor for me...  i want to know, where and which place, i can use the qualified variable....
i search that, but i can't get the explanation about qualified variable....
if help clear my doubt....</description>
		<content:encoded><![CDATA[<p>Thanks Mr. Phil and Tom, i got the answer from your coding&#8230;</p>
<p>can you do one favor for me&#8230;  i want to know, where and which place, i can use the qualified variable&#8230;.<br />
i search that, but i can&#8217;t get the explanation about qualified variable&#8230;.<br />
if help clear my doubt&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/load-both-numeric-and-character-data-using-prerun-time-array-in-rpgle/#comment-101425</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Mon, 09 Jan 2012 21:15:36 +0000</pubDate>
		<guid isPermaLink="false">#comment-101425</guid>
		<description>[I]The manual said that qualified fields must be shown in the RESULT column.[/I]

Actually, I think the manual reference is simply saying that qualified names may be used as the Result value. The implication to me is that qualified names can't be used for Factor 1 nor Factor 2, in fixed format.

I'd say that either the code to pull the values into work fields like wrkNum and wrkChar or the switch to free-form are the only real options if DSPLY is going to be used.

Tom</description>
		<content:encoded><![CDATA[<p><i>The manual said that qualified fields must be shown in the RESULT column.</i></p>
<p>Actually, I think the manual reference is simply saying that qualified names may be used as the Result value. The implication to me is that qualified names can&#8217;t be used for Factor 1 nor Factor 2, in fixed format.</p>
<p>I&#8217;d say that either the code to pull the values into work fields like wrkNum and wrkChar or the switch to free-form are the only real options if DSPLY is going to be used.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/load-both-numeric-and-character-data-using-prerun-time-array-in-rpgle/#comment-101415</link>
		<dc:creator>Philpl1jb</dc:creator>
		<pubDate>Mon, 09 Jan 2012 15:19:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-101415</guid>
		<description>1.  Arrays in rpg are from 1 to 6 not 0 to 5, so I changed the way that I was computed
2.  The Dsply is a very only command today only used for debugging and qualified data structures are a fairly new addition to RPG IV.  The manuals say to put the qualified subfield in the DSPLY - RESULT column .. but that didn't work.
Soooooooooo then you develop a work around like I did with the WRK fields below

[CODE]
Farry1     it   f   13        disk                                    
Darray1           s             13a   dim(6) fromfile(arry1)          
Dparray           s               *   inz(%addr(array1))              
Darrds            ds                  dim(6) based(parray) qualified  
Dnum                             5p 0                                 
Dchar                           10a                                   
Di                s              1p 0 inz(1)                          
D wrkNum          s              5p 0                                 
D wrkChar         s             10a                                   
C     1             do        6             i                         
C                   eval      wrkNum  = arrds(i).num                  
C                   eval      wrkChar = arrds(i).char                 
C    wrkNum        dsply                                             
C    wrkChar       dsply                                             
C                   enddo                                             
C                   eval      *inlr = *on                 
[/CODE]                                                            

In RPG IV Free format, the dsply works just fine
[CODE]
 /free                                              
                    dsply         arrds(i).num;     
 /end-free                                          
[/CODE]
Phil</description>
		<content:encoded><![CDATA[<p>1.  Arrays in rpg are from 1 to 6 not 0 to 5, so I changed the way that I was computed<br />
2.  The Dsply is a very only command today only used for debugging and qualified data structures are a fairly new addition to RPG IV.  The manuals say to put the qualified subfield in the DSPLY - RESULT column .. but that didn&#8217;t work.<br />
Soooooooooo then you develop a work around like I did with the WRK fields below</p>
<pre>
Farry1     it   f   13        disk
Darray1           s             13a   dim(6) fromfile(arry1)
Dparray           s               *   inz(%addr(array1))
Darrds            ds                  dim(6) based(parray) qualified
Dnum                             5p 0
Dchar                           10a
Di                s              1p 0 inz(1)
D wrkNum          s              5p 0
D wrkChar         s             10a
C     1             do        6             i
C                   eval      wrkNum  = arrds(i).num
C                   eval      wrkChar = arrds(i).char
C    wrkNum        dsply
C    wrkChar       dsply
C                   enddo
C                   eval      *inlr = *on
</pre>
<p>In RPG IV Free format, the dsply works just fine</p>
<pre>
 /free
                    dsply         arrds(i).num;
 /end-free
</pre>
<p>Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pdsathishkumar</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/load-both-numeric-and-character-data-using-prerun-time-array-in-rpgle/#comment-101410</link>
		<dc:creator>Pdsathishkumar</dc:creator>
		<pubDate>Mon, 09 Jan 2012 13:37:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-101410</guid>
		<description>[I]C    dsply arrds(i).num
C    dsply arrds(i).char[/I]

Mr. Phil, i tried your hint, but it not allow to enter. i got same error message,
“Entry contains data that is not valid; only valid data is used”.

i refer ILE RPG language reference book, but i can't get solution...
please give any suggestion....</description>
		<content:encoded><![CDATA[<p><i>C    dsply arrds(i).num<br />
C    dsply arrds(i).char</i></p>
<p>Mr. Phil, i tried your hint, but it not allow to enter. i got same error message,<br />
“Entry contains data that is not valid; only valid data is used”.</p>
<p>i refer ILE RPG language reference book, but i can&#8217;t get solution&#8230;<br />
please give any suggestion&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/load-both-numeric-and-character-data-using-prerun-time-array-in-rpgle/#comment-101407</link>
		<dc:creator>Philpl1jb</dc:creator>
		<pubDate>Mon, 09 Jan 2012 12:39:10 +0000</pubDate>
		<guid isPermaLink="false">#comment-101407</guid>
		<description>The manual said that qualified fields must be shown in the RESULT column.
Perhaps like this
C          dsply                     arrds(i).num 
C          dsply                     arrds(i).char</description>
		<content:encoded><![CDATA[<p>The manual said that qualified fields must be shown in the RESULT column.<br />
Perhaps like this<br />
C          dsply                     arrds(i).num<br />
C          dsply                     arrds(i).char</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pdsathishkumar</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/load-both-numeric-and-character-data-using-prerun-time-array-in-rpgle/#comment-101399</link>
		<dc:creator>Pdsathishkumar</dc:creator>
		<pubDate>Mon, 09 Jan 2012 08:13:36 +0000</pubDate>
		<guid isPermaLink="false">#comment-101399</guid>
		<description>Farry1     it   f   15        disk                              
Darray1           s             13a   dim(6) fromfile(arry1)    
Dparray           s               *      inz(%addr(array1))        
Darrds            ds                     dim(6) based(parray)      
D                                               qualified                 
Dnum                             5p 0                           
Dchar                           10a                             
Di                s              1p 0 inz(1)                    
C                             do        6                                 
C     arrds.num     dsply                                       
C                             eval      i=i+1                             
C                             enddo                                       
C                             eval      *inlr = *on                       
this is my coding, my output has show only single value repeated.... 
i don't know how to increase array position..</description>
		<content:encoded><![CDATA[<p>Farry1     it   f   15        disk<br />
Darray1           s             13a   dim(6) fromfile(arry1)<br />
Dparray           s               *      inz(%addr(array1))<br />
Darrds            ds                     dim(6) based(parray)<br />
D                                               qualified<br />
Dnum                             5p 0<br />
Dchar                           10a<br />
Di                s              1p 0 inz(1)<br />
C                             do        6<br />
C     arrds.num     dsply<br />
C                             eval      i=i+1<br />
C                             enddo<br />
C                             eval      *inlr = *on<br />
this is my coding, my output has show only single value repeated&#8230;.<br />
i don&#8217;t know how to increase array position..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/load-both-numeric-and-character-data-using-prerun-time-array-in-rpgle/#comment-101398</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Mon, 09 Jan 2012 07:53:08 +0000</pubDate>
		<guid isPermaLink="false">#comment-101398</guid>
		<description>[I]C arrds(i).num dsply[/I]

Can you post that in {code} for mat please? It's difficult to determine the true statement when spaces are condensed out.

Tom</description>
		<content:encoded><![CDATA[<p><i>C arrds(i).num dsply</i></p>
<p>Can you post that in {code} for mat please? It&#8217;s difficult to determine the true statement when spaces are condensed out.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pdsathishkumar</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/load-both-numeric-and-character-data-using-prerun-time-array-in-rpgle/#comment-101393</link>
		<dc:creator>Pdsathishkumar</dc:creator>
		<pubDate>Mon, 09 Jan 2012 05:55:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-101393</guid>
		<description>found the answer from Google ,    [B]arrds.num     dsply[/B]
but i don't know, how to increase array element position...

 C                             do        6           
 C     arrds.num     dsply                 
 C                             eval      i=i+1       
 C                             enddo</description>
		<content:encoded><![CDATA[<p>found the answer from Google ,    <b>arrds.num     dsply</b><br />
but i don&#8217;t know, how to increase array element position&#8230;</p>
<p> C                             do        6<br />
 C     arrds.num     dsply<br />
 C                             eval      i=i+1<br />
 C                             enddo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/load-both-numeric-and-character-data-using-prerun-time-array-in-rpgle/#comment-101381</link>
		<dc:creator>Philpl1jb</dc:creator>
		<pubDate>Sun, 08 Jan 2012 12:46:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-101381</guid>
		<description>Google:  ILE RPG language reference
Search book for DSPLY 
You will find your answer thee.
Phil</description>
		<content:encoded><![CDATA[<p>Google:  ILE RPG language reference<br />
Search book for DSPLY<br />
You will find your answer thee.<br />
Phil</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- dynamic -->
