GAC | Sep 9 2008 2:44PM GMT
Hi Mohan K,
I think that the answer you are looking for is this:
To know about object oriented languages go to the sources TPinky gave to you. Now, for the AS/400, it was designed as an operating system where everything is an object: an entity with characteristics and behaviours that are unique to its nature.
So a User Profile is an object with characteristics and behaviors unique to a user profile, you cannot perform certain functions on a user profile that you can on an object File, or an object Program.
This way, if an object was created as a physical file it cannot be changed to another type of object (in another operating systems you can rename a text file and tell the operating system it is a program), and you cannot add executable code in a database file because its ‘nature’ is to contain data and not execute instructions.
I hope this brief overview helps, if you have further questions please post them, not sure that I will be able to answer but I will do my best.
Regards,
Gerardo
Hi Mohan K,
I think that the answer you are looking for is this:
To know about object oriented languages go to the sources TPinky gave to you. Now, for the AS/400, it was designed as an operating system where everything is an object: an entity with characteristics and behaviours that are unique to its nature.
So a User Profile is an object with characteristics and behaviors unique to a user profile, you cannot perform certain functions on a user profile that you can on an object File, or an object Program.
This way, if an object was created as a physical file it cannot be changed to another type of object (in another operating systems you can rename a text file and tell the operating system it is a program), and you cannot add executable code in a database file because its ‘nature’ is to contain data and not execute instructions.
I hope this brief overview helps, if you have further questions please post them, not sure that I will be able to answer but I will do my best.
Regards,
Gerardo
i didnt get the answer which i expected can u explain in the sense of object oriented system versus language
Check out this Wikipedia link for information on object oriented programming:
It would help if the link actually showed up:
Wikipedia
Hi Mohan K,
In an OOPL you define a class and its methods, then you create an instance of an object based on that description (class). This is what they did with the System i: they defined every object in the system (in other operating systems a text file is just a text file, in the System i a file is an object and has its own methods) and defined the operations that can be applied to these objects, but other operations (methods) cannot be used on those same objects because of the definition we talked about earlier.
In the system you cannot create a new kind of object, they are all previously defined: an user profile (*USRPRF), a physical file (*FILE / PF-DTA), a data queue (*DTAQ), in the object oriented language you define the class and its methods (Customer) and use the object (customer.getId).
I assume that you have some knowledge of what OOP is in order to understand the comparison between the language and the system.
Again, of not clear enough, let me know what you want to know and I will be glad to go further, the System i is one of my favorite subjects
Gerardo.