|
>> 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. One correction and one simplification. "RPG does not have external sharing of files and data structures" is only partly true. RPG cannot share files but most certainly can share Data Structures (check out the IMPORT and EXPORT keywords for confirmation. The part of the statement "IF they are both called from the same job" is superfluous. If they are in the same AG they are by definition in the same Job since the AG is a subdivision of the Job. Since files are not involved in the scenario in question, that means that we can say: IF they are in the same activation group, then anything that ProgramB changes, ProgramA will see. Just a bit simpler. Jon Paris Partner400
As an Amazon Associate we earn from qualifying purchases.
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.