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



 >> Ignore my previous message. You CAN use a group name (i.e. your VENDR).

I know that is the theory - but even when the qualification is not required
(i.e. there is no duplicate name) the pre-compiler barfs on a declaration
that includes it.

For example - I have now a real simple subset of the program.  With this
declaration:

       01 VENDR1.
          03  VR1.
            05  VNID   PIC X(6).
            05  VNNAME PIC X(30).

This is valid
            Insert into VendSmall
            Values(:VR1)

But this is not:
           Insert into VendSmall
           Values(:VENDR1.VR1)

If I could use the first version it would be OK, but I can't because I have
the same field names etc. in multiple generated (COPY DDS) structures.

Several people have suggested using BEGIN DECLARE SECTION to cure this.
Unless I am missing something it makes zero difference.  The manual doesn't
help since it clearly states that this statement must be present - when
clearly that is not true.  As far as I can see it has zero effect.

Jon Paris
Partner400




As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.