An rpg program is processing an openquery file.The file is
declared in update mode in F spec.Can we update this file?
Please explain?
Answers were Sorted based on User's Feedback
Answer / anjali thakare
Yes it is possible if ur query is created accordingly like
In QPNQRYF command, when u crete it specify this following
open option as *upd if it is not then ur not update
it.
Open options . . . . . . . . . . *INP *ALL,
*INP, *OUT, *UPD, *DLT
| Is This Answer Correct ? | 15 Yes | 1 No |
Answer / danny
No..Because we are going to receive CPF5149 error when trying to do so.
| Is This Answer Correct ? | 1 Yes | 0 No |
Determine the value of the result field a. Cost = $110. 00 b. Tax = 20% c. MarkUp= 05% d. Sale = 10%
What is difference between rename and prefix?
Why would you prefer OPNQRYF than logical file?
why is as/400 called object oriented machine?
what is the use of sflend keyword?
What is dynslt?
is it possible to create a physical file without dds?
when do you use f-spec. Continuation line ?
how you will find an error which is not in the first page of the subfile without using rolldown key?
What is Folder?
what is the use of unique keyword and what level it is defined?
1.What is the difference between regular join logical file and non join logical file? 2.what are the nessasary keywords for non join logical file