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 externally described file ?
In Which Specs Arrays, Tables & Constants Are Defined?
what is message file?
how do you read data area in an rpg program?
Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..
when do you explicitly open files and close files in an rpg program?
what is the use of dspatr(mdt) keyword?
How Many Specs Are There In Rpg & Which Are They?
how may a cgi control duplicate inputs?
how to validate input values in display file ?
Can we debug the MSGW JOBS?
how many specifications are there in rpg/400? What are they?
what does defn do?
What is diff between EVAL & MOVE?
how will you search an array?