Patch Name: PHNE_24342 Patch Description: s700_800 11.00 R6.11.00 SNAplus2 services, TN3270 patch Creation Date: 03/03/18 Post Date: 03/05/13 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: SNAplus2-3270 R6.11.00 TN3270 R6.11.00 SNAplus2-API R6.11.00 SNAplus2-RJE R6.11.00 Filesets: TN3270.TN3270,fr=R6.11.00.200,fa=HP-UX_B.11.00_32/64,v=HP TN3270.TN3270,fr=R6.11.00.010,fa=HP-UX_B.11.00_32/64,v=HP SNAplus2-RJE.SNAP2-RJE,fr=R6.11.00.200,fa=HP-UX_B.11.00_32/64,v=HP SNAplus2-RJE.SNAP2-RJE,fr=R6.11.00.010,fa=HP-UX_B.11.00_32/64,v=HP SNAplus2-API.SNAP2-API64,fr=R6.11.00.200,fa=HP-UX_B.11.00_64,v=HP SNAplus2-API.SNAP2-API64,fr=R6.11.00.010,fa=HP-UX_B.11.00_64,v=HP SNAplus2-API.SNAP2-API32,fr=R6.11.00.200,fa=HP-UX_B.11.00_32,v=HP SNAplus2-API.SNAP2-API32,fr=R6.11.00.010,fa=HP-UX_B.11.00_32,v=HP SNAplus2-API.SNAP2-API,fr=R6.11.00.200,fa=HP-UX_B.11.00_32/64,v=HP SNAplus2-API.SNAP2-API,fr=R6.11.00.010,fa=HP-UX_B.11.00_32/64,v=HP SNAplus2-3270.SNAP2-NLS,fr=R6.11.00.200,fa=HP-UX_B.11.00_32/64,v=HP SNAplus2-3270.SNAP2-NLS,fr=R6.11.00.010,fa=HP-UX_B.11.00_32/64,v=HP SNAplus2-3270.SNAP2-3270,fr=R6.11.00.200,fa=HP-UX_B.11.00_32/64,v=HP SNAplus2-3270.SNAP2-3270,fr=R6.11.00.010,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHNE_24342: ABORT PHNE_20916: HANG PHNE_17271: HANG ABORT Category Tags: defect_repair enhancement general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHNE_24342 Symptoms: PHNE_24342: (1) JAGad63608/8606194398 3270 emulator does not support the Euro currency symbol. (2) JAGad90491/8606221357 Unable to use CPIC cmetpn call with latest cpic library. (3) JAGad83536/8606214345 Additional Line Feeds in SNAplus2 job output from host. SNAplus2 RJE output contains extra linefeeds if using ff_passthrough option. (4) JAGad73860/8606204681 C++ CPIC application aborts in SCC_find_cccb by generating a core dump in function SCC_find_cccb. (5) JAGad69070/8606199884 There are software verification errors on an OS-Core fileset when SNA is installed. PHNE_22552: (1) JAGab82917/8606110214 When a user clicks with the mouse to move cursor in xsnap3270d the cursor is moved to the character position below mouse. (2) JAGab83287/8606110538 If you modify the description of a 3270 session, the new title and icon names do not take effect until you restart the emulator. (3) JAGad24684/8606155368 R6.11.00.200 CMCANC does not unblock CMRCV.CPI-C program is unable to cancel a synchronous receive verb (cmrcv) when it receives information in a signal catcher from another part of the system. CMANC hangs or fails with a core dump or cmrcv does not complete. (4) JAGad27660/8606158330 R6.10.20 APPC UNKNOWN VERB returned after NOF DISCONNECT_NODE issued. The UNKNOWN VERB is with respect to the previous RECEIVE_ALLOCATE_EX verb which was not returned. The required behaviour is to allow a customer to issue an APPC verb to cancel an outstanding RECEIVE_ALLOCATE. (5) JAGad10169/8606140807 In the spoolfile recovery mechanism for SNAPLUS2 RJE, if a job is being sent and the workstation is stopped immediately (snarjestop -i) or the system crashes then when the RJE workstation is restarted the job is marked as failed rather than being retried. (6) JAGad40346/8606171082 A MultiThreaded HLLAPI application on 11.0 will hang up on the first verb call as the signal from the 3270 emulator does not work correctly. This problem applies to both TN3270 and SNAP3270 emulators (7) JAGab53630/8606101513 On R6.xxxx, when security is turned on, a message such as 'CM_SECURITY_NOT_VALID' is returned to an invoking TP if the side info table is used with a valid user but an incorrect password. A return_code of 'CM_PRODUCT_SPECIFIC_ERROR' is returned to the invoking program, in such a scenario, if the 'Return generic security failure code' has been turned on, under the Node advanced menu, under xsnapadmin. This xsnapadmin flag corresponds to the following entry in sna_node.cfg: [define_defaults] specific_security_codes = YES (8) JAGad49181/8606179959 HLLAPI Query Host Update verb returns code of 65535 . After applying fix for JAGad42479 (signals broken with Multi Threaded HLLAPI library) the PAUSE verb works incorrectly. Subsequent verbs timed out after 30 seconds with a return code of -1. (9) JAGad54056/8606184850 HLLAPI application used with TN3270 is intermittently receiving an RC=9 when issuing Connect_PS verb. If a HLLAPI application is started at the same time as 3270 (typically with a shell script) then the first HLLAPI verb (typically connect) can fail with a return code of 9. If so all subsequent HLLAPI verbs are rejected with a return code of 1. PHNE_20916: (1) JAGad01270/8606132121 Customer is using the T(nn) option on snapsend and snapreceive. However, the file transfer program is returning with an error code saying the file transfer was canceled. File transfer works OK without the T(nn) option. (2) JAGac39750/8606124367 Unable to specify the 8x13 font on xsnap3270 command line without getting the 'unable to create font set' message. This works correctly with R6 SNAplus2 3270 on 10.20. (3) JAGab75212/8606106251 When customer attempted to link their APPC application they received a linker error: /usr/ccs/bin/ld: Can't open ../../o/lib/libnof.sl /usr/ccs/bin/ld: No such file or directory (4) JAGab65530/5003469213 SNAplus2-3270 LU type 1 printer hang when it receives BIND from mainframe with send & receive RU sizes set to 0. (Note RU size of 0 is valid according to IBM Formats -it means no maximum is specified). (5) JAGab65519/5003462630 SNA Error logs 16387-72 subcode 0 followed by 16378-91 with -ve RSP to Host when many 3270 print jobs are received at once, for example after recovery for a system outage. 3270 Message 16387 - 72, Subcode: 0 - 1 Log category: EXCEPTION Cause Type: External System: xxxxxxxx Process ID: 6344 (snap3270d) Error opening lp -d ARBSN. Errno = 0 Cause: An error occurred during an attempt to open a file for file transfer or print to file, or to open a printer. The name shown is the file name or printer name on which the error occurred. Action: Check the operating system return code shown. (6) JAGab65310/1653311605 Issuing RUI_TERM while asynch RUI_INIT is outstanding should cancel the RUI_INIT. Instead, the customer gets the following error: STATE_CHECK - DUPLICATE_RUI_INIT. PHNE_19613: (1) JAGab76502/8606106970 Error logs SNA0447 (R4) activating session in xsnap3270 and processes not cleaned up on termination. (2) JAGab71689/8606105222 The following message is noted periodically in sna.err file: 10:07:29 EDT 09 Aug 1999 4096-5(0-0) P (UH2010D3) PID 3733 (snaperrlog)Log parameter mismatch. Message number = 512 - 137 The message 512 - 137 then follows with a question mark for the sense code. (3) JAGab70700/8606106276 If you are using 3270 with LANG set to de_DE.roman8 on a character terminal, then the terminal goes into file transfer mode whenever the host locks the 3270 keyboard. This is a revisit of SR 165300756 - the fix for this SR should have also been applied to the MOTIF emulators, the CSV library and the style file printers. Other symptoms that have been seen include the sending of incorrect control fields to the host during file transfer - i.e. additions of P() and H() parameters to the IND$FILE command. (4) JAGab65306/1653308429 tpsrv_c.h not shipped with product. (5) JAGab65305/1653308163 Trying to use the -fasttype option on xsnap3270 SNAPLUS2 R6.0 results in the following: Warning: I18NOpenFile: Could not open file mainnlsf.uid - MrmNOT_FOUND Could not open Motif Mrm hierarchy The emulator then fails to start. This option worked on the SNAPLUS 9.04 version of xsnap3270. PHNE_18953: (1) JAGab68603/8606102678 Shell constructs do not work in 3270 printer menu (for example, set printer name to 'tail -2 | lp' - this fails) (2) JAGab65525/5003465930 If you have a window where you use 'rlogin' to get to a machine, and start tn3270 in the background then exit from the rlogin shell, the CPU usage of tn3270 increases to 100%. The problem does not occur if you perform the same test using telnet to log in to the machine. (3) JAGab65522/5003465237 A difference in behaviour of snap3270 between SNAplus2 and SNAplus occurs when running with the option not to display the status bar at startup. In SNAplus running on HP-UX 9.04, the bar is displayed when a 'Do not enter: wait' condition (symbolised by 'X()') occurs. (This is typically when the user has entered a command to the host and is waiting for a response.) In SNAplus2 R6, the status bar is not brought up in these circumstances (although it is displayed for most other 'Do not enter' conditions, such as trying to type text on a part of a host screen that is outside an entry field). (4) JAGab65398/4701429613 Issuing HA_COPY_PS immediately after a PAUSE verb completes can occasionally return LOCKED when this is not true. (5) JAGab65309/1653311191 When doing file transfer from snap3270 R6.11.00 the following errors are returned from the host :- IKJ56712I INVALID KEYWORD, P(8859) IKJ56712I INVALID KEYWORD, H(273) (6) JAGab65295/1653300756 If you are using 3270 with LANG set to de_DE.roman8 on a character terminal, then the terminal goes into file transfer mode whenever the host locks the 3270 keyboard. (7) JAGab65292/1653297457 When 'suppress host screens at startup' 3270 style file option is turned on, HLLAPI verb HA_DISPLAY_ON turns display on but does not re-enable the keyboard. PHNE_17271: (1) 5003446278 RJE received files from host showed incorrect user/group names. (2) 5003434563 In Motif versions of 3270, attempts to move cursor with mouse do not work on formatted screens. (3) 5003420364 Customer had an SNAPlus application which used SIGUSR1. This is not officially supported in SNAplus2 (and this is clearly documented). (4) 4701414615 TN3270 file transfer core dumps in background mode. (5) 4701407379 If you start a TP (non-invoked) and specify the verify type as AP_SAME in the CPIC side information for the TP, then the user ID will not be used for verification. (6) 4701405951 If a user has a UID > 65535, then RJE commands can hang rather than completing correctly. (7) 1653237859 Enhancement request in CPI-C to allow a Service TP Name to be specified in the APPCTPN environment variable. Defect Description: PHNE_24342: (1) JAGad63608/8606194398 Enhancement request to add Euro currency symbol to 3270 emulator. Resolution: Added support for ISO885915 code pages, which includes the Euro symbol. (2) JAGad90491/8606221357 Any verb issued after cmwait (working OK) is rejected with a return code of CM_OPERATION_NOT_ACCEPTED. An internal count of outstanding verbs goes negative due to an error in wait handling. Resolution: Code was modified to handle the count of outstanding verbs correctly. (3) JAGad83536/8606214345 Caused by incorrect code which tracks the number of lines received. Resolution: Corrected the counting of lines while doing FF passthrough. (4) JAGad73860/8606204681 This is caused due to incorrect handling of non-aligned conversation ID. This usually occurs when called from CMALLC(), but not always. Resolution: Changed assignment for tm_handle to use memcpy to ensure that byte alignment is correct. (5) JAGad69070/8606199884 Due to duplicate sna man pages, there are software verification errors on a Core fileset when SNA is installed. Resolution: The duplicate man pages in the Core fileset have now been removed. PHNE_22552: (1) JAGab82917/8606110214 Border changes had introduced a 11 pixel vertical error in the cursor position handling for xsnap3270 (and a 1 pixel horizontal error). The horizontal error is also present in xsnap3179g. Resolution: Corrected offsets to ensure correct location obtained in all cases. Also corrected a problem where a quick click was often ignored. (2) JAGab83287/8606110538 In R4 the window title was controlled using a separate menu item. Unfortunately it was not stored in the style file so the windows had to be renamed each time the emulator was started. In R5 it was changed so that the window title be persistent (i.e. in the style file) and so we used the description. Unfortunately, in doing this we lost the ability for us to update the window title dynamically (by default style file changes are not picked up automatically). Resolution: The fix here is to intercept the change session parameters dialog so that, once we have processed it correctly, we update the window title and icon for the session concerned. (3) JAGad24684/8606155368 Original code does not support this function. cmcanc is architected to allow async CPI-C verbs to be outstanding when it is issued. Resolution: Added code to allow a multi-threaded CPI-C application to issue cmcanc from another thread (possibly started from a signal catcher) while a sync verb is outstanding (such as cmrcv). (4) JAGad27660/8606158330 The behaviour observed is the correct functioning of the APPC library. This change is actually an Enhancement request to the product. This has been implemented by providing a CANCEL_CONVERSATION verb for the customer to use. Resolution: Implemented enhancement to allow the customer to cancel an outstanding RECEIVE_ALLOCATE[_EX] verb. The verb structure to perform this is as follows:- /* vcb */ CANCEL_CONVERSATION cancel_conv_vcb; memset(&cancel_conv_vcb, 0, sizeof(cancel_conv_vcb)); cancel_conv_vcb.opcode = AP_CANCEL_CONVERSATION; APPC_C(&cancel_conv_vcb); This synchronous call to APPC_C will cause your RECEIVE_ALLOCATE_EX callback function to return the RECEIVE_ALLOCATE_EX verb with a return code of AP_CANCELLED. One can clearly (if required) issue the CANCEL_CONVERSATION verb using the Async interface instead. (5) JAGad10169/8606140807 The SNAPLUS2 RJE code does not retry the RJE job in the following cases: - snaprjestop -i issued - Unix machine crashed. Resolution: Altered code to retry the job in the same way as would happen if there is a session failure (UNBIND etc) while the job is being sent (up to the retry limit). (6) JAGad40346/8606171082 The hllapi use of Signals between the emulator and the hllapi library was not compatible with kernel threads. Resolution: A FIFO is used instead of signals, to send a message from 3270 to the HLLAPI library. (7) JAGab53630/8606101513 The mapping in SCC_map_return_codes between APPC secondary return codes and CPI-C return codes does not deal with these special return codes other than AP_SECURITY_NOT_VALID (which is the generic return code). When specific security codes are required, APPC returns one of the AP_SEC_* return codes. These just pass through to the default processing in the mapping routine (which means they return CM_PRODUCT_SPECIFIC_ERROR) Resolution: Modify the mapping routine in cpicutil.c so that it catches these specific security return codes and maps them on to CM_SECURITY_NOT_VALID. (8) JAGad49181/8606179959 Pause Verb was not handled correctly in the fix for JAGad42479. Resolution: Leave FIFO open between verbs and catch application termination at exit. (9) JAGad54056/8606184850 The cause of the problem is the timing window in initialisation. The problem only shows up when fix for JAGad42479 (remove signals due to clash with MultiThreaded) is applied. Resolution: Distinguish between initialisation and termination window with new flag in code and return 1 in case of initialisation window. PHNE_20916: (1) JAGad01270/8606132121 The snapsend and snareceive programs issue a HLLAPI file transfer command. The HLLAPI library issues this to the emulator and waits for it to issue a sigusr1, implying the file transfer is complete. The emulator sends sigusr1 to any HLLAPI application whenever the presentation space or OIA is updated. Unfortunately this means that the HLLAPI library picks up one of these automatic signals and interprets it as FT complete. It then checks the shared memory return code and finds HARC_SUCCESS (0) as opposed to HARCFT_COMPLETE (3). This then causes it to issue the error code. The file transfer continues and may appear to complete successfully. Resolution: Add in a flag to the shared memory that tells us whether we still have a verb in progress. Ensure that the FT code in HLLAPI sets this flag before issuing the FT and that it checks the flag before assuming FT is complete. Also ensure that emulator clears the flag once it has really completed the verb. (2) JAGac39750/8606124367 Problem is actually caused by a difference in behaviour between the X11R5 and X11R6 versions of XCreateFontSet. X11R5, used on 10.20, will return with a valid fontset under the C locale with a warning that it was not able to find a fontset for one of the fonts required by the locale. On X11R6, the call to XCreateFontSet fails because it does not provide the iso 88591 fontset for the C locale forcing the 3270 emulator to quit. The workaround is to set the locale to 'C.iso88591' instead of 'C'. Resolution: Modified the 3270 code so that, if the call to XCreateFontSet failed, we would set the locale to be C.iso88591 and try again. (3) JAGab75212/8606106251 During build, the APPC library is linked with a copy of libnof.sl that is in the SNAplus2 build system (it actually lives in ../../o/lib relative to the build location of the APPC library). When using the APPC library a user must also link with libnof by adding an entry into the shared library list (a list of required shared libraries within the APPC library itself.) You can see this by looking at the chatr output on libappc: /opt/sna/lib/libappc.1: shared library shared library dynamic path search: SHLIB_PATH disabled second embedded path enabled first /opt/sna/lib shared library list: dynamic ../../o/lib/libnof.sl However, the entire library path is embedded into the binary. This gives us the ../../o/lib reference. The standard HP linker will strip off this path when doing subsequent linking operations with the library - i.e. it will simply look for libnof.sl using the embedded path of /opt/sna/lib which is also contained in the binary. In this situation however, the customer was using a different linker (esql) which is evidently not stripping off the path of the shared libraries and is therefore using the ../../o/lib in order to locate the libnof.sl library. Resolution: The fix is to modify the SNAplus2 build system so that at build time we pick up shared libraries from their final resting place of /opt/sna/lib. This will mean that even if the linker does not strip off the path when trying to link the required shared libraries it will find them correctly. This has the desired effect as can be seen from this new chatr output: libappc.sl: shared library shared library dynamic path search: SHLIB_PATH disabled second embedded path enabled first /opt/sna/lib shared library list: dynamic /opt/sna/lib/libnof.sl (4) JAGab65530/5003469213 Looking into the 3270 printer code it was noticed that an RU size of 0 would have side effects - some of the 3270 code subtracts from the RU size before doing some operations with this value. Subtracting from zero will lead to incorrect behaviour. Resolution: Further code reading showed that the for normal display LUs we specifically check whether we have received an RU size of 0. If we have we set the RU size in the emulator to be MAXRUSIZ (the maximum supported). Modified the printer code to do a similar check. (5) JAGab65519/5003462630 There is no feedback to the host when a 3270 print job ends. This means that if the host goes faster than the Unix spooler we can end up running out of control blocks (there are 20 per copy of 3270). Resolution: Modify code to wait for the spooler processes to completely finish before allowing another print job to start. (6) JAGab65310/1653311605 The problem is that in state VLV_STARTING the RUI_TERM verb is rejected as part of a general test. Resolution: The fix is to special case this verb in the test to allow it through while the RUI_INIT verb has a request outstanding. PHNE_19613: (1) JAGab76502/8606106970 Error in application of a previous fix, 1653208215. In a slow environment such as with Motif emulator it is possible that the code does not retry getting the semaphore that locks keyboard access between the emulator and UI. Resolution: Corrected code to ensure a retry is always attempted when getting the semaphore. (2) JAGab71689/8606105222 From the code it appears that there is not really a parameter mismatch, but it looks as though the problem is due to us trying to log more text than we actually allow. We are limited by a 600 byte array of log text in nba_pd_print_var. Resolution: The log parameters are limited to 600 bytes to allow all of the log datagram to fit in a 1k buffer for use by the SLIM. Consequently, we can't change this 600 byte limit. Instead, for the particular log mentioned in this defect, we should ensure that the sense code gets put into the buffer before the error data (that way we will ensure we get all of the sense code). This will also stop the erroneous messages in the log file as we will be logging all of the parameters. (3) JAGab70700/8606106276 A problem in the ASCII to EBCDIC translation tables used for German meant that the symbol ')' which we write to the screen when the host locks the 3270 keyboard was not being translated correctly to ASCII. The incorrect translation meant that we output a control code instead of ')', and this caused the terminal to switch into the file transfer state. When using German ISO88591 the problem was not as serious, but the bug still existed - the '()' symbol is displayed as '(-' instead. Resolution: Correct the EBCDIC to ASCII translation code for German codepage 273. (4) JAGab65306/1653308429 Error in psf file meant header file was not included in the product filesets. Resolution: Correct psf file, ship tpsrv_c.h for inclusion in product. (5) JAGab65305/1653308163 In Release 4 and previous of SNAPLUS, the F3, F5 and F6 keys acted as 'accelerator keys' to jump to 'File/Exit', 'Customise/Key Definitions' and 'Control/File Transfer' menus. Obviously this functionality was not desired once in a session to the host, where the function keys are used as PF keys. The fasttype option stopped the behaviour once in session. On R6 the accelerator functionality was removed, but there was still code in the emulator to parse the fasttype option and attempt to act on it. The missing UID file referred to is the UID file that was supposed to be used with the fasttype option. As R6 did not require this functionality, the UID file was not supplied for this release. Resolution: The fasttype option has now been retired, but for compatibility the option will still be allowed as an option on the xsnap3270 command. No action will be taken when this option is set, and in particular, the loading of the alternate UID file will not be performed. PHNE_18953: (1) JAGab68603/8606102678 Caused by incorrect parsing of the string which means that we call 'exec' with the entire string, rather than invoking a shell to parse the string. Resolution: Invoke a shell to parse the command string and run the command - rather than executing the program directly. (2) JAGab65525/5003465930 There is a problem with the select() call, where once the login shell has terminated, if you pass select() a file descriptor for the keyboard it returns 'data available' rather than an error condition. Resolution: To workaround the problem with the select() call, we have simply made a fix to tn3270 to prevent it from passing the keyboard file descriptor to select() if we are running in the background. This ensures that the issue will never be hit. (3) JAGab65522/5003465237 This behaviour is one of the 3270 emulator options that can be turned on and off at compile time through a compiler #define flag -- ie a -D option for cc. It seems that, at some stage during the development of SNAplus2 a change was made to default the emulator behaviour to the opposite of what it was in SNAplus. Resolution: A minor modification to one of the scripts used to build the product is all that is required to turn this compile option on again. (4) JAGab65398/4701429613 If a HLLAPI application issues HA_COPY_PS immediately after issuing PAUSE, then on a fast MP machine there is a tiny timing window where the COPY_PS verb is processed by the emulator before it has finished processing the message which caused the PAUSE verb to complete. This means that the emulator has not yet unlocked the keyboard/PS, despite the fact that the host message contained an unlock instruction - and so incorrect status can be returned on the COPY_PS verb (although the PS is correctly returned). Resolution: Check for EBI on a received message, and unlock immediately upon processing, rather than waiting for the internal BETB message from the bracket FSM. (5) JAGab65309/1653311191 The P(8859) and H(37) options on the file transfer command string are not intended to be sent up to the host. They are used by the emulator to ensure that the correct code page conversion is done. There is code in 3270 that parses these option strings and then blanks over them so that they do not get sent to the host. Unfortunately, before it blanks over the options, it checks that there is a right bracket character. It does this using the seascebc function (which does ASCII to EBCDIC conversion): if ((*(temptr + i + 2) == seascebc[')']) && ((*(temptr + i + 3) == seascebc[' ']) || (*(temptr + i + 3) == 0))) Unfortunately, with the right bracket conversion not working correctly (see SR 1653300756), the above test will fail meaning that the P() and H() options will not be blanked out and will be sent to the host causing the host to reject the file transfer request. The bug only shows up when using the German NLS settings (LANG = de_DE.iso88591 or LANG = de_DE.roman8) as the codepage bug was restricted to the German codepage (037). Resolution: The fix to SR 1653300756, to correct the German NLS The fix to SR 1653300756, to correct the German NLS versions of the ASCII/EBCDIC translation tables to correctly handle the right bracket ')' is also the fix for this problem. A problem in the ASCII to EBCDIC translation tables used for German meant that the symbol ')' which we write to the screen when the host locks the 3270 keyboard was not being translated correctly to ASCII. The incorrect translation meant that we output a control code instead of ')', and this caused the terminal to switch into the file transfer state. When using German ISO88591 the problem was not as serious, but the bug still existed - the '()' symbol is displayed as '(-' instead. Resolution: Correct the EBCDIC to ASCII translation code for German codepage 273. (7) JAGab65292/1653297457 Cause of problem: The style file option turns off the screen by doing the equivalent of the HA_DISPLAY_OFF HLLAPI verb at start of day. However, it turns off the keyboard by doing only part of what the HA_START_KEYBOARD_INTERCEPT HLLAPI verb would do. It creates a keyboard intercept buffer, but does not assign it an owning process. (It can't do this because the HLLAPI program won't necessarily be running at the time the emulator screen is enabled.) So if a HLLAPI program wants to access the keyboard it must still issue HA_START_KEYBOARD_INTERCEPT. Resolution: This fix is is based on the assumption that the HLLAPI program should issue HA_DISPLAY_ON when it wants to turn on the keyboard and display ,that have been disabled by the 'Host screens suppressed at startup' style file option. So, the first time this is issued the emulator must enable the keyboard too -- unless another application is using the keyboard intercept buffer (ie has issued HA_START_KEYBOARD_INTERCEPT in the meantime). PHNE_17271: (1) 5003446278 This problem has not been reproduced. However, a system chown call is used to perform the change of ownership of the received files, and it is suspected that this call has failed. Resolution: If this OS call really is returning an error in certain circumstances, we need to alert the user so that the root cause of the problem can be discovered and remedied. So code has been added to check return codes from chmod & chown and log an error if either fail. Also, just to be doubly sure that the file attributes really have been modified correctly, we then use the OS stat function to query them and compare with what they are supposed to be set to. (2) 5003434563 In motif versions of 3270, mouse control of the cursor did not work. Resolution: Code changed to ensure that the delimeters of the current field are also set up when the cursor is moved with the mouse. (3) 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. Resolution: Set env var DISABLEPAUSEFIX to 1 before invoking user app. (4) 4701414615 In the NLS version of all SNAplus 3270 emulators we attempt to free off two blocks of memory during character translation. However, it is possible to reach these free() calls in error cases where either or both these memory blocks has not been successfully allocated, causing a situation where a core dump can occur. Resolution: Solution is a code change to initialise the pointers to NULL and check whether they still hold this value before attempting to free them. (5) 4701407379 If you start a TP (non-invoked) and specify the verify type as AP_SAME in the CPIC side information for the TP then the user ID will not be used in verification. Resolution: Code change ensures that we correctly pick up the user ID from the side information. (6) 4701405951 If a user has a UID > 65535, then RJE commands can hang. A code change has been made to use a 4 byte field to hold the uid. Resolution: The code has been changed to use a 4 byte field to hold the uid. (7) 1653237859 Enhancement implemented to allow a Service TP name to be specified in the APPCTPN Environment Variable. This now allows the APPCTPN variable to be set as 'SNA_SERVICE_TP_0xqqqqqqqq' where qqqqqqqq is the ASCII representation of the Hex Service TP name. Enhancement implemented to allow a Service TP name to be specified in the APPCTPN Environment Variable. This now allows the APPCTPN variable to be set as 'SNA_SERVICE_TP_0xqqqqqqqq' where qqqqqqqq is the ASCII representation of the Hex Service TP name. Resolution: The APPCTPN environment variable is used to provide the TP Name to the CPI-C application.The SNA architecture specifies that APPCTPN is an ASCII string, so this variable cannot specify a Service TP Name, which is coded with a non-ASCII string. This enhancement allows APPCTPN to specify a Service TP Name, when set as 'SNA_SERVICE_TP_0xqqqqqqqq' where qqqqqqqq is the ASCII representation of the Hex Service TP name. Enhancement: Yes PHNE_24342: This patch delivers an enhancement to add Euro currency symbol to 3270 emulator. PHNE_22552: This patch delivers an enchancement in APPC Library to cancel a RECEIVE_ALLOCATE[_EX] verb by providing a CANCEL_CONVERSATION verb. PHNE_17271: This patch delivers an enhancement in CPI-C to allow a Service TP name to be specified in the APPCTPN environment variable. SR: 8606221357 8606214345 8606204681 8606199884 8606194398 8606184850 8606179959 8606171082 8606158330 8606155368 8606140807 8606132121 8606124367 8606110538 8606110214 8606106970 8606106276 8606106251 8606105222 8606102678 8606101513 5003469213 5003465930 5003465237 5003462630 5003446278 5003434563 5003420364 4701429613 4701414615 4701407379 4701405951 1653311605 1653311191 1653308429 1653308163 1653300756 1653297457 1653237859 Patch Files: TN3270.TN3270,fr=R6.11.00.200,fa=HP-UX_B.11.00_32/64,v=HP: TN3270.TN3270,fr=R6.11.00.010,fa=HP-UX_B.11.00_32/64,v=HP: /opt/tn3270/sna_log.msg /opt/tn3270/bin/tn3270 /opt/tn3270/bin/tn3270ui /opt/tn3270/bin/X11/xtn3270 /opt/tn3270/bin/X11/xtn3270ui /usr/newconfig/etc/opt/tn3270/lang3270.tbl SNAplus2-RJE.SNAP2-RJE,fr=R6.11.00.200, fa=HP-UX_B.11.00_32/64,v=HP: SNAplus2-RJE.SNAP2-RJE,fr=R6.11.00.010, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/bin/rjesub /opt/sna/bin/snaprjecan /opt/sna/bin/snaprjelst /opt/sna/bin/snaprjepur /opt/sna/bin/snaprjestart SNAplus2-API.SNAP2-API64,fr=R6.11.00.200, fa=HP-UX_B.11.00_64,v=HP: SNAplus2-API.SNAP2-API64,fr=R6.11.00.010, fa=HP-UX_B.11.00_64,v=HP: /opt/sna/lib/libappc.1 /opt/sna/lib/liblua.1 SNAplus2-API.SNAP2-API32,fr=R6.11.00.200, fa=HP-UX_B.11.00_32,v=HP: SNAplus2-API.SNAP2-API32,fr=R6.11.00.010, fa=HP-UX_B.11.00_32,v=HP: /opt/sna/lib/libappc.1 /opt/sna/lib/liblua.1 SNAplus2-API.SNAP2-API,fr=R6.11.00.200, fa=HP-UX_B.11.00_32/64,v=HP: SNAplus2-API.SNAP2-API,fr=R6.11.00.010, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/lib/libcov.1 /opt/sna/lib/libcpic.1 /opt/sna/lib/pa20_64/libappc.1 /opt/sna/lib/pa20_64/liblua.1 /opt/sna/include/tpsrv_c.h /opt/sna/lib/pa20_64/libcpic.1 SNAplus2-3270.SNAP2-NLS,fr=R6.11.00.200, fa=HP-UX_B.11.00_32/64,v=HP: SNAplus2-3270.SNAP2-NLS,fr=R6.11.00.010, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/bin/snap3270d.sjis /opt/sna/bin/snap3270d.sjisui SNAplus2-3270.SNAP2-3270,fr=R6.11.00.200, fa=HP-UX_B.11.00_32/64,v=HP: SNAplus2-3270.SNAP2-3270,fr=R6.11.00.010, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/bin/snap3270d /opt/sna/bin/snap3270dui /opt/sna/bin/X11/xsnap3179g /opt/sna/bin/X11/xsnap3179gui /opt/sna/bin/X11/xsnap3270d /opt/sna/bin/X11/xsnap3270dui /usr/newconfig/etc/opt/sna/lang3270.tbl what(1) Output: TN3270.TN3270,fr=R6.11.00.200,fa=HP-UX_B.11.00_32/64,v=HP: /opt/tn3270/sna_log.msg: ]6.0.0-Wed_Sep_15_19:11:53_BST_1999_Message_file /opt/tn3270/bin/tn3270: HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP 32) $Revision: 75.02 $ ]R6.11.00.215 SNAplus2 R6 3270 Emulator program - TN 3270 only - NLS (32 bit) ] (PHNE_24342 : 01/07/12 13:37:07) ] /opt/tn3270/bin/tn3270ui: HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP 32) $Revision: 75.02 $ ]R6.11.00.204 SNAplus2 R6 3270 User Interface progra m - TN3270 only - NLS (32 bit) ] (PHNE_24342 : 01/07/12 14:25:02) ] /opt/tn3270/bin/X11/xtn3270: HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP 32) $Revision: 75.02 $ ]R6.11.00.215 SNAplus2 R6 3270 Emulator program - TN 3270 only - Motif - NLS (32 bit) ] (PHNE_24342 : 01/07/12 14:37:35) ] /opt/tn3270/bin/X11/xtn3270ui: HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP 32) $Revision: 75.02 $ ]R6.11.00.206 SNAplus2 R6 3270 User Interface progra m - TN3270 only - Motif - NLS (32 bit) ] (PHNE_24342 : 01/07/12 14:47:17) ] /usr/newconfig/etc/opt/tn3270/lang3270.tbl: None SNAplus2-RJE.SNAP2-RJE,fr=R6.11.00.200, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/bin/rjesub: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.11.00.200 SNAplus2 R6 RJEJOB-SUB (32 bit) ] (DART_45 : 99/03/25 22:40:29) ] /opt/sna/bin/snaprjecan: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.11.00.200 SNAplus2 R6 RJEJOB-CAN (32 bit) ] (DART_45 : 99/03/25 22:33:54) ] /opt/sna/bin/snaprjelst: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.11.00.200 SNAplus2 R6 RJEJOB-LST (32 bit) ] (DART_45 : 99/03/25 22:37:42) ] /opt/sna/bin/snaprjepur: HP92453-02A.10.20 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ ]R6.11.00.200 SNAplus2 R6 RJEJOB-PUR (32 bit) ] (DART_45 : 99/03/25 22:38:52) ] /opt/sna/bin/snaprjestart: HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP 32) $Revision: 75.02 $ ]R6.11.00.202 SNAplus2 R6 RJE Workstation (32 bit) ] (PHNE_24342 : 01/09/18 12:13:43) ] SNAplus2-API.SNAP2-API64,fr=R6.11.00.200, fa=HP-UX_B.11.00_64,v=HP: /opt/sna/lib/libappc.1: ]R6.11.00.202 SNAplus2 R6 LU 6.2 Verb Library Routin es (32 bit over 64 bit kernel) ] (PHNE_22552 : 00/10/24 10:13:12) ] /opt/sna/lib/liblua.1: ]R6.11.00.202 SNAplus2 R6 LUA Verb Library Routines (32 bit over 64 bit kernel) ] (PHNE_20916 : 99/12/17 18:46:31) ] SNAplus2-API.SNAP2-API32,fr=R6.11.00.200, fa=HP-UX_B.11.00_32,v=HP: /opt/sna/lib/libappc.1: ]R6.11.00.202 SNAplus2 R6 LU 6.2 Verb Library Routin es (32 bit) ] (PHNE_22552 : 00/09/22 10:50:35) ] /opt/sna/lib/liblua.1: ]R6.11.00.202 SNAplus2 R6 LUA Verb Library Routines (32 bit) ] (PHNE_20916 : 99/12/17 18:37:01) ] SNAplus2-API.SNAP2-API,fr=R6.11.00.200, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/lib/libcov.1: ]R6.11.00.201 SNAplus2 R6 Control Operator Verbs (32 bit) ] (PHNE_20916 : 99/12/17 18:32:22) ] /opt/sna/lib/libcpic.1: ]R6.11.00.205 SNAplus2 R6 CPI-C Library Routines (32 bit) ] (PHNE_24342 : 01/10/02 12:28:22) ] /opt/sna/lib/pa20_64/libappc.1: ]R6.11.00.201 SNAplus2 R6 LU 6.2 Verb Library Routin es (64 bit) ] (PHNE_22552 : 00/10/24 10:15:10) ] /opt/sna/lib/pa20_64/liblua.1: ]R6.11.00.201 SNAplus2 R6 LUA Verb Library Routines (64 bit) ] (PHNE_20916 : 99/07/20 18:51:31) ] /opt/sna/include/tpsrv_c.h: None /opt/sna/lib/pa20_64/libcpic.1: ]R6.11.00.204 SNAplus2 R6 CPI-C Library Routines (64 bit) ] (PHNE_24342 : 01/10/02 13:06:36) ] SNAplus2-3270.SNAP2-NLS,fr=R6.11.00.200, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/bin/snap3270d.sjis: HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP 32) $Revision: 75.02 $ ]R6.11.00.210 SNAplus2 R6 3270 Emulator program - NL S (Japanese SJIS) (32 bit) ] (PHNE_22552 : 01/01/30 12:14:51) ] /opt/sna/bin/snap3270d.sjisui: HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP 32) $Revision: 75.02 $ ]R6.11.00.203 SNAplus2 R6 3270 User Interface progra m - NLS (Japanese SJIS) (32 bit) ] (PHNE_19613 : 99/10/27 11:07:49) ] SNAplus2-3270.SNAP2-3270,fr=R6.11.00.200, fa=HP-UX_B.11.00_32/64,v=HP: /opt/sna/bin/snap3270d: HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP 32) $Revision: 75.02 $ ]R6.11.00.213 SNAplus2 R6 3270 Emulator program - NL S (32 bit) ] (PHNE_24342 : 01/07/12 11:29:15) ] /opt/sna/bin/snap3270dui: HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP 32) $Revision: 75.02 $ ]R6.11.00.204 SNAplus2 R6 3270 User Interface progra m - NLS (32 bit) ] (PHNE_24342 : 01/07/12 11:34:17) ] /opt/sna/bin/X11/xsnap3179g: HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP 32) $Revision: 75.02 $ ]R6.11.00.214 SNAplus2 R6 3179G emulator - NLS (32 b it) ] (PHNE_24342 : 01/07/12 13:12:02) ] /opt/sna/bin/X11/xsnap3179gui: HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP 32) $Revision: 75.02 $ ]R6.11.00.205 SNAplus2 R6 3179G User Inteface Progra m - NLS (32 bit) ] (PHNE_24342 : 01/07/12 13:27:42) ] /opt/sna/bin/X11/xsnap3270d: HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP 32) $Revision: 75.02 $ ]R6.11.00.214 SNAplus2 R6 3270 Emulator program - Mo tif - NLS (32 bit) ] (PHNE_24342 : 01/07/12 11:51:12) ] /opt/sna/bin/X11/xsnap3270dui: HP92453-02A.11.00 HP-UX SYMBOLIC DEBUGGER (END.O ILP 32) $Revision: 75.02 $ ]R6.11.00.206 SNAplus2 R6 3270 User Interface progra m - Motif - NLS (32 bit) ] (PHNE_24342 : 01/07/12 12:01:52) ] /usr/newconfig/etc/opt/sna/lang3270.tbl: None cksum(1) Output: TN3270.TN3270,fr=R6.11.00.200,fa=HP-UX_B.11.00_32/64,v=HP: 291696347 693253 /opt/tn3270/sna_log.msg 1614026482 761712 /opt/tn3270/bin/tn3270 530530487 393072 /opt/tn3270/bin/tn3270ui 921896930 884592 /opt/tn3270/bin/X11/xtn3270 3386350728 556912 /opt/tn3270/bin/X11/xtn3270ui 4287619701 8464 /usr/newconfig/etc/opt/tn3270/lang3270.tbl SNAplus2-RJE.SNAP2-RJE,fr=R6.11.00.200, fa=HP-UX_B.11.00_32/64,v=HP: 2334900927 100048 /opt/sna/bin/rjesub 1252562889 75472 /opt/sna/bin/snaprjecan 1294496067 75472 /opt/sna/bin/snaprjelst 14479662 75472 /opt/sna/bin/snaprjepur 1464222670 561008 /opt/sna/bin/snaprjestart SNAplus2-API.SNAP2-API64,fr=R6.11.00.200, fa=HP-UX_B.11.00_64,v=HP: 4186690232 155648 /opt/sna/lib/libappc.1 1718826489 69632 /opt/sna/lib/liblua.1 SNAplus2-API.SNAP2-API32,fr=R6.11.00.200, fa=HP-UX_B.11.00_32,v=HP: 3902973887 151552 /opt/sna/lib/libappc.1 74993751 69632 /opt/sna/lib/liblua.1 SNAplus2-API.SNAP2-API,fr=R6.11.00.200, fa=HP-UX_B.11.00_32/64,v=HP: 2717933626 45056 /opt/sna/lib/libcov.1 3467932176 315392 /opt/sna/lib/libcpic.1 2664487858 104280 /opt/sna/lib/pa20_64/libappc.1 987537208 59384 /opt/sna/lib/pa20_64/liblua.1 3695577116 4622 /opt/sna/include/tpsrv_c.h 4179785701 183976 /opt/sna/lib/pa20_64/libcpic.1 SNAplus2-3270.SNAP2-NLS,fr=R6.11.00.200, fa=HP-UX_B.11.00_32/64,v=HP: 3393221113 675696 /opt/sna/bin/snap3270d.sjis 2053800260 393072 /opt/sna/bin/snap3270d.sjisui SNAplus2-3270.SNAP2-3270,fr=R6.11.00.200, fa=HP-UX_B.11.00_32/64,v=HP: 4250477085 675696 /opt/sna/bin/snap3270d 3560642626 397168 /opt/sna/bin/snap3270dui 2521483463 1089392 /opt/sna/bin/X11/xsnap3179g 3037755173 556912 /opt/sna/bin/X11/xsnap3179gui 2479208860 798576 /opt/sna/bin/X11/xsnap3270d 1168606897 556912 /opt/sna/bin/X11/xsnap3270dui 4287619701 8464 /usr/newconfig/etc/opt/sna/lang3270.tbl Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: For systems running HLLAPI, the defect fixes provided for JAG/SR Nos JAGad40346/8606171082, JAGad49181/8606179959, JAGad54056/8606184850 require that patch PHNE_22721 be installed with this patch to become effective. The enhancement (JAGad63608/8606194398) is built on top of several enhancement patches that were specifically created to introduce support for Euro symbol. The following list of patches are for this purpose and they or any of their respective superseding patches should be installed with this patch. PHCO_17316, PHCO_28112, PHCO_17318, PHCO_17514, PHCO_17513, PHSS_15852, PHSS_17419, PHSS_17420, PHSS_17422, PHSS_17421, PHSS_17535. Supersedes: PHNE_17271 PHNE_18953 PHNE_19613 PHNE_20916 PHNE_22552 Equivalent Patches: None Patch Package Size: 3570 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_24342 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHNE_24342.depot By default swinstall will archive the original software in /var/adm/sw/save/PHNE_24342. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false 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_24342.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHNE_24342.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHNE_24342.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: For support of Euro currency symbol in 3270 emulator, the following new configuration files are being delivered with this patch. /usr/newconfig/etc/opt/sna/lang3270.tbl /usr/newconfig/etc/opt/tn3270/lang3270.tbl In case the existing configuration files (/etc/opt/sna/lang3270.tbl and /etc/opt/tn3270/lang3270.tbl) have been modified, incorporate the modifications in the new configuration files. Replace the existing configuration files with the modified configuration files. If there are no modifications, copy /usr/newconfig/etc/opt/sna/lang3270.tbl and /usr/newconfig/etc/opt/tn3270/lang3270.tbl to /etc/opt/sna/lang3270.tbl and /etc/opt/tn3270/lang3270.tbl respectively.