CA TPX Session Management for z/OS

Tuesday Tip: How to print any SMRT, not only the current one?

  • 1.  Tuesday Tip: How to print any SMRT, not only the current one?

    Posted 03-17-2015 10:04 AM

    If you need to get an overview of all SMRT settings then you can use the ACL SMRTPRT which we deliver in ‘hlq.CB0VSCRI’. Now that ACL goes through the SMRT panels and ‘prints’ them into the TPXLOG. From there you can review/copy them. But this ACL only selects the currently used SMRT, indicated by the string “STARTUP” in the “TPX System Options Table List”.

    What can be done if you want to “print” one of the other SMRT’s? That is easy and requires only one change in that ACL SMRTPRT:

     

    First, you need to access the list of SMRT’s in TPXADMIN, option 2, then option 1:

       ---------------------------------------------------------

                      TPX System Options Table List             

                                                                

        Command ===>                                            

                                                                

         System Options                                         

         Table                Last updated by   Userid          

         SMRTACF              02/03/15 04:52:59 USER01         

         SMRTBACK             05/20/14 04:52:59 USER01         

         SMRTTEST             11/25/14 07:53:19 USER01   STARTUP

         SMRTXA               07/29/13 06:14:40 TPXADMIN        

         SYSAPROD             07/29/13 06:14:53 TPXADMIN        

         SYSATEST             07/29/13 06:15:08 TPXADMIN        

         SYSBTEST             07/29/13 06:15:24 TPXADMIN        

        *********************** BOTTOM OF DATA ******************

     

    If your desired SMRT is located above the currently used SMRT, then remember the number of lines you have to go up from the current one. (Example: You want to print SMRTACF, then you need to go up two lines from the current SMRT SMRTTEST).

    If your desired SMRT is located below  the currently used SMRT, then remember the number of lines you have to go down from the current one. (Example: You want to print SYSATEST, then you need to go down three lines from the current SMRT SMRTTEST).

     

    Now create a copy of the ACL SMRTTEST and locate this block in the ACL:

     

    SELSTRT    WAIT      1              * Waits for screen         

               SET       CURSOR,'&LOC'  * Places cursor at 'STARTUP'

               TABB      1              * Tabs back to option table

               KEY       'S'            * Selects that option table

               ENTER                    * Sends the selection      

     

    Behind the command TABB   1 you insert a new line and put command    UP   2 or    DOWN   3 there:

     

    SELSTRT    WAIT      1              * Waits for screen         

               SET       CURSOR,'&LOC'  * Places cursor at 'STARTUP'

               TABB      1              * Tabs back to option table

              DOWN      3              * Go down to desired SMRT

               KEY       'S'            * Selects that option table

               ENTER                    * Sends the selection      

     

    Reload that ACL and execute it: You will find that SMRT printed in the TPXLOG!