<font size=2 face="sans-serif">PowerHouse will convert between various
numeric datatypes but not from numeric to character and vice versa.</font>
<br>
<br><font size=2 face="sans-serif">In Scenario 1, character data is just
a set of bytes with anything in them. So as long as the size in bytes is
the same, change the dictionary, check usage in the screens, runs, and
reports, and recompile.</font>
<br>
<br><font size=2 face="sans-serif">In scenario 2, as far as I recall, PowerHouse
does nothing with the datatype information for relational databases. With
RDB, all PH uses the dictionary for is logical element information such
as formatting. That said, the logical type, numeric, date or character
must be consistent with the database. So unless there is a basic type difference,
you shouldn't have to do anything. Should be easy enough to test on a simple
screen or report.</font>
<br>
<br><font size=2 face="sans-serif">Bob</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Lorry Litman &lt;LLitman@manitoba-ehealth.ca&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;powerh-l@lists.sowder.com&quot;
&lt;powerh-l@lists.sowder.com&gt;, </font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">2013-06-26 08:12 PM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">affects and
what to consider when number field changes to alpha &nbsp; &nbsp; &nbsp;
&nbsp;numeric</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">powerh-l-bounces+bob.deskin=ca.ibm.com@lists.sowder.com</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3 face="Garamond">Hi,</font>
<br><font size=3 face="Garamond">&nbsp;</font>
<br><font size=3 face="Garamond">Any comments or suggestions are most welcome
and appreciated from anyone that has gone through this exercise before.</font>
<br><font size=3 face="Garamond">&nbsp;</font>
<br><font size=3 face="Garamond">VMS 7.3-1 &nbsp;PH 710E &nbsp;RDB 7.0-1</font>
<br><font size=3 face="Garamond">&nbsp;</font>
<br><font size=3 face="Garamond">Billing number changing from numeric 99999
to &nbsp;alphanumeric 9999X.</font>
<br><font size=3 face="Garamond">&nbsp;</font>
<br><font size=3 face="Garamond">I have a number of different applications
using this billing number with a mixture of powerhouse screens and quiz
reports and vax basic programs.</font>
<br><font size=3 face="Garamond">Both RMS files and RDB tables.</font>
<br><font size=3 face="Garamond">In most RMS files the data type is String,
however, in some RDB tables the data type is Integer. </font>
<br><font size=3 face="Garamond">&nbsp;</font>
<br><font size=3 face="Garamond">In the powerhouse dictionary</font>
<br><font size=3 face="Garamond">Elements defined as</font>
<br><font size=3 face="Garamond">&nbsp;Type &nbsp;Numeric &nbsp;and &nbsp;DataType
&nbsp;Zoned-Unsigned</font>
<br><font size=3 face="Garamond">&nbsp; Type &nbsp;Numeric &nbsp;and &nbsp;DataType
&nbsp;Integer-Unsigned</font>
<br><font size=3 face="Garamond">&nbsp;</font>
<br><font size=3 face="Garamond">Scenario 1</font>
<br><font size=3 face="Garamond">RMS File &nbsp;- data declared as String</font>
<br><font size=3 face="Garamond">Dictionary Element – Type=Numeric, DataType=Zoned-Unsigned</font>
<br><font size=3 face="Garamond">&nbsp;</font>
<br><font size=3 face="Garamond">Change dictionary element to Type=Character,
DataType=Character</font>
<br><font size=3 face="Garamond">Modify/correct any editing…screen field
procedures. Recompile quick screens.</font>
<br><font size=3 face="Garamond">Modify/correct any formatting….reports.
Recompile quiz reports.</font>
<br><font size=3 face="Garamond">&nbsp;</font>
<br><font size=3 face="Garamond">I’m assuming in this scenario I don’t
have to do anything with the existing data in the file or the structure/definition
(fdl or ddl) of the file?</font>
<br><font size=3 face="Garamond">Can the elements data type be changed
in the dictionary without affecting the existing running application?</font>
<br><font size=3 face="Garamond">Am I missing or overlooking anything?</font>
<br><font size=3 face="Garamond">Scenario 2</font>
<br><font size=3 face="Garamond">RDB Table Column declared as Integer</font>
<br><font size=3 face="Garamond">Dictionary Element – Type=Numeric, DataType=Zoned-Unsigned</font>
<br><font size=3 face="Garamond">Dictionary Element – Type=Numeric, DataType=Integer-Unsigned</font>
<br><font size=3 face="Garamond">&nbsp;</font>
<br><font size=3 face="Garamond">Besides the dictionary, quick and quiz
and question similar to scenario 1</font>
<br><font size=3 face="Garamond">&nbsp;</font>
<br><font size=3 face="Garamond">Wondering the best way to deal with the
RDB tables that have the column defined as integer?</font>
<br><font size=3 face="Garamond">&nbsp;</font>
<br><font size=3 face="Garamond">&nbsp;</font>
<br><font size=2 face="Calibri">Thanx</font>
<p>
<table width=536 style="border-collapse:collapse;">
<tr valign=top height=8>
<td width=248 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=2 face="Calibri">Lorry
Litman, </font>
<br><font size=2 face="Calibri">Application Management</font>
<br><a href="mailto:llitman@manitoba-ehealth.ca"><font size=2 color=blue face="Calibri"><u>llitman@manitoba-ehealth.ca</u></font></a>
<br><font size=2 face="Calibri">(204) 926-9076</font>
<br><font size=2 face="Tahoma">&nbsp;</font>
<td width=288 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=2 face="Calibri">300-355
Portage Avenue</font>
<br><font size=2 face="Calibri">Winnipeg, Manitoba</font>
<br><font size=2 face="Calibri">R3B 0J6</font>
<br><a href="http://www.manitoba-ehealth.ca/"><font size=2 color=blue face="Calibri"><u>www.manitoba-ehealth.ca</u></font></a>
<tr valign=top height=8>
<td width=248 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<br><font size=2 face="Tahoma">&nbsp;</font>
<td width=288 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=2 face="Tahoma">&nbsp;</font></table>
<br><font size=2 face="Calibri">&nbsp;</font>
<br><font size=2 face="Calibri">&nbsp;[attachment &quot;image002.jpg&quot;
deleted by Bob Deskin/Ottawa/IBM] </font><font size=3>This email and/or
any documents in this transmission is intended for the<br>
addressee(s) only and may contain legally privileged or confidential information.
&nbsp;Any unauthorized use, disclosure, distribution, copying or dissemination
is strictly prohibited. &nbsp;If you receive this transmission in error,
please notify the sender immediately and return the original.</font>
<p><font size=3>Ce courriel et tout document dans cette transmission est
destiné à la personne ou aux personnes à qui il est adressé. Il peut contenir
des informations privilégiées ou confidentielles. Toute utilisation, divulgation,
distribution, copie, ou diffusion non autorisée est strictement défendue.
Si vous n'êtes pas le destinataire de ce message, veuillez en informer
l'expéditeur immédiatement et lui remettre l'original.</font><tt><font size=2>--<br>
= = = = = = = = = = = = = = = = = = = = = = = = = = = =<br>
Mailing list: powerh-l@lists.sowder.com<br>
Subscribe: 'subscribe' in message body to powerh-l-request@lists.sowder.com<br>
Unsubscribe: 'unsubscribe &amp;lt;password&amp;gt;' in message body to
powerh-l-request@lists.sowder.com<br>
</font></tt><a href="http://lists.sowder.com/mailman/listinfo/powerh-l"><tt><font size=2>http://lists.sowder.com/mailman/listinfo/powerh-l</font></tt></a><tt><font size=2><br>
This list is closed, thus to post to the list you must be a subscriber.<br>
Add 'site:lists.sowder.com powerh-l' to your search terms to search the
list archive at Google.</font></tt>
<p>