Defining transactions using BAS

To reate a transaction definition:

  1. Issue the create primary (CREate) or line (CRE) action command from the TRANDEF view.
  2. Fill in the fields on the first transaciton definition panel (see Figure 101):
    Figure 101. Creating a transaction definition - Page 1
     COMMAND  ===>
      Name         ===>           Version ===> 0
      Description  ===>
      RESGROUP     ===>
      User Data    ===>
     
      Program      ===>           Name program to process transaction
      Twasize      ===> 0         Transaction work area size (0-32767, blank)
      Profile      ===> DFHCICST  Profile definition name
      Partitionset ===>           Application partition set (name, KEEP, OWN)
      Status       ===> ENABLED   Transaction status (ENABLED, DISABLED)
      Taskdataloc  ===> BELOW     Task storage location (BELOW, ANY)
      Taskdatakey  ===> USER      Task storage key (USER, CICS)
      Storageclear ===> NO        Clear task life-time storage (YES, NO)
      Runaway      ===> SYSTEM    Max tasktime (SYSTEM, 0-2700000, blank)
      Shutdown     ===> DISABLED  Status during shutdown (DISABLED, ENABLED)
      Isolate      ===> YES       Isolate user storage (YES, NO)
     
     
     Press ENTER to create TRANDEF.
     Enter UP or DOWN to view other screens.
     Type END or CANCEL to cancel without creating.
  3. To add the transaction definition to the data repository, press Enter. To continue creating a transaction definition, issue the DOWN command. Otherwise, issue one of the commands available from this panel.
  4. Fill in the fields on the second transaction definition panel (see Figure 102):
    Figure 102. Creating a transaction definition - Page 2
     COMMAND ===>
      Name              ETVP         Version ===> 0 
    
    Dynamic      ===> NO           Dynamic route to remote region (NO, YES)
      Remotename   ===>              Transaction name in remote system
      Remote Sysid ===>              Connection name to remote system
      Trprof       ===> DFHCICSS     Transaction routing profile name
      Localq       ===> N/A          Queuing on local system (NO, YES, N/A)
      Priority     ===> 1            Transaction priority (0-255, blank)
      Tranclass    ===> DFHTCL00     Transaction class (DFHTCL00, name)
      Alias        ===>              Alias name for transaction
      Taskreq      ===>              Transactions initiation
      Xtranid      ===>              Alternate name for initiating transaction
      Ressec       ===> NO           Resource security checking (NO, YES)
      Cmdsec       ===> NO           Sec checking for sys prog cmds (NO, YES)
      Action       ===> BACKOUT      Recovery action (BACKOUT, COMMIT)
      Wait         ===> YES          In-doubt unit of work wait (YES, NO)
      Waittime     ===> 0  , 0  , 0  In-doubt unit of work wait time (blank,
                                        DD (0-93), HH (0-23), MM (0-59))
     
     Press ENTER to create TRANDEF.
     Enter UP or DOWN to view other screens.
     Type END or CANCEL to cancel without creating.
  5. To add the transaction definition to the data repository, press Enter. To continue creating a transaction definition, issue the DOWN command. Otherwise, issue one of the commands available from this panel.
  6. Fill in the fields on the third transaction definition panel (see Figure 103):
    Figure 103. Creating a transaction definition - Page 3
     COMMAND ===>
      Name              ETVP      Version ===> 0
    
      Dtimeout     ===> NO        Apply deadlock time-out (NO, 1-6800, blank)
      Indoubt      ===> BACKOUT   Abend action (BACKOUT, COMMIT, WAIT)
      Restart      ===> NO        Transaction restart facility (NO, YES)
      Spurge       ===> NO        System purgeable (NO, YES)
      Tpurge       ===> NO        Purged for terminal error (NO, YES)
      Dump         ===> YES       Produce transaction dump (YES, NO)
      Trace        ===> YES       Trace transaction activity (YES, NO)
      Confdata     ===> NO        User data trace suppression (YES, NO)
      TPname                      Transaction name for APPC partner
                   ===>
                   ===>
      XTPname                     Alternative TPname
                   ===>
                   ===>
                   ===>
                   ===>
     
     Press ENTER to create TRANDEF.
     Enter UP or DOWN to view other screens.
     Type END or CANCEL to cancel without creating.
  7. To add the transaction definition to the data repository, press Enter. To continue creating a transaction definition, issue the DOWN command. Otherwise, issue one of the commands available from this panel.
  8. Fill in the fields on the fourth transaction definition panel (see Figure 104):
    Figure 104. Creating a transaction definition - Page 4
     COMMAND ===>
      Name              ETVP      Version ===> 0
     
      Brexit         ===>         Name of bridge exit
     
      Tclass       ===> NO        Task class (NO, 1-10, blank)
      PrimedSize   ===> 0         Primed storage allocation size (0-65520, blank)
      Extsec       ===> NO        External security manager used (NO, YES, N/A)
      Transec      ===> 1         Transaction security value (1-64, blank)
      Rsl          ===> 0         Resource security value (0-24, PUBLIC, blank)
      Routable     ===> NO        Routable (NO, YES)
      OTSTimout    ===> NO        OTS Transaction timeout (NO, 0-240000, HHMMSS)
     
     Press ENTER to create TRANDEF.
     Enter UP or DOWN to view other screens.
     Type END or CANCEL to cancel without creating.
  9. To add the transaction definition to the data repository, press Enter. Otherwise issue one of the other commands available from this panel.

Related concepts
Transaction resource definitions
CICS® Resource Definition Guide
Related tasks
Accessing BAS transaction definitions
Working with the TRANDEF view
Installing BAS transaction definitions
CICS Resource Definition Guide
CICS Resource Definition Guide
CICS System Programming Reference
Related reference
Transaction definition attributes
[[ Contents Previous Page | Next Page Index ]]