transaction grouping
Moderators: chulett, rschirm, roy
transaction grouping
Hi,
1)What is the exact explanation of on skip at transaction grouping? According to what can we specify continue or rollback?
2)When we enable transaction grouping, if there is an error will datastage rollback all of the transactions or will it commit the ones before the error? What we want is to rollback all of them. How may we do that?
Thanks...
1)What is the exact explanation of on skip at transaction grouping? According to what can we specify continue or rollback?
2)When we enable transaction grouping, if there is an error will datastage rollback all of the transactions or will it commit the ones before the error? What we want is to rollback all of them. How may we do that?
Thanks...
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
If you want to rollback all work when an error occurs, you cannot use Transaction Grouping. Use it when you have multiple related links and you need each 'group' of links to either all be individually committed or rolled back. The Transaction Size is forced to 1 when this option is enabled, which should be a big clue as to how it works - each group is handled as a separate transaction.
When on that tab of the OCI stage, click the Help button. See if the explanation there makes sense. On Skip defines your success action, On Fail your error action. Very seldom would you need to change them from their defaults.
For your 'all or nothing' load, forget about this option. Simply use a Transaction Size of 0 and ensure that the job aborts if there is any problem.
When on that tab of the OCI stage, click the Help button. See if the explanation there makes sense. On Skip defines your success action, On Fail your error action. Very seldom would you need to change them from their defaults.
For your 'all or nothing' load, forget about this option. Simply use a Transaction Size of 0 and ensure that the job aborts if there is any problem.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Click on Help when you're in that page (Transaction Grouping). You can then click on the controls to get individual help about them.
I am using an Oracle OCI (ORAOCI9) stage, and do not see these controls. Can you be more specific about what kind of stage you are using? The stage type appears in the title bar of the stage when it is open.
I am using an Oracle OCI (ORAOCI9) stage, and do not see these controls. Can you be more specific about what kind of stage you are using? The stage type appears in the title bar of the stage when it is open.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Ray - you need to have multiple links from the same Transformer to a single OCI stage before the option becomes available on the Transaction tab of that OCI stage. And you need to then enable it before the options being questioned shows up.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The multiple input links I had - transaction grouping on one link is silly.
Enabling it I missed. But I can not see the control described in the help (which, incidentally, contains a description of what "on skip" does). The only control on the Transaction Grouping page is Rows per transaction - the remainder is a big grey area.
Enabling it I missed. But I can not see the control described in the help (which, incidentally, contains a description of what "on skip" does). The only control on the Transaction Grouping page is Rows per transaction - the remainder is a big grey area.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Huh - if you have multiple links from one transformer to one OCI stage, then the Enable transaction grouping option will appear. When you actually enable / check it, the 'big grey area' will fill with the Input Link Names with the On Skip and On Fail settings per link.
Is that not working for you?
Is that not working for you?
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Not sure what's going on. Check razor, project chulett, there is a single job in the Test category. Nothing except a transformer, two links and an OCI stage but it shows the Transaction Grouping information if you check the Transaction tab.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Right. As I said - "you need to have multiple links from the same Transformer to a single OCI stage before the option becomes available on the Transaction tab of that OCI stage".
And from the online help:
"All the input links in the transaction group must originate from the same Transformer stage."

And from the online help:
"All the input links in the transaction group must originate from the same Transformer stage."
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
