Patch Name: PHNE_17582 Patch Description: s700_800 10.20 R4.4 SNAplus API cumulative patch Creation Date: 99/02/08 Post Date: 99/07/22 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: SNAplusAPI R4.4 Filesets: SNAP-API.SNAP-API Automatic Reboot?: No Status: General Superseded Critical: Yes PHNE_17582: HANG PHNE_9025: HANG Path Name: /hp-ux_patches/s700_800/10.X/PHNE_17582 Symptoms: PHNE_17582: (1) 1653289777 If a TP is using multiple conversations at once and has a Receive_and_Post outstanding on one conversation and issues an Allocate on another conversation then when the Receive_and_Post completes the Allocate is completed too early in error. That conversation cannot be used. PHNE_14317: (1) 4701384339 Problem with Year 2000 issues in SNAPlus . This affects 1) console messages 2) csv library console messages 3) Transfer MS Data verb 4) RJE spooler (2) 1653201764 If you issue CMINIC + CMACCI as the first verbs of your program then they will fail, and the error message 'CPI-C *10SNA3050: CPI-C program has forked' is logged (although no fork is actually done). (3) 1653204644 User application that has issued RCV_ALLOC does not get error back when SNA is stopped. PHNE_9025: (1) 1653187310 TP hang while processing ATTACH from host. (2) 1653186023 APPC code does not look for attaches after a retry situation has occurred. (3) 1653184184 Appc application hangs due to an incoming attach being processed immedia rather than being queued. This meant that the control blocks for the current conversation were overwritten. (4) 5003318998 LUA application on R4.2/10.01 fails to run. (5) 5000714642 Customer's LUA application was receiving LUA_CANCELLED after issuing an RUI_TERM verb even though the RUI_TERM was finishing properly. Defect Description: PHNE_17582: (1) 1653289777 Bad code which mixed up the two control blocks for two conversations , causing an Allocate on another converstaion to be completed when a prior Receive_and_Post completes . Resolution: Remove code that completes the Allocate verb based on the global return_verb variable. PHNE_14317: (1) 4701384339 Code changes made to address Year2000 issues with console messages, verb library routines and RJE spooler. (2) 1653201764 Removed fork_protection code in cpic library which checks the APPC dmod_init_ok flag, and forked if this is not set to OK. Without this the APPC library will detect the dmod_init_ok state if it changes, and act appropriately. (3) 1653204644 Code change made to report general lost locality to allow queued RCV_ALLOCs to be rejected that are still waiting for DLOAD. Need to correct a timer fix for R4. PHNE_9025: (1) 1653187310 A build of the code in August 1995 failed to include a previous fix, and problems were found in the async timeer code. There was also an unhelpful error being logged, which has been removed. (2) 1653186023 There is a retry timer in our code which sends attaches from the 2.1 node to the APPC library. This is present for a variety of reasons, but the two primary ones are: - when running client server attaches are sent to the client APPC library using UDP - and so may be lost - attaches for a queued TP are stored within the library of that TP. If the TP exits without processing all attaches, we want to ensure that another copy of the TP can be started and pick up the attaches which were not processed by the previous instance of the TP Customer's TP is running extremely slowly and they have multiple attaches queued up. The node thinks it is not getting a response, and there are multiple retries for each attach queued up within the library. There is a bug in the asynchronous APPC code which means that after we have identified and processed a retry we never look for further attaches for a given receive_allocate. (3) 1653184184 A fix has been written to close the window to ensure that any queued attaches can only be processed once the current conversation has ended and a fresh receive_allocate has been issued. (4) 5003318998 Intermittently an incorrect -RSP to a Begin Bracket condition was sent under bracket race conditions. Code change made to correct this behaviour. (5) 5000714642 The RUI_TERM finished properly, but an incorrect return code being set. SR: 5003318998 5000714642 4701384339 1653289777 1653204644 1653201764 1653187310 1653186023 1653184184 Patch Files: /opt/sna/lib/libappc.1 /opt/sna/lib/libcpic.1 /opt/sna/lib/libcsv.1 /opt/sna/lib/liblua.1 what(1) Output: /opt/sna/lib/libappc.1: A.10.20.301 SNAplus R4.4 APPC Library (PHNE_17582 : 99/01/20 15:04:10) /opt/sna/lib/liblua.1: A.10.20.200 SNAplus R4.4 LUA Library (PHNE_9025 : 97/01/21 14:08:41) /opt/sna/lib/libcpic.1: A.10.20.300 SNAplus R4.4 CPI-C Library (PHNE_14317 : 97/06/03 17:28:41) /opt/sna/lib/libcsv.1: A.10.20.301 SNAplus R4.4 CSV Library (PHNE_14317 : 98/03/03 16:31:37) cksum(1) Output: 2902353594 634880 /opt/sna/lib/libappc.1 773960393 143360 /opt/sna/lib/liblua.1 557741608 286720 /opt/sna/lib/libcpic.1 316377924 114688 /opt/sna/lib/libcsv.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_9025 PHNE_14317 Equivalent Patches: None Patch Package Size: 1210 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHNE_17582 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_17582.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_17582. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHNE_17582.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_17582.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None