Which command we can use to update a physical file using c.l pgm?
Answer Posted / madhusudhan
As mentioned above by Rajeev and Sumit, both the commands
will work. There is one more which i tried and it worked.
You can use the below way
RUNSQL STMT('Update LIB/File Set Field = "1" where Field
="2" ')
I have tried all the three ways and after working i am
posting it here.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is the maximum number of subroutines allowed in rpg?
when would you use or not use this approach?
can a single screen format occupy a screen area above and below a subfile format ?
maximum number of subfiles that can be active for a single file is?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?
can you have multiple key lists for a single file ?
WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?
http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?
what is the syntax for plist?
how do you know that records are locked?
what are the uses of factor1, factor2 and result field for the rpg operation code parm?
Can you summarize the steps I have to go through in writing my first cgi?
define subsystem?
what is the purpose of ovrdta and ovrata keywords ?
at what level s,o are defined and what they will do?