Is SQL Commitment level extended to non SQL programs called

10 pts.
Tags:
RPG
SQL commitment control level
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?
ASKED: July 8, 2009  10:16 AM
UPDATED: July 8, 2009  1:12 PM

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following