× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: 15,5 Revisted (Was Call Query)
  • From: Jim Langston <jimlangston@xxxxxxxxxxxxxxxx>
  • Date: Wed, 25 Oct 2000 09:07:51 -0700
  • Organization: Pacer International

Hmm... according to the conversation on this topic, it seems I was wrong
in my knowledge.  I think I really understand the 15,5 problem now, and if
things are as stated, I do NOT have a problem at all.

According to what everyone is telling me, I can go ahead and declare my
variables as the proper length in my display file DDS of type numeric,
and go ahead and pass them to my RPG program as such and I won't have
a problem at all.

I guess the thing I didn't understand was, this 15,5 problem occurs with
numeric constants, not variables.  I seem to recall doing so testing in
the past and finding this not to be the case, but everyone assures me
that my program should work without converting them to a passable type.

I'll try it again and see what happens.  

And, no, I do not only use alpha fields in my display screens.  What I
am doing in this program in question is declaring them as numeric, then 
converting them to character fields declared in the CL, then passing
the character fields to the RPG program.  The RPG program has them 
declared as numeric, but since CL doesn't check the parameters passed
to an RPG program, nor does the RPG program, everything works will in
this case, it's just a major hassle converting them.  Something I would
much rather not have to do.

As I said, going back to testing this problem and seeing when, exactly,
it occurs.

Regards,

Jim Langston

booth@martinvt.com wrote:
> 
> Jim, do the display screen in the RPG, not in CL.  If you are using CL you
> could pass the numerics in the LDA instead of with parms.
> 
> (btw, you didn't really mean that you use only alpha fields on your
> display screens did you?)
> _______________________
> Booth Martin
> Booth@MartinVT.com
> http://www.MartinVT.com
> _______________________
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.