Creating a resource definition

To create a map set definition:
  1. To create a new resource definition, type:
    DEFINE
    See Using abbreviations for information on abbreviating commands. Press the Enter key. You see the panel shown in Figure 1.
    Figure 1. CEDA DEFINE panel
     DEFINE
     ENTER ONE OF THE FOLLOWING
    CONnection   Requestmodel   
    CORbaserver  Sessions       
    DB2Conn      TCpipservice   
    DB2Entry     TDqueue        
    DB2Tran      TErminal       
    DJar         TRANClass      
    DOctemplate  TRANSaction    
    Enqmodel     TSmodel        
    File         TYpeterm       
    Journalmodel                
    Lsrpool                     
    Mapset                      
    PARTItionset                
    PARTNer                     
    PROCesstype                 
    PROFile                     
    PROGram                     
     
                                           SYSID=CICA APPLID=MYCICS
     
    PF 1 HELP      3 END           6 CRSR           9 MSG         12 CNCL

    This is a list of all the resource types you can define for CICS® using CEDA. The PF keys are described in Using the PF keys.

  2. To create a map set definition, after DEFINE, type
    MAPSET(NEW1) GROUP(AAA1)
    The panel in Figure 2 is displayed.
    Figure 2. CEDA DEFINE MAPSET panel
     DEFINE MAPSET(NEW1) GROUP(AAA1)
     OVERTYPE TO MODIFY                                 CICS RELEASE = 0620
      CEDA  DEFine Mapset( NEW1     )
       Mapset         : NEW1
       Group          : AAA1
       Description  ==>
       REsident     ==> No                 No ∨ Yes
       USAge        ==> Normal             Normal ∨ Transient
       USElpacopy   ==> No                 No ∨ Yes
       Status       ==> Enabled            Enabled ∨ Disabled
       RSl            : 00                 0-24 ∨ Public
     
     
     
     
      I New group AAA1 created.
                                                   SYSID=CICA APPLID=MYCICS
      DEFINE SUCCESSFUL               TIME:  14.03.13  DATE: 97.087
    PF 1 HELP 2 COM 3 END      6 CRSR 7 SBH 8 SFH 9 MSG 10 SB 11 SF 12 CNCL

    The whole command (DEFINE MAPSET(NEW1) GROUP(AAA1)) remains at the top of the screen. You must specify a group name for every resource you want to define or work with; if you do not, CEDA displays a severe error message informing you that you have not supplied a group.

    The main part of the screen shows the attributes of the MAPSET that you have just defined. All the attributes and values that you see are described in MAPSET definition attributes; initially, the CEDA screen shows the default value (or the required value) for each attribute.

  3. Press PF3 to exit CEDA. The panel shown in Figure 3 is displayed.
    Figure 3. SESSION ENDED panel
    CEDA DEFINE MAPSET(NEW7) GROUP(AAA1)
     STATUS:  SESSION ENDED
To create a transaction definition:
  1. Clear the screen and start the CEDA transaction.
  2. Create a transaction definition. You do not have to step through all the panels are you did when you created the map set definition. You can type the whole command on the CEDA initial panel. Type:
    DEFINE TRANSACTION(XYZ1) PROGRAM(XYZ2) GROUP(AAA2)
    A panel similar to Figure 4 is displayed.
    .
    Figure 4. CEDA DEFINE TRANSACTION panel
     OVERTYPE TO MODIFY                                 CICS RELEASE = 0620
      CEDA  DEFine TRANSaction( XYZ1 )
       TRANSaction    : XYZ1
       Group          : AAA2
       DEscription  ==>
       PROGram      ==> XYZ2
       TWasize      ==> 00000              0-32767
       PROFile      ==> DFHCICST
       PArtitionset ==>
       STAtus       ==> Enabled            Enabled ∨ Disabled
       PRIMedsize     : 00000              0-65520
       TASKDATALoc  ==> Below              Below ∨ Any
       TASKDATAKey  ==> User               User ∨ Cics
       STOrageclear ==> No                 No ∨ Yes
       RUnaway      ==> System             System ∨ 0-2700000
       SHutdown     ==> Disabled           Disabled ∨ Enabled
       ISolate      ==> Yes                Yes ∨ No
       Brexit       ==>
      REMOTE ATTRIBUTES
    +  DYnamic      ==> No                 No ∨ Yes
       I New group AAA2 created
                                                      SYSID=CICA APPLID=MYCICS
      DEFINE SUCCESSFUL              TIME:  16.47.45  DATE: 97.088
    PF 1 HELP 2 COM 3 END        6 CRSR 7 SBH 8 SFH 9 MSG 10 SB 11 SF 12 CNCL
    You must specify a PROGRAM whenever you define a new TRANSACTION; if you do not, CEDA displays a severe error message saying that you must specify either a PROGRAM or REMOTESYSTEM. The attributes of the TRANSACTION definition are described in TRANSACTION definition attributes.

    You can see that the TRANSACTION definition has many more attributes than the MAPSET definition. The plus sign (+) to the left of the last attribute in the list means that there are more attributes, so you can use either PF8 or PF11 to scroll down through them, then PF7 or PF10 to scroll back up. See Using the PF keys.

    You now have two new resources to work with: a MAPSET in group AAA1, and a TRANSACTION in group AAA2. These resources are used throughout the remainder of the tutorial to demonstrate the other CEDA commands.

  3. Press PF3 to exit CEDA.