How to recover after Delete of current ACT or SMRT in use by TPX?
search cancel

How to recover after Delete of current ACT or SMRT in use by TPX?

book

Article ID: 73529

calendar_today

Updated On:

Products

TPX - Session Management Vman Session Management for z/OS

Issue/Introduction

I deleted the active ACT member (marked STARTUP) within TPXADMIN. 
How can I recover?

Environment

TPX for z/OS

Cause

User error.  There is a delete confirmation within TPXADMIN which should not taken lightly.

Resolution

This should not be an immediate problem since the ACT and SMRT are loaded into memory at startup, so TPX still has access to that data until the started task is cycled or ACT/SMRT is reloaded in TPXOPER.

  • If you have a backup entry in the ACT or SMRT, then recreate the original and copy into it from the backup.
  • If you do not have a backup entry in the ACT or SMRT, the only option is to restore ADMIN1 from a backup of TPX VSAM file after stopping TPX.


ACT and SMRT records are located in ADMIN1. (See docops TPX 5.4 Record Type Information).

A good practice is to make a backup copy of the active ACT (and SMRT) within TPXADMIN. Then if there is ever the need to fall back, you can copy from the backup table into current. Similarly, any time you are making changes to the ACT or SMRT, the first step should be to make a backup within the table.

To create a copy of your ACT or SMRT within TPXADMIN, Systems Options, either SMRT or ACT:
 

1. Optional Create a new table, if necessary: on the command line ==> S ACT01BK and press <enter>. (Use whatever table entry name you want in place of ACT01BK)




                  TPX Application Characteristics Table List                   
                                                            Panelid  - TEN0091 
 Command ===> s act01bk                                     Userid   -
                                                            Termid   -
   Application                                              Date     -
   Characteristics                                          Time     -
   Table             Last Updated by   Userid                                  
   ACTTEST           06/22/92 12:33:56 TPXADMIN                                
   ACT01             02/02/18 15:16:36 TPXADMIN STARTUP      
   SYSAPROD          06/22/92 12:36:46 TPXADMIN                                
   SYSATEST          06/22/92 12:37:08 TPXADMIN                                
   SYSBTEST          06/22/92 12:37:27 TPXADMIN                                
******************************** BOTTOM OF DATA *******************************




                 TPX Application Characteristics Table Entry List      
Panelid - TEN0092
Command ===> Userid -
Termid -
Application Characteristics Table: ACT01BK <New> Date -
Time -
Default Default
Applid Sessid Application description Session key
TPXADMIN TPX Administration PF __
...
******************************** BOTTOM OF DATA *******************************


2. Use the Copy command to copy from the original table entry into the backup and press <enter> then PF3 to save.


                 TPX Application Characteristics Table Entry List             
                                                           Panelid  - TEN0092 
Command  ===> copy act01                                   Userid   -
                                                           Termid   -
 Application Characteristics Table: ACT01BK  <New>         Date     -
                                                           Time     -
           Default                                      Default               
 Applid    Sessid    Application description          Session key             
 TPXADMIN           TPX Administration                   PF __                
...
******************************* BOTTOM OF DATA *******************************




                  TPX Application Characteristics Table Entry List             
MENA8017 ACT01 copied                                       Panelid  - TEN0092 
 Command  ===>                                              Userid   -
                                                            Termid   -
  Application Characteristics Table: ACT01BK  <New>         Date     -
                                                            Time     -
            Default                                      Default               
  Applid    Sessid    Application description          Session key             
  TPXADMIN           TPX Administration                   PF __                
  TSO1 TSO1 PF __
  ...
PF1=Help    PF3=End    PF4=Return   PF7=Up   PF8=Down   "CANCEL" cancel       




                  TPX Application Characteristics Table List                   
MENA8005 Table ACT01BK saved                                Panelid  - TEN0091 
 Command ===>                                     Userid   -
                                                            Termid   -
   Application                                              Date     -
   Characteristics                                          Time     -
   Table             Last Updated by   Userid                                  
   ACTTEST           06/22/92 12:33:56 TPXADMIN                                
   ACT01             02/02/18 15:16:36 TPXADMIN STARTUP      
   ACT01BK          03/01/18 12:36:46 TPXADMIN                        
   SYSAPROD          06/22/92 12:36:46 TPXADMIN                                
   SYSATEST          06/22/92 12:37:08 TPXADMIN                                
   SYSBTEST          06/22/92 12:37:27 TPXADMIN                                
******************************** BOTTOM OF DATA *******************************