SaveInputRecords and GetSavedInputRecords

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
RamonaReed
Participant
Posts: 26
Joined: Fri Feb 27, 2004 7:23 am
Location: WI, USA

SaveInputRecords and GetSavedInputRecords

Post by RamonaReed »

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
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

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.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
bpsprecher
Premium Member
Premium Member
Posts: 21
Joined: Mon Mar 08, 2004 11:42 am

Post by bpsprecher »

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.
Brian Sprecher
IBM
Lenexa, KS
Post Reply