On 9/28/2012 3:29 PM, John Gilmore wrote:
I will not repeat the good advice you have already been given, but I
do want to add that the error message

  IBM1058I I     239.0    Conversion from BIT to FIXED BIN(31) will be done by
                           library call.

should receive your user's particular attention.  This conversion
seldom---indeed almost never---yields the results expected by any but
highly expert PL/I programmers; and when it is done implicitly it is
in my experience an all but certain indicator that something has been
misconceived.

At a minimum your user should review the conversion rules involved
here.  They are admirably consistent, but they violate most people's
notions of minimal surprise.

John Gilmore, Ashland, MA 01721 - USA


Excellent point, John.

--

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-355-2752
http://www.trainersfriend.com

* Check out our sale of training materials at
  http://www.trainersfriend.com/SpecialSale/

  (sale absolutely ends 19 October, 2012)

* Let us know if you are interested in our
  training materials reseller program

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to