× 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.



Hi all,

I have noticed something which completely puzzles me.

We have a file, in which a certain field is defined as 2 packed with zero 
decimals.  In all dependant logicals, the field is also 2P0, as can be 
seen in QADBIFLD.

In one program, however - an SQLRPGLE - this field shows as 2 ZONED with 
zero decimals.

In an other program - RPGLE - which uses the exact same file, the field 
shows correctly as 2P0.

An additional strange thing is that in the SQLRPGLE program, when opened 
in the outline view of WDSCi, the field isn't listed under the 'Fields' 
tab, only the 'Files' tab.  In the other program, it's under both.

The main problem is that this field is part of a prototype for calling the 
RPGLE program from the SQLRPGLE, so that the call doesn't work as such.  I 
know that I can define the prototype field manually, i.e. not using 
'Like()', but I am curious as to why this is happening.

Has anybody experienced this behaviour, or can anyone explain why this is 
occurring?

Thanks in advance.


Peter Colpaert
Application Developer
Massive - Kontich, Belgium
-----
Real programmers never document.  If it was hard to write, it should be 
hard to understand.
-----

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.