IBM Support

"Cursor not in choice" when logging onto TSO using IBM Session Manager and cursor is placed on screen incorrectly

Question & Answer


Question

I am using IBM Session Manager for z/OS (ISM) V3.1 running on z/OS V2.1 and V2.2. When I select one of my TSO sessions the cursor ends up in the upper left corner on the ISPF pull down menu and I receive the ISPF short message "Cursor not in choice": alt text

When I stop Session Manager and logon to the native TSO appl, the cursor is placed on option line. This is the correct placement on the ISR@PRIM primary ISPF menu with the command line set to be at the top.

I inherited this product and will upgrade to IBM CL/SuperSession in the future. I have multiple sysplexes where this is installed. This software works in one sysplex but receives this error in the other sysplex. The identical product libraries are in both. I have no clue what local option could control the cursor. This has been doing this for a long time. It was noticed when we installed z/OS 2.2, but as I said it occurs on the z/OS 2.1 systems.

Answer

The following STARTSCRIPT for this TSO APPL was being used:

 ***** COMPUTER GENERATED FILE - DO NOT EDIT ***** Created by ISZ
 Enabler tool
 * VERSION 1
 * CREATED BY ISZSMGR ON 08/07/08 AT 15:40:06
 * UPDATED BY FOR RACF TSO
 SCRIPT TSOSGON
    if uc_manuell = 'YES'  then
      let uc_manuell = 'NO'
      return
    end
           APPLTIME 35
           waitappl
           Usermsg text 'TSO Logon in process, please wait'
           INPUT KEY no sba 06 20 text t_user
           Input Key enter
           waitappl
           INPUT KEY no sba 08 20 text t_pass
    Input key enter
  do until found
     waitappl
     if noresp
        let t_message = "Timed out waiting for '***' prompt"
        endsess
        return
     end
     outscan 'IKJ56425I'                     /* userid on
     if found
        return                            /* end script
     end
     outscan '***'                    /* case dependent
 end
 input key enter
     waitappl
 input key enter

The last "input key enter" in the STARTSCRIPT allows the CURSOR parameter to default to row 1 column 1. To fix this problem:

  1. Remove the last 2 lines with "waitappl" and "input key enter"

  2. Save the changes and enter ISM command PUPDATE USCRIPT TSOSGON

  3. Select the TSO session from the menu

Bill Bulfin
IBM Level2 Support

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSBTJX","label":"IBM Session Manager"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"","Version":"","Line of Business":{"code":"","label":""}}]

Product Synonym

ISM

Document Information

Modified date:
07 June 2017

UID

dwa1379819