Patch Name: PHNE_15517 Patch Description: s700_800 10.20 R6.10.20 SNAplus2 3270 cumulative patch. Creation Date: 98/09/28 Post Date: 98/11/19 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: SNAplus2-3270 R6.10.20 Filesets: SNAplus2-3270.SNAP2-NLS SNAplus2-3270.SNAP2-3270 3270-Common.3270 Automatic Reboot?: No Status: General Superseded Critical: Yes PHNE_15517: ABORT Path Name: /hp-ux_patches/s700_800/10.X/PHNE_15517 Symptoms: PHNE_15517: (1) 5003420414 If you have an unformatted PLU screen, you cannot enter a double byte character. (2) 5003420364 Customer had an SNAPlus application which used SIGUSR1. This is not officially supported in SNAplus2 (and this is clearly documented). (3) 5003418913 If you have START_HOST_NOTIFY in operation, and issue a PAUSE verb (with IPAUSE selected), then the PAUSE verb can complete - and QUERY_HOST_UPDATE will return PS_UPDATED but COPY_PS shows no change. (4) 4701396432 If you try to start the 3270 or 3179g emulators with LANG=ja_JP.kana8, they will fail. (5) 4701396416 If you start the character emulator with LANG=ja_JP.eucJP it will come up with some Japanese and some English text. Unpredictable core dump can occur in certain screens. (6) 4701396408 Japanese Motif 3270 exits when you enter the RTM screen. (7) 4701389361 When receiving data from the host, a percentage of the buffers allocated by 3270 are lost. This can result in poor system performance, and eventually the system running short of resources. (8) 1653268854 R6 10.20 and 11.0 RJE workstation can only use a maximum of 4 LUs if 5 are assigned then the fifth will not become active. R6 10.20 and 11.0 3270 emulators (SNA only, not TN) can only use a maximum of 9 concurrent sessions. If the user attempts to activate all 10 sessions then the tenth will not activate. (9) 1653206698 When an application has issued START_HOST_NOTIFY and then issues a PAUSE verb, the PAUSE verb only polls for status changes once every second. Delays can be seen between something happening and the PAUSE completing. PHNE_14977: (1) 5003399337 Pressing the DUP key causes space to be displayed, rather than '*'. DUP function does not work correctly. (2) 4701386292 hllapi and Japanese /Korean 3270 errors in R6. PHNE_14394: (1) 4701386292 hllapi and Japanese /Korean 3270 errors in R6. Defect Description: PHNE_15517: (1) 5003420414 It is unclear from IBM's documentation whether or not this should be allowed. However, if the character is invalid according to the host application then it will be rejected. SNAplus2 or tn3270 preventing the user from entering it. (2) 5003420364 Add an environment variable 'DISABLEPAUSEFIX' which removes the fix for SR 1653206698 (this altered the way SNAplus2 uses signals) and returns the behaviour of the code to the way it worked in SNAPlus R3/R4. The environment variable must be set = 1 ie. DISABLEPAUSEFIX=1 to get this behaviour. (3) 5003418913 Code change to ensure we do not notify HLLAPI application unless the PS has actually been altered. (4) 4701396432 new startup script snap3179g added to prevent starting the 3179g emulator with LANG=ja_JP.kana8 and failing. (5) 4701396416 snap3270 startup script modified to detect if starting character emulator with LANG=ja_JP.eucJP and alter LANG to use the 'SJIS' version . (6) 4701396408 Code change made to initialize a floating variable that is used to select the UI font. This fixes a bug where Japanese Motif 3270 exits when you enter the RTM screen. (3179g and tn3270 also recompiled because they could hit the bug if the app-defaults file was deleted.) (7) 4701389361 Code change to correctly free buffers used by the 3270 program, and verify that no further leaks occur. This corrects a problem where a percentage of buffers are lost when running the 3270 emulators. (8) 1653268854 Problem was a misuse of an array index in the FMI/FMAPI glue layer which interfaces RJE and 3270 to the node. This meant that the last session control block in this glue layer could not be used. (9) 1653206698 Modify the emulator so that it signals the HLLAPI application using SIGUSR1 every time the PS or OIA is updated if the HLLAPI application has issued a start_host_notify verb on the session which was updated. Note that this means that a signal will be issued whether or not the application is actually sitting in a PAUSE verb PHNE_14977: (1) 5003399337 Code change made to resolve problem - ensure DUP function works as in R2. (2) 4701386292 Code changes to hllapi library and Japanese/Korean app_default files. PHNE_14394: (1) 4701386292 Code changes to hllapi library and Japanese/Korean app_default files. SR: 5003420414 5003420364 5003418913 5003399337 4701396432 4701396416 4701396408 4701389361 4701386292 1653268854 1653206698 Patch Files: /opt/sna/lib/nls/msg/C/text3270 /opt/sna/lib/nls/msg/ja_JP.SJIS/text3270 /opt/sna/lib/nls/msg/ja_JP.eucJP/text3270 /opt/sna/bin/X11/snap3179g /opt/sna/bin/X11/xsnap3179g /opt/sna/bin/X11/xsnap3179gui /opt/sna/bin/X11/xsnap3270 /opt/sna/bin/X11/xsnap3270d /opt/sna/bin/X11/xsnap3270dui /opt/sna/bin/snap3270 /opt/sna/bin/snap3270d /opt/sna/bin/snap3270d.sjis /opt/sna/lib/libhapi.0 /opt/sna/lib/libhapi.1 /etc/opt/sna/app-defaults/ja_JP.SJIS/Snap3179g /etc/opt/sna/app-defaults/ja_JP.SJIS/Snap3270 /etc/opt/sna/app-defaults/ja_JP.eucJP/Snap3179g /etc/opt/sna/app-defaults/ja_JP.eucJP/Snap3270 what(1) Output: /opt/sna/bin/snap3270: $Revision: R6.10.20.001 SNAplus2 Cow 3270 emulation script $ (10.20.R6) /opt/sna/bin/X11/xsnap3270: R6.001 SNAplus2 Motif 3270 emulation script $ (10.20/11.0) /opt/sna/bin/snap3270d: HP92453-02A.10.00 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.10.20.008 SNAplus2 R6 3270 Emulator program - NL S ] (PHNE_15517 : 98/07/17 22:22:56) ] /opt/sna/bin/X11/xsnap3270d: HP92453-02A.10.00 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.10.20.007 SNAplus2 R6 3270 Emulator program - Mo tif - NLS ] (PHNE_15517 : 98/07/17 22:27:37) ] /opt/sna/bin/X11/xsnap3270dui: HP92453-02A.10.00 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.10.20.001 SNAplus2 R6 3270 User Interface progra m - Motif - NLS ] (PHNE_15517 : 98/07/02 11:58:37) ] /opt/sna/bin/snap3270d.sjis: HP92453-02A.10.00 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.10.20.006 SNAplus2 R6 3270 Emulator program - NL S (Japanese SJIS) ] (PHNE_15517 : 98/07/17 22:25:11) ] /opt/sna/bin/X11/snap3179g: R6.001 SNAplus2 Motif 3179g emulation script $ (10.20/11.0) /opt/sna/bin/X11/xsnap3179g: HP92453-02A.10.00 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.10.20.007 SNAplus2 R6 3179G emulator - NLS ] (PHNE_15517 : 98/07/17 22:30:47) ] /opt/sna/bin/X11/xsnap3179gui: HP92453-02A.10.00 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.10.20.001 SNAplus2 R6 3179G User Inteface Progra m - NLS ] (PHNE_15517 : 98/07/02 12:00:06) ] /opt/sna/lib/nls/msg/C/text3270: None /etc/opt/sna/app-defaults/ja_JP.SJIS/Snap3270: None /etc/opt/sna/app-defaults/ja_JP.SJIS/Snap3179g: None /opt/sna/lib/nls/msg/ja_JP.SJIS/text3270: None /etc/opt/sna/app-defaults/ja_JP.eucJP/Snap3270: None /etc/opt/sna/app-defaults/ja_JP.eucJP/Snap3179g: None /opt/sna/lib/nls/msg/ja_JP.eucJP/text3270: None /opt/sna/lib/libhapi.0: ]R6.10.20.003 SNAplus2 R6 HLLAPI Verb Library Routin es ] (PHNE_15517 : 98/07/24 17:38:05) ] /opt/sna/lib/libhapi.1: ]R6.10.20.001 SNAplus2 R6 HLLAPI Verb Library Routin es ] (PHNE_15517 : 98/05/12 14:43:47) ] cksum(1) Output: 3402924698 449 /opt/sna/bin/snap3270 2354982259 418 /opt/sna/bin/X11/xsnap3270 745426435 642688 /opt/sna/bin/snap3270d 3438299000 761472 /opt/sna/bin/X11/xsnap3270d 2894346893 523904 /opt/sna/bin/X11/xsnap3270dui 192522544 642688 /opt/sna/bin/snap3270d.sjis 719879279 419 /opt/sna/bin/X11/snap3179g 3962745459 1044096 /opt/sna/bin/X11/xsnap3179g 4185814149 523904 /opt/sna/bin/X11/xsnap3179gui 3902448704 82443 /opt/sna/lib/nls/msg/C/text3270 447025495 2900 /etc/opt/sna/app-defaults/ja_JP.SJIS/Snap3270 3446012101 1183 /etc/opt/sna/app-defaults/ja_JP.SJIS/ Snap3179g 3941574374 83543 /opt/sna/lib/nls/msg/ja_JP.SJIS/text3270 447025495 2900 /etc/opt/sna/app-defaults/ja_JP.eucJP/ Snap3270 3446012101 1183 /etc/opt/sna/app-defaults/ja_JP.eucJP/ Snap3179g 3693687644 80198 /opt/sna/lib/nls/msg/ja_JP.eucJP/text3270 1046295170 118784 /opt/sna/lib/libhapi.0 1673501721 122880 /opt/sna/lib/libhapi.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_14394 PHNE_14977 Equivalent Patches: None Patch Package Size: 4610 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_15517 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_15517.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHNE_15517.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHNE_15517. 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_15517.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_15517.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: Stop SNA daemon before installing patch (snap stop). After installing the patch start the SNA daemon (snap start). NOTE: This patch installs or replaces the following user configurable files: /etc/opt/sna/app-defaults/ja_JP.eucJP/Snap3270 /etc/opt/sna/app-defaults/ja_JP.eucJP/Snap3179g /etc/opt/sna/app-defaults/ja_JP.SJIS/Snap3270 /etc/opt/sna/app-defaults/ja_JP.SJIS/Snap3179g The original files (if any) will be saved as: /etc/opt/sna/app-defaults/ja_JP.eucJP/Snap3270.save /etc/opt/sna/app-defaults/ja_JP.eucJP/Snap3179g.save /etc/opt/sna/app-defaults/ja_JP.SJIS/Snap3270.save /etc/opt/sna/app-defaults/ja_JP.SJIS/Snap3179g.save