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


Please Help Members By Posting Answers For Below Questions

What is %CHECK?

1043


which of the following operations does not zero the field flda defined as 4,0?

931


What Is The Difference Between Goto & Exsr?

1387


what is a logical file?

1311


how many files, printer files you can describe in a rpg?

843


How to Define a Procedure in RPG?

1422


why is the declare cursor statement is used for?

814


is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?

789


what does opcode post do ?

1406


what are the different methods to access seu?

821


what is the maximum number of parameters allowed in rpg?

1361


define the purpose of the iter operation?

1394


What are the record format field mapping options in cpyf?

804


What is RETURN CURSER LOCATION in subfile?

1290


what is xfoot opcode ?

1375