• Print  |
  • Feedback  |

Knowledge Base


TS-531

How to set up VSE terminals for direct logon through VTAM

On VSE it is possible to have terminals autologin to SAS multiuser; however, the VTAM definitions will slightly vary from that which is described in the SAS installation guide. To get VTAM set up correctly to allow a site to define a terminal (or group of terminals) to be autologed for the SAS MultiUser system, there are two steps.


STEP 1:

In the local VTAM table (LBUILD table) that defines all of the local non-SNA terminals, you must add the following two lines to the definition of each terminal that you want to autolog to SAS :


           LOGAPPL=applid,
           LOGTAB=TABLE01,

Here is an example LTABLE definition. In this example terminal C06P1B3 will autolog to autolog to SAS.


   * $$ JOB JNM=C06N14,DISP=D,CLASS=0,PRI=3
   * $$ LST CLASS=V,DEST=(*,VSETVTAM)
   // JOB C06N14 CATALOG B TO PRD2.TSTFIG (VSETVTAM,ECHO=NO)
   // EXEC LIBR
    ACCESS SUBLIB=PRD2.VSEAPL
   CATALOG C06N14.B                     REPLACE=YES
   C06N14  LBUILD
   C06P1B0     LOCAL CUADDR=1B0,TERM=3277,                                *
                  ISTATUS=ACTIVE,                                         *
                  USSTAB=USSTAB00,                                        *
                  DLOGMOD=DB32782,                                        *
                  MODETAB=MTSDC,                                          *
                  FEATUR2=(NOEDATS,MODEL2)
                      .
                <<<  Snip  >>>
                      .
   C06P1B3     LOCAL CUADDR=1B3,TERM=3277,                                *
                  ISTATUS=ACTIVE,                                         *
                  DLOGMOD=DB32783,                                        *
                  LOGAPPL=SASVSE,                 <---   Here is the      *
                  LOGTAB=TABLE01,                 <---    change          *
                  MODETAB=MTSDC,                                          *
                  FEATUR2=(EDATS,MODEL2)
   C06P1B4     LOCAL CUADDR=1B4,TERM=3277,                                *
                      .
                <<<  Snip  >>>
                      .
   /+
    LIST C06N14.B
   /*
   /&
   * $$ EOJ

STEP 2:

The TABLE01 has to be reassembled to pick up the applid. Here again is an example of how to do this.


   * $$ JOB JNM=TABLE01,DISP=D,CLASS=0,PRI=3,LDEST=(*,VSENEW)
   * $$ LST CLASS=V
   // JOB TABLE01  (V41PROCS,ECHO=YES)
   // LIBDEF *,SEARCH=(PRD1.BASE,PRD2.CONFIG),TEMP
   // LIBDEF PHASE,CATALOG=PRD2.VSEV1B
   // OPTION CATAL
      PHASE TABLE01,*
   // EXEC ASSEMBLY
   TABLE01  INTAB
   SAS1     LOGCHAR APPLID=(APPLICID,SASVSE)
            ENDINTAB
            END TABLE01
   /*
   // EXEC LNKEDT
   /&
   * $$ EOJ

These two steps should enable you to have terminals directly logon to SAS Multiuser. For more information see the "Installation Instructions and System Manager's Guide for the SAS System under VSE". Refer to the section entitled "Define SAS as a VTAM Application". For further help please contact SAS Technical Support.