Which command we can use to update a physical file using c.l pgm?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / swathi
can't possible to update/delete/change through CL PGM.Only we can read through CL PGM.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ramana
hi,
we can update data in cl, but we can use runsqlstm commance,
here if use select statement u canot select data, ucan
update dlelete
| Is This Answer Correct ? | 5 Yes | 5 No |
Answer / jeetu
we can not update batabase file through CL.it is possible through RPG by using UPDAT opcode.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / swapan
we cant update from CL PGM.....rather we can do type RUNSQLSTM IN command prompt & from there we can go to the sql prompt for any changes required.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / john
i am sure cant update database file through clp.........
| Is This Answer Correct ? | 0 Yes | 3 No |
How can we change the uppercase to Lowercase in RPG?
how can a cgi check whether an ifs object is available?
what is the maximum number of parameters allowed in rpg?
Can we use OVRDBF command without using of OPNQRYF ? Or can we use OPNQRYF command without using of OVRDBF command ?
What is the exact difference between Service Program and Binding Directory?
what are dds required for subfile?
is it possible to do commitment control with out journaling?
In 'o' Specs What Is The Opcode For Write?
What is field reference file?
How to read 2 positions at a time in a data area? I have created a data area of length and i have to read the values of the data area like 91-92,93-94 at a time up till 100
can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com
I have SQLRPGLE program in which there are some update statements which executed correctly. there were no errors run time. Once the program gets over, the file was not updated with the new values. What might be the reason?