Hello everyone, i want to know and how to do it, if it is possible to do transactions, between SQL objects. For example: SQL1: Start Transaction; SQL2: Insert in some table; SQL3: Insert in some table2; SQL4: Rollback; Basically, i want to do transactions (commit and rollback) with a lot of differents SQL objects. I cant find any documentation or tutorial about this. Hope you guys can help me !This message has been edited. Last edited by: Tamra,
WebFOCUS 8 Windows, All Outputs
December 14, 2015, 11:52 AM
Keith Davidson
Hi Miguelrko If you are looking at transaction processing, I would start with iWay iSM, which is used for transaction processing. Batch processing can be accomplished with iWay iDM. However, if you are building transaction screens you may want to look at WebFOCUS Maintain.
WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
December 14, 2015, 03:41 PM
Miguelrko
i want something simple like: in the SQL object you have the Need Commit Parameter, i want to use "Never" as value, so my own DML/TCL manage the logic in use or not use commit/rollback
WebFOCUS 8 Windows, All Outputs
December 15, 2015, 11:46 AM
Keith Davidson
quote:
Originally posted by Miguelrko: i want something simple like: in the SQL object you have the Need Commit Parameter, i want to use "Never" as value, so my own DML/TCL manage the logic in use or not use commit/rollback
Can you give us a bit more information about what you are trying to do. You indicate that you are using WebFOCUS 8 in your tag. Are you trying to insert transactions using WebFOCUS? Or, are you using an iWay product (if so which one?).
In WebFOCUS if you want to use native SQL commands and procedures, you should look at "SQL PASSTHRU",however this requires the user to have knowledge of the underlying database coding (DML/TCL). If you want WebFOCUS to control the commits and rollback of a transaction, you should use the MAINTAIN product.