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



Shiva,

> Array-Table is external Pic X(1000)
>

I believe the 'is extrenal' phrase needs to be on the 01 group level, and
the array defined below that.

01 Arrays-and-Tables is external.
  05 Table-Name Pic x(1000).

> In PGMA, I will change some values of this array and call PGMB. In PGMB,
> again I will do some processing on Array-Table and come back to PGMA.
>
> In the above situation, I am not calling PGMB with parameters. With the
> above process, can I assume that any changes made in PGMB on Array-Table
> will be reflected in PGMA?

The answer is - it depends.  IF you are using ILE COBOL (RPG does not have
external sharing of files and data structures) and IF they are both called
from the same job, and IF they are in the same activation group, then
anything that ProgramB changes, ProgramA will see.

Hope this helps.

Jim Essinger
Senior Programmer/Analyst
Student Loan Fund of Idaho
PO Box 730
Fruitland, ID 83619
208-452-4058
esinger@fmtc.com






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.