Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to avoid using indicators in ile ?

1276


what is the maximum number of fields under a record format of physical file?

1853


what is the maximum number of files allowed in rpg?

1640


what is a join logical file?

1216


what is join logical file?

1889


under given circumstances, my cgi should link to another site. How to implement this?

1020


which indicator is used for read?

1139


Can we debug the MSGW JOBS?

1333


How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz

1699


what is the use of jdftval in join logical file?

1806


where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?

1834


how do you specify the number of records to roll in a subfile ?

2173


why is as/400 called object oriented machine?

1695


what are various techniques to pass parameters from one program to another?

1860


when should I use method get, and when should I use method post in my cgis?

1138