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 does the opcode free do?
what are the limitations of cl (compare to rpg) ?
Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?
what are dds required for subfile?
when is a tag statement used in rpg?
can a indexed file be accessed in arrival sequence in rpg program?
what are the various types of device files?
What is array in as400? What are the types of array?
which are the string manipulation opcodes?
Write a logic program for knowing the repeated number of a vowels in a given program?
What is compiler directive in as400? Give example of compiler directive.?
what is full form for dds?
how to read database records without locking them?
how can a cgi check whether an ifs object is available?
Can level check error occur if we do chgpf?