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
what is the syntax for plist?
can you have multiple key lists for a single file ?
give three main purposes of file specification ?
How can we read file using curser? how to define a curser?
name few ibm supplied libraries?
what is sflinz and sflrna?
What is file information data structure(infds) in as400?
why do we use readc? What is sflnxtchg?
how can I control the way a remote browser uses its cache?
what is the function of rlu ?
can you display a empty subfile?
which of the cl command can be used to determine which logical files are dependent on a specific file?
what are the two record formats a subfile contain ?
how do you read changed records backward in subfile?
How can we update a specific field in RPG?