SandraDiehl
9th May 2019, 21:15
System Details First:
running on tools service pack 12
Linux environment: RedHat Enterprise Linux 7
Porting Set: 6.1c.19
Mystery issues arise with some exchange schemas that seems to have worked but not sure when it broke. I'm familiar with exchange but am not the one who created them. In this schema it is updating the contracts tdssc001 and tdssc065 a global variable was defined in the first condition that is used to determine if the exchange schema should stop.
All Execute conditions on the import relations has the condition EXEC which all it has:
if fatal_err2 = 1 then
return(false)
endif
return(true)
Other conditions that are set in the Add have logic to set fatal_err2 in the first condition fatal_err and fatal_err2 are introduced as extern long and initialized with 0. They are set when reading the file and validating the input which should stop the schema. While in debug I watched it set it but when it came to the EXEC condition it saw fatal_err2 set to 0.
I tried to "compile" the conditions and I get error that they are not defined. I even tried to recreate the schema just to see if there was some strange character that I was not noticing and still same thing fatal_err although should be global it is not getting recognized.
Is this a flaw with linux/porting set or am I missing something completely...after all these exchange schemes were created back in 2000 and have been working with the last change happening 2018 prior to moving to Linux.
No way are we going to be able to update the porting set and service packs code is too heavily customized and not enough developers and functional group to do the changes and testing. Is there a way I can "trick" by pass to have a variable to determine if the schema encounters and error and stops?
running on tools service pack 12
Linux environment: RedHat Enterprise Linux 7
Porting Set: 6.1c.19
Mystery issues arise with some exchange schemas that seems to have worked but not sure when it broke. I'm familiar with exchange but am not the one who created them. In this schema it is updating the contracts tdssc001 and tdssc065 a global variable was defined in the first condition that is used to determine if the exchange schema should stop.
All Execute conditions on the import relations has the condition EXEC which all it has:
if fatal_err2 = 1 then
return(false)
endif
return(true)
Other conditions that are set in the Add have logic to set fatal_err2 in the first condition fatal_err and fatal_err2 are introduced as extern long and initialized with 0. They are set when reading the file and validating the input which should stop the schema. While in debug I watched it set it but when it came to the EXEC condition it saw fatal_err2 set to 0.
I tried to "compile" the conditions and I get error that they are not defined. I even tried to recreate the schema just to see if there was some strange character that I was not noticing and still same thing fatal_err although should be global it is not getting recognized.
Is this a flaw with linux/porting set or am I missing something completely...after all these exchange schemes were created back in 2000 and have been working with the last change happening 2018 prior to moving to Linux.
No way are we going to be able to update the porting set and service packs code is too heavily customized and not enough developers and functional group to do the changes and testing. Is there a way I can "trick" by pass to have a variable to determine if the schema encounters and error and stops?