Has anyone worked with 8.7 new looping feature of SaveInputRecords and GetSavedInputRecords. I am trying to use this function but all I am getting is an error:
APT_CombinedOperatorController,0: Internal Error: (xfer_->initialFixRunLength_f == initialFixRunLength):./../include/apt_internal/api/transfer_rep.h: 770: Buffer and schema variable padding do not match. Data corruption will occur.
Traceback: Could not obtain stack trace; check that 'gdb' and 'sed' are installed and on your PATH
I verified that the "gdb" and "sed" are installed and on the path, so I don't know what else to do,
Thanks for any help
SaveInputRecords and GetSavedInputRecords
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 26
- Joined: Fri Feb 27, 2004 7:23 am
- Location: WI, USA
The 'gdb' and 'sed' part of the message can be ignored, it refers to the debugger and getting the stack and this message is common.
If you turn off operator combination ($APT_DISABLE_COMBINATION to "true") the error message might help a bit more.
If you turn off operator combination ($APT_DISABLE_COMBINATION to "true") the error message might help a bit more.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Can you outline how you are trying to use these functions? They are intended to be used when processing groups of records.
SaveInputRecord() pushes the current record onto a queue and returns the number of records now on the queue.
GetSavedInputRecord() pops one record off the queue.
SaveInputRecord() pushes the current record onto a queue and returns the number of records now on the queue.
GetSavedInputRecord() pops one record off the queue.
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.
-
- Premium Member
- Posts: 21
- Joined: Mon Mar 08, 2004 11:42 am
This is a bug that has a patch fix where DataStage does not honor the constraints for multiple output data links in a Transformer stage using Loops Conditions.
The resolution is a patch, JR44926 (http://www-01.ibm.com/support/docview.w ... wg1JR44926), that is not available for v8.5, but is available for v8.7+ and is included in the service fix pack of v9.1.2.
Credit to a developer at my customer named Nathan Lambert for figuring out a workaround: ensure all the output data links have a constraint condition by using the @TRUE in the unconditional output data links.
The resolution is a patch, JR44926 (http://www-01.ibm.com/support/docview.w ... wg1JR44926), that is not available for v8.5, but is available for v8.7+ and is included in the service fix pack of v9.1.2.
Credit to a developer at my customer named Nathan Lambert for figuring out a workaround: ensure all the output data links have a constraint condition by using the @TRUE in the unconditional output data links.
Brian Sprecher
IBM
Lenexa, KS
IBM
Lenexa, KS