Patch Name: PHNE_15507 Patch Description: s700_800 11.00 R6.11.00 SNAplus2 services cumulative patch Creation Date: 98/11/12 Post Date: 99/01/14 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: SNAplus2-3270 TN3270 SNAplus2-API SNAplus2-RJE R6.11.00 Filesets: TN3270.TN3270,fr=R6.11.00.000,fa=HP-UX_B.11.00_32/64,v=HP SNAplus2-RJE.SNAP2-RJE,fr=R6.11.00.000,fa=HP-UX_B.11.00_32/64,v=HP SNAplus2-API.SNAP2-API64,fr=R6.11.00.000,fa=HP-UX_B.11.00_64,v=HP SNAplus2-API.SNAP2-API,fr=R6.11.00.000,fa=HP-UX_B.11.00_32/64,v=HP SNAplus2-3270.SNAP2-NLS,fr=R6.11.00.000,fa=HP-UX_B.11.00_32/64,v=HP SNAplus2-3270.SNAP2-3270,fr=R6.11.00.000,fa=HP-UX_B.11.00_32/64,v=HP 3270-Common.3270API-64SLIB,fr=R6.11.00.000,fa=HP-UX_B.11.00_64,v=HP 3270-Common.3270API,fr=R6.11.00.000,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHNE_15507: ABORT Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHNE_15507 Symptoms: PHNE_15507: (1) 5003434563 In Motif versions of 3270, attempts to move cursor with mouse do not work on formatted screens. (2) 5003422105 If you start the RJE workstation from a user ID which does not have permissions to write to the RJE workstation directory, then you get a core dump. (3) 5003420414 If you have an unformatted PLU screen, you cannot enter a double byte character. (4) 5003420364 Customer had an SNAPlus application which used SIGUSR1. This is not officially supported in SNAplus2 (and this is clearly documented). (5) 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. (6) 5003399337 Pressing the DUP key causes space to be displayed, rather than '*'. DUP function does not work correctly. (7) 4701396432 If you try to start the 3270 or 3179g emulators with LANG=ja_JP.kana8, they will fail. (8) 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. (9) 4701396408 Japanese Motif 3270 exits when you enter the RTM screen. (10) 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. (11) 4701387142 tn3270 does not work if $LANG set to Japanese - you get a message saying that the file /opt/tn3270/lib/nls/msg/$LANG/mesg3270 cannot be found ($LANG can be any of the Japanese language settings). (12) 4701386730 CPIC CMRCV call always traces empty buffer. (13) 4701386292 hllapi and Japanese /Korean 3270 errors in R6. (14) 4701384511 When using AP_SAME conversation securty (cmscst) we get cmscsu rejected by the library with state check. (15) 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. (16) 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_14397: (1) 4701387142 tn3270 does not work if $LANG set to Japanese - you get a message saying that the file /opt/tn3270/lib/nls/msg/$LANG/mesg3270 cannot be found ($LANG can be any of the Japanese language settings). (2) 4701386292 hllapi and Japanese /Korean 3270 errors in R6. Defect Description: PHNE_15507: (1) 5003434563 In motif versions of 3270, mouse control of the cursor did not work. Code changed to ensure that the delimeters of the current field are also set up when the cursor is moved with the mouse. (2) 5003422105 Code changed to ensure workstation creates the directory with permissions which allow all users to read from the directory (this is fine, as the WS will not start if it is incorrectly configured). Also correct a problem where a core dump occurs if you cannot read from the directory, and generate an error log. (3) 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. (4) 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. (5) 5003418913 Code change to ensure we do not notify HLLAPI application unless the PS has actually been altered. (6) 5003399337 Code change made to resolve problem - ensure DUP function works as in R2. (7) 4701396432 new startup script snap3179g added to prevent starting the 3179g emulator with LANG=ja_JP.kana8 and failing. (8) 4701396416 snap3270 startup script modified to detect if starting character emulator with LANG=ja_JP.eucJP and alter LANG to use the 'SJIS' version . (9) 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.) (10) 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. (11) 4701387142 The tn3270 product was not localised for Japanese, so code changed to not look for the localised files! Use the English versions. (12) 4701386730 Code changed to trace out the true buffer - the buffer length is a LONG not a SHORT. (13) 4701386292 Code changes to hllapi library and Japanese/Korean app_default files. (14) 4701384511 Code changed to allow application to specify the userid for both R5 and R6. Further alter the APPC library in R5 only for this to take effect in the case where the TP is setuid root. (15) 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. (16) 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_14397: (1) 4701387142 The tn3270 product was not localised for Japanese, so code changed to not look for the localised files! Use the English versions. (2) 4701386292 Code changes to hllapi library and Japanese/Korean app_default files. SR: 5003434563 5003422105 5003420414 5003420364 5003418913 5003399337 4701396432 4701396416 4701396408 4701389361 4701387142 4701386730 4701386292 4701384511 1653268854 1653206698 Patch Files: TN3270.TN3270,fr=R6.11.00.000,fa=HP-UX_B.11.00_32/64,v=HP: /opt/tn3270/bin/tn3270 /opt/tn3270/bin/tn3270ui /opt/tn3270/bin/X11/xtn3270 /opt/tn3270/bin/X11/xtn3270ui SNAplus2-RJE.SNAP2-RJE,fr=R6.11.00.000, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/bin/snaprjestart SNAplus2-API.SNAP2-API64,fr=R6.11.00.000, fa=HP-UX_B.11.00_64,v=HP: /opt/sna/lib/pa20_64/libcpic.1 SNAplus2-API.SNAP2-API,fr=R6.11.00.000, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/lib/libcpic.1 SNAplus2-3270.SNAP2-NLS,fr=R6.11.00.000, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/lib/nls/msg/ja_JP.SJIS/text3270 /etc/opt/sna/app-defaults/ja_JP.SJIS/Snap3179g /etc/opt/sna/app-defaults/ja_JP.SJIS/Snap3270 /opt/sna/lib/nls/msg/ja_JP.eucJP/text3270 /etc/opt/sna/app-defaults/ja_JP.eucJP/Snap3179g /etc/opt/sna/app-defaults/ja_JP.eucJP/Snap3270 /opt/sna/bin/snap3270d.sjis SNAplus2-3270.SNAP2-3270,fr=R6.11.00.000, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/lib/nls/msg/C/text3270 /opt/sna/bin/snap3270 /opt/sna/bin/X11/xsnap3270 /opt/sna/bin/snap3270d /opt/sna/bin/X11/xsnap3270d /opt/sna/bin/X11/xsnap3270dui /opt/sna/bin/X11/snap3179g /opt/sna/bin/X11/xsnap3179g /opt/sna/bin/X11/xsnap3179gui 3270-Common.3270API-64SLIB,fr=R6.11.00.000, fa=HP-UX_B.11.00_64,v=HP: /opt/sna/lib/pa20_64/libhapi.2 3270-Common.3270API,fr=R6.11.00.000,fa=HP-UX_B.11.00_32/64, v=HP: /opt/sna/lib/libhapi.0 /opt/sna/lib/libhapi.1 /opt/sna/lib/libhapi.2 what(1) Output: TN3270.TN3270,fr=R6.11.00.000,fa=HP-UX_B.11.00_32/64,v=HP: /opt/tn3270/bin/tn3270: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.11.00.005 SNAplus2 R6 3270 Emulator program - TN 3270 only - NLS ] (PHNE_15507 : 98/06/11 17:08:24) ] /opt/tn3270/bin/tn3270ui: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.11.00.001 SNAplus2 R6 3270 User Interface progra m - TN3270 only - NLS ] (PHNE_15507 : 98/03/31 13:10:53) ] /opt/tn3270/bin/X11/xtn3270: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.11.00.005 SNAplus2 R6 3270 Emulator program - TN 3270 only - Motif - NLS ] (PHNE_15507 : 98/06/11 17:11:40) ] /opt/tn3270/bin/X11/xtn3270ui: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.11.00.002 SNAplus2 R6 3270 User Interface progra m - TN3270 only - Motif - NLS ] (PHNE_15507 : 98/07/02 11:48:25) ] SNAplus2-RJE.SNAP2-RJE,fr=R6.11.00.000, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/bin/snaprjestart: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.11.00.002 SNAplus2 R6 RJE Workstation ] (PHNE_15507 : 98/07/17 23:12:27) ] SNAplus2-API.SNAP2-API64,fr=R6.11.00.000, fa=HP-UX_B.11.00_64,v=HP: /opt/sna/lib/pa20_64/libcpic.1: ]R6.11.00.001 SNAplus2 R6 CPI-C Library Routines ] (PHNE_15507 : 98/03/27 16:08:00) ] SNAplus2-API.SNAP2-API,fr=R6.11.00.000, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/lib/libcpic.1: ]R6.11.00.001 SNAplus2 R6 CPI-C Library Routines ] (PHNE_15507 : 98/03/27 15:55:45) ] SNAplus2-3270.SNAP2-NLS,fr=R6.11.00.000, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/lib/nls/msg/ja_JP.SJIS/text3270: None /etc/opt/sna/app-defaults/ja_JP.SJIS/Snap3179g: None /etc/opt/sna/app-defaults/ja_JP.SJIS/Snap3270: None /opt/sna/lib/nls/msg/ja_JP.eucJP/text3270: None /etc/opt/sna/app-defaults/ja_JP.eucJP/Snap3179g: None /etc/opt/sna/app-defaults/ja_JP.eucJP/Snap3270: None /opt/sna/bin/snap3270d.sjis: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.11.00.006 SNAplus2 R6 3270 Emulator program - NL S (Japanese SJIS) ] (PHNE_15507 : 98/07/17 23:17:53) ] SNAplus2-3270.SNAP2-3270,fr=R6.11.00.000, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/lib/nls/msg/C/text3270: None /opt/sna/bin/snap3270: $Revision: R6.11.00.001 SNAplus2 Cow 3270 emulation script R6.1100 $ (11.00.R6) /opt/sna/bin/X11/xsnap3270: R6.001 SNAplus2 Motif 3270 emulation script $ (10.20/11.0) /opt/sna/bin/snap3270d: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.11.00.007 SNAplus2 R6 3270 Emulator program - NL S ] (PHNE_15507 : 98/07/17 23:15:04) ] /opt/sna/bin/X11/xsnap3270d: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.11.00.101 SNAplus2 R6 3270 Emulator program - Mo tif - NLS (32 bit) ] (PHNE_15507 : 98/11/10 11:43:23) ] /opt/sna/bin/X11/xsnap3270dui: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.11.00.001 SNAplus2 R6 3270 User Interface progra m - Motif - NLS ] (PHNE_15507 : 98/07/02 11:51:52) ] /opt/sna/bin/X11/snap3179g: R6.001 SNAplus2 Motif 3179g emulation script $ (10.20/11.0) /opt/sna/bin/X11/xsnap3179g: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.11.00.101 SNAplus2 R6 3179G emulator - NLS (32 b it) ] (PHNE_15507 : 98/11/10 12:35:31) ] /opt/sna/bin/X11/xsnap3179gui: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.11.00.001 SNAplus2 R6 3179G User Inteface Progra m - NLS ] (PHNE_15507 : 98/07/02 11:55:22) ] 3270-Common.3270API-64SLIB,fr=R6.11.00.000, fa=HP-UX_B.11.00_64,v=HP: /opt/sna/lib/pa20_64/libhapi.2: ]R6.11.00.004 SNAplus2 R6 HLLAPI Verb Library Routin es ] (PHNE_15507 : 98/06/11 16:46:04) ] 3270-Common.3270API,fr=R6.11.00.000,fa=HP-UX_B.11.00_32/64, v=HP: /opt/sna/lib/libhapi.0: ]R6.11.00.002 SNAplus2 R6 HLLAPI Verb Library Routin es ] (PHNE_15507 : 98/06/11 16:45:09) ] /opt/sna/lib/libhapi.1: ]R6.11.00.001 SNAplus2 R6 HLLAPI Verb Library Routin es ] (PHNE_15507 : 98/05/12 14:44:49) ] /opt/sna/lib/libhapi.2: ]R6.11.00.002 SNAplus2 R6 HLLAPI Verb Library Routin es ] (PHNE_15507 : 98/06/11 16:45:38) ] cksum(1) Output: TN3270.TN3270,fr=R6.11.00.000,fa=HP-UX_B.11.00_32/64,v=HP: 1896259396 759504 /opt/tn3270/bin/tn3270 4137726493 390864 /opt/tn3270/bin/tn3270ui 428861817 882384 /opt/tn3270/bin/X11/xtn3270 2666740781 554704 /opt/tn3270/bin/X11/xtn3270ui SNAplus2-RJE.SNAP2-RJE,fr=R6.11.00.000, fa=HP-UX_B.11.00_32/64,v=HP: 2173159593 558800 /opt/sna/bin/snaprjestart SNAplus2-API.SNAP2-API64,fr=R6.11.00.000, fa=HP-UX_B.11.00_64,v=HP: 4261784600 183736 /opt/sna/lib/pa20_64/libcpic.1 SNAplus2-API.SNAP2-API,fr=R6.11.00.000, fa=HP-UX_B.11.00_32/64,v=HP: 1849050882 311296 /opt/sna/lib/libcpic.1 SNAplus2-3270.SNAP2-NLS,fr=R6.11.00.000, fa=HP-UX_B.11.00_32/64,v=HP: 3941574374 83543 /opt/sna/lib/nls/msg/ja_JP.SJIS/text3270 3446012101 1183 /etc/opt/sna/app-defaults/ja_JP.SJIS/ Snap3179g 447025495 2900 /etc/opt/sna/app-defaults/ja_JP.SJIS/Snap3270 3693687644 80198 /opt/sna/lib/nls/msg/ja_JP.eucJP/text3270 3446012101 1183 /etc/opt/sna/app-defaults/ja_JP.eucJP/ Snap3179g 447025495 2900 /etc/opt/sna/app-defaults/ja_JP.eucJP/ Snap3270 1235766074 673488 /opt/sna/bin/snap3270d.sjis SNAplus2-3270.SNAP2-3270,fr=R6.11.00.000, fa=HP-UX_B.11.00_32/64,v=HP: 3902448704 82443 /opt/sna/lib/nls/msg/C/text3270 2700118967 457 /opt/sna/bin/snap3270 2354982259 418 /opt/sna/bin/X11/xsnap3270 1416752571 673488 /opt/sna/bin/snap3270d 3643995917 796368 /opt/sna/bin/X11/xsnap3270d 2351521670 554704 /opt/sna/bin/X11/xsnap3270dui 719879279 419 /opt/sna/bin/X11/snap3179g 2724783970 1083088 /opt/sna/bin/X11/xsnap3179g 2903863156 554704 /opt/sna/bin/X11/xsnap3179gui 3270-Common.3270API-64SLIB,fr=R6.11.00.000, fa=HP-UX_B.11.00_64,v=HP: 2971501722 116560 /opt/sna/lib/pa20_64/libhapi.2 3270-Common.3270API,fr=R6.11.00.000,fa=HP-UX_B.11.00_32/64, v=HP: 3984600750 122880 /opt/sna/lib/libhapi.0 1554691699 126976 /opt/sna/lib/libhapi.1 1060135889 151552 /opt/sna/lib/libhapi.2 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHNE_14397 Equivalent Patches: None Patch Package Size: 8630 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_15507 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHNE_15507.depot By default swinstall will archive the original software in /var/adm/sw/save/PHNE_15507. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHNE_15507.depot WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHNE_15507.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHNE_15507.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_15507.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