Which command we can use to update a physical file using c.l pgm?
Answer Posted / rajeev
We can not update a database file throught CL in a normal
way but if we use QSH then we can update or insert. Here I
am showing a exaple of insert.
QSH CMD('db2 "insert into $SCHEMA.$TABLE + VALUES(12,
5,''rajeev'', ''2009-11-24'',.2" ')
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
how to validate input values in display file ?
what is externally described file ?
what does defn do?
when do you use f-spec. Continuation line ?
Write a logic program for knowing the repeated number of a vowels in a given program?
How can we arrange duplicate records in a file?
what is the function of cpysplf command?
what is the length of a variable in rpg?
how you will know whether you are in sfldrop or sflfold mode?
what are the important factors in error message subfile ?
Can we debug the MSGW JOBS?
how many levels are there in a physical file?
which are control break logic indicators?
what is the difference between *like and *namvar ?
how do you use commitment control in rpg program ?