290 pts.
 About AS/400
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

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question. Michael Tidmarsh   11,380 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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

 107,735 pts.

 

fu=]   f\   

Finding a manual usually helps.
I seardhed for AS/400 F-spec and found this ...
 http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c092508420.htm#HDRFILEDES

Search the text for position 20 file adition

 44,070 pts.

 

Short answer: yes.

 5,670 pts.

 

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!

 5,505 pts.

 

Sounds like homework to me.
 
Surely, you read the profile, no?  :-)
 
Tom

 107,735 pts.