 




<?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: Trim Data on field in RPG</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/trim-data-on-field-in-rpg/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/trim-data-on-field-in-rpg/</link>
	<description></description>
	<lastBuildDate>Sun, 19 May 2013 03:14:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: bigkat</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/trim-data-on-field-in-rpg/#comment-63761</link>
		<dc:creator>bigkat</dc:creator>
		<pubDate>Tue, 19 May 2009 16:54:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-63761</guid>
		<description><![CDATA[a data structure implies fixed positioning into a string i.e.
&lt;pre&gt;
00001AAAAA     =  1 and &quot;AAAAA&quot;
00002b         =  2 and &quot;b    &quot;
&lt;/pre&gt;

if you need to trim and separate, you will probably want to do some thing like
&lt;pre&gt;
eval   output = %trim(fld1) + &#039;,&#039; + %trim(%editc(fld2:&#039;Z&#039;))
&lt;/pre&gt;

Kevin - &lt;a href=&quot;http://www.aresgrp.com&quot;&gt;Affiliated&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>a data structure implies fixed positioning into a string i.e.</p>
<pre>
00001AAAAA     =  1 and "AAAAA"
00002b         =  2 and "b    "
</pre>
<p>if you need to trim and separate, you will probably want to do some thing like</p>
<pre>
eval   output = %trim(fld1) + ',' + %trim(%editc(fld2:'Z'))
</pre>
<p>Kevin &#8211; <a href="http://www.aresgrp.com">Affiliated</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.012 seconds using memcached
Object Caching 268/271 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-19 19:12:42 -->