Fellow Scripters,

   We are running z/OS V1R13 and IBM Session Manager (ISM) 3.100B.  Currently 
there is an OPEN APAR PM86725 regarding using the wrong logmode for mod 5 
terminals.  The users are complaining it takes too long to logon so I have been 
looking at our TSO LOGON script and I have a few questions.  I do not see 
anything in our scripts checking if t_model is set to "5".  But I am seeing a 
difference between SNA and NON-SNA.  Years ago there was real 3270 CUT, DFT 
etc.  I guess I look at the session manager like my old NCR/COMTEN NCP.  The 
remote network was SNA and the host was not.  SRM resided in an NCR Comten 
Communications Processor (CP) where it performs switching functions that allow 
BSC and SNA 3270 devices to communicate selectively with any of up to 31 
different host access methods.  Currently terminals bind to the session manager 
from TN3270 which can be SNA or not.  Once at the session manager main screen 
you can select your logmode to the application which can be SNA or not.  I 
mainly use D4A32793 which is SNA.  I can also use D4B32793 which is not SNA.  
The application works fine with the terminal and I don't see a difference 
between the logmodes when binding to the application.  Here is what we have in 
our TSO LOGON script:

   First part of current script - Enter our userid:
      Domax 10 appltime 10
      Do until found
         Waitappl
         If noresp
            Let t_message = 'Timed out - User prompt'
            Endsess
            Return
      End
      Outscan 'ENTER'
      End

   The next section is supposedly required for NON-SNA for a write to restore 
the keyboard:
         If s_sna = 'N'
            Waitappl
         End
      Input sba 2 1 text t_user
         Key enter

I don't see any examples in the book regarding "S" for ACTIVE SNA sessions or 
"N" for ACTIVE NON-SNA sessions.  A WAITAPPL is getting output from the APPL.

Q).  Do I need this Waitappl for NON-SNA sessions?



The First part (above) entered the TSO userid.  The second part (not shown) is 
just like the First part except it enters the password and does an outscan for 
'TSO/E LOGON'.  The next section has code for both SNA and NON-SNA.  I assume 
the pause is for the operator to see the screen.  The users are complaining 
about slow response time so I was going to remove it.

   Do until found
      If s_sna = 'S'
         Waitappl DISPLAY
         Pause 2
      Else
         Waitappl
      End
      If noresp
         Endsess
         Return
      End
      ......(other code) ........
   End

    So for ACTIVE NON-SNA sessions I once again do a waitappl.  But what's 
different is for ACTIVE SNA sessions.  For these I see a waitappl DISPLAY and a 
pause.  The waitappl is the last waitappl so it will default to DISPLAY.

Q).  Why do I need a waitappl for both the ACTIVE SNA and ACTIVE NON-SNA 
sessions when in the First part (above) we only do a waitappl for ACTIVE 
NON-SNA sessions?



      Have a great weekend,  Dave




----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to