z/OS DFSMS Implementing System-Managed Storage
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Creating ACS Test Cases

z/OS DFSMS Implementing System-Managed Storage
SC23-6849-00

Recommendation: Allocate a PDS for the ACS test cases.

  1. Enter a 7 (Automatic Class Selection) on the ISMF Primary Option Menu to view the ACS Application Selection panel, shown in Figure 1.
    Figure 1. Creating ACS Test Cases
       Panel  Utilities  Help
     ------------------------------------------------------------------------------
                               ACS APPLICATION SELECTION
     Command ===>
    
     Select one of the following options:
     4  1. Edit            - Edit ACS Routine source code
        2. Translate       - Translate ACS Routines to ACS Object Form
        3. Validate        - Validate ACS Routines Against Storage Constructs
        4. Test            - Define/Alter Test Cases and Test ACS Routines
        5. Display         - Display ACS Object Information
        6. Delete          - Delete an ACS Object from a Source Control Data Set
    
    
    
     If Display Option is Chosen, Specify:
    
       CDS Name  . . 'YOUR.OWN.SCDS'
                                    (1 to 44 Character Data Set Name or 'Active')
    
    
    
     Use ENTER to Perform Selection;
     Use HELP Command for Help; Use END Command to Exit.
  2. Enter a 4 (Test) to view the ACS Test Selection panel, shown in Figure 2.
    Figure 2. Defining ACS Test Cases
       Panel  Utilities  Help
     ------------------------------------------------------------------------------
                                   ACS TEST SELECTION
     Command ===>
    
     Select one of the following Options:
    
       1  1. DEFINE      - Define an ACS Test Case
          2. ALTER       - Alter an ACS Test Case
          3. TEST        - Test ACS Routines
    
    
     If DEFINE or ALTER Option is Chosen, Specify:
    
       ACS Test Library . . USER6.TEST.DATA
       ACS Test Member  . . ONCE1
    
    
    
    
    
    
     Use ENTER to Perform Selection;
     Use HELP Command for Help; Use END Command to Exit.
  3. Type in the name of the PDS containing the ACS test case data in the ACS Test Library field. In this example, the data set name is USER6.TEST.DATA. Type in the name of the particular library member containing the test case in the ACS Test Member field. You can type in one test case per member.
    Enter a 1 to view the first page of the ACS Test Case Define panel, as shown in Figure 3.
    Figure 3. ACS Test Case Define Panel, Page 1 of 4
      Panel  Utilities  Scroll  Help                                              
    ------------------------------------------------------------------------------
                                ACS TEST CASE DEFINE                Page 1 of 4   
    Command ===>                                                                  
                                                                                  
    ACS Test Library  : USER6.TEST.DATA                                           
    ACS Test Member . : ONCE1                                                     
                                                                                  
    To DEFINE ACS Test Case, Specify:                                             
      Description ==>                                                             
      Expected Result                                                             
      DSN (DSN/Collection Name) . .                                               
      MEMN (Object Name)  . . . . .                                               
      Sysname . . .           Xmode . . . .             Def_dataclas  . .         
      Sysplex . . .           ACSenvir  . .             Def_mgmtclas  . .         
      DD  . . . . .           Dataclas  . .             Def_storclas  . .         
      Dsorg . . . .           Mgmtclas  . .             Dsntype . . . . .         
      Recorg  . . .           Storclas  . .               If Ext  . . . .         
      Dstype  . . .           Storgrp . . .             Seclabel  . . . .         
      Dsowner . . .           Size  . . . .             Space_Type  . . .         
      Expdt . . . .           Maxsize . . .             Second_Qty  . . .         
      Retpd . . . .           Blksize . . .                                       
    Use ENTER to Perform Verification; Use DOWN Command to View next Panel;       
    Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.  

    ACS Test Library and ACS Test Member are output fields containing the values that you specified on the ACS Test Selection panel (see Figure 2). Description is an optional field of 120 characters that you can use to describe the test case.

  4. Specify the appropriate values. The following are sample values for your use:
    • DSN: STGADMIN.TEST.TEMPDATA
    • DD: SORTWK1
    • Dsorg: PS
    • Dstype: TEMP
    • Xmode: BATCH
    • ACSenvir: ALLOC
    • MAXSIZE: 400000
    Leave the remaining fields blank and scroll down to view the second page of the ACS Test Case Define panel, shown in Figure 4.
    Figure 4. ACS Test Case Panel, Page 2 of 4
       Panel  Utilities  Scroll  Help
     ------------------------------------------------------------------------------
                                 ACS TEST CASE DEFINE                Page 2 of 4
     Command ===>
    
     ACS Test Library  : USER6.TEST.DATA
     ACS Test Member . : ONCE1
    
     To DEFINE ACS Test Case, Specify:
       Job  . . . . . STGADM01  Pgm . . . . .             Vol . . . . .
       Group  . . . . SYSADMIN  Applic  . . .             Unit  . . . . 3390
       User . . . . .           Nvol  . . . .             
       Acct_job  ===>
                 ===>
                 ===>
       Acct_step ===>
                 ===>
                 ===>
       Label  . . . .
       Filenum  . . .
       Libname  . . .
    
     Use ENTER to Perform Verification; Use UP/DOWN Command to View other Panels;
     Use HELP Command for Help; Use END Command to Save and Exit; CANCEL to Exit.

    ACS Test Library and ACS Test Member are output fields containing the values that you specified on the ACS Test Selection panel (see Figure 2).

  5. Specify STGADM01 in the JOB field, SYSADMIN in the GROUP field, and 3390 in the UNIT field. Leave the remaining fields blank.

    Press Enter to perform the verification. Enter the END command to return to the ACS Test Selection panel (see Figure 2).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014