A file is opened in a program in input mode and he turned the parameter 'file addition' to 'A'. My doubt is, is it possible to add a record to the file thru the program when the file is opened in input mode?
Software/Hardware used:
iseries
ASKED:
March 15, 2013 4:00 AM
UPDATED:
March 15, 2013 12:03 PM
Best response is “Try it and find out.” It is too simple to test yourself to lose time asking. It takes less time to run a test, and it doesn’t cause many others to spend time reading and possibly trying to come up with good answers.
However, you might have a problem that you believe might be fixed by this answer. If you have a problem, please describe it. Show any code you have written that runs into the problem and also provide any message IDs that are thrown.
Tom
fu=] f\
Short answer: yes.
Sounds like homework to me. Anyone writing RPG will (surely) have access to an RPG manual, which clearly describes file handling.
If it IS homework, then if the tutor didn’t give out the links and say ‘go there and read these’ you should get your money back!
Sounds like homework to me.

Surely, you read the profile, no?
Tom