Is SQL Commitment level extended to non SQL programs called

10 pts.
Tags:
RPG
SQLRPGLE
I have an SQLRPGLE program that calls an RPG program. I know that the SQLRPGLE program has an internal commitment control engine activated, but will it extend onto the RPG program I call from here?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Yes .. to SQL commands in SQLRPGLE
No, I don’t beleieve it extends to F-Spec based commands
You need the STRCMT and the COMMIT of the F-Spec
I think you will need two commit’s and two rollbacks

Remember. records will be locked by both processes and not available for change until the commit/rollback.

Phil

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: