We are in the process of upgrading from 5.3 to 5.8 and have run into a bit of a problem with some of our Xlates. We run Cloverleaf on Windows Server 2003 R2 SP2.
We have a number of Xlates which uses temp variables as part of the outbound path name. The Xlates work fine in version 5.3 however in version 5.8 we get the following error:
ERROR: Invalid address reference.
“@gg1” temporary variable was not defined but used
Below is a snippet of one of the Xlates:
{ { OP COPY }
{ ERR 0 }
{ IN {=RY =3 =01} }
{ OUT {{SEG3(@gg1).Transaction_Type.[0]} {SEG3(@gg1).Record_Layout_Number.[0]} {SEG3(@gg1).Case_Number.[0]}} }
}
{ { OP COPY }
{ ERR 0 }
{ IN {=TEXT =1} }
{ OUT {{SEG3(@gg1).Result_Code.[0]} {SEG3(@gg1).Last_Record_Type_3.[0]}} }
}
Any help would be much appreciated.
Regards,
Graham