IMPORTANT WARNING: Please note that the release notes below are divided into two sections. The first section describes fixes specific to Gentran:Server for Windows product, whereas the second describes fixes associated with the Common Component Translator shared with other Gentran products. To ensure you understand all the changes affecting your product version for a given patch number, you need to review both sections. ========================================================================= PATCH RELEASE NOTES IBM® Sterling Gentran:Server® for Microsoft Windows 5.3.1 Patch 5 ========================================================================= ************************************************************************** PATCH 1 ************************************************************************** _______________________________________________________________________________ RTC DEFECT: 351228 APAR: IC87515 DATE: 10/26/2012 MODULE: Commpost.exe PROBLEM DESCRIPTION: When Commpost attempts to process bad data it attempts to retry processing that data 5 times. This can cause Commpost to continue attempting to process the bad data for an inordinate amount of time and consume large amounts of memory. FIX DESCRIPTION: Have the default remain at 5 however have an override set in the registry so the customer can set it to a number they would like to have. This registry setting is named CommPostMaxRetryCount and is a DWORD entry and defaults to 5. It is stored under the following registry key: 32-bit OS: HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Server\\Systems\ 64-bit OS: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sterling Commerce\GENTRAN\Server\\Systems\ When Commpost runs it attempts to read this value in and use it as the Max retry count, if it does not find it, it creates the value and sets it to 5. _______________________________________________________________________________ RTC DEFECT: RTC 343543 APAR: IC87657 DATE: 10/30/12 MODULE: gntstart.exe PROBLEM DESCRIPTION: Some commands are unable to execute in 64-bit OS through GNTStart and Unattend from command line FIX DESCRIPTION: Added code to fix the physical GSW login portion for when the silent signon fails. This was not previously working so even when the user was prompted to login on Win7 or Server 2008, the DSN information was not being set correctly and genstart could not access it. Also added code to allow for gntstart to exit correctly if it can not access the DB. This was causing gntstart to crash. _______________________________________________________________________________ RTC DEFECT: 354271 APAR: IC87651 DATE: 10/30/12 MODULE: Partnred.exe PROBLEM DESCRIPTION: In the Partner Editor's Outbound Interchange dialog, when you uncheck the "Use the default Mailbox and E-mail Address" checkbox, the "Set Max Number of Documents per Interchange" checkbox unchecks also. FIX DESCRIPTION: An UpdateData command to retrieve the current values of the dialog controls was missing in the if-else clause. Moved it to the start of the function. _______________________________________________________________________________ RTC DEFECT: 353247 APAR: IC87818 DATE: 10/31/12 MODULE: tx32.exe (GNTXBASE.lib) PROBLEM DESCRIPTION: Outbound document has duplicate Document Name checking turned on but no warning message is received in the audit log. FIX DESCRIPTION: Updated duplicate document checking on outbound documents to write to the same error message to the Audit Log that we'd get when recieving duplicate inbound docs. _______________________________________________________________________________ RTC DEFECT: 352952 APAR: IC87997 DATE: 11/7/2012 MODULE: Commpost.exe PROBLEM DESCRIPTION: In Commpost, when data comes in with unprintable terminators it causes Commpost to hang. FIX DESCRIPTION: In Commpost, when a UNB segment is detected and the segment terminator defined in the Splitter table is not found in the data, we now flag the interchange as bad, write an Audit message and continue processing the file. New audit message 1-6-1682: "Splitter - no matching segment terminator found in splitter table for %1 interchange". _______________________________________________________________________________ RTC DEFECT: 348251 APAR: IC88106 DATE: 11/9/2012 MODULE: GNTXBase.lib PROBLEM DESCRIPTION: Pad character outputs as space instead of "0" for empty numeric fields in Export maps FIX DESCRIPTION: Added check condition in export translation to look for new "PadFillEmptyNum" DWORD value in registry. If it does not exist, we create it and set it to "0". If it exists and is "0", we pad empty numeric map segments using the default setting which is spaces. Otherwise, if it's set to "1", we pad with the pad character the customer has specified. This registry key cannot be changed through the UI and must be manually changed in the registry. This key is located in: 32 bit OS: HKLM \ SOFTWARE \ Sterling Commerce \ Gentran \ Server \ 64 bit OS: HKLM \ SOFTWARE \ Wow6432Node \ Sterling Commerce \ Gentran \ Server \ _______________________________________________________________________________ RTC DEFECT: 360899 APAR: IC89935 DATE: 12/21/12 MODULE: ANServer.exe PROBLEM DESCRIPTION: 5.3.1 Audit service crashes during service startup sequence. It was fine after a fresh install, but it suddenly started crashing after several days of processing. FIX DESCRIPTION: Symptom only occurred whenever DataAuditLog_tb database table had invalid 10-digit event IDs. Fixed ANServer so that it could accomodate valid 10-digit event IDs. _______________________________________________________________________________ RTC DEFECT: 362804 APAR: IC89518 DATE: 1/14/2013 MODULE: BRK997 Map PROBLEM DESCRIPTION: ERROR - 0121 Too Many Elements when processing inbound 997 005010 for the AK1 segment. FIX DESCRIPTION: Brk997 map was missing the AK103 element which is an option element that was added in standard version 004041. This was added to the brk997.map which can be found in the support folder of the patch install under: Maps > Special > Source > Brk997_AK103.map. The tpl file can be found in the support folder under: Maps > Special > Compiled > brk997_AK103.tpl. Support also changed the min field value on the output side of the map for fields 10 & 12 from 1 to 0. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE: THESE SYSTEM MAPS WILL NOT BE INSTALLED BY THE PATCH INSTALL. YOU MUST GO THE SUPPORT FOLDER AND REGISTER THE TPL FILES MANUALLY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Please Note: brk997_AK103.tpl and Brk997_AK103.map were removed from the corresponding Special subfolders due to later RTC defect 372073. The AK103 functionality can be found in the most recent brk997.tpl and brk997.map. _______________________________________________________________________________ RTC DEFECT: 363982 APAR: IC89748 DATE: 1/22/2013 MODULE: Aleserver PROBLEM DESCRIPTION: During ALEServer We are reporting: Check_TID: Update the TID-Management failed, instead of a Check_TID: Lock the TID-Management failed, when the aleserver.lck retry attempts exceed 60. FIX DESCRIPTION: Changed error reporting for Check_TID to report TID_ERROR_LOCK instead of TID_ERROR_UPDATE when the AleServer can not attain a lock on the TID file. _______________________________________________________________________________ RTC DEFECT: 362017 APAR: DATE: 1/31/13 MODULE: tx32.exe (gntxbase.lib) PROBLEM DESCRIPTION: The Export to Mailbox process is generating 10-digit event IDs in DataAuditLog_tb which was causing the 5.3.1 Audit service to crash on startup. FIX DESCRIPTION: Passed in event ID to Mailbox API calls. Without it, the event ID in the Mailbox interface was uninitialized resulting in the 10-digit values. _______________________________________________________________________________ RTC DEFECT: 364201 APAR: DATE: 02/01/2013 MODULE: BLD997.map PROBLEM DESCRIPTION: BLD997.MAP does not have the AK103 element (0480) to populate the GS08 version FIX DESCRIPTION: BLD997 map was missing the AK103 element which is an option element that was added in standard version 004041. This was added to the BLD997.map which can be found in the support folder of the patch install under: Maps > Special > Source > BLD997_AK103.map. The tpl file can be found in the support folder under: Maps > Special > Compiled > BLD997_AK103.tpl. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE: THESE SYSTEM MAPS WILL NOT BE INSTALLED BY THE PATCH INSTALL. YOU MUST GO THE SUPPORT FOLDER AND REGISTER THE TPL FILES MANUALLY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! _______________________________________________________________________________ RTC DEFECT: 366092 APAR: IC90423 DATE: 2/25/13 MODULE: Edimgr.exe PROBLEM DESCRIPTION: The 5.3.1 Interchange Browser and External Data Browser are not displaying external data correctly for outbound interchanges. Only 1 or 2 bytes of garbage is displayed instead of the actual contents of the .int file. FIX DESCRIPTION: When the contents of the .int file was being read into a temp buffer, the data type conversion wasn't being done properly. Fixed. _______________________________________________________________________________ RTC DEFECT: 368383 APAR: IC90579 DATE: 2/28/13 MODULE: Commpost.exe, AuditMsgFile.xml PROBLEM DESCRIPTION: 5.3.1 commpost crashing when EDI splitter entries had NULL values in the RepeatingElementDelimPosn database column. FIX DESCRIPTION: Added check to EDI splitter to validate the RepeatingElementDelimPosn value retrieved from the database. If the variable is less than 0 or greater than 200, it gets reset to 0 and a new warning audit is written to the Audit Log (1-6-1683: "Splitter - the RepeatingElementDelimPosn value for the [start tag] splitter entry is invalid. The Splitter value Rep Elem has been temporarily set to 0 (not used) for this transaction. Please update the Splitter configuration to prevent further warnings.") _______________________________________________________________________________ RTC DEFECT: 357241 APAR: IC88643 DATE: 3/14/13 MODULE: Commpost.exe PROBLEM DESCRIPTION: When an inbound file with multiple interchanges comes in with unprintable terminators (0x0D as segment terminator) for some interchanges, commpost is unable to split the interchanges properly and it causes translator to hang. FIX DESCRIPTION: Issue was due to a previous fix for Vantive SR#1343740 that did not anticipate 0x0D would be used in the data as segment terminators. Rolled back that fix. _______________________________________________________________________________ RTC DEFECT: 371623 APAR: DATE: 3/25/13 MODULE: BRK999.MAP, BRK997.MAP, BRK997_AK103.map, Bld997t.map PROBLEM DESCRIPTION: The following break maps were not adjusted correctly to correspond with the PartnerKey expansion of GSW 5.3.1. The BLD997_AK103 map was corrupted and would not open in the map editor. FIX DESCRIPTION: Expanded all partnerKey fields in the maps to the new length of 25 chars. The BLD997_A103 was also replaced and the .tpl file rebuilt to keep the file date consistant. These maps can be found in the support folder of the patch install under: Maps > INSTALL> Source > BRK999.map Maps > INSTALL> Source > BRK997.map Maps > INSTALL> Source > BLD997t.map Maps > Special > Source > BRK997_AK103.map Maps > Special > Source > BLD997_AK103.map The tpl file can be found in the support folder under: Maps > INSTALL> compiled> BRK999.tpl Maps > INSTALL> compiled> BRK997.tpl Maps > INSTALL> compiled> BLD997t.map Maps > Special > Compiled > BRK997_AK103.tpl Maps > Special > Compiled > BLD997_AK103.tpl !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE: THESE SYSTEM MAPS WILL NOT BE INSTALLED BY THE PATCH INSTALL. YOU MUST GO THE SUPPORT FOLDER AND REGISTER THE TPL FILES MANUALLY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ************************************************************************** PATCH 2 ************************************************************************** RTC DEFECT: 370537 APAR: IC91066 DATE: 3/21/13 MODULE: SCEMailGateway.dll PROBLEM DESCRIPTION: When using the new 5.3.1 Email Gateway 'Send as attachment' feature, the email that is sent has "This is the body of the message" in the message body and cannot be changed. FIX DESCRIPTION: Added new edit field control to Email Gateway mailbox properties dialog that allows users to specify the contents of the message body when sending messages with "Send as attachment" selected. _______________________________________________________________________________ RTC DEFECT: 372089 APAR: IC91356 DATE: 4/4/13 MODULE: Unattend.exe PROBLEM DESCRIPTION: 5.3.1 Unattend.exe crashes when GDW_Document_Rpt (or any other Process Control command) uses the Date/Age parameter. FIX DESCRIPTION: Newer Microsoft classes used in 5.3.1 now throw exceptions when trying to create a time object with the hours parameter to set 24. Fixed so that the time object is created first then incremented by one day. _______________________________________________________________________________ RTC DEFECT: 371636 APAR: IC91433 DATE: 4/10/13 MODULE: Commpost.exe PROBLEM DESCRIPTION: When processing a custom file layout that contains a single line item, will get a 'No valid interchanges Processed' error but it works fine if there are two or more lines. This problem only occurs with the Variable Position formats. FIX DESCRIPTION: The customer's variable position splitter entry had a 'max length of start segment' value that was greater than the total size of the data file (minus the CR/LFs). That splitter value was not a typo since it matches what's indicated in their maps. Added code to check for the end of the file when it reads in the max length amount of data. _______________________________________________________________________________ RTC DEFECT: 369668 APAR: IC91537 DATE: 4/16/2013 MODULE: aleserver.exe PROBLEM DESCRIPTION: SAP IDoc Control Record could be partially overwritten with aleserver trace file "Established connection" message, when running aleserver with the "-interval" command line argument, or with the "Set timer for checking the connection" in the SAP configuration configuration UI. The probability of the symptom frequency increased as the duration between connection checks decreased. FIX DESCRIPTION: Removed buffer overwrite potential between threads, when communication thread reestablishes connection with SAP while transaction thread receives an IDoc. char array for error log messages and Idoc buffering between IDoc writes. Issue was reported when connection was checked every ten seconds. _______________________________________________________________________________ RTC DEFECT: 373109 APAR: IC91946 DATE: 4/29/13 MODULE: _Gsbrk2DivSR.map, _Isabrk2DivSR.map, _Stbrk2.map, GNTXEng.exe (gntxbrk.lib) PROBLEM DESCRIPTION: (1) Bad ISA data processes for 2 hours and creates 120,000+ 0 byte .doc files. (2) Side issue: 3-1-1740 audit message is not displaying the partner name at the interchange level: "Translator: 1 compliance errors detected for interchange 000050409 from ". FIX DESCRIPTION: (1) The _2 ISA break maps didn’t account for bad data between envelopes. Modified the break maps by adding a record to catch bad data. (2) Audit message was written before partner lookup was done. Moved partner lookup before the audit call. _______________________________________________________________________________ RTC DEFECT: 373127 APAR: IC91778 DATE: 4/29/13 MODULE: sapint PROBLEM DESCRIPTION: The program sapint.exe with -POSTPROC argument did not populate either of the EDI_DC* record fields SNDPOR or RCVPOR. FIX DESCRIPTION: Populate the fields SNDPOR and RCVPOR in the EDI_DC* header record from the sapconfig_tb when executing sapint with the -POSTPROC argument. _______________________________________________________________________________ RTC DEFECT: RTC 374460 APAR: IC91937 DATE: 5/6/2013 MODULE: EDIMGR.exe PROBLEM DESCRIPTION: Closing Document browser window causes Edimgr.exe to crash FIX DESCRIPTION: Our temp file cleanup routine would mistakely try to delete a temp file again after it had already been deleted. We have adjusted our cleanup routine and now correctly move from one file in the list to the next in our list. _______________________________________________________________________________ RTC DEFECT: 374003 APAR: IC92537 DATE: 5/17/2013 MODULE: TxAckGen.dll PROBLEM DESCRIPTION: Inbound file processing with acknowledgment generation causes error in txackgen.dll and crashes Gentran. FIX DESCRIPTION: TxAckGen.dll would fail if the ack type was NULL in the ack generation process. As part of a previous fix for AK5 / IK5 error reporting in 999s & 997s, we check our ack type for specific error reporting. If our ack type is NULL, this check fails. Added code to skip this check if our ack type is null since it's only needed for 997s & 999s. _______________________________________________________________________________ RTC DEFECT: 373868 APAR: IC93737 DATE: 5/17/2013 MODULE: TX32.exe PROBLEM DESCRIPTION: Importing outbound documents into GSW causes TX32.exe to crash. FIX DESCRIPTION: TX32.exe was crashing when trying to import outbound documents into the workspace causing GNTXEngine to enter a retry loop reprocessing the inbound file. This crash was a result of Microsoft changing their CTime class to use a new _maketime64 function in the newer compilers (VS2005 and up). The import process uses CTime to set a number of time variables, one of those being a check value of Jan 1, 1970 @ 00:00. This new MFC _maketime64 gets the sytem's time zone, then either adds or subtracts time from this value because it now assumes the value being provided is 00:00 GMT. If your time zone is UCT 01:00+ to UCT 13:00+, this will subtract time from this value invalidating it causing a runtime exception. To resolve this we adjusted our check value to Jan 2, 1970 @ 00:00. Customers in these time zones trying to import docs into their workspace will experience this issue as well. _______________________________________________________________________________ RTC DEFECT: 375138 APAR: IC92265 DATE: 5/10/2013 MODULE: BLD997Partial&Rejectcodes.map PROBLEM DESCRIPTION: BLD997Partial&Rejectcodes.tpl printing 000 at the end of the AK109 segment FIX DESCRIPTION: Rebuilt and compiled Bld997Partial&RejectCodes.map & .tpl which resolved this issues. These new break maps and tpls will be found in the support folder of the patch install under: Maps > Special > Source: BLD997PARTIAL&REJECTCODES.MAP Maps > Special > Compiled: BLD997PARTIAL&REJECTCODES.TPL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE: THESE SYSTEM MAPS WILL NOT BE INSTALLED BY THE PATCH INSTALL. YOU MUST GO THE SUPPORT FOLDER AND REGISTER THE TPL FILES MANUALLY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! _______________________________________________________________________________ RTC DEFECT: 372073 APAR: DATE: 5/19/2013 MODULE: 997 Build / Break maps PROBLEM DESCRIPTION: All Brk997.maps & Brk997.tpls need to be updated with AK103 element just like BLD997_AK103.map (RTC#364201). FIX DESCRIPTION: Updated all BRK & BLD 997's with AK103 element. New build maps and tpls labled _AK103 will be found in the support folder of the patch install under: Maps > Special > Source: BLD997PARTIAL&REJECTCODES_AK103.MAP, Bld997t_AK103.MAP, Bld997_UE_AK103.MAP Maps > Special > Compiled: BLD997PARTIAL&REJECTCODES_AK103.TPL, Bld997t_AK103.TPL, Bld997_UE_AK103.TPL The BRK maps & tpls have all been modified to include this as a conditional element and won't affect translation of data if the element is not present. Because of this, there are no special BRK maps or tpls labeled as _AK103. (The Brk997_AK103.map and .tpl from RTC#362804 have been removed.) These new break maps and tpls will be found in the support folder of the patch install under: Maps > Install > Source: Brk997u.map, brk997.map, brk997t.map Maps > Install > Compiled: Brk997u.tpl, brk997.tpl, brk997t.tpl Maps > Special > Source: Brk997_2.map, Brk997_3.map, Brk997u_2.map, Brk997u_3.map Maps > Special > Compiled: Brk997_2.tpl, Brk997_3.tpl, Brk997u_2.tpl, Brk997u_3.tpl !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE: THESE SYSTEM MAPS WILL NOT BE INSTALLED BY THE PATCH INSTALL. YOU MUST GO THE SUPPORT FOLDER AND REGISTER THE TPL FILES MANUALLY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! _______________________________________________________________________________ RTC DEFECT: 377817 APAR: IC92525 DATE: 5/22/2013 MODULE: AuditLog.exe PROBLEM DESCRIPTION: The Audit Log Date/Time column could display corrupted dates. This would occur if the Regional Settings in the Contol Panel differred from the Regional Setting of the DB server and the Date Time Format of the DB was not the same as the system running GSW. FIX DESCRIPTION: If the attempt to format the date/time fails, as described above, display the date/time string provided by the DB without formating or adjusting for the current locale or user format preferences. _______________________________________________________________________________ RTC DEFECT: 348235 APAR: DATE: 5/30/13 MODULE: RpcSrv.exe, Mercury.exe, Unattend.exe, Proccntl.exe, Config.exe, InstallDll, patch install PROBLEM DESCRIPTION: A new enhancement has been done that extends the Inbound/Outbound Recovery process that normally runs every time the Gentran Executive service starts up. FIX DESCRIPTION: (1) Added a new Process Control system event (System-MBRecovery) that executes the recovery process daily. (2) Added the option to set an upper limit to the number of mailbox messages that can be recovered in a session or at service startup. (3) Added the option to disable recovery at service startup. The new recovery unattend event can also be disabled too. (4) Added a new tab (Recovery) to the System Configuration app that has these new settings for recovery at service startup. The settings for the recovery unattend event are configured in Process Control. If you want to revert back to the previous default behavior for recovery, you'll need to (1) disable the recovery unattend event and (2) go to the Recovery tab in Config and select the 'recover all messages' options for both inbound and outbound. _______________________________________________________________________________ RTC DEFECT: 380707 APAR: IC92999 DATE: 6/12/2013 MODULE: MClient.exe PROBLEM DESCRIPTION: The default Mailbox message attachment viewer is hardcoded to be c:\Windows\Notepad.exe. Notepad.exe does not exist in this location on Windows 2008 OS. FIX DESCRIPTION: The absolute path was removed the default Mailbox message attachment viewer. Notepad.exe is now called directly, relying on the Windows Path to locate the Notepad.exe in the Windows Path. This will be in either C:\Windows, C:\Windows\System32, or C:\Windows\SysWOW64 _______________________________________________________________________________ RTC DEFECT: 376817 APAR: IC93689 DATE: 6/24/13 MODULE: Edimgr.exe, ArchiveManager.exe, Commpost.exe, ProcCtrl.exe, tx32.exe PROBLEM DESCRIPTION: Customer's client users are not allowed to be Administrators or have an admin account to run Gentran under. If the Windows user is not an administrator for that machine, UAC pops-up a notification box and prompts for an Administrator ID and password when launching GSW apps. So customer is requesting that the "Run as Administrator" requirement be removed from some of the GSW modules. Customer thinks they should not need "Run As Administrator" authority to run GSW on a client system despite the fact that Microsoft has changed user configurations and added User Account Control settings to newer operating systems. FIX DESCRIPTION: Added new project build modes that use the "AsInvoked" UAC setting to the following modules so that non-admin binaries could be created without the "Run as Administrator" requirement: Edigmr.exe, ArchiveManager.exe, Commpost.exe, ProcCtrl.exe, tx32.exe. These non-Admin binaries can be found in the Support\NonAdmin folder of the patch install image. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE: THESE SPECIAL BINARIES WILL NOT BE INSTALLED BY THE PATCH INSTALL. IF YOU WANT THEM, YOU MUST GO THE SUPPORT\NONADMIN FOLDER AND COPY THEM TO THE BIN FOLDER MANUALLY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ************************************************************************** PATCH 3 ************************************************************************** RTC DEFECT: 384560 APAR: IC94340 DATE: 7/23/13 MODULE: GenCom97.exe PROBLEM DESCRIPTION: Duplicate File errors during OFTP/CAPI comms SEND sessions due to identical timestamp in OFTP Virtual FileName when sending more than one file within the same second. FIX DESCRIPTION: Added code to sleep for one second before getting the current datetime stamp. _______________________________________________________________________________ RTC DEFECT: 390506 APAR: DATE: 8/1/13 MODULE: ArchiveEngine.exe PROBLEM DESCRIPTION: In 5.3.1 only, at the end of archive mailbox with delete, the 7-1-4 audit message that is written has the wrong number for messages deleted. "Archive Engine completed processing of definition file (Test.ard). Archived (563) message(s) and deleted (158766) message(s)." FIX DESCRIPTION: During the VS2008 conversion, a code change was made that resulted in multiple attempts to delete the mailbox messages as the message ID array was being loaded. The mailbox message delete function was smart enough to ignore any messages that no longer existed and did not attempt to delete them again. However, the total deleted counter was tied to attempts made (not actual deleted) and grew exponentially. Fixed. Undid aforementioned code change and declared loop counter outside of the loop. _______________________________________________________________________________ RTC DEFECT: 390679 APAR: IC94815 DATE: 8/12/13 MODULE: 999 Build P&R map PROBLEM DESCRIPTION: BLD999.MAP does not create acknowledgements with P (Partial accepted) status FIX DESCRIPTION: Added new BLD999_DETAILEDPARTIAL&REJECTCODES map and tpl to GSW. These files can be found at: Maps > Special > Source: BLD999_DETAILEDPARTIAL&REJECTCODES.MAP Maps > Special > Compiled: BLD999_DETAILEDPARTIAL&REJECTCODES.TPL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE: THESE SYSTEM MAPS WILL NOT BE INSTALLED BY THE PATCH INSTALL. YOU MUST GO THE SUPPORT FOLDER AND REGISTER THE TPL FILES MANUALLY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ______________________________________________________________________________ RTC DEFECT: 391572 APAR: IC94911 DATE: 8/13/13 MODULE: Special maps - Break 2 and 3 PROBLEM DESCRIPTION: Translation can hang if using Group and Set pass through maps and the Interchange defines the same character as the segment terminator and repeating element separator. FIX DESCRIPTION: Updated pass through maps to fail translation, rather than passing the invalid interchange to through to the GS and ST break maps. These files can be found at: Maps > Special > Source: _gsbrk2.MAP, _gsbrk3.MAP, _stbrk3.MAP Maps > Special > Compiled: _gsbrk2.TPL, _gsbrk3.TPL, _stbrk3.TPL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE: THESE SYSTEM MAPS WILL NOT BE INSTALLED BY THE PATCH INSTALL. YOU MUST GO THE SUPPORT FOLDER AND REGISTER THE TPL FILES MANUALLY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ______________________________________________________________________________ RTC DEFECT: 391048 APAR: IC95687 DATE: 8/19/2013 MODULE: Partner.exe / BRK999_DETAILED.MAP & .TPL PROBLEM DESCRIPTION: Need inbound 999 process for X12 FIX DESCRIPTION: Modified partner editor to allow 999 inbound and outbound relationships to be built for partners using X-12 standard. Also added BRK999_DETAILED.map and .TPL to specials folder. They are located at: Maps > Special > Source: BRK999_DETAILED.MAP Maps > Special > Compiled: BRK999_DETAILED.TPL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE: THESE SYSTEM MAPS WILL NOT BE INSTALLED BY THE PATCH INSTALL. YOU MUST GO THE SUPPORT FOLDER AND REGISTER THE TPL FILES MANUALLY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! _______________________________________________________________________________ RTC DEFECT: 393211 APAR: IC95117 DATE: 8/23/13 MODULE: tx32.exe PROBLEM DESCRIPTION: Zero byte files left in Gentran temp folder after translation, with no errors reported in audit log. FIX DESCRIPTION: Write new audit message to audit log when translator fails to unlink temp report or temp translation output file, following import. New audit messages report file-access errors of unlink command. ______________________________________________________________________________ RTC DEFECT: 394552 APAR: DATE: 8/27/13 MODULE: Patch install PROBLEM DESCRIPTION: Customer could not install any patch since the setup was aborting without indicating why. Need to add debug popups at every step during installation to help track down where the setup runs into a problem. FIX DESCRIPTION: Added debug popups to the patch install. The popups only appear if a "debug.txt" file exists in the root of the install image. ______________________________________________________________________________ RTC DEFECT: 398210 APAR: IC96722 DATE: 10/8/13 MODULE: SCCertMgr.exe PROBLEM DESCRIPTION: RosettaNet Security Profile Manager is creating certificates with a 2010 expiration date ("Valid from 9/24/2013 to 9/24/2010"). FIX DESCRIPTION: The "To" year was hard-coded to be 2010. Fixed it to be 3 years from the current date. _______________________________________________________________________________ RTC DEFECT: 396017 APAR: IC96331 DATE: 10/11/13 MODULE: GenCom97.exe, GenComUI.dll, GenSec.dll PROBLEM DESCRIPTION: (1) 5.3.1 comm does not properly load any third-party comm DLLs (such as Capi2032.dll and FtpPro32.dll). This prevents CAPI, WSFTP, etc from working. (2) The TAPI version is initialized to 2.0 which is too high for some comm devices and generated an INCOMPATIBLEAPIVERSION error in the comm system log. FIX DESCRIPTION: (1) Needed to modify the 5.3.1 DLL load function to retry loading the DLL from multiple locations in case of failure. (2) Needed to add code to negotiate the API version to use with the comm device. _______________________________________________________________________________ RTC DEFECT: 400377 APAR: DATE: 10/14/13 MODULE: Commpost.exe, AuditMsgFile.xml PROBLEM DESCRIPTION: Commpost is reporting critical errors using the 1-6-50400 info audits. These should be reported as errors. FIX DESCRIPTION: Added new error audit message 1-6-4000 for Commpost to use in those error scenarios. _______________________________________________________________________________ RTC DEFECT: 398950 APAR: IC96843 DATE: 10/15/13 MODULE: tx32.exe PROBLEM DESCRIPTION: Translation could fail to open an existing Template file, when a system was under load. If Template file was an Import header map, the result was that two tdo*.TMP files were left in the Gentran temp folder after translation. If the Template file was a document level Import map, the result was that file could be imported and exist in the ExtData folder, but the file would not be translated, due to the failure to open the Template, causing a zero byte document to be created in the Document folder, but no Translation report would be created. FIX DESCRIPTION: Implemented retry logic into the opening of translation templates, with a sleep period between each attempt. If retry attempts are exceeded, the Translation report is opened, and the Template open error is recorded and translation fails. _______________________________________________________________________________ RTC DEFECT: 400251 APAR: IC96846 DATE: 10/16/13 MODULE: tx32.exe, tx32audits.xml PROBLEM DESCRIPTION: Retry attempts and sleep durations values, for APAR IC96843, need to be configurable for processing optimization, and a new audit message is required to record retry attempts. FIX DESCRIPTION: Added registry entry lookup for Translation Object open retry attempts. Default values are 1000 milliseconds and 5 retry attempts. Updates to these default values require the creation and assignment of the registry keys below. The TranslatorTemplateSleep value should be the number of milliseconds to sleep between retry attemps. CC_BASE_KEY = "SOFTWARE\Sterling Commerce\GENTRAN\Common Components\Translation\5.3.1\TranslatorFileSleep" CC_BASE_KEY = "SOFTWARE\Sterling Commerce\GENTRAN\Common Components\Translation\5.3.1\TranslatorFileRetry" Added new error audit message 3-1-1805 for Template open retry warnings. _______________________________________________________________________________ RTC DEFECT: 397871 APAR: IC97320 DATE: 10/30/2013 MODULE: GentranAdministrator.exe PROBLEM DESCRIPTION: The report line that should report the verision of the GentranAdministrator.exe binary reports the patch version. The binary version should be reported instead. FIX DESCRIPTION: Changed GentranAdministrator.exe to extract the program's version information. This had been changed when the previous function failed to retrieve the correct information on a Windows 7 or 2008 OS. _______________________________________________________________________________ RTC DEFECT: 401315 and 401322 APAR: IC97493 DATE: 11/6/2013 MODULE: Gntxeng.exe PROBLEM DESCRIPTION: Acknowledgements generated with Error Detail could contain incorrect error codes in the AK304 and AK403, or IK304 and IK403 elements. A defect in the formatting of compliance errors in the translator report caused an error in the formatting of the 997 and 999 detail segments formatting to use the code 004 in these elements. FIX DESCRIPTION: Fixed translator reporting parsing logic to correctly format compliance error codes. _______________________________________________________________________________ RTC DEFECT: 384495 APAR: DATE: 11/11/2013 MODULE: Mercury.exe PROBLEM DESCRIPTION: The Mailbox Client could report access violation if the Mailbox Trace was enabled and the Mailbox Delivery Rules tab was selected. FIX DESCRIPTION: Corrrected the number of parameters passed to Trace program for the Mailbox Delivery Rules interface. _______________________________________________________________________________ RTC DEFECT: 394392 APAR: IC97716 DATE: 11/18/13 MODULE: GNTXEng.exe, Commpost.exe PROBLEM DESCRIPTION: 5.3.1 inbound processing occasionally gets a 1-6-2001 error ("Translation using gntxeng.exe failed with error 80040702 and 800706be") or 1-6-50400 errors. FIX DESCRIPTION: There are 2 separate issues here: (1) Translator crashes when it can't set/open a report file (the gntxeng errors), and (2) Commpost crashes when it can't open a report file (the 1-6-50400 "errors"). Added retry logic to both modules. Retry settings are automatically created in the registry and set to default values: Key1: HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Common Components\Translation\5.3.1\ value name1: TranslatorFileRetry default value: 5 value name2: TranslatorFileSleep default value: 1000 (milliseconds) Key2: HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Server\5.3.1\Systems\ value name1: CommpostFileRetry default value: 5 value name2: CommpostFileSleep default value: 1000 (milliseconds) Also added debug audits to GNTXEng.exe that will write extensive debugging info during inbound processing. This is off by default and can be enabled by changing the following registry setting to 1: Key: HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Common Components\Translation\5.3.1 value name: TranslatorDebugAudits default value: 0 (off) _______________________________________________________________________________ RTC DEFECT: 408709 APAR: IC98934 DATE: 1/17/14 MODULE: patch install PROBLEM DESCRIPTION: The patch install should not execute SQL scripts that are no longer needed since the database changes are already in the base product. The patch install could fail if the database tables that are being updated unnecessarily have a gigantic amount of data. FIX DESCRIPTION: Removed execution of SQL scripts from the patch install. _____________________________________________________________ RTC DEFECT: 409246 APAR: IC98936 DATE: 1/21/14 MODULE: Translator PROBLEM DESCRIPTION: Translation using Maps with TP Lookup instructions threw ODBC Exceptions. This defects was introduced in the initial release of the 5.3.1.3 Fix Pack. FIX DESCRIPTION: Corrected ODBC Connection used by TP Lookup class, to use the correct connection type based on Curson Library definition. Fix was delivered in the redistribution of the 5.3.1.3 Fix Pack. ************************************************************************** PATCH 4 ************************************************************************** RTC DEFECT: 396640 APAR: IC98432 DATE: 12/20/13 MODULE: ArchiveEngine.exe, ArchiveAuditMsgs.xml PROBLEM DESCRIPTION: When archiving mailbox messages, there are 2 separate issues that look somewhat similar but are not related: 1) Random, unknown exceptions are thrown resulting in the 7-1-30 audit with "empty" message and attachment IDs shown. Archive fails and quits. Archive can be rerun again and get further along but an exception may be thrown again. 2) An .atm file is missing or locked resulting in the 7-1-29 audit with the actual message and attachment IDs shown. Archive fails and quits. Archive can't be rerun successfully without unlocking the problem file or removing the database entry for the missing file. In both cases, when archive quits, no archive file is saved and since it fails before the delete operation, nothing is deleted. FIX DESCRIPTION: Modified Archive to handle these errors by retrying or skipping the archiving of the problem attachments and continue archiving if possible. Modified the 7-1-29 audit to give more details. _______________________________________________________________________________ RTC DEFECT: 406001 APAR: IC98434 DATE: 12/20/13 MODULE: Mercury.exe, MClient.exe, MailboxEvent.xml PROBLEM DESCRIPTION: Customer for RTC#396640 has requested registry settings for the retry & sleep values that are used in the OpenAttachmentStream function in Mercury.exe. When Archive calls that function during mailbox archive it can currently take up to 50 seconds (5 retries with 10 seconds sleep between each retry) before the function returns with an error (for either locked or missing file). This also affect the Mailbox UI since it uses the same function to open attachments. However, no error is displayed in the Mailbox UI if the attachment can't be opened. FIX DESCRIPTION: The Mailbox UI will now display a popup error if the attachment file cannot be displayed. The following fixes in the Mailbox service affect Archive and the Mailbox UI: 1) New registry settings created automatically for the retry/sleep values used in Mercury.exe when opening an attachment file reg key: HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Mailbox\5.3.1\Server value name: MailboxFileRetry default value: 5 value name: MailboxFileSleep default value: 10000 (ms) 2) If an attachment file open error happens, check to see if the file exists before doing any sleep/retry. Write a new audit error (2-1-1087) and quit immediately if file is missing. 2-1-1087: OpenAttachmentStream failed for attachment Id(41), message Id(36). Attachment file is missing: C:\GENSRVNT\Store\#2013\12\12\14\41.ATM Otherwise, if the file exists, write a new audit message for each retry attempt (2-1-1088) and when the max retries have been exceeded (2-1-1089). 2-1-1088: OpenAttachmentStream failed for attachment Id(41), message Id(36). Attempt #5. Could not open file: C:\GENSRVNT\Store\#2013\12\12\14\41.ATM. Error returned: 0x20 - The process cannot access the file because it is being used by another process. 2-1-1089: OpenAttachmentStream failed for attachment Id(41), message Id(36). Maximum retries exceeded. Could not open file: C:\GENSRVNT\Store\#2013\12\12\14\41.ATM. Error returned: 0x20 - The process cannot access the file because it is being used by another process. _______________________________________________________________________________ RTC DEFECT: 407612 APAR: IC98648 DATE: 1/9/2014 MODULE: Special Maps - BLD999_DETAILEDPARTIAL&REJECTCODES PROBLEM DESCRIPTION: 999 Partial and Reject map does not use the R in the IK5 segment FIX DESCRIPTION: Found two extended rules in the BLD997P&R that did not exist in the BLD999_DetailedP&R. One was on the Transaction Group which defines a integer variable. The other was at the Segment level>Segment_Record>01 Segment_Position which would change the Ack_Code in at the Transaction level if there were any error present. Copying both of these rules over to the BLD999_DetailedP&R map resolved the problem. These Updated files can be found at: Maps > Special > Source: BLD999_DETAILEDPARTIAL&REJECTCODES.MAP Maps > Special > Compiled: BLD999_DETAILEDPARTIAL&REJECTCODES.TPL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE: THESE SYSTEM MAPS WILL NOT BE INSTALLED BY THE PATCH INSTALL. YOU MUST GO THE SUPPORT FOLDER AND REGISTER THE TPL FILES MANUALLY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! _______________________________________________________________________________ RTC DEFECT: 404890 APAR: IC98961 DATE: 1/23/14 MODULE: Vatprint.exe PROBLEM DESCRIPTION: When Vatprint.exe was run from the command line, on a Windows 2003 Server, the program would display an "Unhandled Exception" error message. Vatprint would complete, generating the output report and/or error file, but the error message would be displayed with each execution of Vatprint.exe. FIX DESCRIPTION: Changed Vatprint to conditional free objects in it's destructor, preventing UI objects from being freed if they were not initialized. _______________________________________________________________________________ RTC DEFECT: 404978 APAR: IC99137 DATE: 1/31/14 MODULE: edimgr.exe PROBLEM DESCRIPTION: Documents viewed in the Out Drawer could display an incorrect document. If the Drawer contained more than 65535 documents, the 65536th item in the list would display the 1st document, the 65537th item would display the 2nd document, and so on. FIX DESCRIPTION: The data structure than holds the document position in a list was changed to correctly correlate documents up to the 2147483647th position. _______________________________________________________________________________ RTC DEFECT: 393711, 417116 APAR: IC99224 DATE: 2/6/14 MODULE: ArchiveEngine.exe PROBLEM DESCRIPTION: Archive on Gentran clusters not releasing System Archive Mutex FIX DESCRIPTION: We've added additional logging around the Attachment Archiving process when we attempt to close a stream when we've encountered an exception. Also added more exception handling in the parent function in case additional exceptions are thrown. If that happens, a 7-1-53 error audit will be written detailing what threw the exception. _______________________________________________________________________________ RTC DEFECT: 412129 APAR: IC99424 DATE: 2/18/14 MODULE: edimgr.exe PROBLEM DESCRIPTION: The Interchange Filter From Date would display 12/31/69 or 1/1/70, unless No Date/Time Checking was selected. FIX DESCRIPTION: Fixed bug in 64 bit Date/Time class. The "From Date" was not initialized properly, causing the 64 bit portion of Date to include values that make the date larger than the Dialog could display. _______________________________________________________________________________ RTC DEFECT: 412657 APAR: DATE: 2/20/14 MODULE: MClient.exe PROBLEM DESCRIPTION: If a mailbox message has a status of SEND_FAILED or DELIVERY_FAILED, the mailbox UI will display a blank entry instead of "Send Failed" or "Delivery Failed" under the Status column in the list view. FIX DESCRIPTION: Added code to display the corresponding text for SEND_FAILED and DELIVERY_FAILED message statuses _______________________________________________________________________________ RTC DEFECT: 407474 APAR: IC99550 DATE: 2/20/14 MODULE: GICheck.exe PROBLEM DESCRIPTION: The Mailbox Spooler is an internal queue used by the Mailbox service to delivery mailbox messages from one mailbox to another (e.g., from the Gentran Application mailbox to an outbound comm mailbox). If a message gets stuck in the Spooler during a send operation, the message is not visible in the Mailbox UI, but is still in the database Message_tb table with a folder id of 4 (spooler) in the destination mailbox. Once stuck, the message cannot be removed unless it's manually deleted from the database since its not visible in the UI. The original message in the source mailbox is still visible but has a "Sending" status. FIX DESCRIPTION: Added a new "Message" tab to GICheck to search for mailbox messages stuck in the Mailbox Spooler and remove them from Message_tb along with the corresponding Attachment_tb, Recipient_tb, DataAuditLog_tb entries. The status of the original messages are also updated to "Send Failed". The .atm files are left untouched since they also belong to the original messages. _______________________________________________________________________________ RTC DEFECT: 412527 APAR: IT00358 DATE: 2/20/14 MODULE: Unattend PROBLEM DESCRIPTION: Process Control Command GDW_Print fails to print docs from designated location FIX DESCRIPTION: When using GDW_PRINT to print documents from a specified location in EDIMGR the user will receive the following error in the Audit log even when the documents are present: No data available for Command GDW_Print; Ptr: , Doc Type: ". This message should only be displayed when no documents exist for the given partner and doc type. This is can be the result of either the Partner Relationship not being found or therelationship not having a print template associated with it. Two new error messages have been added to Unattend.exe to inform the customer in the audit log which is missing. _______________________________________________________________________________ RTC DEFECT: 408775 APAR: IT00854 DATE: 2/5/14 MODULE: ArchiveEngine.exe PROBLEM DESCRIPTION: Customer has requested registry settings for the retry/sleep values that are used in handling the stream write exceptions that happen while writing an attachment file to the archive file. FIX DESCRIPTION: Added the following fixes to ArchiveEngine: 1) New registry settings created automatically for the retry/sleep values used in ArchiveEngine.exe when a stream write exception happens while writing an attachment file to the archive file: reg key: HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Archive\5.3.1\Systems\ value name: ArchiveFileRetry default value: 5 value name: ArchiveFileSleep default value: 10000 (ms) 7-1-30: "Encountered exception (ArchiveAttachmentFile - Stream.Write - Attempt #5 - CFileException: An unknown error occurred while accessing an unnamed file.) while archiving attachment Id(10697339) of message Id(5336250)." 2) The 7-1-29 audit has been reworded to say "cannot archive attachment file" instead of "unable to open/read file" since it also covers the stream.write exceptions while writing to archive file scenario (no problems reading the atm file in that instance). 7-1-29: "Unable to archive attachment Id(10697339) for message Id(5336250). Cannot archive attachment file: E:\GENSRVNT\Store\#2014\01\22\16\10697309.ATM" 3) Added code to close the read stream of the source .atm file after max retries have been exceeded when trying to write the .atm file to the archive. This addresses the original symptom of .atm files being locked after exceptions are thrown and archive aborts. _______________________________________________________________________________ RTC DEFECT: 415043 APAR: IT00857 DATE: 3/31/14 MODULE: MBMAPI30.dll PROBLEM DESCRIPTION: 5.3.1 MAPI Gateway randomly crashes Mailbox service when receiving MAPI message with EDI content. The same message does not crash 5.2 mercury.exe and processes fine. FIX DESCRIPTION: The MAPI Gateway code was looking for the "Content-Type:" MIME tag in the attachment section of the email message and assigning the tag value to a string variable when it crashed. The API call to query the attachment MIME headers returned a bad pointer value (0x8004010F = MAPI_E_NOT_FOUND) for that field in the MIME array. Added code to look for MAPI_E_NOT_FOUND before assigning it to the string variable. _______________________________________________________________________________ RTC DEFECT: 416002 APAR: IT00947 DATE: 4/4/14 MODULE: Unattend.exe PROBLEM DESCRIPTION: 5.3.1 unattend session using the "If File Below Exists" condition does not find the file being searched for when the file is created by an external app in the previous step. FIX DESCRIPTION: Due to potential OS performance issues, Unattend may not see the external file just yet despite being "created" in the previous step in the Unattend session. 1) Added retry/sleep logic to keep searching for the file until found or until retries have been exceeded. 1-3-1594: Process Control - Condition_Check_File attempt #5. FindFirstFile(C:\temp\pet_810b.txt) returned INVALID_HANDLE_VALUE: The system cannot find the file specified. 2) Added new registry settings for retry/sleep values: reg key: HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Server\5.3.1 value name: UnattendFileRetry default value: 5 value name: UnattendFileSleep default value: 2000 (ms) 3) If registry settings are not found, they are automatically created (new warning audit): 1-3-1520: Process Control - Registry value (UnattendFileRetry) under the "HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Server\5.3.1" registry key was not found. The registry value will be set to the default value (5). 1-3-1520: Process Control - Registry value (UnattendFileSleep) under the "HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Server\5.3.1" registry key was not found. The registry value will be set to the default value (2000). 4) If registry setting values are too big, they will get reset to the maximum allowed value (new warning audit): 1-3-1521: Process Control - Registry value (UnattendFileRetry) under the "HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Server\5.3.1" registry key has exceeded the maximum allowed value (20). The registry value will be reset to 20. 1-3-1521: Process Control - Registry value (UnattendFileSleep) under the "HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Server\5.3.1" registry key has exceeded the maximum allowed value (10000). The registry value will be reset to 10000. _______________________________________________________________________________ RTC DEFECT: 417779 APAR: IT01052 DATE: 4/9/2014 MODULE: ANServer.exe PROBLEM DESCRIPTION: ANServer.exe could attempt to write duplicate entries to the ProcAuditLog_tb or DataAuditLog_tb tables, if the AuditEntryKey registry entry was set to a value that exists in the ProcAuditLog_tb or DataAuditLog_tb tables. FIX DESCRIPTION: Added new registry entry UseMaxAuditEntryKEY to force ANServer to use the max value of AuditEntryKey from ProcAuditLog_tb and DataAuditLog_tb, update the registry, and use this value as the next AuditEntryKey value during startup. The new entry should be created as a 32-bit DWORD, and set to a non zero value (e.g. 1) to enable, and registry entry should be created under HKEY_LOCAL_MACHINE/.../Gentran/AuditNotification/5.3.1/Server. _______________________________________________________________________________ RTC DEFECT: 420484 APAR: IT01044 DATE: 4/14/14 MODULE: ArchiveEngine.exe PROBLEM DESCRIPTION: While archiving mailbox messages, if the archive file reaches the 2GB file size limit, it will still keep on trying to archive more attachments until it eventually aborts. The errors in the audit log do not indicate that the 2GB limit was reached. FIX DESCRIPTION: Code now checks the exception thrown to see if the error is the 2GB limit error. If so, it will write the following audit messages and abort the archive. 7-1-30: "Encountered exception (ArchiveAttachmentFile - Stream.Write - CFileException::m_lOsError = 0x0x80030111 - The compound file is too large for the current implementation) while archiving attachment Id(10697339) of message Id(5336250)." 7-1-120: "Archive file has reached the 2GB file size limit." _______________________________________________________________________________ RTC DEFECT: 417562 APAR: IT00358 DATE: 4/1/2014 MODULE: TX32.exe PROBLEM DESCRIPTION: 3-1-203 'PK_Lookup_tb'. Cannot insert duplicate key in object 'dbo.Lookup_tb'. FIX DESCRIPTION: This is a mapping issue and the customer will need to fix their map. As a fix for this we are providing a more informative error message that will precede the ODBC error in this case that will tell the customer that they are either trying to create a primary key in the lookup_tb that already exists. Or that they are trying to perform an update on one of the primary key fields in the table. As part of the update error we will display the key value as it is and the new value they are trying to insert as part of the update. The two new error messages are displayed below Insert Into Lookup Table: "Primary Key already exists in Lookup_tb, exiting insert: PartnerKey = %s, TableName = %s, Item = %s", LookUp.m_PartnerKEY, LookUp.m_TableName, LookUp.m_Item Update Lookup Table: "Cannot perform an update on the Primary key fields in Lookup_tb. PartnerKey = %s, update value = %s, TableName = %s, update value = %s, Item = %s, update value = %s", PrtnrKEY, LookUp.m_PartnerKEY, TableName, LookUp.m_TableName, Code, LookUp.m_Item _______________________________________________________________________________ RTC DEFECT: 394322, 405323, 409371 APAR: IC98948 DATE: 1/23/14 MODULE: Partnred.exe PROBLEM DESCRIPTION: Occasional ODBC Cursor Library errors reported in Windows Event Application log. Additionally, the Partner Editor would display ODBC errors if multiple edits were performed to a Trading Partner after removal of ODBC Cursor Library. FIX DESCRIPTION: Removal of use of the ODBC Cursor Library in all ODBC Connections. Post removal, refreshed Trading Partner list after saving or deleting Trading Partners and/or Trading Partner components. _______________________________________________________________________________ RTC DEFECT: 418953 APAR: IT01523 DATE: 05/02/14 MODULE: GenCom97.exe PROBLEM DESCRIPTION: FtpRcvFile command returns 0 when a file or directory does not exist. The documentation states that FtpRcvFile, when set with SetRcvNoData command, should return 1 if a file is not found. FIX DESCRIPTION: Changed GenCom97 to return 1 when FtpRcvFile received an FTP 550 response from FTP Sender. _______________________________________________________________________________ RTC DEFECT: 418944 APAR: IT01512 DATE: 05/02/14 MODULE: GenCom97.exe PROBLEM DESCRIPTION: GenCom97 failing to receive files from FTP Sender that transmits multiple FTP codes, 226 and 227, in the same FTP Response. FIX DESCRIPTION: Fixed GenCom97 to correctly parse the IP and Data Port from the FTP Sender's 227 Response code buffer, regardless of the presence other codes in the FTP Response. _______________________________________________________________________________ RTC DEFECT: 422854 APAR: IT01508 DATE: 5/3/14 MODULE: Edimgr.exe PROBLEM DESCRIPTION: Restored EDI data could not be viewed from the Restored Interchange viewer. FIX DESCRIPTION: Resolved data look up errors in Restored Interchange viewer's restored EDI data query. _______________________________________________________________________________ RTC DEFECT: 424848 APAR: IT01044 DATE: 5/21/14 MODULE: ArchiveEngine.exe PROBLEM DESCRIPTION: Related to RTC#420484. The customer needs the "2GB file size limit" audit log error for EDI and EXT archive types too. The fix for RTC#420484 covered only MBX archives. FIX DESCRIPTION: Modified EDI and EXT archives to check the write exception thrown to see if the error is the 2GB limit error. If so, it will write the following audit messages and abort the archive. The wording of the first audit (7-1-57) will vary depending on what type of archive is it. 7-1-57: CExtDataArchiver::ArchiveFile encountered a CFileException (cause:generic, error:m_lOsError = 0x0x80030111 - The compound file is too large for the current implementation) while attempting to archive file (C:\Gensrvnt\ExternalData\#2014\05\19\15\170.EXT). 7-1-120: "Archive file has reached the 2GB file size limit." _______________________________________________________________________________ RTC DEFECT: 422104 APAR: IT02143 DATE: 5/30/2014 MODULE: GenCom97.exe PROBLEM DESCRIPTION: FTP Session failed to authenticate when FTP Server sent a 220 response but did not respond to transmitted User crendentials. FIX DESCRIPTION: Fixed FTP processing in the Communication Service to properly handle large pre-authentication banners, and fully receive message prior to sending User credentials. _______________________________________________________________________________ RTC DEFECT: 425381 APAR: IT02316 DATE: 6/2/2014 MODULE: GentranAdministrator.exe PROBLEM DESCRIPTION: Customers using the Microsoft Oracle ODBC drivers could encounter the error, Numeric value out of range, when running the Gentran Administrator. FIX DESCRIPTION: Changed the Gentran Administrator to use the Gentran Mailbox DSN rather than the Audit Notification DSN. _______________________________________________________________________________ RTC DEFECT: 427479 APAR: IT02295 DATE: 6/6/2014 MODULE: Commpost.exe PROBLEM DESCRIPTION: When processing multiple Edifiact interchanges in an unblocked file, interchanges could be incorrectly flagged with error, "Splitter - no matching segment terminator found in splitter table for UNB/UNZ interchange". FIX DESCRIPTION: Verify that the buffer contains a full UNB segment or the end of file is reached, prior to evaluating validity of variable length interchange wrappers. _______________________________________________________________________________ RTC DEFECT: 423979 APAR: IT02513 DATE: 6/12/14 MODULE: Patch Install PROBLEM DESCRIPTION: When running the 5.3.1 patch 2 or 3 install on an Oracle system, the new Unattend recovery session file (System-MBRecovery.ses) is being installed to the root of the C: drive instead of the Gensrvnt\Unattend folder. FIX DESCRIPTION: When the patch install called an InstallDLL function to get the location of the Unattend directory from the database, the DSN name was mistakingly passed into the function instead of the database username. While SQLServer was still able to open a database connection anyway with the wrong parameter, Oracle did not like it at all and the database connection failed. As a result, the function returned a blank value for the Unattend directory. Fixed the typo and added code to make sure that the Unattend directory returned is not blank. ************************************************************************** PATCH 5 ************************************************************************** RTC DEFECT: 431113 APAR: IT02768 DATE: 6/25/2014 MODULE: Partnred.exe PROBLEM DESCRIPTION: Partner Editor could crash on a 64 bit OS when using Trading Partner Help and searching for a string in the Help Search tab. FIX DESCRIPTION: Changed threading model in Help initialization to limit number of threads allowed by Help to one thread. _______________________________________________________________________________ RTC DEFECT: 432767 APAR: IT05256 DATE: 7/17/14 MODULE: ArchiveEngine.exe, ArchiveManager.exe PROBLEM DESCRIPTION: The 5.3.1 Archive Wait Timer setting in the ArchiveManager is only visible to the Windows user that set the Wait Timer and not to other Windows users or the Gentran Executive service (if it uses a different windows account) when it launches GDW_Archive. FIX DESCRIPTION: The Wait Timer setting was stored in the HKEY_CURRENT_USER section of the registry. Modified code to store the global settings in the HKEY_LOCAL_MACHINE section of the registry. reg key: HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Archive\5.3.1\Preferences _______________________________________________________________________________ RTC DEFECT: 432768 APAR: IT05083 DATE: 7/17/14 MODULE: ArchiveEngine.exe PROBLEM DESCRIPTION: Customer getting ODBC errors in Windows Application Event Viewer log when utilizing archive wait timer feature in Gentran. ODBC errors are recorded at the beginning of the archive session, the beginning of the delete phase and end of the delete phase of archive stating: "GENTRANArchive 50008 (1) ODBC: MFC database exception encountered in GENTRAN Error: ORA-00942: table or view does not exist SQL Statement: SELECT Event,Status FROM Schedule_tb" FIX DESCRIPTION: Oracle SQL queries need square brackets around database table names and column names. Modified the Archive Wait Timer code to include them when it checks the Schedule table. _______________________________________________________________________________ RTC DEFECT: 436784 APAR: IT03871 DATE: 8/20/14 MODULE: Unattend.exe PROBLEM DESCRIPTION: The Send Options Preference, "Check for interchanges that did not send", does not affect the resend interchanges in Send Queue during Send Only session. Interchanges that had previous failed to send were only resent if a Send Receive session was run or if an unset interchange was added to the mailbox queue. FIX DESCRIPTION: Changed Process Control to resend interchanges in the Send Queue during Send Only sessions, if the Send Option Preference, "Check for interchanges that did not send", is selected. _______________________________________________________________________________ RTC DEFECT: 441870 APAR: IT04640 DATE: 9/29/14 MODULE: MailboxArchive.dll PROBLEM DESCRIPTION: Importing export files that contain Mailbox Delivery Rules with double quotes in the comments field can result in the failure to import the delivery rule. FIX DESCRIPTION: Fixed Mailbox Archive to encode and decode double quotes in XML attributes during Export and Import processes. _______________________________________________________________________________ RTC DEFECT: 438901 APAR: IT04794 DATE: 10/7/14 MODULE: Partnred.exe PROBLEM DESCRIPTION: Partner Editor Table duplicate errors do not include sufficient information to identify duplicate field. Error messages are inconsistent and format and content is dependent on database and ODBC driver versions. FIX DESCRIPTION: Added tests for duplicates entries and report duplicate fields in new error messages. Added duplicates checks for each case: Cross Reference: My Value Cross Reference: My Partner Lookup: Lookup Value _______________________________________________________________________________ RTC DEFECT: 442792 APAR: IT05257 DATE: 10/29/14 MODULE: Unattend.exe, ArchiveEngine.exe PROBLEM DESCRIPTION: The Archive Engine would not delete items when it found Process Control Scheduled Events running during its item deletion phase. Addtionally, the Archive Engine would not report the Event name of the running processes, and it would not filter the Process Control Event that started the Archive Engine process, causing false positives, preventing the deletion of items. FIX DESCRIPTION: Fixed the Archive Engine to check if a running Process Control Schedule Event has the same Session File as was used to start the Archive Engine. If it is, and it is the only running Process Control Event, the Archive Engine ignores the running process and proceeds with the deletion of archived items. If the Archive Engine find other running Process Control Event, it reports the first event it finds that does not have the same Session File name, and sleeps for ten seconds before checking the running process again. This cycle will repeat until the timeout duration has expired, or the Archive Engine is able to suspend all process except its own. _______________________________________________________________________________ RTC DEFECT: 445693 APAR: IT05270 DATE: 10/30/14 MODULE: Commpost.exe PROBLEM DESCRIPTION: Commpost could incorrectly pass BIN segment binary data to the translator, rather than creating a file with the binary data and replacing the binary data with the new file name, prior to translation. FIX DESCRIPTION: Fixed Commpost to correctly process binary data in valid binary segments regardless of presence of data that matches binary segment ID strings found in EDI data before or after binary segments. _______________________________________________________________________________ RTC DEFECT: 446252 APAR: IT05431 DATE: 11/10/14 MODULE: Unattend PROBLEM DESCRIPTION: Unattend reports audit error, 1-3-1594, for any Session step that included an "If File Below Exists" condition, if the file in question does not exist. This new error message was added with patch 5.3.1.4, but the new error could not be repressed, regardless of the of associated Registry entry, UnattendFileRetry. FIX DESCRIPTION: Fixed Unattend to report Audit message warning 1-3-1534 if Process Control Session condition is "If File Below Exists", the condition is true, the file does not exist, and the Registry value of UnattendFileRetry is zero. If the registry value for UnattendFileRetry is greater than zero, Unattend will log the Audit Report error 1-3-1594. Additionally, Unattend was updated to create the value registry settings with default value of 0, if it does exist: reg key: HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Server\5.3.1 value name: UnattendFileRetry default value: 0 _______________________________________________________________________________ RTC DEFECT: 445106 APAR: IT05600 DATE: 11/12/14 MODULE: RpcSrv.exe, GenCom97.exe, Mercury.exe PROBLEM DESCRIPTION: When the Mailbox, Executive or Communications services are unregistered and re-registered as a Windows service using the command-line parameters, the service dependencies and/or file path are not correct and the service cannot be started in the Windows Service Control Panel. FIX DESCRIPTION: Modified code to use the correct service dependencies and file path during the registration process. _______________________________________________________________________________ RTC DEFECT: 447771 APAR: IT05976 DATE: 11/20/14 MODULE: ArchiveEngine.exe PROBLEM DESCRIPTION: Archive sessions could fail during External Data and EDI Archive with the error, Unable to obtain Mutex. FIX DESCRIPTION: Added additional exception handling and recover around all file closures, stream activity, and Mutex closures within all archive classes. Added additional logging to report failures that could lead to termination of Exclutive Services thread before releasing Mutex. _______________________________________________________________________________ RTC DEFECT: 449799 APAR: IT05901 DATE: 12/3/14 MODULE: Mbfile30.dll PROBLEM DESCRIPTION: A File System Collection Mailbox could fail to either register with Windows Notification Event or fail to be triggered by a Windows Notification when files are placed in a remote system folder. The File System Collection Mailbox would then pick up the files from the scan folder during the next scan internal. However, the loss of the Windows Notification within a Collection Mailbox, without an audit message reporting the problem, could cause delays processing files. FIX DESCRIPTION: Added new Gentran Audit Message, 2-4-1031 Mailbox collected file(s) during Master Timer Event, which will be reported when a Mailbox collects files during a scan cycle started during a Master Timer Event. The new Audit Message is disabled by default, to be used as a debug message. _______________________________________________________________________________ RTC DEFECT: 450628 APAR: IT06101 DATE: 12/10/14 MODULE: Mbfile30.dll PROBLEM DESCRIPTION: A File System Collection Mailbox not being triggered with a Windows Notification Event could be wait for longer between scans than the Master Timer Interval, defined in the File System Gateway. FIX DESCRIPTION: Fixed a problem with the Master Timer resetting function, which would reset the Master Timer Event to the Master Timer Interval each time a Windows Notification Event was caught for any File System Collection Mailbox. The Master Timer Event is not reset to the delta of the Master Timer Interval and the seconds that have passed since the last scan trigged by the Master Timer Event. Additionally, changed the maximum number of File System Mailboxes that will register for Windows Notification Events, to 56 from 62, to prevent the exhaustion of Windows Notification Event HANDLEs, which can cause all Mailboxes to lose their Windows Notification Events for the Master Timer Interval cycle. _______________________________________________________________________________ RTC DEFECT: 434124 APAR: IT04483 DATE: 12/11/14 MODULE: sapint.exe PROBLEM DESCRIPTION: sapint.log does not have enough information to tell why sapint.exe is not working FIX DESCRIPTION: Added debug logging to sapint.exe which is enabled with the following new registry setting: reg key: HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Server\5.3.1\SAP reg value name: DebugLog reg value: Y or N (off by default) _______________________________________________________________________________ RTC DEFECT: 453973 APAR: IT06773 DATE: 1/26/15 MODULE: Mbfile30.dll PROBLEM DESCRIPTION: When a user temporarily unchecks and rechecks the "Collect files into this mailbox" checkbox in a File System Collection mailbox, most of the mailbox settings are retained but the following will happen with the Content Type settings: (1) if originally populated, the field values will disappear or (2) if originally disabled, the fields will be re-enabled despite having their corresponding checkboxes selected. FIX DESCRIPTION: (1) Removed code that loaded the Content Type fields with default (blank) values whenever the collection checkbox is enabled. These fields will now retain their original values. (2) Added code that will keep the Content Type fields disabled if they were originally disabled. _______________________________________________________________________________ RTC DEFECT: 453839 APAR: IT07072 DATE: 2/3/2015 MODULE: Translator PROBLEM DESCRIPTION: Division Lookup could fail to to return a value during translation for the n-th document in an input file during the import processs. FIX DESCRIPTION: Fixed the translator to force a new query to repopulate the Lookup buffer for the next Lookup when a query returns an empty set. _______________________________________________________________________________ RTC DEFECT: 455655 APAR: IT07196 DATE: 2/17/2015 MODULE: GenCom97.exe GenComPC.exe PROBLEM DESCRIPTION: The error "6-1-50003 RpcServerUseProtseqEp (Local) failed at line 300: The endpoint is a duplicate" can be written to the Audit Log for both GenCom97.exe and GenComPC.exe when both are running without other errors. FIX DESCRIPTION: Added additional logging for Duplicate Endpint RpcServerUseProtseqEp failures. The GenCom97 error is written to the audit log when GenCom97.exe is started from the command line when the Communication Service is started or if GenCom97.exe is already running from the command line. Similarly, the GenComPC error will be written when Mercury.exe is started from the command line, when it is already running as the Mailbox Service or from the command line. _______________________________________________________________________________ RTC DEFECT: 455839 APAR: IT07614 DATE: 2/25/15 MODULE: Mercury.exe, SCEMailGateway.dll PROBLEM DESCRIPTION: After upgrading from 5.1 to 5.3.1, the system cannot load the mailbox settings for email gateway mailboxes. The Mailbox UI will display a "gateway not configured" popup error when trying to view it. If you create a new email mailbox in 5.3.1, it does not have this issue. FIX DESCRIPTION: In 5.1, 5.2 and 5.3, the mailbox properties file for an email gateway mailbox was stored in the Properties folder. In 5.3.1, the email gateway was accidently changed to load this file from (or save to) the Store folder. Hence, new email mailboxes worked and existing ones failed to load. Fixed the email gateway to use the Properties folder again. Also enhanced the Mailbox service to look for the properties file in the Store folder as well and move it to the Properties folder if it couldn't find it there originally. The following new warning audit messages were also added: 2-1-1090: OpenAttachmentStream warning for attachment Id(20), message Id(20). Found E-Mail Gateway Settings mailbox file in the Store folder. Moving it to the Properties folder: C:\GENSRVNT\Store\#2015\02\11\14\20.ATM 2-1-1091: OpenAttachmentStream warning for attachment Id(20), message Id(20). Cannot move E-Mail Gateway Settings mailbox file from the Store folder to the Properties folder. Using it in Store for now: C:\GENSRVNT\Store\#2015\02\11\14\20.ATM _______________________________________________________________________________ RTC DEFECT: 463250 APAR: IT08686 DATE: 5/1/15 MODULE: Unattend.exe PROBLEM DESCRIPTION: Enabling the UnattendFileRetry registry setting allows retries for the "If File Below Exists" condition, but the corresponding 1-3-1594 retry audits can fill up the audit log. FIX DESCRIPTION: Added new registry setting that will enable/disable the 1-3-1594 retry audits. This setting is created automatically and the retry audits are disabled by default. reg key: HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Server\5.3.1 reg value name: UnattendFileRetryAudits reg value: 1 or 0 (off by default) _______________________________________________________________________________ RTC DEFECT: 463446 APAR: IT09022 DATE: 5/20/15 MODULE: aleserver.exe PROBLEM DESCRIPTION: In 5.3.1 patch 2, if the "Auto Start" feature is enabled in the SAP Configuration app (Advanced dialog), pressing the stop button does not actually stop the ALEServer despite what the status indicator says. Pressing the start button again actually launches another instance of ALEServer leading to multiple copies of aleserver.exe. (If the Auto Start feature is disabled, the start/stop button works correctly.) FIX DESCRIPTION: Fixed the name of aleserver process id used by the auto-start feature to stop aleserver.exe. _______________________________________________________________________________ RTC DEFECT: 461375 APAR: IT10435 DATE: 5/22/15 MODULE: sapint.exe PROBLEM DESCRIPTION: Need to add more debug tracing in sapint.log when executing sapint -extract command to help troubleshoot when problems arise. FIX DESCRIPTION: Extended the debug logging framework that was added to sapint.exe in RTC#434124 to include -extract, -update, and -startrfc commands. As before, the following registry setting needs to be enabled to see the debug messages in sapint.log: reg key: HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Server\5.3.1\SAP reg value name: DebugLog reg value: Y or N (off by default) _______________________________________________________________________________ RTC DEFECT: 469842 APAR: DATE: 6/30/15 MODULE: Mbfile30.dll PROBLEM DESCRIPTION: Need to add more error info to the collection mailbox error audit 2-4-1024 when windows notification event fails. FIX DESCRIPTION: Added GetLastError info string to the end of the 2-4-1024 audit message. _______________________________________________________________________________ RTC DEFECT: 470217 APAR: IT09889 DATE: 7/2/15 MODULE: patch install PROBLEM DESCRIPTION: Patch install fails with a "setup encountered an error" message. Using debug popups, the last status message that was displayed before the error was "Importing mapper reg file into registry..." FIX DESCRIPTION: Removed legacy code that imported an updated mapper registry file. It's currently not needed for the 5.3 and 5.3.1 patch installs. _______________________________________________________________________________ RTC DEFECT: 470519 APAR: IT09936 DATE: 7/8/15 MODULE: Unattend.exe PROBLEM DESCRIPTION: In 5.3.1 patch 4, GDW_Print unattend session is configured to print 820 documents but writes a 1-3-1608 audit error complaining about "no print template found" for 862 documents. FIX DESCRIPTION: Added additional checks to ensure that relationship and print template checks were only done for documents in the InDocs browser that matched the criteria specified in the GDW_Print session file. _______________________________________________________________________________ RTC DEFECT: 470527 APAR: DATE: 7/14/15 MODULE: tx32.exe, GNTXEng.exe PROBLEM DESCRIPTION: The translator debug audits that were added in RTC#394392 only covers the inbound break process. Need to add debug audits to the export process too. FIX DESCRIPTION: Added info debug audits (3-1-5008) to the translator export process. They are enabled/disabled using the same registry setting as before: Key: HKEY_LOCAL_MACHINE\SOFTWARE\Sterling Commerce\GENTRAN\Common Components\Translation\5.3.1 value name: TranslatorDebugAudits default value: 0 (off) This is off by default and can be enabled by changing the registry setting to 1. _______________________________________________________________________________ RTC DEFECT: 461082 APAR: IT10847 DATE: 7/28/15 MODULE: MClient.exe PROBLEM DESCRIPTION: On a Windows 2012 OS, MClient could report an application error and terminate at startup. FIX DESCRIPTION: Changed the storage of the MClient Root Node Handler to static, in order to correctly find and build the Mailbox Tree View under the 2012 MFC Runtime threading in Windows 2012. _______________________________________________________________________________ RTC DEFECT: APAR: DATE: MODULE: PROBLEM DESCRIPTION: FIX DESCRIPTION: _______________________________________________________________________________ ===================>> End Patch Release Notes GSW 5.3.1 <<===================== PATCH RELEASE NOTES Common Component Translator ************************************************************************** PATCH 1 ************************************************************************** RTC DEFECT: 355497 APAR: IC88735 DATE: 11/29/2012 MODULE: Mapper.exe PROBLEM DESCRIPTION: Compilation error reported for valid trim command in extended rule mapping. rule #xxx = right(left($VAR,y),z); Reported error: Error 8003, Line 1 : ActiveX properties could not be used because the length is unknown. FIX DESCRIPTION: Resolved internal allocation of temporary string in compiler to hold the result of the first expression. The length is derived from the length of the previous command. _______________________________________________________________________________ RTC DEFECT: 366280 APAR: IC90131 DATE: 2/13/13 MODULE: tx32.exe (txengine.lib) PROBLEM DESCRIPTION: 5.3.1 ODBC mapping issues: (1) When importing a document (ODBC to positional), a NULL value from an ODBC date field resulted in 19691231 in the document. (2) When doing inbound processing (EDI to ODBC), if the interchange has multiple datetime values to store in a single ODBC row, the last datetime value is used for any datetime column. FIX DESCRIPTION: (1) When retrieving values from ODBC database (datetimes, strings or numbers) added checks to see if the value is NULL. If so, the field do not retrieve a value. (2) Instead of re-using a single datetime variable, added a datetime array to use for ODBC inserts. _______________________________________________________________________________ RTC DEFECT: 363084 APAR: IC90804 DATE: 03/12/13 MODULE: txengine.lib PROBLEM DESCRIPTION: 999 & 997 Segment count off when _isabrk2 _gsbrk2 _stbrk2 maps are used on incoming document FIX DESCRIPTION: Added a check at the document level of the translator to see if the customer is using maps that include passing through the enveloping data with the document data. If so, we need to ignore the enveloping data as this is not part of the document and is not needed for error reporting in the 997's and 999's. ************************************************************************** PATCH 2 ************************************************************************** RTC DEFECT: 371770 APAR: IC91493 DATE: 4/11/2013 MODULE: Mapper.exe PROBLEM DESCRIPTION: Map Release Version getting set to negative number in DB if no association is entered in map Details dialog FIX DESCRIPTION: Set EDI Associations Release Versions in Details window to a default value of zero. Changed the Edi Associations Release field to a numeric only field and added validation checking to ensure that the integer value is between 0 & 32767. Added two new warning messages for the validation check of the Edi Associations Release value to inform the user of which value is out of range. _______________________________________________________________________________ RTC DEFECT: 379967 APAR: IC92985 DATE: 6/10/2013 MODULE: Mapper.exe PROBLEM DESCRIPTION: When compiling maps from the command line with the "Mapper.exe -c Map_Name_Pattern" invocation, errors found during the compliation of a map generate a dialog box that must be closed before the mapper will compile the next map. Additionally, the failed map is not reported in the map compilation report. FIX DESCRIPTION: Added the -q option for the The Mapper.exe command line invocation. The options are now Mapper.exe [-q] [ -c Map_Name_Pattern]. The -q (quiet) option represses the Mapper errror dialog box from displaying, if a compilation error is reported. The failed compilation is now reported in the map compilation report, with or without the -q option. _______________________________________________________________________________ RTC DEFECT: 378775 APAR: IC93076 DATE: 6/13/13 MODULE: TX32.exe PROBLEM DESCRIPTION: Importing a file creates an exception in tx32 Exception Code: c0000417 FIX DESCRIPTION: GSW 5.1 - 5.3 translators had a bug that allowed date syntax of %Y%m%d to have an extra % after the d. In the 5.3.1 translator microsoft updated the function GSW uses to get the date and it now throws an exception and crashes the translator if %Y%m%d% is encountered. We have updated the translator to check for an invalid syntax of %Y%m%d% and change it to %Y%m%d. This fix will not work for other syntaxes that may also have an extra % immediately following the last date parameter. % signs not immediately followed by a parameter will still throw exceptions in the translator. ************************************************************************** PATCH 3 ************************************************************************** RTC DEFECT: 388212 APAR: IC94653 DATE: 8/5/2013 MODULE: TxEngine.lib PROBLEM DESCRIPTION: TX32 crashes/disappears when importing with a SQL map FIX DESCRIPTION: GSW 5.3.1 translator was updated to use MFC code for ODBC translation with a field to column binding limit of 255 fields. Trying to bind more than 255 fields to a DB table would result in TX32 crashing when performing cleanup. We resolved this issue by increasing the Field to Columns binding limit to 1024 to coincide with the amount of columns allowed in a single MSSQL Server table. _____________________________________________________________ RTC DEFECT: 388554 APAR: IC94814 DATE: 8/9/2013 MODULE: MAPPER.EXE PROBLEM DESCRIPTION: Extended rule does not overwrite the linked value, when the source field is empty FIX DESCRIPTION: Ported forward fix for GSW 5.0 SR1343625. We had to change the way the string expression is parsed. A temporary storage area in memory was created to store the result of the expression while it is evaluated first and then once it is evaluated that new tempary storage value contains the result we are looking for. _____________________________________________________________ RTC DEFECT: 399147 APAR: IC96978 DATE: 10/17/13 MODULE: TxEngine.lib PROBLEM DESCRIPTION: Translator hangs when importing from MSSQL 2005 database if a date/time field is used in the update record, since migrating to GSW 5.3.1 FIX DESCRIPTION: Added conditional formatting to Date / Time syntaxes for both MSSQL and Oracle to prevent translator hangs when performing SQL Updates to records containing a Date / Time field. _____________________________________________________________ RTC DEFECT: 400802 APAR: IC97265 DATE: 10/25/2013 MODULE: TxEngine.lib PROBLEM DESCRIPTION: GSW 5.3.1 TX32.EXE crashes on import from MSSQL database FIX DESCRIPTION: Zero values pulled from a DB and fed into the Translator as a date would cause the Translator to crash. We've added to check to catch any invalid dates or dates that are before 1970 and default them to a date/time of Jan 1, 1970 the same as GSW 5.2 _____________________________________________________________ RTC DEFECT: 400808 APAR: IC97255 DATE: 10/24/2013 MODULE: Mapper.exe PROBLEM DESCRIPTION: Reported map compilation error line numbers could become incorrect if a SQL command spanned multiple lines. FIX DESCRIPTION: Fixed line count to accurately reflect actual lines within a SQL command, rather than count each SQL command as a single line. _______________________________________________________________________________ RTC DEFECT: 399959 APAR: DATE: 11/12/2013 MODULE: tx32.exe PROBLEM DESCRIPTION: Translation could fail with an assertion error if a trailing % followed a valid parameter list in the strdate Mapper function. This is an extension of the fix for RTC defect 378775. FIX DESCRIPTION: Strip tailing % from strdate format strings, and enhanced translator to catch access violations associated with runtime errors caused by invalid date formating or null dates. ************************************************************************** PATCH 4 ************************************************************************** RTC DEFECT: 407895 APAR: IC98783 DATE: 1/14/2014 MODULE: Mapper.exe PROBLEM DESCRIPTION: Mapper allowed Extended Rule CERROR with constant or variable as second argument, but this OpCode feature was not available in the translator. FIX DESCRIPTION: Report compilation error: 2011, No Field Specified, when CERROR Extended Rule does not include a Field number or name. _____________________________________________________________ RTC DEFECT: 410622 APAR: IC99186 DATE: 2/5/2014 MODULE: Tx32.exe PROBLEM DESCRIPTION: Translation error during build process of XML Interchange. Large number of node related errors caused out of memory during translation. FIX DESCRIPTION: Fix translator to limit generated node errors to 1000 per transaction. Previously, no limit to node errors allowed excessive node errors to cause OOM errors during translation. _______________________________________________________________________________ RTC DEFECT: 418946 APAR: IT01226 DATE: 04/24/14 MODULE: Mapper.exe PROBLEM DESCRIPTION: Activating a deactivated element/field with associated conditional fields does not automatically enable the associated conditional fields, nor does it warn that by not enabling associate field will invalidate conditional rules during translation. FIX DESCRIPTION: Added validation to Mapper when a element/field is activated and contains conditional rules with associated element. If an element is activated and the element contains conditional rules that includes other disabled element, the Mapper will display a warning indicating relationship and ask for confirmation before enabling all associated elements. If the user selects not to enable other elements, not elements will be enabled. ************************************************************************** PATCH 5 ************************************************************************** RTC DEFECT: 431175 APAR: IT03378 DATE: 6/24/2014 MODULE: Txde.exe PROBLEM DESCRIPTION: Translation from EDI to Forms does not produce output in Forms Integrator for Partner cross reference lookup extended rules. FIX DESCRIPTION: Enabled Select extended rule in txde translator for EDI to Forms map direction. _______________________________________________________________________________ RTC DEFECT: 429789 APAR: IT02642 DATE: 6/17/14 MODULE: Mapper.exe PROBLEM DESCRIPTION: After loading a map, Mapper crashes after trying to save the map, create a DDF, or delete any field/group structures. FIX DESCRIPTION: The customer map had an inactive field that was corrupt. Activating that field or viewing the properties of that field (Conditions tab) causes Mapper to crash too. Added the following popup warning in case a corrupt element is found during the open/save operation: "The field appears to be corrupt. Element is NULL. Please delete this field and recreate it." The operation will still complete with the corrupt field in the map. Manually deletion of the corrupt field is required to fix the map. _______________________________________________________________________________ RTC DEFECT: 435867 APAR: IT03894 DATE: 8/25/2014 MODULE: tx32.exe PROBLEM DESCRIPTION: Repeating element separator characters in data were not prefixed with Release Characters during outbound EDI translation. The Repeating element separator characters would either be left un-released or trimmed from the output. FIX DESCRIPTION: Fixed release character insertion before repeating element separators found in output segments data. _____________________________________________________________ RTC DEFECT: 444051 APAR: DATE: 10/6/14 MODULE: Mapper.exe PROBLEM DESCRIPTION: The fix for QC#1004 successfully reports a map-level compiler error when two equal signs (or other operators) are used with reals in an extended rule (e.g, x=y=2). However, the .tpl file still gets generated. This should not happen with any map error. FIX DESCRIPTION: Added code to return an error to the parent functions when that type of compiler error is encountered and delete the pending .tpl file. _____________________________________________________________ RTC DEFECT: 447972 APAR: IT06521 DATE: 1/6/15 MODULE: tx32.exe (txengine.lib) PROBLEM DESCRIPTION: Translator crashes when executing a SQL command with a blank line above it in an ODBC import map. FIX DESCRIPTION: The Map Editor was fine with having a blank line above the SQL command but the translator had problems parsing the SQL command with it. Modified translator to remove any preceding whitespace in the SQL command. _____________________________________________________________ RTC DEFECT: 453562 APAR: IT07123 DATE: 2/11/15 MODULE: txde.exe PROBLEM DESCRIPTION: In 5.3.1 EDIMGR, when doing a formatted print of a document to a file (PDF printer), the document name no longer appears in the filename field of the PDF printer dialog like it did in 5.3. It's just a blank filename. FIX DESCRIPTION: In EDIMGR, the document title is always set before any print job is initiated. However, when a formatted print is initiated, the document key is passed to Txde.exe to initiate the print job. Txde did not set the document title. Fixed. Txde now does a database lookup to get the document name based on the document key. If the document name is not blank, that is used as the document title and filename for the PDF print job. Otherwise, the document key is used instead. _____________________________________________________________ RTC DEFECT: 458576 APAR: IT07985 DATE: 3/26/15 MODULE: tx32.exe (txengine.lib) PROBLEM DESCRIPTION: After upgrading from 5.1 to 5.3.1, some ODBC maps using an AS/400 DB2 database no longer worked. FIX DESCRIPTION: In 5.3.1, a semi-colon was appended to the end of SQL commands generated by the ODBC Output Record Properties dialog (insert, update, or delete). This delimiter was fine for most databases except for AS/400 which reported a "Token ; was not valid" error. Removed the semi-colon from the SQL commands. _____________________________________________________________ RTC DEFECT: 460950 APAR: IT08598 DATE: 4/28/15 MODULE: Mapper.exe PROBLEM DESCRIPTION: When referencing a field in an extended rule (such as "#temp = #field;"), it causes the #temp to now exist. So even if the #field did not contain data, and therefore #temp does not contain data, it will still trigger links. There was a fix done on 5.0 which did not get ported to 5.2 until patch 25, which caused this behavior to change, and the links to trigger now. This change happened in RTC#388554 in 5.2 patch 25, 5.3 patch 7 and 5.3.1 patch 3. However, this customer sees it as a defect and wants it to not trigger like before. FIX DESCRIPTION: Added code to automatically create a new registry setting when the mapper starts up that will enable or disable the RTC#388554 fix. The fix is enabled by default. Users can manually edit this registry setting and it will be rechecked each time a map compile starts. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Sterling Commerce\GENTRAN\Common Components\Integration\8.1 reg value name: ReferencedFieldsTriggerLinks reg type: REG_DWORD reg value: 1 or 0 (1 by default) _____________________________________________________________ RTC DEFECT: 470809 APAR: DATE: 7-15-15 MODULE: Mapper.exe PROBLEM DESCRIPTION: Map Editor can only open a limited number of maps, and not all the same number. Seems dependent on length of name. FIX DESCRIPTION: Increased buffer size for the file list we were using in our CDialog object for Open File _____________________________________________________________ RTC DEFECT: APAR: DATE: MODULE: PROBLEM DESCRIPTION: FIX DESCRIPTION: _____________________________________________________________