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?
Answers were Sorted based on User's Feedback
Answer / shashank jain
In your code write
c/exec sql
c/+ set isolation level = NC
c/end-exec
before your update statement
Or
try this as your update statement both will work
c/exec sql
c/+ update table name set empname = 'value' with NC
c/end-exec
Is This Answer Correct ? | 2 Yes | 0 No |
Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?
What is the purpose of OVRDTA keyword ?
WHAT IS DECIMAL DATA ERROR IN RPG IV...WHEN WILL IT HAPPENS?
in which specification the report layout can be defined?
what does check opcode do ?
what is the command to know key fields of file?
different type of cursor?
how can we view the entire objects and its types in a pgm?
how do you use commitment control in rpg program ?
Show 2 ways to convert a date from YYMMDD to MMDDYY (MULT operation not acceptable)
which are control break logic indicators?
what is the maximum number of records you can specify in a display file?