|
This might be a better question for the Midrange-L list. The AS/400 is not, repeat not, an object oriented system in the way you are using the term. The AS/400 has objects like files, programs, data areas, etc., and they do have properties like activation groups, maximum records, and format levels. However, these objects do not "inherit" properties of other objects, unless one is talking about the members of a file or if one object is duplicated from another. In the case of the former, the properties of a single member may not be changed without changing those of the file. In the latter case, the properties of the newly created object may be changed without affecting those of the original object. There are also modules that can be combined into one program object. In this case many properties of the modules may be very different, such as one being RPGIV, another CL, and another C. However, any properties of the program object, such as the activation group, are shared by all modules. I can't really comment on encapsulation as I don't think I understand the concept very well, but I don't believe the AS/400 is capable of such a thing. I could be wrong, of course. Hope that helps. Donald R. Fisher, III Project Manager The Roomstore Furniture Company (804) 784-7600 extension 2124 DFisher@roomstoreeast.com <clip> I can you quote examples (some situations)for all the properties of Object since AS400 is object oriented system....I would like to know various situations like Inheritance ,Encapsulation etc(object properties)how they happen in writing RPG programs.... Procedure and subprocedure Can be example for Inheritance(inheriting properties from parent) right?I would like to know the situations for remaining object properties like encapsulation etc? <clip>
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.