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?
Answer Posted / 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 |
Post New Answer View All Answers
when is a tag statement used in rpg?
what is the difference between sflclr and sflinz?
how to run other job when one job is active?
what is the difference between normal upddta to pf and updating using dfu program?
what is the function of crtdupobj command?
how do u compile rpgle program?
in conjunction with what other keyword must ovrdta and ovrata be used?
What is the difference between crtdupobj and copyf?
. How to know why the OPM job is in MSGWAIT state?..WHAT COULD BE THE REASON FOR it?
which cl command can be used at program execution to redirect the file named in an rpg program?
1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?
what keyword must be used with protect keyword ?
Difference Between Ca & Cf?
is there any way I can ease my rpg controls on numeric input fields? How about an input date field?
Difference Between Skip Before & Space Before?