You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a web service uses SQL transactions it needs to scope these to the thread and not the job or activation group. The could be done with the Change Job API. It would be great if we could add that to the ILEastic API.
@m1h43l I'm not very familiar with thread safety in RPG. Does this change need to take place in each procedure that uses SQL or in the main "driver" procedure only? In our implementation, we have a main program that sets up the config object, adds routes and then call il_listen. We have a series of procedures group edinto service programs by category (security, purchasing, etc.). TIA
When a web service uses SQL transactions it needs to scope these to the thread and not the job or activation group. The could be done with the Change Job API. It would be great if we could add that to the ILEastic API.
The RPG code may look like this:
The text was updated successfully, but these errors were encountered: