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


Please Help Members By Posting Answers For Below Questions

is it possible to create a physical file without dds?

1182


how to define global parameter in ile ?

625


what does the ovrdbf command do?

663


Can you summarize the steps I have to go through in writing my first cgi?

609


which single rpg opcode performs both setll and reade?

1089






what keyword must be used with protect keyword ?

1116


how do you read data area in an rpg program?

1103


what is the purpose of ovrdta and ovrata keywords ?

881


what is the maximum number of subroutines allowed in rpg?

1052


How to Define a Procedure in RPG?

1218


hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.

2123


in conjunction with which statements can orxx and andxx conditions be used ?

1129


What is RETURN CURSER LOCATION in subfile?

1068


Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?

652


how you will find an error which is not in the first page of the subfile without using rolldown key?

548