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 does vldcmdkey means?
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 are the limitations of cl (compare to rpg) ?
what is the purpose of indicators in rpg?
what is the function of cpyf command?
WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)
how many files, printer files you can describe in a rpg?
what is the command used to invoke rlu ?
what opcode will be used to test the zone of a character field?
What Does Lokup Does In Tables & Arrays?
To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?
is there any way I can ease my rpg controls on numeric input fields? How about an input date field?
how can a cgi check whether an ifs object is available?
how may a cgi control duplicate inputs?
what is a physical file?