Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gentran Application Integration

Status
Not open for further replies.

ccall

MIS
Joined
Apr 7, 2003
Messages
1
Location
US
I am trying to figure out how to use Indices. I have a FST GROUP THAT REPEATS 7 TIMES AND I NEED 4 FIELDS SENT TO A TEMPARY SPOT TO MOVE OVER TO THE OUTPUT SIDE. THIS IS WHAT I HAVE SO FAR IN THE EXTENDED RULE.

IF #0681 = "W" THEN
BEGIN
$TEMP_FST[X][Y][Z].#TEMP_FST01 = #0380 / 1000;
$TEMP_FST[X][Y][Z].#TEMP_FST02 = #0680;
$TEMP_FST[X][Y][Z].#TEMP_FST03 = #0681;
$TEMP_FST[X][Y][Z].#TEMP_FST04 = #0373;
Z=Z+1;
END

Tech support keeps telling me that I need to "initialize the variables on the on begining extended rule"

I have this:
Integer X;
Integer Y;
INTEGER Z;
X=X+1;
Y=Y+1;
Z=Z+1;
and it is only giving me the last segment out of 7. help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top