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 |
can a indexed file be accessed in arrival sequence in rpg program?
268 How many parameters can be defined in a RPG program. ?
Can anybody please tell me what is difference between SQL (STRSQL ) and WRKQRY .....?
define the purpose of the iter operation?
Distinguish between logical file and physical file?
What is the use of E specification in RPG?
how do you read changed records backward in subfile?
. How to know why the OPM job is in MSGWAIT state?..WHAT COULD BE THE REASON FOR it?
which are control break logic indicators?
what is the purpose of ovrdta and ovrata keywords ?
How can we create subsystem in as400?
what is a logical file?