<?xml version="1.0" encoding="windows-1252"?>
<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 - DB2</title>
		<link>https://code400.com/forum/</link>
		<description>general questions about the database.</description>
		<language>en</language>
		<lastBuildDate>Sat, 16 May 2026 22:43:24 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>images/misc/rss.png</url>
			<title>Code400 -The Support Alternative - DB2</title>
			<link>https://code400.com/forum/</link>
		</image>
		<item>
			<title>Convert data ISO to data number into a logical file</title>
			<link>https://code400.com/forum/forum/iseries-programming-languages/db2/159534-convert-data-iso-to-data-number-into-a-logical-file</link>
			<pubDate>Fri, 01 May 2026 07:10:00 GMT</pubDate>
			<description>Hi, 
I have a physical file on the AS400 that contains several fields; 
 
FIELD01 15 A 
FIELD02 7 A 
DATA01 10 L 
....... 
 
I would like to create a logical file with the key</description>
			<content:encoded><![CDATA[<span style="font-family:Calibri">Hi,</span><br />
<span style="font-family:Calibri">I have a physical file on the AS400 that contains several fields;</span><br />
<br />
<span style="font-family:Calibri">FIELD01 15 A</span><br />
<span style="font-family:Calibri">FIELD02 7 A</span><br />
<span style="font-family:Calibri">DATA01 10 L</span><br />
<span style="font-family:Calibri">.......</span><br />
<br />
<span style="font-family:Calibri">I would like to create a logical file with the key</span><br />
<br />
<span style="font-family:Calibri">FIELD01 K</span><br />
<span style="font-family:Calibri">DATA01 K</span><br />
<br />
<span style="font-family:Calibri">However, I need to be able to convert the DATA01 field from 10 L to 8.0 (numeric) directly within the logical file.</span><br />
<br />
<span style="font-family:Calibri">Is there a way to use a keyword to convert the DATA01 field from 10 (Iso) to 8.0 (numeric)?</span><br />
<br />
&#8203;]]></content:encoded>
			<category domain="https://code400.com/forum/forum/iseries-programming-languages/db2">DB2</category>
			<dc:creator>Yanez25</dc:creator>
			<guid isPermaLink="true">https://code400.com/forum/forum/iseries-programming-languages/db2/159534-convert-data-iso-to-data-number-into-a-logical-file</guid>
		</item>
	</channel>
</rss>
