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
How can we read file using curser? how to define a curser?
what is a program described file in rpg?
how to toggle between single line and multi - line display of a particular record in a subfile?
what is the difference between normal upddta to pf and updating using dfu program?
what is the clp command to access a query/400?
what is service program?
what is a join logical file?
an access path may be in which sequence?
How can we change the uppercase to Lowercase in RPG?
Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out
how many maximum spaces could be given in o specs?
What is the maximum number of subfiles that can be specified in a display file?
What is compiler directive in as400? Give example of compiler directive.?
give three main purposes of file specification ?
what is message file?