Space announcement This documentation space provides the same content as before, but the organization of the content has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

Commands for all DDIO files


This topic provides a detailed description of the commands available for existing all DDIO files, including valid command abbreviations and the parameters allowed for each command. With the exception of specifying REPTNUMBER, you can enter more than one parameter with a command. If REPTNUMBER is specified, all other selective parameters are ignored.

ATTACH (ATT)

The ATTACH command connects a database to a shared directory and populates the shared directory with entries from the database. A database must be attached to a shared directory before it can be used.

The following illustrates the syntax for the ATTACH command.

+--- ATTACH Command --------------------------------------------------------+
¦ ¦
¦ +-DDName=ABNLDFIL---------+ ¦
¦ >>--ATTach--+-DIRDD=ddname--+-,-+-------------------------+-->< ¦
¦ +-DIRDSN=dsn----+ +-DDName=ddname-----------+ ¦
¦ +-DSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
+---------------------------------------------------------------------------+

For a description of each parameter, see Command Parameter for all DDIO files.

Example

Attach a Source Listing Database to a shared directory.

ATTACH DSN=COMPWARE.LP.SOURCE.LISTING.LPDB01,
       DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR

If an error occurs during the ATTACH process, when adding members into the shared directory, the database will set attach in progress (will show on a DIRX), and the shared directory may contain entries for only some (but not all) of the database members. If the problem cannot be solved by another attempt to ATTACH, then run DETACH on the database to clear the ATTACH setting and remove entries added during the ATTACH process.

CHANGE (CHG)

The CHANGE command performs the following tasks:

  • It changes the AUTODELETE attribute of a database.
  • It changes or sets the AUTOLOCKMAX and/or DUPMAX source duplicate-control parameters in the shared directory.
  • It changes the attributes of a previously-defined DBMODEL in a specified source shared directory.

Change Command – Database AUTODELETE Attributes

The following illustrates the syntax for the CHANGE command, AUTODELETE attribute. The AutoDelete=STAGED attribute is only valid for a source database.

+--- CHANGE Command --------------------------------------------------------+
¦ ¦
¦ +-DDName=ABNLDFIL------------+ ¦
¦ >--CHanGE---+----------------------------+,-->--+-AutoDelete=Yes----+-->< ¦
¦ +-DDName=ddname--------------+ +-AutoDelete=DUPS---+ ¦
¦ +-DSN=dsn--------------------+ +-AutoDelete=NO-----+ ¦
¦ +-VOLser=volser----+ +-AutoDelete=STAGED-+ ¦
¦ +-DIRDD=ddname---------------+ ¦
¦ +-DIRDSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
¦ ¦
+---------------------------------------------------------------------------+

If AUTOLOCKMAX has been set to a value 1 - 99 in the associated shared directory (via CREATE/CHANGE) and you are attempting to change the database AD setting to NO or YES, you will receive an error message and RC=8. You must first set AUTOLOCKMAX to NO.

For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Change the AUTODELETE attribute of a transaction report database from AUTODELETE=NO to AUTODELETE=YES.

CHANGE DSN=COMPWARE.AACICS.SERVER1.TRANDB01,AD=YES


Change Command - Change Shared Directory autolock and duplicate-control attributes AUTOLOCKMAX & DUPMAX

The following diagram illustrates the syntax for the CHANGE command AUTOLOCKMAX and/or DUPMAX attributes, used to set the compile-time duplicate-member handling for source shared directory members.

+--- CHANGE Command ----------------------------------------------------+
¦ ¦
¦ >--CHanGE--OBJect=SHRDIR,-+-DDName=ddname----------------+,-->     ¦
¦ +-DSN=dsn,---+---------------+-+ ¦
¦ +-VOLser=volser-+ ¦
¦ +----------------------+,+-----------------+--->                      ¦
¦ +-AutoLockMAX=NO-------+ +-DUPMAX=NO-------+ ¦
¦ +-AutoLockMAX=nn-------+ +-DUPMAX=nn-------+ ¦
+-----------------------------------------------------------------------+

When setting the AUTOLOCKMAX and/or DUPMAX parameters for compile-time control, you may also want to run the REFRESH utility function using these same settings to do a one-time adjustment of all duplicate source members within the shared directory.

For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example 1
Example

Change (or set) the AUTOLOCKMAX value to 2 and change (or set) the DUPMAX value to 4 in the specified shared directory.

CHANGE DSN=COMPWARE.SOURCE.SHRDIR,ALMAX=2,DUPMAX=4

Example 2
Example

Turn off the DUPMAX setting in the shared directory. (Any AUTOLOCKMAX value already set will remain unchanged).

CHANGE DSN=COMPWARE.SOURCE.SHRDIR,DUPMAX=NO


CHANGE Command – DBMODEL Attributes

This CHANGE syntax diagram illustrates the syntax for allocating and formatting a new Source Listing Database.


+-- CHANGE Command - DBMODEL Attributes---------------------------------+
¦ (1) (2) ¦
¦>-CHanGe--+OBJect=DBMODEL-+-,-+-DIRDD=ddname-+-,-DSN=dbmodelname,-->   ¦
¦ +-DIRDSN=dsn---+     ¦
¦ ¦
¦>+AM=VSAM,+---------------+,+------------------+,--> ¦
¦ ¦ +RECords=nnnn---¦ ¦ +CISIZE=18432-+             ¦ ¦
¦ ¦ +TRacKS=nnnn----¦ +-+-------------+--+          ¦    ¦
¦ ¦ +CYLinders=nnnn-+ ¦ +CISIZE=nnnn--+             ¦ ¦
¦ ¦ ¦ +BLKsize=18425-+ ¦ ¦
¦ ¦ +-+--------------+-+                            ¦     ¦
¦ ¦ +BLKsize=nnnn--+         ¦     ¦  
¦ ¦             ¦     ¦
¦ ¦ +-GroupCount=3-+ ¦             ¦
¦ ¦ >-+----------------+-,-+--------------+-,------+,--> ¦
¦ ¦ +-VSAMCAT=ddname-+-,-+-GroupCount=nn+ ¦ ¦
¦ ¦ ¦¦
¦ ¦ +-UNIT=SYSDA----+                               ¦ ¦
¦ +AM=BSAM,-+----------------+,+---------------+,-->¦ ¦
¦ +-TRacKS=nnnn----¦ +-UNIT=xxxxxxxx-+         ¦ ¦
¦ +-CYLinders=nnnn-+                                ¦                 ¦
¦ ¦             ¦    ¦
¦ +-BLKsize=27998-+ +-GroupCount=2--+               ¦ ¦
¦ >-+---------------+,-+---------------+-------+¦,--> ¦
¦ +-BLKsize=nnnn--+ +-GroupCount=nn-+ ¦
¦ ¦
¦>+-----------+-,-+------------------+-,-+-------------------+,--> ¦
¦ +-MODEL=dsn-+ +MGMTCLAS=xxxxxxxx-+ +-STORCLAS=xxxxxxxx-+ ¦
¦ ¦
¦ +-ReptCount=100--+ ¦
¦>+-------------------+-,-+----------------+-,-TYPE=SOURCE,--> ¦
¦ +-DATACLAS=xxxxxxxx-+ +-ReptCount=nnnn-+ ¦
¦ ¦
¦ +-AutoDelete=YES----+ +-EXTENTS=460--+ +-DYNCREATE=NO--+ ¦
¦>+-------------------+-,-+--------------+-,-+---------------+-->< ¦
¦ +-AutoDelete=DUPS---¦ +-EXTENTS=nnn--+ +-DYNCREATE=YES-+ ¦
¦ +-AutoDelete=NO-----+ ¦
¦ +-AutoDelete=STAGED-+ ¦
+-----------------------------------------------------------------------+


Important

  1. The DIRDD parameter (or DIRDSN) specifies the name of the shared directory to which the DBMODEL is attached.
  2. The "dbmodelname" used here specifies the name to be created for the new Source Listing Database. It consists of literals and/or symbolic tokens that will generate the final DSN name at creation time. Remember, the total of generated characters plus separator periods must not exceed 44. See the DSN parameter description for more detail.

For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Change one or more of the DBMODEL attributes for creating a new Source Listing Database in the specified Source Listing Shared Directory, including turning the DYNCREATE feature on or off.

Change DSN name to be created with date and time included, use VSAM, and set for DUPS:

CHANGE OBJECT=DBMODEL,
DSN=COMPWARE.LP.SOURCE.&DATE.&TIME, AD=DUPS,AM=VSAM,DIRDSN=COMPWARE.LP.SHRDIR

Turn DYNCREATE off for this DBMODEL:

CHANGE OBJECT=DBMODEL,
DIRDSN=COMPWARE.LP.SHRDIR,DYNCREATE=NO

CONVERT (CNVT)

The CONVERT command changes the internal format of an existing standard DDIO source file or report file (specified in the DDNAME or DSN parameter) to that of a Source Listing Database or Report Database format. It also performs the ATTACH function on the file, attaching it to an existing shared directory, specified by the DIRDD or DIRDSN parameter.

The following diagram illustrates the syntax for the CONVERT command.

+--- CONVERT Command -------------------------------------------------------+
¦ ¦
¦ +-DDName=ABNLDFIL---------+ ¦
¦ >>--CoNVERT--+-DIRDD=ddname--+-,-+-------------------------+-->< ¦
¦ +-DIRDSN=dsn----+ +-DDName=ddname-----------+ ¦
¦ +-DSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
+---------------------------------------------------------------------------+


For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Convert a standard DDIO source file to a Source Listing Database and attach it to a shared directory.

CONVERT DSN=COMPWARE.SOURCE.DDIO,
DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR


This command modifies a record in the existing DDIO file, and therefore we recommend that you perform a file backup before executing this command. The source or report DDIO file name you specified in the command parameters will remain the same for the new database format. The CONVERT command merely changes the type and function of the DDIO file. If you want the source or report database to have a different name after it becomes attached to a shared directory, you must rename the original DDIO file prior to executing the CONVERT command.

If an error occurs during the CONVERT process in the attach phase of adding members into the shared directory, the database will set attach in progress (will show on a DIRX), and the shared directory MAY contain entries for only some (but not all) of the database members. If the problem cannot be solved by another attempt at the CONVERT, then perform the following procedure to eliminate possible integrity problems:

  • Run UNCONVERT on the database to clear the attach setting, remove entries added to the shared directory during the process, and reset it back to a standard DDIO file format. Then run CONVERT again after determining the cause of the original errors.
  • A return code of 100 (X’64’) and message "DDIO0100 - Request is incompatible with file's format" indicates you are trying to convert a DDIO file formatted with the old non-extended format (release 5.6 & earlier). A return code of 1080 (x'438') and message "Report file is not formatted with INDEX=EXT" indicates you are trying to convert a report DDIO file formatted without the INDEX=EXT parameter. Follow the steps here:
    •  CREATE a new database using CWDDALLU.
    •  EXPORT the old DDIO file using CWDDALLU.
    •  IMPORT from this exported file into the new database using CWDDALLU

COPY

The COPY command copies selected entries in any of the following ways:

  • From one report file to another report file
  • From one source file to another source file
  • From one database to another database
  • From a database to a shared directory
  • From a shared directory to a database
  • From one shared directory to another shared directory

You may not use COPY to mix members of different types in a single database. The three types of members are source, BMC AMI DevX Abend-AID report, and BMC AMI DevX Abend-AID for CICS report.

Use the FROMDD and TODD parameters to specify the From and To file ddnames. When an entry is copied to or from a database, which is attached to a shared directory, the shared directory is also updated immediately. If none of the parameters are specified, then all entries are copied.

Since IDR token is a unique key within a source listing shared directory, it is possible to encounter a duplicate IDR condition during member COPY. No such situation can arise within a report shared directory. A warning message will be issued, and the member will not be copied. The remaining COPY processing continues with a return code of 4.

Copy - Source Listing

The following diagram illustrates the syntax for the COPY command.

+--- COPY Command ----------------------------------------------------------------------+
¦ ¦
¦ +-TODD=ABNLTO------------------+ +-FROMDD=ABNLFROM----------------+ ¦
¦>>--COPY---+------------------------------¦,--+--------------------------------+,-->¦
¦ ¦-TODD=ddname------------------¦ ¦-FROMDD=ddname------------------¦ ¦
¦ +-TODSN=dsn-,-+--------------+-+ +-FROMDSN=dsn,--+----------------+ ¦
¦ +-TOVOL=volser-+ +-FROMVOL=volser-+ ¦
¦ ¦
¦ ¦
¦ +-RETAINRN=NO--+ ¦
¦>--+--------------+-,-+-----------------+-,-+------------------+,-+--------------+->¦
¦ +-RETAINRN=YES-+ +-ReptNumber=xxxx-+ +-Program-xxxxxxx*-+ +-SORT=sortkey-+ ¦
¦ ¦
¦>--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-------------------------+ ¦
¦ +-EndDATE=mm/dd/yyyy----+ ¦
¦ ¦
¦>--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦>--+---------------+-,-+----------+-,-+------------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-¦ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ +-DUPS=LATEST---+ ¦
¦ ¦
¦ +-CONTINUE=YES-+ +-EXEC=SUMMARY---+ ¦
¦>--+--------------+-,-+----------------+-->,--> ¦
¦ +-CONTINUE=NO--+ +-EXEC=CHECK-----+ ¦
¦ +-EXEC=RUN-------+ ¦
¦ ¦
¦ +--DATEUSED=COMPILE--------+ ¦
¦>--+----SELECTDAYS=nnn-----+--------------------------+-->< ¦
¦ +--DATEUSED=CREATE---------+ ¦
¦ ¦
¦ ¦
+---------------------------------------------------------------------------------------+


The use of EXEC is only valid for stand-alone source DDIO files, not for shared directory and/or database files.

For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Copy all entries from one database to another database.

COPY TODSN=COMPWARE.LP.SOURCE.LISTING.LPDBO1,
     FROMDSN=COMPWARE.LP.SOURCE.LISTING.LPDBO2


Copy Cobol or PL/I program from ESS load file to source DDIO file

Example
Example

Copy program SAMPLE from ESS load file to source DDIO file

COPY PROGRAM=SAMPLE,OBJECT=ESS, 
FROMDSN=BMCAMI.LP.LOAD,       
TODSN=BMCAMI.LP.DDIO

Important

Program from ESS load file can only be copied to source DDIO file. It cannot be copied to a database or shared directory.


Copy - Abend-AID report

The following diagram illustrates the syntax for the COPY command.

+--- COPY Command ----------------------------------------------------------------------+
¦ ¦
¦ +-TODD=ABNLTO------------------+ +-FROMDD=ABNLFROM----------------+ ¦
¦>>--COPY---+------------------------------¦,--+--------------------------------+,-->¦
¦ ¦-TODD=ddname------------------¦ ¦-FROMDD=ddname------------------¦ ¦
¦ +-TODSN=dsn-,-+--------------+-+ +-FROMDSN=dsn,--+----------------+ ¦
¦ +-TOVOL=volser-+ +-FROMVOL=volser-+ ¦
¦ ¦
¦ +-RETAINRN=NO--+ ¦
¦ >--+--------------+-,-+-----------------+-, ¦
¦ +-RETAINRN=YES-+ +-ReptNumber=xxxx-+ ¦
| |
| >--+--------------+-,-+-----------------+-,-+------------------+,--> ¦
¦ +-JOBNAME=YES--+ +-JESID=xxxx------+ +-ABEND=xxxxxxx*---+ ¦
¦ ¦
¦ >--+--------------+-,-+-----------------------------------------------+,--> ¦
¦ +-SORT=sortkey-+ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-------------------------+ ¦
¦ +-EndDATE=mm/dd/yyyy----+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR--+ ¦
¦ >--+---------------+-,-+----------+-,-+-----------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ ¦
¦ ¦
¦ +-CONTINUE=YES-+ +-EXEC=SUMMARY----+ ¦
¦ >--+--------------+-,-+-----------+-,-+-----------------+-->< ¦
¦ +-CONTINUE=NO--+ +-TYPE=AA---+ +-EXEC=CHECK------+ ¦
¦ +-TYPE=CICS-+ +-EXEC=RUN--------+ ¦
+---------------------------------------------------------------------------------------+


The TYPE parameter is required for this command only if:

  • The data set being acted on is a shared directory with both BMC AMI DevX Abend-AID and BMC AMI DevX Abend-AID for CICS databases attached

          AND

  • You send the utility command to CWDDALLU directly, via a JCL entry reading EXEC PGM=CWDDALLU

 The use of EXEC is only valid for stand-alone BMC AMI DevX Abend-AID report DDIO files, not for shared directory and/or database files.

For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Copy all entries from a report database to another report database.

COPY TODSN=COMPWARE.AA.DBO1,
     FROMDSN=COMPWARE.AA.DB02


Copy - Abend-AID for CICS report

The following diagram illustrates the syntax for the COPY command.


+--- COPY Command ----------------------------------------------------------------------+
¦ ¦
¦ +-TODD=ABNLTO------------------+ +-FROMDD=ABNLFROM----------------+ ¦
¦>>--COPY---+------------------------------¦,--+--------------------------------+,-->¦
¦ ¦-TODD=ddname------------------¦ ¦-FROMDD=ddname------------------¦ ¦
¦ +-TODSN=dsn-,-+--------------+-+ +-FROMDSN=dsn,--+----------------+ ¦
¦ +-TOVOL=volser-+ +-FROMVOL=volser-+ ¦
¦ ¦
¦ +-RETAINRN=NO--+ ¦
¦ >--+--------------+-,-+-----------------------+-,-+-----------+,--> ¦
¦ +-RETAINRN=YES-+ +-ReptNumber=xxxxxxxxxx-+ +-Tran=xxx*-+ ¦
¦ ¦
¦ >--+-----------------+-,-+---------------+-,-+--------------+,--> ¦
¦ +-APPLID=xxxxxxx*-¦ +-CicsCode=xxx*-+ +-SORT=sortkey-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-CONTINUE=YES-+ ¦
¦ >--+---------------+-,-+----------+-,-+--------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-CONTINUE=NO--+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ ¦
¦ ¦
¦ +-NOTFOUND=ERROR--+ ¦
¦ >--+-----------------+-,-+-----------+->< ¦
¦ +-NOTFOUND=IGNORE--+ +-TYPE=AA---+ ¦
¦ +-NOTFOUND=WARNING-+ +-TYPE=CICS-+ ¦
+---------------------------------------------------------------------------------------+

 The TYPE parameter is required for this command only if:

  • The data set being acted on is a shared directory with both BMC AMI DevX Abend-AID and BMC AMI DevX Abend-AID for CICS databases attached

          AND

  • You send the utility command to CWDDALLU directly, via a JCL entry reading EXEC PGM=CWDDALLU

For a description of the parameters, see Command-Parameters-for-all-DDIO-files.

Example
Example

Copy all entries from a transaction database to another transaction database.

COPY TODSN=COMPWARE.AACICS.SERVER1.TRANDB01,
FROMDSN=COMPWARE.AACICS.SERVER2.TRANDB02


CREATE (CRE)

The CREATE command is used to perform the following functions:

  • Allocate and format a new shared directory
  • Format a pre-allocated shared directory
  • Allocate and format a new database
  • Format a pre-allocated database
  • Create a DBMODEL entry for dynamic database creation (DYNCREATE) in the specified shared directory, to be invoked during creation of a source listing member if all of the attached Source Listing Databases are full
Warning

This command erases all of the information in the specified file.

Only VSAM files can be used for shared directory files. However, either VSAM or sequential files can be used for databases. BMC AMI DevX Code Debug for CICS requires that all source listing databases used in a CICS region be VSAM.

When you create a database, it is automatically connected to the shared directory that you specify as a parameter of the CREATE command. A database must be connected to a shared directory before it can be used.

When you create a DBMODEL (for source shared directories only), the information is stored in the shared directory for future use in dynamic creation of a new Source Listing Database.

Sample JCL Members

Sample JCL members for the CREATE command are available in CSS installation library members. See Sample JCL Members for CREATE Command for a list of the sample members.

Sample JCL Members for CREATE Command

If you want to format...

Use sample member...

Sequential Source Listing Databases

CXALLBLP

VSAM Source Listing Databases

CXALLVLP

Multi-volume VSAM Source Listing Databases

CXDCRLDB

Shared Directories

CXALLDLP

Shared Directory with multi-volume VSAM Source Listing Database

CXDCRLSD

Sequential Transaction Databases

CXALLBSD

VSAM Transaction Databases

CXALLVSD

Multi-volume VSAM Transaction Databases

CXDCRTDB

Shared Directories

CXALLMC

Shared Directory with multi-volume VSAM Transaction Database

CXDCRTSD

Sequential Report Databases

CXALLBAA

VSAM Report Databases

CXALLVAA

Multi-volume FSAM Report Databases

CXDCRADB

Shared Directories

CXALLDAA

Shared Directory with multi-volume VSAM Report Database

CXDCRASD

The following diagrams illustrate the syntax used for the CREATE command based on the function you want to perform.

Allocating and Formatting a New Shared Directory:

The first CREATE syntax diagram illustrates the syntax for allocating and formatting a new shared directory.

+--- Allocating and Formatting a New Shared Directory ----------------------+
¦ ¦
¦ >>--CREate-+-OBJect=SHRDIR-+-+-DIRDD=ddname-------------------+,--> ¦
¦ +-DIRDSN=dsn,---+-------------+--+ ¦
¦ +-DIRVOL=volser-+ ¦
¦ ¦
¦ >--AM=VSAM,-+----------------+-,-+-------------------+,--> ¦
¦ +-RECords=nnnn---¦ ¦ +-CISIZE=18432-+ ¦ ¦
¦ +-TRacKS=nnnn----¦ +-+--------------+--+ ¦
¦ +-CYLinderS=nnnn-¦ ¦ +-CISIZE=nnnn--+ ¦ ¦
¦ +-DIRENTS=nnnn---+ ¦ +-BLKsize=18425-+ ¦ ¦
¦ +-+---------------+-+ ¦
¦ +-BLKsize=nnnn--+ ¦
¦ ¦
¦ +-REALLOcate=NO--+ ¦
¦ >--+----------------+-,-+-----------+-,-+----------------+,--> ¦
¦ +-VSAMCAT=ddname-+ +-MODEL=dsn-+ +-REALLOcate=YES-+ ¦
¦ ¦
¦ >--+-------------------+-,-+-------------------+,--> ¦
¦ +-MGMTCLAS=xxxxxxxx-+ +-STORCLAS=xxxxxxxx-+ ¦
¦ ¦
¦ >--+-------------------+-,-+----------------+-,-+-----------+->< ¦
¦ +-DATACLAS=xxxxxxxx-+-,-+-AutoLockMAX=nn-+-,-+-DUPMAX=nn-+ ¦
¦ ¦
+---------------------------------------------------------------------------+

AUTOLOCKMAX and DUPMAX are only used for source members.

For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Create a shared directory with a CISIZE of 24569, which can occupy five cylinders.

CREATE OBJECT=SHRDIR.DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
      AM=VSAM,CYLINDERS=5,CISIZE=24569


Formatting a Pre-Allocated Shared Directory

This CREATE syntax diagram illustrates the syntax for a pre-allocated shared directory. 

+--- Formatting a Pre-Allocated Shared Directory ---------------------------+
¦ ¦
¦ +-MULTIVOLUME=NO--+ ¦
¦ >>--CREate--+-OBJect=SHRDIR-+-,-+-DIRDD=ddname-+,-+-----------------+--> ¦
¦ +-DIRDSN=dsn---+ +-MULTIVOLUME=YES-+ ¦
| |
| +-AutoLockMAX=nn---+-,-+-DUPMAX=nn---+-->< |
+---------------------------------------------------------------------------+

AUTOLOCKMAX and DUPMAX are only used for source members.

For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Format a pre-allocated shared directory. If the directory was allocated on multiple volumes, set the Multivolume value to YES (optional).

CREATE OBJECT=SHRDIR.DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
      MULTIVOLUME=YES


Allocating and Formatting a New Database

This CREATE syntax diagram illustrates the syntax for allocating and formatting a new database. The AutoDelete=STAGED attribute is only valid for a source database (TYPE=SOURCE.


+-- Allocating and Formating a New Database---------------------------------+
¦ (1) ¦
¦>-CREate--+-OBJect=DATABASE-+-,-+-DIRDD=ddname-+,-+-DDName=ddname---+,-> ¦
¦ +-DIRDSN=dsn---+ +-DSN=dsn,-+-------+ ¦
¦ +-VOLser=volser----+ ¦
¦ ¦
¦ >-+---------------+,--> ¦
¦ +-TYPE=SOURCE---+ ¦
¦ +-TYPE=AA-------+ ¦
¦ +-TYPE=CICS-----+ ¦
¦ ¦
¦>+AM=VSAM,+---------------+,+------------------+,--> ¦
¦ ¦ +RECords=nnnn---¦ ¦ +CISIZE=18432-+ ¦ ¦
¦ ¦ +TRacKS=nnnn----¦ +-+-------------+--+ ¦
¦ ¦ +CYLinders=nnnn-¦ ¦ +CISIZE=nnnn--+ ¦ ¦
¦ ¦ ¦ +BLKsize=18425-+ ¦ ¦
¦ ¦ +-+--------------+-+ ¦
¦ ¦ +BLKsize=nnnn--+ ¦
¦¦ ¦
¦ ¦ +-GroupCount=3-+ ¦
¦ ¦ >-+----------------+-,-+--------------+-,------+,--> ¦
¦ ¦ +-VSAMCAT=ddname-+-,-+-GroupCount=nn+ ¦ ¦
¦¦ ¦¦
¦ ¦ +-UNIT=SYSDA----+ ¦ ¦
¦ +AM=BSAM,-+----------------+,+---------------+,--> ¦ ¦
¦ +-TRacKS=nnnn----¦ +-UNIT=xxxxxxxx-+ ¦ ¦
¦ +-CYLinders=nnnn-+ ¦ ¦
¦ ¦¦
¦ +-BLKsize=27998-+ +-GroupCount=2--+ ¦ ¦
¦ >-+---------------+,-+---------------+-------+¦,--> ¦
¦ +-BLKsize=nnnn--+ +-GroupCount=nn-+ ¦
¦ ¦
¦ +-REALLOcate=NO--+ ¦
¦>-+-----------+-,-+----------------+-,-+-------------------+,--> ¦
¦ +-MODEL=dsn-+ +-REALLOcate=YES-+ +-MGMTCLAS=xxxxxxxx-+ ¦
¦ ¦
¦ +-ReptCount=100--+ ¦
¦>-+-------------------+-,-+-------------------+-,-+----------------+,--> ¦
¦ +-STORCLAS=xxxxxxxx-+ +-DATACLAS=xxxxxxxx-+ +-ReptCount=nnnn-+ ¦
¦ ¦
¦ +-AutoDelete=YES----+ +-EXTENTS=460--+ ¦
¦>-+-------------------+,+--------------+-->< ¦
¦ +-AutoDelete=DUPS---+ +-EXTENTS=nnn--+ ¦
¦ +-AutoDelete=NO-----+ ¦
¦ +-AutoDelete=STAGED-+ ¦
+---------------------------------------------------------------------------+


Important

The DIRDD parameter (or DIRDSN) specifies the name of the shared directory to which you are attaching the new database. The DDNAME parameter (or DSN) specifies the name of the new database itself.


For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Create a sequential Source Listing Database with the following characteristics:

  • The maximum number of entries in the file is 50.
  • At least one entry of each name will remain in the Source Listing Database.
  • When additional space is required in the Source Listing Database, one block will be allocated.
  • The maximum number of extents to be allocated to each Source Listing Database entry is 256.
  • The Source Listing Database can occupy five cylinders.
  • The blocksize is 24569.

CREATE OBJECT=DATABASE.DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
      DSN-COMPWARE.LP.SOURCE.LISTING.LPDB01,TYPE=SOURCE,
      RC=50,AD=DUPS,GC=1,EXTENTS=256,AM=BSAM,CYLINDERS=5,
      BLKSIZE=24569


Example
Example

Create a VSAM report database for BMC AMI DevX Abend-AID with the following characteristics:

  • The maximum number of entries in the database is 50.
  • When additional space is required in the report database, three blocks will be allocated.
  • The maximum number of extents to be allocated to each report database entry is 256.
  • The report database can occupy 5 cylinders.
  • The blocksize is 18432.

CREATE OBJECT=DATABAES.TYPE=AA,DIRDSN=COMPWARE.AA.SHRDIR,
DSN=COMPWARE.AA.DB01,
RC=50,AD=YES,GC=3,EXTENTS=256,AM=VSAM,CYLINDERS=5,CISIZE=18432


Example
Example

Create a sequential transaction database, for BMC AMI DevX Abend-AID for CICS, with the following characteristics:

  • The maximum number of entries in the file is 50.
  • At least one entry of each name will remain in the transaction database.
  • When additional space is required in the transaction database, one block will be allocated.
  • The maximum number of extents to be allocated to each transaction database entry is 256.
  • The transaction database can occupy five cylinders.
  • The blocksize is 24569.

CREATE OBJECT=DATABASE.DIRDSN=COMPWARE.AACICS.SERVER1.SHRDIR,
DSN=COMPWARE.AACICS.SERVER1.TRANDB01,VOLSER=PRD924,TYPE=CICS,
RC=50,AD=YES,GC=1,EXTENTS=256,AM=BSAM,CYLINDERS=5,BLKSIZE=24569


Formatting a Pre-Allocated Database

This CREATE syntax diagram illustrates the syntax for formatting a pre-allocated database.


+--- Formatting a Pre-Allocated Database----------------------------------------+
¦ ¦
¦ (1) ¦
¦ >--CREate--+-OBJect=DATABASE-+-,-+-DIRDD=ddname-+-,-+-DDName=ddname-+,--> ¦
¦ +-DIRDSN=dsn---+ +-DSN=dsn--------+ ¦
¦ ¦
¦ >-+---------------+,--> ¦
¦ +-TYPE=SOURCE---+ ¦
¦ +-TYPE=AA-------+ ¦
¦ +-TYPE=CICS-----+ ¦
¦ ¦
¦ +MULTIVOLUME=NO----+ +-ReptCount=100--+ ¦
¦ >-+------------------+-,-+----------------+-,--> ¦
¦ +MULTIVOLUME=YES---+ +-ReptCount=nnnn-+ ¦
¦ ¦
¦ (2) ¦
¦ +-GroupCount=3--+ +-AutoDelete=YES----+ +-EXTENTS=460-+ ¦
¦ >-+---------------+-,-+-------------------+-,-+-------------+--> ¦
¦ +-GroupCount=nn-+ +-AutoDelete=DUPS---+ +-EXTENTS=nnn-+ ¦
¦ +-AutoDelete=NO-----+ ¦
¦ +-AutoDelete=STAGED-+ ¦
¦ ¦
¦ (3) ¦
¦ >-+---------------+-->< ¦
¦ +-BLKsize=27998-+ ¦
¦ +-BLKsize+nnnn--+ ¦
+-------------------------------------------------------------------------------+

Important

  • The DIRDD parameter (or DIRDSN) specifies the name of the shared directory to which you are attaching the new database. The DDNAME parameter (or DSN) specifies the name of the database.
  • Group count defaults to 3 if the database is VSAM, but will default to 2 if the database is sequential.
  • BLKSIZE only applies to a sequential database and defaults to 27998 if not specified.

For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Format a pre-allocated Source Listing Database with the following characteristics:

  • The maximum number of entries in the file is 100.
  • Autodelete entries when full.
  • When additional space is required in the Source Listing Database, two blocks will be allocated.
  • The maximum number of extents to be allocated to each Source Listing Database entry is 64.

CREATE OBJECT=DATABASE,DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
      DSN=COMPWARE.LP.SOURCE.LISTING.LPDB01,TYPE=SOURCE,
      RC=100,AD=YES,GC=2,EXTENTS=64


Creating a DBMODEL

This CREATE syntax diagram illustrates the syntax for creating a DBMODEL entry. The DBMODEL feature applies only to source shared directories.


+-- Creating a DBMODEL--------------------------------------------------------------+
¦ ¦
¦ (1) (2) ¦
¦>--CREate--OBJect=DBMODEL,-+-DIRDD=ddname-+,DSN=dbmodelname,--> ¦
¦ +-DIRDSN=dsn---+ ¦
¦ ¦
¦>+AM=VSAM,+---------------+,+------------------+,--> ¦
¦ ¦ +RECords=nnnn---¦ ¦ +CISIZE=18432-+ ¦ ¦
¦ ¦ +TRacKS=nnnn----¦ +-+-------------+--+ ¦
¦ ¦ +CYLinders=nnnn-+ ¦ +CISIZE=nnnn--+ ¦ ¦
¦ ¦ ¦ +BLKsize=18425-+ ¦ ¦
¦ ¦ +-+--------------+-+ ¦
¦ ¦ +BLKsize=nnnn--+ ¦
¦¦ ¦
¦ ¦ +-GroupCount=3-+ ¦
¦ ¦ >-+----------------+-,-+--------------+-,------+,--> ¦
¦ ¦ +-VSAMCAT=ddname-+-,-+-GroupCount=nn+ ¦ ¦
¦¦ ¦¦
¦ ¦ +-UNIT=SYSDA----+ ¦ ¦
¦ +AM=BSAM,-+----------------+,+---------------+,--> ¦ ¦
¦ +-TRacKS=nnnn----¦ +-UNIT=xxxxxxxx-+ ¦ ¦
¦ +-CYLinders=nnnn-+ ¦ ¦
¦ ¦¦
¦ +-BLKsize=27998-+ +-GroupCount=2--+ ¦ ¦
¦ >-+---------------+,-+---------------+-------+¦,--> ¦
¦ +-BLKsize=nnnn--+ +-GroupCount=nn-+ ¦
¦ ¦
¦>-+-----------+,+-------------------+,+-------------------+,-> ¦
¦ +-MODEL=dsn-+ +-MGMTCLAS=xxxxxxxx-+ +-STORCLAS=xxxxxxxx-+ ¦
¦ ¦
¦ +-ReptCount=100--+ +-AutoDelete=YES----+ ¦
¦>-+-------------------+,+----------------+,TYPE=SOURCE,-+-------------------+-,->¦
¦ +-DATACLAS=xxxxxxxx-+,+-ReptCount=nnnn-+ +-AutoDelete=DUPS---¦ ¦
¦ +-AutoDelete=NO-----¦ ¦
¦ +-AutoDelete=STAGED-+ ¦
¦ ¦
¦ +-EXTENTS=460--+ +-DYNCREATE=NO--+ ¦
¦>-+--------------+-,-+---------------+,-->< ¦
¦ +-EXTENTS=nnn--+ +-DYNCREATE=YES-+ ¦
+-----------------------------------------------------------------------------------+
  1. The DIRDD parameter (or DIRDSN) specifies the name of the shared directory to which you are attaching the DBMODEL. The DSN specifies a template for the name of a new database.
  2. The dbmodelname used here specifies the name to be created for the new Source Listing Database. It consists of literals and/or symbolic tokens that will generate the final DSN name at creation time. Remember, the total of generated characters plus separator periods must not exceed 44. See the DSN parameter description for more detail.

For a description of each parameter, see Command Parameter for all DDIO files.

Example
Example

Create a DBMODEL for a sequential Source Listing Database with the following characteristics:

  • The maximum number of entries in the file is 50.
  • At least one entry of each name will remain in the Source Listing Database.
  • When additional space is required in the Source Listing Database, one block will be allocated.
  • The maximum number of extents to be allocated to each Source Listing Database entry is 256.
  • The Source Listing Database can occupy five cylinders.
  • The blocksize is 24569.
  • Dynamic database creation will be invoked if no attached databases are eligible for create.
  • The new DSN name will have an incremental sequence number assigned.

CREATE OBJECT=DBMODEL,DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
      DSN=COMPWARE.LP.SOURCE.LISTING.&SEQ,DYNCREATE=YES,
      RC=50,AD=DUPS,GC=1,EXTENTS=256,AM=BSAM,CYLINDERS=5,
      BLKSIZE=24569

DELETE (DEL)

The DELETE command deletes selected entries from any form of DDIO file, deletes a selected database, deletes a selected shared directory, or deletes the DBMODEL information contained in the selected shared directory.

To delete entries from the Shared Directory and associated databases use, OBJECT=ENTRY. Deletion may be specific using RN(REPTNUMBER) or non-specific using parameters (for example, PROGRAM=, STARTDATE=).

DELETE an ENTRY from any form of DDIO file

If you delete an entry from either a shared directory or a database, the DELETE command automatically removes the entry from both files. Database entries can only be deleted if the database is attached to a shared directory. You must specify either the DIRDD or DIRDSN parameter to delete members across the shared directory (all databases), or the DDNAME or DSN parameter to delete members on a specific database within a shared directory. (To delete an entry from a database and shared directory you must specify OBJECT=ENTRY; it is not required if you are deleting an entry from a Source Listing file or Report file).

Warning:   Specifying the "DUPS=ALL" parameter in your DELETE command will be handled as an error unless one or more other selection parameters are also specified.

Delete - Source Listing

The following diagram illustrates the syntax for the DELETE command.


+--- DELETE an Entry from Both the Shared Directory and LP Database-----------------+
¦ ¦
¦ (1) +-DDName=ABNLDFIL------------+ ¦
¦ >--DELete--+-OBJect=ENTRY,-+--+----------------------------+,-> ¦
¦ +-DDName=ddname--------------+ ¦
¦ +-DSN=dsn--------------------+ ¦
¦ +-VOLser=volser----+ ¦
¦ +-DIRDD=ddname---------------+ ¦
¦ +-DIRDSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
¦ >-+-----------------+--> ¦
¦ +-ReptNumber=xxxx-+ ¦
¦ ¦
¦ >--+------------------+,--+-----------------------------------------------+,-> ¦
¦ +-Program=xxxxxxx*-+ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR--+ ¦
¦ >--+---------------+-,-+----------+-,-+-----------------+-->< ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
+-----------------------------------------------------------------------------------+

For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Note

If you are deleting entries from a DDIO source file, as opposed to a database or shared directory, you may omit OBJECT=ENTRY.

Example

Example

Delete all entries with a name beginning with ‘COBA’.

DELETE OBJECT=ENTRY.DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
       PROGRAM=COBA*

Delete all entries with a program name of 'PAYROLL' from only the specified database.

DELETE OBJECT=ENTRY.DDN=COMPWARE.AACICS.DATABASE.DB1,
PROGRAM=PAYROLL


Delete - Abend-AID Reports

Be certain to specify OBJECT=ENTRY to delete reports from the shared directory and associated report database.

The following diagram illustrates the syntax for the DELETE command.


+--- DELETE Command ------------------------------------------------------------+
¦ (1) +DDName=ABNLDFIL-------------+¦
¦ >--DELete--+-OBJect=ENTRY,-+--+----------------------------+,-> ¦
¦ +-DDName=ddname--------------+ ¦
¦ +-DSN=dsn--------------------+ ¦
¦ +-VOLser=volser----+ ¦
¦ +-DIRDD=ddname---------------+ ¦
¦ +-DIRDSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
¦ ¦
¦ >--+-----------------------+-,-+------------------+-,-+------------+,--> ¦
¦ +-ReptNumber=xxxxxxxxxx-+ +-JOBNAME=xxxxxxx*-+ +-ABEND=xxx*-+ ¦
¦ ¦
¦ >--+----------------+-,-+---------------------------------------------+,-> ¦
¦ +-JESID=xxxxxxx*-+ +-DAYSOLD=nnn---------------------------------¦ ¦
¦ +-MONTHSOLD=nnn-------------------------------¦ ¦
¦ +-YEARSOLD=nnn--------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,+--------------------+-+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR--+ ¦
¦ >--+---------------+-,-+----------+-,-+-----------------+-->< ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ ¦
¦ >--+------------+ ¦
¦ +-TYPE=AA----+ ¦
¦ +-TYPE=CICS--+ ¦
+-------------------------------------------------------------------------------+

 For a description of the parameters see Command-Parameters-for-all-DDIO-files.


Important

 If you are deleting entries from a DDIO report file, as opposed to a database or shared directory, you may omit OBJECT=ENTRY.


Examples
Example

Delete all entries with a JOBNAME of DAILYRUN.

DELETE OBJECT=ENTRY,
      DIRDSN=COMPWARE.AA.SHRDIR,
       JOBNAME=DAILYRUN

Delete all entries with a JOBNAME of AA950058 from the specified database.

DELETE OBJECT=ENTRY,
      DDN=COMPWARE.AACICS.DATABASE.DB1,
       JOBNAME=AA950058


Delete- Abend-AID for CICS Reports

The following diagram illustrates the syntax for the DELETE command.


+--- DELETE Command ------------------------------------------------------------+
¦ +DDName=ABNLDFIL-------------+ ¦
¦ >--DELete--+-OBJect=ENTRY,-+--+----------------------------+,-> ¦
¦ +-DDName=ddname--------------+ ¦
¦ +-DSN=dsn--------------------+ ¦
¦ +-VOLser=volser----+ ¦
¦ +-DIRDD=ddname---------------+ ¦
¦ +-DIRDSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
¦ ¦
¦ >--+-----------------------+-,-+-----------+-,-+---------------+,--> ¦
¦ +-ReptNumber=xxxxxxxxxx-+ +-Tran=xxx*-+ +-Cicscode=xxx*-+ ¦
¦ ¦
¦ >--+-----------------+-,-+---------------------------------------------+,->¦
¦ +-APPLID=xxxxxxx*-¦ +-DAYSOLD=nnn---------------------------------¦ ¦
¦ +-MONTHSOLD=nnn-------------------------------¦ ¦
¦ +-YEARSOLD=nnn--------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,+--------------------+-+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+-->< ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ ¦
¦ >--+------------+ ¦
¦ +-TYPE=AA----+ ¦
¦ +-TYPE=CICS--+ ¦
+-------------------------------------------------------------------------------+

For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Enqueues are held on DDIO members being viewed in the BMC AMI DevX Abend-AID for CICS viewing server. You must exit members before issuing batch deletes.

Examples
Example

Delete all entries with an APPLID of CICSAPPL.

DELETE OBJECT=ENTRY,
      DIRDSN=COMPWARE.AACICS.SERVER1.SHRDIR,
       APPLID=CICSAPPL

Delete all entries with a TRAN of AADM from the specified database.

DELETE OBJECT=ENTRY,
       DDN=COMPWARE.AACICS.DATABASE.DB1,
       TRAN=AADM


DELETE a Database (and Detach It from the Shared Directory)

If the database is attached to a shared directory, DELETE also detaches it from the shared directory prior to deletion. You must specify either the DDNAME or the DSN parameter. To delete an entire database, specify OBJECT=DATABASE.


+--- DELETE a Database ---------------------------------------------------------+
¦ ¦
¦ +--DDName=ABNLDFIL--+ ¦
¦ >>--DELete--OBJect=DATABASE-,-+------------------+-,-+-------------------+->< ¦
¦ +--DDName=ddname--+ ¦
¦ +--DSN=datasetname-+ ¦
+-------------------------------------------------------------------------------+

 For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Delete a database (and detach it from the shared directory).

DELETE OBJECT=DATABASE,
       DSN=COMPWARE.LP.SOURCE.LISTING.DB01


DELETE a Shared Directory

When deleting a shared directory, you can choose whether to also DELETE all attached databases (DATABASEDISP=DELETE), or DETACH all attached databases prior to the deletion (DATABASEDISP=DETACH). You must specify either the DIRDD or the DIRDSN parameter. To delete an entire shared directory, specify OBJECT=SRCEDIR or OBJECT=SHRDIR.


+--- DELETE a Shared Directory----------------------------------------------+
¦ ¦
¦ +-DDName=ABNLDFIL------------+ ¦
¦ >--DELete--+-OBJect=SHRDIR,-+-+----------------------------+,-> ¦
¦ +-DDName=ddname--------------+ ¦
¦ +-DSN=dsn--------------------+ ¦
¦ +-VOLser=volser----+ ¦
¦ +-DIRDD=ddname---------------+ ¦
¦ +-DIRDSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
¦ ¦
¦ +-DataBaseDISP=DETACH-+ ¦
¦>--+---------------------+->< ¦
¦ +-DataBaseDISP=DELETE-+ ¦
+---------------------------------------------------------------------------+

For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

All databases are deleted if you delete a shared directory using DATABASEDISP=DELETE. If there are some databases for Batch BMC AMI DevX Abend-AID reports (type AA) and some databases for Abend-AID CICS reports (type CICS), both types will be deleted.

Examples
Example

Delete a shared directory and any databases attached to it.

DELETE OBJECT=SHRDIR,DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
       DBDISP=DELETE

Delete a shared directory, but first detach any databases attached to it (does NOT delete databases).

DELETE OBJECT=SHRDIR,DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
       DBDISP=DETACH


DELETE the DBMODEL Information from the Shared Directory

+--- DELETE the DBModel Information from the Shared Directory-------------------+
¦ ¦
¦ +-DDName=ABNLDFIL------------+ ¦
¦ >--DELete--+-OBJect=DBMODEL,-+-+----------------------------+,-> ¦
¦ +-DDName=ddname--------------+ ¦
¦ +-DSN=dsn--------------------+ ¦
¦ +-VOLser=volser----+ ¦
¦ +-DIRDD=ddname---------------+ ¦
¦ +-DIRDSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
+-------------------------------------------------------------------------------+


For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Delete a DBMODEL:

DELETE OBJECT=DBMODEL,DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR


DETACH

The DETACH command disconnects a database from a shared directory and removes the database entries from the shared directory.

To ensure that you are aware of the shared directory from which you are detaching the database, you can optionally use the DIRDSN parameter to specify the name of the shared directory. If the shared directory is incorrectly specified, an error will be returned. If the DIRDSN is not specified, then the database will be unconditionally detached from the appropriate shared directory.

The following diagram illustrates the syntax for the DETACH command.


+--- DETACH Command --------------------------------------------------------+
¦ ¦
¦ +-DDName=ABNLDFIL---------+ ¦
¦ >>--DETACH--+-------------------------+-,-+------------+-->< ¦
¦ +-DDName=ddname-----------+ +-DIRDSN=dsn-+ ¦
¦ +-DSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
+---------------------------------------------------------------------------+

 For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Detach a database from a shared directory.

DETACH DDNAME=LPFILE1

If an error occurs during the DETACH process, when deleting members from the shared directory, the database will set detach in progress (will show on a DIRX) but will still appear attached, and the shared directory may still contain entries for members on the database that had not yet been removed from the shared directory. To eliminate possible integrity problems perform the following:

  1.  Run RESET on the database to clear the attach setting.
  2.  Run SCRATCH on the shared directory for that database to remove any entries left for that database.

DIRECTORY (DIR, D) and DIRX (DX)

The DIRECTORY command lists selected entries in any form of DDIO file.

The function of the DIRX command is similar to the DIRECTORY command. The attribute and allocation information is also displayed. When a DIRX is performed on a shared directory, the attribute and allocation information for the shared directory and all databases attached to that shared directory is displayed. DBMODEL information is displayed for Source Listing Shared Directories, as well as any Autolockmax and/or Dupmax settings.

If the database or DDIO file is empty (no members) and/or no selection parameters are used, the return code set will be 0 — the NOTFOUND value is not used.

Directory (DIR, D) and DIRX (DX) - Source Listing

The following diagram illustrates the syntax for the DIRECTORY or DIRX command.


+--- DIRECTORY Command -----------------------------------------------------+
¦ ¦
¦ >>--DIRectory or DIRX--+-----------------------+,--> ¦
¦ +-ReptNumber=xxxxxxxxxx-+ ¦
¦ ¦
¦ +-DDName=ABNLDFIL------------+ ¦
| >--+----------------------------+,--> ¦
¦ +-DDName=ddname--------------++ ¦
¦ +-DSN=dsn--------------------+ ¦
¦ +-VOLser=volser----+ ¦
¦ +-DIRDD=ddname---------------+ ¦
¦ +-DIRDSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
¦ ¦
¦ >--+------------------+,--> ¦
¦ +-Program=xxxxxxx*-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-¦ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ +-DUPS=LATEST---+ ¦
¦ ¦
¦ >--+--------------+-->< ¦
¦ +-SORT=sortkey-+ ¦
+---------------------------------------------------------------------------+

 For a description of the parameters see Command-Parameters-for-all-DDIO-files.

Example 1
Example

List all entries in a shared directory.

DIR DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR


Example 2
Example

List all entries in a Source Listing Database sorted by program name (PGM), and include attribute and allocation information.

DIRX DSN=COMPWARE.LP.SOURCE.LISTING.LPDB01,
SORT=PGM


Directory (DIR, D) and DIRX (DX) - Abend-AID

The following diagram illustrates the syntax for the DIRECTORY or DIRX command.

+--- DIRECTORY Command -----------------------------------------------------+
¦ ¦
¦ >>--DIRectory or DIRX--+-----------------------+,--> ¦
¦ +-ReptNumber=xxxxxxxxxx-+ ¦
¦ ¦
¦ +-DDName=ABNLDFIL------------+ ¦
| >--+----------------------------+,--> ¦
¦ +-DDName=ddname--------------++ ¦
¦ +-DSN=dsn--------------------+ ¦
¦ +-VOLser=volser----+ ¦
¦ +-DIRDD=ddname---------------+ ¦
¦ +-DIRDSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
¦ ¦
¦ >--+----------------+-,-+------------+-,-+----------------+,--> ¦
¦ +-JOBNAME=xxxxx*-+ +-ABEND=xxx*-+ +-JESID=xxxxxxx*-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ ¦
¦ ¦
¦ >--+--------------+-,-+------------+>< ¦
¦ +-SORT=sortkey-+ +-TYPE=AA----+ ¦
¦ +-TYPE=CICS--+ ¦
+---------------------------------------------------------------------------+

 The TYPE parameter is required for this command only if:

  • The data set being acted on is a shared directory with both BMC AMI DevX Abend-AID and BMC AMI DevX Abend-AID for CICS databases attached

AND

  • You send the utility command to CWDDALLU directly, via a JCL entry reading EXEC PGM=CWDDALLU

For a description of the parameters see Command-Parameters-for-all-DDIO-files. For sample JCL for the DIRX command, see Shared Services SLCXCNTL installation library member CXAADIRX.

Example 1
Example

List all entries in a shared directory.

DIR DIRDSN=COMPWARE.AA.SHRDIR


Example 2
Example

List all entries in a report database sorted by JOBNAME, and include attribute and allocation information.

DIRX DSN=COMPWARE.AA.RPT01,SORT=JOBNAME


Directory (DIR, D) and DIRX (DX) - Abend-AID for CICS

The following diagram illustrates the syntax for the DIRECTORY or DIRX command.


+--- DIRECTORY Command ---------------------------------------------------------+
¦ ¦
¦ >>--DIRectory or DIRX--+-----------------------+,--> ¦
¦ +-ReptNumber=xxxxxxxxxx-+ ¦
¦ ¦
¦ +-DDName=ABNLDFIL------------+ ¦
| >--+----------------------------+,--> ¦
¦ +-DDName=ddname--------------++ ¦
¦ +-DSN=dsn--------------------+ ¦
¦ +-VOLser=volser----+ ¦
¦ +-DIRDD=ddname---------------+ ¦
¦ +-DIRDSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
¦ ¦
¦ >--+-----------+-,-+---------------+-,-+-----------------+,--> ¦
¦ +-Tran=xxx*-+ +-CicsCode=xxx*-+ +-APPLID=xxxxxxx*-¦ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ ¦
¦ >--+--------------+-,-+------------+>< ¦
¦ +-SORT=sortkey-+ +-TYPE=AA----+ ¦
¦ +-TYPE=CICS--+ ¦
+-------------------------------------------------------------------------------+

 The TYPE parameter is required for this command only if:

  • The data set being acted on is a shared directory with both BMC AMI DevX Abend-AID and BMC AMI DevX Abend-AID for CICS databases attached

AND

  • You send the utility command to CWDDALLU directly, via a JCL entry reading EXEC PGM=CWDDALLU

For a description of the parameters see Command-Parameters-for-all-DDIO-files. See Shared Services SLXCNTL installation library member CXCFDIRX for sample JCL for the DIRX command.

Example 1
Example

List all entries in a shared directory.

DIR DIRDSN=COMPWARE.AACICS.SERVER1.SHRDIR


Example 2
Example

List all entries in a transaction database sorted by transaction name (TRAN), and include attribute and allocation information.

DIRX DSN=COMPWARE.AACICS.SERVER1.TRANDB01,
     SORT=TRAN

DIRECTORY INFORMATION (DIRI)

The DIRI report is similar to DIRX report, where it provides information on current parameter setting and file statistics, but it does not provide any information about every member of source listing or abend-aid report. It generates lesser output compared to DIRX report and is more useful when determining the size of DDIO files, databases, shared directory for source listing and abend-aid reports.

The syntax for the DIRECTORY INFORMATION (DIRI) command is same as DIRX(DX) as illustrated below with respect to Source Listing:


+--- DIRECTORY Command -----------------------------------------------------+
¦ ¦
¦ >>--DIRI--+---------------------+,--> ¦
¦ +-ReptNumber=xxxxxxxxxx-+ ¦
¦ ¦
¦ +-DDName=ABNLDFIL------------+ ¦
| >--+----------------------------+,--> ¦
¦ +-DDName=ddname--------------++ ¦
¦ +-DSN=dsn--------------------+ ¦
¦ +-VOLser=volser----+ ¦
¦ +-DIRDD=ddname---------------+ ¦
¦ +-DIRDSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
¦ ¦ ¦
+---------------------------------------------------------------------------+
Example 1
Example

List current parameter settings and file statistics on shared directory
DIRI DIRDSN=BMCAMI.LP.SHRDIR

DIRECTORY SEQUENTIAL (DIRS)

The DIRS (Directory Sequential) command lists selected directory entries in a sequential file produced by the EXPORT command. If none of the parameters are specified, then all entries are listed. The LABEL parameter can be specified for multiple export files residing on tape. For more information on this parameter, see Command Parameter for all DDIO files.

Directory Sequential (DIRS)- Source Listing

The following diagram illustrates the syntax for the DIRECTORY SEQUENTIAL command.


+--- DIRECTORY Sequential Command ----------------------------------------------+
¦ ¦
¦ +-DDName=ABNLDFIL------------+ ¦
| >>--DIRS--+----------------------------+-,--+------------------+,--> ¦
¦ +-DDName=ddname--------------+ +-ReptNumber=xxxx--+ ¦
¦ +-DSN=dsn--------------------+ ¦
¦ +-VOLser=volser----+ ¦
¦ +-DIRDD=ddname---------------+ ¦
¦ +-DIRDSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
¦ ¦
¦ >--+------------------+,--> ¦
¦ +-Program=xxxxxxx*-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-¦ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ +-DUPS=LATEST---+ ¦
¦ ¦
¦ +-LABEL=1--+ ¦
¦ >--+--------------¦-,-+----------+-->< ¦
¦ +-SORT=sortkey-+ +-LABEL=nn-+ ¦
+-------------------------------------------------------------------------------+

 For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Export all unlocked entries and list all directory entries on the resulting sequential file.

EXPORT DUPS=UNLOCKED,FROMDSN=COMPWARE.AA.DB01,TODSN=TEST.EXFILE1
DIRS DSN=TEST.EXFILE1


Directory Sequential (DIRS)- Abend-AID

The following diagram illustrates the syntax for the DIRECTORY SEQUENTIAL command.

+--- DIRECTORY Sequential Command ----------------------------------------------+
¦ ¦
¦ +-DDName=ABNLDFIL------------+ ¦
| >>--DIRS--+----------------------------+-,-+-----------------------+,--> ¦
¦ +-DDName=ddname--------------+ +-ReptNumber=xxxxxxxxxx-+ ¦
¦ +-DSN=dsn--------------------+ ¦
¦ +-VOLser=volser----+ ¦
¦ +-DIRDD=ddname---------------+ ¦
¦ +-DIRDSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
¦ ¦
¦ >-+------------------+,+-----------------+,+------------+,+--------------+>¦
¦ +-ReptNumber=xxxxxx+ +-JOBNAME=xxxxxx*-+ +-ABEND=xxx*-+ +-JESID=xxxxx*-+ ¦
¦ ¦
¦ >-+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >-+------------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss]-,-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ > +---------------+-,-+----------+-,-+------------------+,--> ¦
¦ +-DUPS=LOCKED---¦ ¦-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ ¦
¦ +-LABEL=1--+ ¦
¦ >-+--------------+-,-+-----------+-->< ¦
¦ +-SORT=sortkey-+ +-LABEL=nn-+ ¦
+-------------------------------------------------------------------------------+

 For a description of the parameters see Command-Parameters-for-all-DDIO-files.

Example
Example

Export all unlocked entries and list all directory entries on the resulting sequential file.

EXPORT DUPS=UNLOCKED
DIRS DSN=TEST.EXFILE1


Directory Sequential (DIRS)- Abend-AID for CICS

The following diagram illustrates the syntax for the DIRECTORY SEQUENTIAL command.


+--- DIRECTORY Sequential Command ----------------------------------------------+
¦ ¦
¦ +-DDName=ABNLDFIL------------+ ¦
| >>--DIRS--+----------------------------+-,-+-----------------------+,--> ¦
¦ +-DDName=ddname--------------+ +-ReptNumber=xxxxxxxxxx-+ ¦
¦ +-DSN=dsn--------------------+ ¦
¦ +-VOLser=volser----+ ¦
¦ +-DIRDD=ddname---------------+ ¦
¦ +-DIRDSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
¦ ¦
¦ >--+-----------+-,-+---------------+,--> ¦
¦ +-Tran=xxx*-+ +-CicsCode=xxx*-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+------------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss]-,-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ ¦
¦ +-LABEL=1--+ ¦
¦ >--+--------------+-,-+----------+-->< ¦
¦ +-SORT=sortkey-+ +-LABEL=nn-+ ¦
+-------------------------------------------------------------------------------+

 For a description of the parameters, see Command-Parameters-for-all-DDIO-files.

Example
Example

Export all unlocked entries and list all directory entries on the resulting sequential file.

EXPORT DUPS=UNLOCKED
DIRS DSN=TEST.EXFILE1


ESTIMATE

The ESTIMATE command is used to determine a reasonable number of blocks to allocate for a shared directory when the allocation is being performed outside of CSS (i.e., through IDCAMS or File-AID product). The resulting calculation is expressed in records.

The following diagram illustrates the syntax used for the ESTIMATE command.


+--- ESTIMATE----------------------------------- -------------------------------+
¦ ¦
¦ >>--ESTIMATE---+-BLKsize=nnnn-+-,-+-DIRENTS=nnnn-+-->< ¦
¦ +-CISIZE=nnnn--+ ¦
¦ +-MODEL=dsn----+ ¦
¦ ¦
¦ >--+-------------------+,--> ¦
¦ +-TYPE=SOURCE-------+ ¦
¦ +-TYPE=AA-------+ ¦
¦ +-TYPE=CICS---------+ ¦
+-------------------------------------------------------------------------------+

 For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Estimate the number of blocks for a source shared directory with CISIZE=24569 and approximately 200 directory entries.

ESTIMATE CISIZE=24569,DIRENTS=200,TYPE=Source


EXAMINE

The EXAMINE command reads, analyzes, and optionally repairs the selected shared directory to ensure the following:

  • Internal shared directory structure integrity.
  • Shared directory index and data components match - that is, all entries in the shared directory are accessible via an indexed search, and are selectable for abend diagnosis viewing.
  • All databases attached to the shared directory still exist in the MVS catalog.
  • All entries in the shared directory exist in the attached databases.

This command creates a report of any inconsistencies and optionally with the REPAIR directive specified:

  • repairs shared directory index pointers
  • deletes from the shared directory orphaned data entries that are not selectable via the indexed path
  • deletes members from the shared directory that no longer exist in the attached database files
  • deletes members from the attached databases that are no longer in the shared directory
  • deletes incomplete members in the shared directory and attached databases (if DELETEIC specified)
  • finds members from the attached database that are no longer in the shared directory and restores them to the shared directory

The following diagram illustrates the syntax for the EXAMINE command.


+--- EXAMINE Command -----------------------------------------------------------+
¦ ¦
¦ +-DDNAME=ABNLDFIL-----------+ ¦
¦ >>--EXAMINE--+---------------------------+-,-+--------+-,-+----------+-->< ¦
¦ +-DDName=ddname-------------+ +-REPAIR-+ +-DELETEIC-+ ¦
¦ +-DSN=dsn-------------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ +-DIRDD=ddname--------------+ ¦
¦ +-DIRDSN=dsn----------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ >--+------------+>< ¦
¦ +-TYPE=AA----+ ¦
¦ +-TYPE=CICS--+ ¦
+-------------------------------------------------------------------------------+

 The TYPE parameter is required for this command only if:

  • The data set being acted on is a shared directory with both BMC AMI DevX Abend-AID and BMC AMI DevX Abend-AID for CICS databases attached

AND

  • You send the utility command to CWDDALLU directly, via a JCL entry reading EXEC PGM=CWDDALLU

For a description of the parameters, see Command-Parameters-for-all-DDIO-files.

The REPAIR directive attempts exclusive ENQ control of the selected shared directory.

EXAMINE may be run any time, without the REPAIR and/or DELETEIC directive, to analyze the shared directory’s integrity. However, during periods of heavy compile activity, INDEX/DATA mismatches may be erroneously reported on the EXAMINE report.

An effort was made to prevent EXAMINE/REPAIR from rendering the shared directory or its contents, unusable or impaired after REPAIR processing. However, a backup of the shared directory before using REPAIR is advised.

Runtime Example

Example

EXAMINE DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR


EXPAND

The EXPAND command reallocates an existing shared directory using new allocation parameters and copies all of the entries to the newly allocated shared directory. After the copy has completed successfully, the old shared directory is renamed to a temporary name, the new shared directory is renamed to the original name, and the old shared directory is then deleted. You can use this command to increase or decrease the space allocated for a shared directory and/or change the CISIZE.

When using the EXPAND command, the following rules apply:

  • The shared directory must already exist (you cannot use EXPAND to create a new shared directory).
  • The shared directory must not be in use.

Use the DIRDD or DIRDSN parameter to specify the existing shared directory. You can optionally use the VOLSER to specify the desired volume location for the new expanded shared directory.

The following diagram illustrates the syntax for the EXPAND command.

+--- EXPAND Command ------------------------------------------------------------+
¦ ¦
¦ +-DDNAME=ABNLDFIL-----------+ ¦
¦ >>--EXPAND--+---------------------------+-,--+----------------+-> ¦
¦ +-DDName=ddname-------------+ +-VSAMCAT=ddname-+ ¦
¦ +-DSN=dsn-------------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ +-DIRDD=ddname--------------+ ¦
¦ +-DIRDSN=dsn----------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ ¦
¦ +-CISIZE=4096-+ ¦
¦ >--+----------------+,-+-------------+-,-+-----------+-->< ¦
¦ +-RECords=nnnn---¦ +-CISIZE=nnnn-+ +-MODEL=dsn-+ ¦
¦ +-TRacKS=nnnn----¦ ¦
¦ +-CYLinders=nnnn-+ ¦
+-------------------------------------------------------------------------------+

 For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Expand an existing shared directory, but change the CISIZE to 8192.

EXPAND DIRDD=CAT11,
      MODEL=COMPWARE.LP.SOURCE.LISTING.SHRDIR,CISIZE=8192


EXPORT

 The EXPORT command exports selected entries from any form of DDIO file to a sequential file. The sequential file can then be used as input to the IMPORT command.

The “from” file can be specified using the FROMDSN or FROMDD parameter; or the ABNLFROM DD statement.

The "to" file (sequential file) can be specified using both the TODSN (and optional TOVOL) parameter, TODD parameter, or ABNLTO DD statement. However, if you are exporting to a tape, you must use the TODD parameter. When an entry is exported from a database and DELETE=YES, the shared directory is also updated.

If no other parameters are specified, then all entries are exported.

Multiple EXPORT commands can be used, if you include a unique TODD (or TODSN and TOVOL) parameter for each output data set. If the output file is a PDS, the target member must also be specified. A command must be designated for each PDS member. If the output file is a PDS, the target member can either be specified with the DSN in the TODD/ABNLTO DD statement, or by letting the PROGRAM= parameter also define the member name to be used with the TODD/ABNLTO or TODSN parameter (and cannot be a wildcard or long name). If unique parameters are not used, each successive export will overlay the previous export. See label for information on importing multiple files from tape.

When exporting members of a shared directory with 2 or more attached databases of the same type, the import of these members will (generally) not have the same member distribution in the databases attached to the import's shared directory. To have the same member distribution in the databases you must do the export & import for each individual database.

Importing from multi-volume data sets is not supported. When importing from multi-volume data sets, the following message is issued: CXUTL3041S Error during POINT-RECORD DDIO/database operation in IMPORT RC=0000000C. When exporting members, insure that a multi-volume data set is not used.

Export- Source Listing

The following diagram illustrates the syntax for the EXPORT command.

+--- EXPORT Command ----------------------------------------------------+
¦ ¦
¦ +-FROMDD=ABNLFROM------------------+ ¦
¦ >>--EXPORT--+----------------------------------+,--> ¦
¦ +-FROMDD=ddname--------------------¦ ¦
¦ +-FROMDSN=dsn,-+----------------+--+ ¦
¦ +-FROMVOL=volser-+ ¦
¦ ¦
¦ +-TODD=ABNLTO------------------+ ¦
¦ >--+------------------------------+-,--+-----------------+,--> ¦
¦ +-TODD=ddname------------------¦ +-ReptNumber=xxxx-+ ¦
¦ +-TODSN=dsn,-+--------------+--+ ¦
¦ +-TOVOL=volser-+ ¦
¦ ¦
¦ >--+------------------+--,--> ¦
¦ +-Program=xxxxxxx*-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--¦ ¦
¦ +-DUPS=UNLOCKED-¦ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ +-DUPS=LATEST---+ ¦
¦ ¦
¦ +-CONTINUE=YES-+ +-LABEL=1--+ +-DELETE=NO--+ ¦
¦ >--+--------------+-,-+----------+-,-+------------+--> ¦
¦ +-CONTINUE=NO--+ +-LABEL=nn-+ +-DELETE=YES-+ ¦
¦ ¦
¦ +-EXEC=SUMMARY-+ ¦
¦ >--+--------------+-->< ¦
¦ +-EXEC=CHECK---+ ¦
¦ +-EXEC=RUN-----+ ¦
+-----------------------------------------------------------------------+


The use of EXEC is only valid for stand-alone source DDIO files, not for shared directory and/or database files.

For a description of each parameter, see Command-Parameters-for-all-DDIO-files. See Shared Services SLCXCNTL installation library member CXLPEXPO for sample JCL for the EXPORT command.

Example
Example

For a Source Listing Database, export all complete source listings for the program names starting with ABCD and compiled on May 1, 2000 to a tape. Delete all entries that have been successfully exported.

EXPORT FROMDD=ABNLFROM,
       TODD=ABNLTO,
       PROGRAM=ABCD*,STARTDATE=05/01/2000,
       INC=NO,DELETE=YES


Export- Abend-AID

The following diagram illustrates the syntax for the EXPORT command.


+--- EXPORT Command ----------------------------------------------------+
¦ ¦
¦ +-FROMDD=ABNLFROM------------------+ ¦
¦ >>--EXPORT--+----------------------------------+,--> ¦
¦ +-FROMDD=ddname--------------------¦ ¦
¦ +-FROMDSN=dsn,-+----------------+--+ ¦
¦ +-FROMVOL=volser-+ ¦
¦ ¦
¦ +-TODD=ABNLTO------------------+ ¦
¦ >--+------------------------------+-,-+----------------------+,--> ¦
¦ +-TODD=ddname------------------¦ +-ReptNumber=xxxxxxxxx-+ ¦
¦ +-TODSN=dsn,-+--------------+--+ ¦
¦ +-TOVOL=volser-+ ¦
¦ ¦
¦ >--+-----------+-,-+---------------+-,-+-----------------+,--> ¦
¦ +-Tran=xxx*-+ +-CicsCode=xxx*-+ +-APPLID=xxxxxxx*-¦ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+------------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],--+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--¦ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ ¦
¦ +-CONTINUE=YES-+ +-LABEL=1--+ +-DELETE=NO--+ ¦
¦>--+--------------+-,-+----------+-,-+------------+-,-+-----------+->< ¦
¦ +-CONTINUE=NO--+ +-LABEL=nn-+ +-DELETE=YES-+ +-TYPE=AA---+ ¦
¦ +-TYPE=CICS-+ ¦
+-----------------------------------------------------------------------+

The use of EXEC is only valid for stand-alone BMC AMI DevX Abend-AID report DDIO files, not for shared directory and/or database files.

For a description of the parameters see Command-Parameters-for-all-DDIO-files. See Shared Services SLCXCNTL installation library member CXAAEXPO for sample JCL for the EXPORT command.

Example
Example

For a report database, export all complete BMC AMI DevX Abend-AID reports for the JOBNAME beginning with AACNT to a tape. Delete all entries that have been successfully exported.

EXPORT FROMOBJECT=DATABASE,FROMDD=ABNLFROM,TODD=ABNLTO,
       JOBNAME=AACNT*,INC=NO,DELETE=YES


Export- Abend-AID for CICS

The following diagram illustrates the syntax for the EXPORT command.


+--- EXPORT Command ----------------------------------------------------+
¦ ¦
¦ +-FROMDD=ABNLFROM------------------+ ¦
¦ >>--EXPORT--+----------------------------------+,--> ¦
¦ +-FROMDD=ddname--------------------¦ ¦
¦ +-FROMDSN=dsn,-+----------------+--+ ¦
¦ +-FROMVOL=volser-+ ¦
¦ ¦
¦ +-TODD=ABNLTO------------------+ ¦
¦ >--+------------------------------+-,-+----------------------+,--> ¦
¦ +-TODD=ddname------------------¦ +-ReptNumber=xxxxxxxxx-+ ¦
¦ +-TODSN=dsn,-+--------------+--+ ¦
¦ +-TOVOL=volser-+ ¦
¦ ¦
¦ >--+-----------+-,-+---------------+-,-+-----------------+,--> ¦
¦ +-Tran=xxx*-+ +-CicsCode=xxx*-+ +-APPLID=xxxxxxx*-¦ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+------------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],--+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--¦ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ ¦
¦ +-CONTINUE=YES-+ +-LABEL=1--+ +-DELETE=NO--+ ¦
¦>--+--------------+-,-+----------+-,-+------------+-,-+-----------+->< ¦
¦ +-CONTINUE=NO--+ +-LABEL=nn-+ +-DELETE=YES-+ +-TYPE=AA---+ ¦
¦ +-TYPE=CICS-+ ¦
+-----------------------------------------------------------------------+

For a description of the parameters, see Command-Parameters-for-all-DDIO-files. See Shared Services SLCXCNTL installation library member CXCFEXPO for sample JCL for the EXPORT command.

Example
Example

For a transaction database, export all complete transaction dump information entries for the transaction IDs starting with ABCD and abended with CICS transaction abend code ASRA to a tape. Delete all entries that have been successfully exported.

EXPORT FROMOBJECT=DATABASE,FROMDD=ABNLFROM,TODD=ABNLTO,
      TRAN=ABCD*,CICSCODE=ASRA,INC=NO,DELETE=YES


FLAG

FLAG modifies or creates a source listing (member in a DDIO file, source database, or source shared directory) to show which of its source lines have changed since a prior version of the program. Data definition source lines as well as executable source lines are compared and flagged as appropriate.

The old or baseline version of the program is contained in the DDIO file, source database, or source shared directory specified with the BASEDDIO parameter. The current version of the program is contained in the DDIO file, source database, or source shared directory specified with the CURRDDIO parameter. FLAG compares these two versions of the program and creates a new version that looks like the current version except that lines inserted or modified since the baseline version are flagged. Flags consist of a user-specified string of characters placed at a user-specified location on the source line (within the range of columns 73-80), as denoted by the ID parameter.

Important

There is no indication of lines present in the baseline version but subsequently deleted from the current version.

The new flagged member can be created in a separate DDIO file with no alteration of either baseline or current members, or it can be created in the same DDIO file as the current member, in which case it replaces the current member. The baseline member is not altered, replaced, or deleted in either case. The FLAGGEDDDIO parameter is used to specify the separate DDIO file to receive the flagged members. If this parameter is omitted, the new flagged members replace the corresponding current members in the CURRDDIO file.


Important

 If the CURRDDIO file is a source database or source shared directory, the FLAGGEDDDIO file must also be either a source database or source shared directory.  If the CURRDDIO file is a classic source DDIO file then the FLAGGEDDDIO file must also be a classic source DDIO.

 

There are three ways to specify that DDIO members represent the baseline and the current versions of the program:

  1.  Use the BASENUMBER= and CURRNUMBER= parameters to specify (by member number) which two members are to be compared. The BASENUMBER= value is the member number of the baseline version of the program in the DDIO file specified in the BASEDDIO parameter. The CURRNUMBER= value is the member number of the current version of the program in the DDIO file specified in the CURRDDIO parameter.
  2.  Use the PROGRAM= parameter to specify the name of a program. FLAG locates members in the BASEDDIO and CURRDDIO files with this name, and selects the BASEDDIO member with the oldest compile date and time as the baseline member, and the CURRDDIO member with the most recent compile date and time as the current member. Members from different language families (Assembler, COBOL, PL/I, or C) are not compared, even if their program names match.
  3.  Use the PROGRAM= parameter to specify a mask for a program name. The mask is 0-7 characters of a program name followed by an asterisk; for example, PROGRAM=ACC* or PROGRAM=*. FLAG uses this mask to identify matching program names, then proceeds as described in step 2.

FLAG locates all pairs of programs (one in BASEDDIO and one in CURRDDIO) of the same language family and with the same name, with a common name matching the mask. FLAG selects the program in BASEDDIO with the oldest compile date and time as the baseline member of the pair, and the one in CURRDDIO with the most recent compile date and time as the current member of the pair. FLAG then compares these two, and creates a new flagged member in the FLAGGEDDDIO file (or replaces the current member, if the FLAGGEDDDIO parameter was not specified).

Repeated Use of the FLAG Command

To ensure the most efficient use of I/O and CPU resources, FLAG does not reflag currently flagged members on subsequent runs when the FLAGGEDDDIO parameter is omitted.

Example
Example

You have used FLAG to compare two members, and have omitted the FLAGGEDDDIO parameter to ensure that lines changed from the baseline to the current member are flagged in the current DDIO file. If you run FLAG a second time on the same two members, CWDDSUTL detects the changes that have already been flagged, and bypasses these listings. This logic permits you to run FLAG against entire DDIO files, and use only the resources needed to analyze the changed programs in these files.


FLAG Report Output

FLAG printed output contains the following:

  • The data set names of the BASEDDIO, CURRDDIO, and (if used) FLAGGEDDDIO data sets.
  • The name, member number, etc., of the baseline, current, and (if FLAGGEDDDIO is used) flagged members.

If a program mask is used, there are potentially multiple pairs of members to display in the report. In this case, the report contains two sections that list members:

  1. A Selection Report showing every pair of listings that will be compared. This list is created early in FLAG processing to ensure that it is available in the job output, even if the job is subsequently canceled.
  2. An Action Report showing the actions taken with each pair of members in the Selection Report.

If you run with EXEC=SIMULATE, only the Selection Report is produced. This report can then be used to verify and approve all proposed comparisons. If necessary, you can use individual lines from the Selection Report to create separate FLAG commands that specify BASENUMBER= and CURRNUMBER= parameters in lieu of a PROGRAM= mask. Multiple FLAG commands can be entered in a single run of the CWDDSUTL utility.

Supported Compilers

FLAG supports all releases of COBOL, PL/I, and Assembler.

CA-OPTIMIZER products are not supported.

Flag Command Syntax

The following diagram illustrates the syntax for the FLAG command.


+--- FLAG Command --------------------------------------------------------------+
¦ ¦
¦ +-CurrDDIO=CURRENT-+ ¦
¦ >>--FLAG-+-CurrDDIO=ddname--+-,-+-----------------+,--> ¦
¦ +-BaseDDIO=ddname-+ ¦
¦ ¦
¦ >---+--------------------+-,-+------------------+,--> ¦
¦ +-FlaggedDDIO=ddname-+ +-Program=xxxxxxx*-+ ¦
¦ ¦
¦ >---+-----------------+-,-+----------------+,--> ¦
¦ +-BASENUMBER=nnnn-+ +-CuRrNumber=nnn-+ ¦
¦ ¦
¦ +-CONTINUE=YES-+ ¦
¦ >---ID=(string,column-number),-+--------------+,--> ¦
¦ +-CONTINUE=NO--+ ¦
¦ ¦
¦ +-EXEC=RUN------+ ¦
¦ >---+---------------+-->< ¦
¦ +-EXEC=SIMULATE-+ ¦
+-------------------------------------------------------------------------------+

For a description of the parameters, see Command-Parameters-for-all-DDIO-files.

Example
Example

Flag the newest version of the programs with names beginning with PREP to show which lines differ from the oldest version. Place the string ARQ in columns 76-78 of the altered/new lines.

FLAG PROGRAM=PREP*,ID=(ARQ,76)


FORMAT

The FORMAT command prepares a DDIO file for use after the file has been allocated, or it reformats an existing sequential DDIO file. The FORMAT command cannot be used to create or format databases or shared directories. See the CREATE command for instructions on creating a database or shared directory.

for more information about using these parameters and certain restrictions when setting up DDIO files, see Using-DDIO-files.

CAUTION:

The FORMAT command erases all of the information in the specified file.

The file being formatted is specified with the ABNLDFIL DD statement. The INDD parameter may be used to override the ddname.

  • For BMC AMI DevX Abend-AID report files, all parameters are optional. Code a parameter only if a default will be changed.
  • For source listing files, specify TYPE=SOURCE. All other parameters are optional.

Important

Source listing files that will be used by BMC AMI DevX Code Debug for CICS in a CICS region must be pre-allocated as VSAM.


  • For BMC AMI DevX Abend-AID for CICS source listing files, when you are formatting system or user DSECT files, code SUBTYPE=FX. TYPE=CICS is the default when SUBTYPE=FX is specified. All other parameters are optional.

To reformat a VSAM DDIO file, you must first delete the file, and then reallocate it before formatting it again. If the size of the VSAM DDIO file must be increased, do not use IDCAMS and the REPRODUCE command to copy the file. Instead, allocate a new file, format the file, and use the COPY or MOVE commands to copy or move members from the old DDIO file to the new DDIO file. If you specify the SPEED parameter as part of the DEFINE CLUSTER command, the FORMAT command will execute faster.

FORMAT Command Sample Programs

Sample programs for the FORMAT command are available in CSS installation library members. See the following table for a list of sample JCL members that contain information on using the FORMAT command.

Sample Programs for FORMAT Command

To format...

Use sample JCL member...

Report Files

CXFMTAA

Multi-volume Report Files

CXDFMAA1

Source Listing files

CXFMTSL

Multi-volume Source Listing Files

CXDFMSL1

Job also does VSAM file allocation.

FORMAT Command Syntax

The following diagram illustrates the syntax for the FORMAT command.

+--- FORMAT Command ------------------------------------------------------------+
¦ ¦
¦ +-ReptCount=100---+ ¦
¦ >>--FORMAT-+-------------------------------+-,-+-----------------+,-> ¦
¦ +-TYPE=SOURCE-------------------¦ +-ReptCount=nnnnn-+ ¦
¦ +-TYPE=CICS,-+----------------+-+ ¦
¦ +-SUBTYPE=FX-----+ ¦
¦ ¦
¦ ¦
¦ +-GroupCount=2----+ +-Indd=ABNLDFIL-+ ¦
¦ >--+-----------------+-,-+---------------+,--> ¦
¦ +-GroupCount=nnnn-+ +-Indd=ddname---+ ¦
¦ +-INDSN=dsn-----+ ¦
¦ ¦
¦ +-AutoDelete=YES----+ +-BLKsize=27998--+ ¦
¦ >--+-------------------+-,-+----------------+,--> ¦
¦ +-AutoDelete=DUPS---¦ +-BLKsize=nnnnn--+ ¦
¦ +-AutoDelete=STAGED-¦ ¦
¦ +-AutoDelete=NO-----+ ¦
¦ ¦
¦ +-MULTIVOLUME=NO--+ (1) +-EXTENTS=460--+ +-INDEX=EXT-+ (2) ¦
¦ >--+-----------------+,------+--------------+-,-+-----------+--->< ¦
¦ +-MULTIVOLUME=YES-+ +-EXTENTS=nnn--+ ¦
+-------------------------------------------------------------------------------+

For description of the parameters, see Command-Parameters-for-all-DDIO-files.


Important

  • The MULTIVOLUME parameter is only valid for VSAM DDIO files that have been pre-allocated.
  • This parameter is only useful for BMC AMI DevX Abend-AID report files, and is now the default for formatting report files.
Example 1:
Example

Format a sequential Abend-AID report file with a blocksize of 8 KB, and a report count of 500.

FORMAT BLKSIZE=8192,REPTCOUNT=500


Example 2:
Example

Format a source listing file to be used by BMC AMI DevX Abend-AID and BMC AMI DevX Code Debug for CICS.

FORMAT TYPE=SOURCE,GROUPCOUNT=8,AUTODELETE=DUPS


IMPORT

The IMPORT command selectively restores previously exported entries from a sequential file to the specified DDIO file.

The “from” file (sequential file) can be specified using the FROMDD parameter, the FROMDSN (and optional FROMVOL) parameter, or the ABNLFROM DD statement.

The To DDIO file can be specified using both the TODSN and TOVOL parameters, or the TODD parameter. When an entry is imported to a database that is attached to a shared directory, the shared directory is also updated.

If the access method is VSAM, then you must specify DISP=SHR for the TODSN DD statement in your JCL.

Multiple IMPORT commands can be used, if you include a unique FROMDD (or FROMDSN and FROMVOL) parameter for each input data set. If the input file is a PDS, the contributing member must also be specified. A command must be designated for each PDS member. If the input file is a PDS, the contributing member can either be specified with the DSN in the FROMDD (or ABNLFROM) DD statement, or by letting the PROGRAM= parameter also define the member name to be used with the FROMDD/ABNLFROM or FROMDSN parameter (and cannot be a wildcard or long name). See label for information on importing multiple files from tape.Since IDR token is a unique key within a Source Listing Shared Directory, it is possible to encounter a duplicate IDR condition during member IMPORT - a warning message will be issued and the member will not be imported. The remaining IMPORT processing continues with a return code of 4.

When exporting members of a shared directory with 2 or more attached databases of the same type, the import of these members will (generally) not have the same member distribution in the databases attached to the import's shared directory. To have the same member distribution in the databases you must do the export & import for each individual database.

Importing from multi-volume data sets is not supported. When importing from multi-volume data sets, the following message is issued: CXUTL3041S Error during POINT-RECORD DDIO/database operation in IMPORT RC=0000000C.

Import- Source Listing

If none of the parameters are specified, then all entries are imported. The following diagram illustrates the syntax for the IMPORT command.


+--- IMPORT Command ----------------------------------------------------+
¦ ¦
¦ +-FROMDD=ABNLFROM------------------+ ¦
¦ >>--IMPORT--+----------------------------------+,--> ¦
¦ +-FROMDD=ddname--------------------¦ ¦
¦ +-FROMDSN=dsn,-+----------------+--+ ¦
¦ +-FROMVOL=volser-+ ¦
¦ ¦
¦ +-TODD=ABNLTO------------------+ ¦
¦ >--+------------------------------+-,-+-----------------+,--> ¦
¦ +-TODD=ddname------------------¦ +-ReptNumber=xxxx-+ ¦
¦ +-TODSN=dsn,-+--------------+--+ ¦
¦ +-TOVOL=volser-+ ¦
¦ ¦
¦ >--+------------------+,--> ¦
¦ +-Program=xxxxxxx*-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-¦ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ +-DUPS=LATEST---+ ¦
¦ ¦
¦ +-CONTINUE=YES-+ +-LABEL=1--+ ¦
¦ >--+--------------+-,-+----------+--> ¦
¦ +-CONTINUE=NO--+ +-LABEL=nn-+ ¦
¦ ¦
¦ +-EXEC=SUMMARY-+ ¦
¦ >--+--------------+-->< ¦
¦ +-EXEC=CHECK---+ ¦
¦ +-EXEC=RUN-----+ ¦
+-----------------------------------------------------------------------+

The use of EXEC is only valid for stand-alone source DDIO files, not for shared directory and/or database files.

For a description of each parameter, see Command-Parameters-for-all-DDIO-files. See Shared Services SLCXCNTL installation library member CXLPIMPO for sample JCL for the IMPORT command.

Example
Example

Restore all entries from a sequential file to a Source Listing Database.

IMPORT FROMDSN=COMPWARE.LP.DB01,
       TODSN=COMPWARE.LP.SOURCE.LISTING.LPDB01


Import- Abend-AID

The following diagram illustrates the syntax for the IMPORT command.


+--- IMPORT Command ------------------------------------------------------------+
¦ ¦
¦ +-FROMDD=ABNLFROM------------------+ ¦
¦ >>--IMPORT--+----------------------------------+,--> ¦
¦ +-FROMDD=ddname--------------------¦ ¦
¦ +-FROMDSN=dsn,-+----------------+--+ ¦
¦ +-FROMVOL=volser-+ ¦
¦ ¦
¦ +-TODD=ABNLTO------------------+ ¦
¦ >--+------------------------------+-,-+-----------------------+,--> ¦
¦ +-TODD=ddname------------------¦ +-ReptNumber=xxxxxxxxxx-+ ¦
¦ +-TODSN=dsn,-+--------------+--+ ¦
¦ +-TOVOL=volser-+ ¦
¦ ¦
¦ >--+------------------+-,-+------------+,--> ¦
¦ +-JOBNAME=xxxxxxx*-+ +-ABEND=xxx*-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ ¦
¦ +-CONTINUE=YES-+ +-LABEL=1--+ ¦
¦ >--+--------------+-,-+----------+--> ¦
¦ +-CONTINUE=NO--+ +-LABEL=nn-+ ¦
¦ ¦
¦ +-EXEC=SUMMARY-+ ¦
¦ >--+--------------+-->< ¦
¦ +-EXEC=CHECK---+ ¦
¦ +-EXEC=RUN-----+ ¦
+-------------------------------------------------------------------------------+

The use of EXEC is only valid for stand-alone BMC AMI DevX Abend-AID report DDIO files, not for shared directory and/or database files.

For a description of the parameters see Command-Parameters-for-all-DDIO-files. See Shared Services SLCXCNTL installation library member CXAAIMPO for sample JCL for the IMPORT command.

Example
Example

Restore all entries from a sequential file to a report database.

IMPORT FROMDSN=COMPWARE.AA.DB01,
       TODSN=COMPWARE.AA.RPT02


Import - Abend-AID for CICS

The following diagram illustrates the syntax for the IMPORT command.


+--- IMPORT Command ------------------------------------------------------------+
¦ ¦
¦ +-FROMDD=ABNLFROM------------------+ ¦
¦ >>--IMPORT--+----------------------------------+,--> ¦
¦ +-FROMDD=ddname--------------------¦ ¦
¦ +-FROMDSN=dsn,-+----------------+--+ ¦
¦ +-FROMVOL=volser-+ ¦
¦ ¦
¦ +-TODD=ABNLTO------------------+ ¦
¦ >--+------------------------------+-,-+-----------------------+,--> ¦
¦ +-TODD=ddname------------------¦ +-ReptNumber=xxxxxxxxxx-+ ¦
¦ +-TODSN=dsn,-+--------------+--+ ¦
¦ +-TOVOL=volser-+ ¦
¦ ¦
¦ >--+-----------+-,-+---------------+,--> ¦
¦ +-Tran=xxx*-+ +-CicsCode=xxx*-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ ¦
¦ +-CONTINUE=YES-+ +-LABEL=1--+ ¦
¦ >--+--------------+-,-+----------+-->< ¦
¦ +-CONTINUE=NO--+ +-LABEL=nn-+ ¦
+-------------------------------------------------------------------------------+

For a description of the parameters see Command-Parameters-for-all-DDIO-files. See Shared Services SLCXCNTL installation library member CXCFIMPO for sample JCL for the IMPORT command.

Example
Example

Restore all entries from a sequential file to a transaction database.

IMPORT FROMDSN=COMPWARE.AACICS.DB01,
       TODSN=COMPWARE.AACICS.SERVER1.TRANDB01


LOCK

The LOCK command locks selected entries of one or more specified DDIO files. While an entry is locked with this command (this is called manually locked), it cannot be automatically deleted when the DDIO file becomes full. At least one selective parameter must be specified on the LOCK command.

The scope of the LOCK command can be a single source file or report file, or a single database, or all databases attached to a specified shared directory. If you specify the DIRDD= or DIRDSN= parameter, and supply a DDname or data set name for a shared directory, the LOCK command will apply to every database attached to that shared directory. All other forms of the LOCK command apply only to one data set.

Lock - Source Listing

The following diagram illustrates the syntax for the LOCK command.


+--- LOCK Command --------------------------------------------------------------+
¦ ¦
¦ +-DDNAME=ABNLDFIL-----------+ ¦
¦ >>--LOCK--+---------------------------+-->< ¦
¦ +-DDName=ddname-------------+ ¦
¦ +-DSN=dsn-------------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ +-DIRDD=ddname--------------+ ¦
¦ +-DIRDSN=dsn----------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ ¦
¦ >--+-----------------+-,-+------------------+,--> ¦
¦ +-ReptNumber=xxxx-+ +-Program=xxxxxxx*-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+-->< ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-¦ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ +-DUPS=LATEST---+ ¦
+----------------------------------------------------------------------------+

 For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

For a Source Listing Database, lock source listing number 1105.

LOCK,DSN=COMPWARE.LP.SOURCE.LISTING.LPDB01,REPTNUMBER=1105


Lock - Abend-AID

The following diagram illustrates the syntax for the LOCK command.

+--- LOCK Command ------------------------------------------------------------------+
¦ ¦
¦ +-DDNAME=ABNLDFIL-----------+ ¦
¦ >>--LOCK--+---------------------------+-->< ¦
¦ +-DDName=ddname-------------+ ¦
¦ +-DSN=dsn-------------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ +-DIRDD=ddname--------------+ ¦
¦ +-DIRDSN=dsn----------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ ¦
¦ >--+-----------------------+-,-+------------------+-,-+------------+,--> ¦
¦ +-ReptNumber=xxxxxxxxxx-+ +-JOBNAME=xxxxxxx*-+ +-ABEND=xxx*-+ ¦
¦ ¦
¦ >--+-----------------+,--> ¦
¦ +-JESID=xxxxxxx*--+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+-,-+-----------+-><¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ +-TYPE=AA---+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ +-TYPE=CICS-+ ¦
+-----------------------------------------------------------------------------------+


For a description of the parameters see Command-Parameters-for-all-DDIO-files.

Example
Example

For a report database, lock report number 1105.

LOCK,DSN=COMPWARE.AA.RPT02,RN=1105


Lock — Abend-AID for CICS

The following diagram illustrates the syntax for the LOCK command.


+--- LOCK Command -------------------------------------------------------------+
¦ ¦
¦ +-DDNAME=ABNLDFIL-----------+ ¦
¦ >>--LOCK--+---------------------------+-->< ¦
¦ +-DDName=ddname-------------+ ¦
¦ +-DSN=dsn-------------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ +-DIRDD=ddname--------------+ ¦
¦ +-DIRDSN=dsn----------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ ¦
¦ >--+-----------------------+-,-+-----------+-,-+---------------+,--> ¦
¦ +-ReptNumber=xxxxxxxxxx-+ +-Tran=xxx*-+ +-CicsCode=xxx*-+ ¦
¦ ¦
¦ >--+-----------------+,--> ¦
¦ +-APPLID=xxxxxxx*-¦ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+-,-+-----------+-><¦
¦ +-DUPS=LOCKED---+ +-INC=NO---+ +-NOTFOUND=IGNORE--+ +-TYPE=AA---+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ +-TYPE=CICS-+ ¦
+------------------------------------------------------------------------------+

For a description of the parameters see Command-Parameters-for-all-DDIO-files.

Example
Example

For a transaction database, lock transaction dump information entry number 1105.

LOCK,DSN=COMPWARE.AACICS.SERVER1.TRANDB01,
    REPTNUMBER=1105


MOVE

The MOVE command copies selected entries from one DDIO file to another, and deletes them from the From file, provided they are successfully copied. Entries can be moved in any of the following ways:

  • from one report file to another report file
  • from one source file to another source file
  • from one database to another database
  • from a database to a shared directory
  • from a shared directory to a database
  • from one shared directory to another shared directory

You may not use MOVE to mix members of different types in a single database. The three types of members are source, BMC AMI DevX Abend-AID report, and BMC AMI DevX Abend-AID for CICS report.

Use the FROMDD and TODD parameters to specify the From and To file ddnames. When an entry is moved to or from a database, which is attached to a shared directory, the shared directory is also updated immediately. If none of the parameters are specified, then all entries are moved.

Only successfully copied entries are deleted from the From file.

Since IDR token is a unique key within a Source Listing Shared Directory, it is possible to encounter a duplicate IDR condition during member MOVE - a warning message will be issued and the member will not be moved. The remaining MOVE processing continues with a return code of 4.

The following diagram illustrates the syntax for the MOVE command.

Move - Source Listing

The following diagram illustrates the syntax for the MOVE command.

+--- MOVE Command ------------------------------------------------------------------+
¦ ¦
¦ +-TODD=ABNLTO------------------+ ¦
¦ >>--MOVE---+------------------------------+,--> ¦
¦ +-TODD=ddname------------------¦ ¦
¦ +-TODSN=dsn,-+--------------+--+ ¦
¦ +-TOVOL=volser-+ ¦
¦ ¦
¦ +-FROMDD=ABNLFROM------------------+ ¦
¦ >----------+----------------------------------+,--> ¦
¦ +-FROMDD=ddname--------------------¦ ¦
¦ +-FROMDSN=dsn,-+----------------+--+ ¦
¦ +-FROMVOL=volser-+ ¦
¦ ¦
¦ +-RETAINRN=NO--+ ¦
¦ >--+--------------+-,-+-----------------+-,-+------------------+,--> ¦
¦ +-RETAINRN=YES-+ +-ReptNumber=xxxx-+ +-Program=xxxxxxx*-+ ¦
¦ ¦
¦ >--+--------------+-,-+----------------------------------------------+,--> ¦
¦ +-SORT=sortkey-+ +-DAYSOLD=nnn----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn--------------------------------¦ ¦
¦ +-YEARSOLD=nnn---------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+-+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-¦ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ +-DUPS=LATEST---+ ¦
¦ ¦
¦ +-CONTINUE=YES-+ +-EXEC=SUMMARY-+ ¦
¦ >--+--------------+-,--+--------------+-->< ¦
¦ +-CONTINUE=NO--+ +-EXEC=CHECK---+ ¦
¦ +-EXEC=SUMMARY-+ +-EXEC=RUN-----+ ¦
¦ ¦
+-----------------------------------------------------------------------------------+


The use of EXEC is only valid for stand-alone source DDIO files, not for shared directory and/or database files.

For a description of each parameter, see . See Shared Services SLXCNTL installation library member CXLPMOVE for sample JCL for the MOVE command.

Examples
Example

Move all entries from one shared directory to another, and do not retain the report numbers.

MOVE TODSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR.
     FROMDSN=COMPWARE.LP.SOURCE.LISTING2.SHRDIR.
     RETAINRN=NO

Move all unlocked entries from one Source Listing Database to another Source Listing Database.

MOVE TODSN=COMPWARE.LP.SOURCE.LISTING.LPDB02.
FROMDSN=COMPWARE.LP.SOURCE.LISTING.LPDB01
DUPS=UNLOCKED


Move - Abend-AID

The following diagram illustrates the syntax for the MOVE command.

+--- MOVE Command --------------------------------------------------------------+
¦ ¦
¦ +-TODD=ABNLTO------------------+ ¦
¦ >>--MOVE--+------------------------------+,--> ¦
¦ +-TODD=ddname------------------¦ ¦
¦ +-TODSN=dsn,-+-----------------+ ¦
¦ +-TOVOL=volser-+ ¦
¦ ¦
¦ ¦
¦ +-FROMDD=ABNLFROM------------------+ +-RETAINRN=NO--+ ¦
¦ >--+----------------------------------+-,-+--------------+,--> ¦
¦ +-FROMDD=ddname--------------------¦ +-RETAINRN=YES-+ ¦
¦ +-FROMDSN=dsn,-+----------------+--+ ¦
¦ +-FROMVOL=volser-+ ¦
¦ ¦
¦ >--+-----------------------+-,-+------------------+,--> ¦
¦ +-ReptNumber=xxxxxxxxxx-+ +-JOBNAME=xxxxxxx*-+ ¦
¦ ¦
¦ >--+----------------+-,-+------------+-,-+--------------+,--> ¦
¦ +-JESID=xxxxxxx*-+ +-ABEND=xxx*-+ +-SORT=sortkey-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-CONTINUE=YES-+ ¦
¦ >--+---------------+-,-+----------+-,-+--------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-CONTINUE=NO--+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ ¦
¦ ¦
¦ +-NOTFOUND=ERROR---+ +-EXEC=SUMMARY-+ ¦
¦ >--+------------------+-,-+-----------+-,-+--------------+-->< ¦
¦ +-NOTFOUND=IGNORE--+ +-TYPE=AA---+ +-EXEC=CHECK---+ ¦
¦ +-NOTFOUND=WARNING-+ +-TYPE=CICS-+ +-EXEC=RUN-----+ ¦
+-------------------------------------------------------------------------------+


 The use of EXEC is only valid for stand-alone BMC AMI DevX Abend-AID report DDIO files, not for shared directory and/or database files.

The TYPE parameter is required for this command only if:

  • The data set being acted on is a shared directory with both BMC AMI DevX Abend-AID and BMC AMI DevX Abend-AID for CICS databases attached

AND

  • You send the utility command to CWDDALLU directly, via a JCL entry reading EXEC PGM=CWDDALLU

For a description of the parameters, see Command-Parameters-for-all-DDIO-files. See Shared Services SLCXCNTL installation library member CXAAMOVE for sample JCL for the MOVE command.

Examples
Example

Move all entries from one shared directory to another, and do not retain the report numbers.

MOVE,TODSN=COMPWARE.AA.SHRDIR1,
     FROMDSN=COMPWARE.AA.SHRDIR2,
     RETAINRN=NO

Move all unlocked entries from one report database to another report database.

MOVE,TODSN=COMPWARE.AA.DB01,
FROMDSN=COMPWARE.AA.DBAA01,
    DUPS=UNLOCKED


Move - Abend-AID for CICS

The following diagram illustrates the syntax for the MOVE command.


+--- MOVE Command --------------------------------------------------------------+
¦ ¦
¦ +-TODD=ABNLTO------------------+ ¦
¦ >>--MOVE--+------------------------------+,--> ¦
¦ +-TODD=ddname------------------¦ ¦
¦ +-TODSN=dsn,-+-----------------+ ¦
¦ +-TOVOL=volser-+ ¦
¦ ¦
¦ ¦
¦ +-FROMDD=ABNLFROM------------------+ +-RETAINRN=NO--+ ¦
¦ >--+----------------------------------+-,-+--------------+,--> ¦
¦ +-FROMDD=ddname--------------------¦ +-RETAINRN=YES-+ ¦
¦ +-FROMDSN=dsn,-+----------------+--+ ¦
¦ +-FROMVOL=volser-+ ¦
¦ ¦
¦ >--+-----------------------+-,-+-----------+,--> ¦
¦ +-ReptNumber=xxxxxxxxxx-+ +-Tran=xxx*-+ ¦
¦ ¦
¦ >--+-----------------+-,-+---------------+-,-+--------------+,--> ¦
¦ +-APPLID=xxxxxxx*-¦ +-CicsCode=xxx*-+ +-SORT=sortkey-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-CONTINUE=YES-+ ¦
¦ >--+---------------+-,-+----------+-,-+--------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-CONTINUE=NO--+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ ¦
¦ ¦
¦ +-NOTFOUND=ERROR---+ ¦
¦ >--+------------------+-,-+-----------+->< ¦
¦ +-NOTFOUND=IGNORE--+ +-TYPE=AA---+ ¦
¦ +-NOTFOUND=WARNING-+ +-TYPE=CICS-+¦
+-------------------------------------------------------------------------------+

 For a description of the parameters, see Command-Parameters-for-all-DDIO-files. See Shared Services SLXCNTL installation library member CXCFMOVE for sample JCL for the MOVE command.

Examples
Example

Move all entries from one shared directory to another, and do not retain the report numbers.

MOVE,TODSN=COMPWARE.AACICS.SERVER2.SHRDIR,
     FROMDSN=COMPWARE.AACICS.SERVER1.SHRDIR,
     RETAINRN=NO

Move all unlocked entries from one transaction database to another transaction database, for example, if you are moving the reports from the database to a file attached to a new server.

MOVE,TODSN=COMPWARE.AACICS.SERVER2.TRANDB02,
FROMDSN=COMPWARE.AACICS.SERVER1.TRANDB01,
    DUPS=UNLOCKED


PRINT (P)

There are three uses for the PRINT command; printing a source listing, printing an BMC AMI DevX Abend-AID report, and printing the specifications for a previously-defined DBMODEL.

To provide source support, the source listing file must be specified by the SLSF001DD statement or the DD statement specified by the SLSDD parameter. See the note in the SLSF001 statement under Usage-considerations if you require more than one source listing file.

If the OUTDD parameter is omitted, the output is sent to the file specified by the ABNLREPT DD statement. If the OUTDD parameter is coded, the output is sent to the file with the ddname specified by the OUTDD parameter.

At least one parameter must be specified. For source shared directory either REPTNUMBER or PROGRAM must be specified; if the program parameter is used, only the most current matching member will be printed.

The following diagram illustrates the syntax for the PRINT command.


+--- PRINT Command -------------------------------------------------------------+
¦ ¦
¦ >>--Print-+-----------------------+-,-+------------------+,--> ¦
¦ +-ReptNumber=xxxxxxxxxx-+ +-Program=xxxxxxx*-¦ ¦
¦ +-Jobname=xxxxxxx*-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ ¦
¦ >--+---------------+-,-+----------+-,-+---------------+,--> ¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-SORT=sortkey--+ ¦
¦ +-DUPS=UNLOCKED-¦ +-INC=ONLY-+ ¦
¦ +-DUPS=LATEST---+ ¦
¦ ¦
¦ +-SEEFLAGS=YES-+ +-Indd=ABNLDFIL-+ ¦
¦ >--+--------------+-,--+---------------+-,-+--------------+,--> ¦
¦ +-SEEFLAGS=NO--+ +-Indd=ddname---+ +-Outdd=ddname-+ ¦
¦ +-INDSN=dsn-----+ ¦
¦ +-DSN=dsn-------+ ¦
¦ +-DIRDSN=dsn----+ ¦
¦ +-DIRDD=ddname--+ ¦
¦ +-DDName=ddname-+ ¦
¦ ¦
¦ +-LINesize=S-+ +-SECTion=opt-----------+ ¦
¦ >--+-----------------+-,-+------------+-,-+-----------------------+-,--> ¦
¦ +-SLSDD=ddname----+ +-LINesize=L-+ +-SECTion=opt1,..,optn)-+ ¦
¦ ¦
¦ +-PageSize=60-+ +-LANGuage=ENGLISH-+ +-NOTFOUND=ERROR---+ ¦
¦ > -+-------------+-,-+------------------+-,-+------------------+-->< ¦
¦ +-PageSize=nn-+ +-LANGuage=USAMIX--¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-LANGuage=USAUC---+ +-NOTFOUND=WARNING-+ ¦
+-------------------------------------------------------------------------------+

 For a description of each parameter, see Command-Parameters-for-all-DDIO-files. See the Shared Services SLCXCNTL installation library member CXPDDSU for sample JCL to run the PRINT command.

Example
Example

Print report number 207.

PRINT RN=207

Printing an Embedded Source Support listing (OBJECT=ESS)


To print an embedded source support (OBJECT=ESS) listing from a load module, the DDName or DSN (or default of ABNLDFIL DDname) must specify the load library containing the module, the PROGRAM parameter is used to specify the name of the load module, and the optional ID parameter is used to specify the CSECT-name within that module to be printed. The ID parameter is optional if that name is the same as the load module, however the ID parameter is required should that name be different than the load module.

The following diagram illustrates the syntax for the PRINT command of an ESS listing.


+--- PRINT Command ---------------------------------------------------------------------+
¦ ¦
¦ +-DDName=ABNLDFIL --+ ¦
¦¦¦ ¦
¦ >>--Print--OBJect=ESS,-+-------------------+--PROGRAM=xxxxxxxx,--+--------------+ ¦
¦¦¦¦¦¦
¦ +---DDName=ddname --+ +-ID=xxxxxxxx--+ ¦
¦ +------DSN=dsn------+ ¦
¦ ¦
¦ ¦
+---------------------------------------------------------------------------------------+
EXAMPLE
Example

PRINT   OBJECT=ESS,PROGRAM=MODULEA,ID=TESTA

Using the default ABNLDFIL DDname, set to the load library containing module 'MODULEA' that has a CSECT 'TESTA'.

PRINT OBJECT=ESS,PROGRAM=TESTABC

Where the module name and CSECT name are both 'TESTABC'.

Printing DBMODEL specifications

To print the specifications of a DBMODEL, you must specify OBJECT=DBMODEL as well as the shared directory containing that DBMODEL.

If the OUTDD parameter is omitted, the output (along with other CWDALLU messages and reports) is sent to the file specified by the ABNLREPT DD statement. If the OUTDD parameter is coded, the output is sent to the file with the ddname specified by the OUTDD parameter.

The following diagram illustrates the syntax for the PRINT command with OBJECT=DBMODEL.


+--- PRINT Command -------------------------------------------------------------+
¦ ¦
¦ +-DDNAME=ABNLDFIL-----------+ ¦
¦ >>--Print-+-OBJect=DBMODEL,--+---------------------------+ ¦
¦ +-DDName=ddname-------------+ ¦
¦ +-DSN=dsn-------------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ +-DIRDD=ddname--------------+ ¦
¦ +-DIRDSN=dsn----------------+ ¦
¦ +-VOLser=volser---+ ¦
+-------------------------------------------------------------------------------+

 For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

PRINT OBJECT=DBMODEL.DIRNSN=BMC.LP.SOURCE.LISTING.SHRDIR.


REFRESH

This command applies only to Source Shared Directories.

The REFRESH command can be used to control the number of duplicate source listing members within a source shared directory, as well as provide a way to control the number of autolocked (L) members at the shared directory level, during a single execution. To refresh the desired number of autolocked and/or duplicate members within the shared directory, the REFRESH command must be run again, as needed.

The REFRESH command has two action parameters: AUTOLOCKMAX and DUPMAX. At least one of these parameters must be specified or an error message will be generated.

When the AUTOLOCKMAX parameter is specified, the number of autolocked duplicate members will be adjusted to the specified value across the shared directory (excluding manually locked members) by autolocking the most current duplicate members and/or unlocking the older duplicate autolocked members, based on compile time/date. The AUTOLOCKMAX parameter requires that ALL attached source databases must be AD=DUPS and/or AD=STAGED, if not an error message will be generated and the job will complete with an RC=8. No changes will be made to any of the attached databases.

When the DUPMAX parameter is specified, the number of duplicate members residing across the shared directory will be limited to the specified value (excluding manually locked members) by deleting the older duplicate members, based on compile date/time. Any member residing on a database with the AD=NO attribute will also be ignored for the DUPMAX process.

If both parameters are specified, the AUTOLOCKMAX value will be applied first, followed by the DUPMAX value.

There is also an optional parameter EXEC=CHECK that can be specified, in addition to one or both of the action parameters, that will bypass any updates to the shared directory and attached databases while still producing the detailed report of actions that would have been taken. The report produced when using EXEC=CHECK shows what the actions would have been -- but NO UPDATES were actually done to the members shown.

+--- REFRESH Command -----------------------------------------------------------+
¦ ¦
¦ +-DDNAME=ABNLDFIL-----------+ ¦
¦ >>--REFRESH--+---------------------------+ ¦
¦ +-DDName=ddname-------------+ ¦
¦ +-DSN=dsn-------------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ +-DIRDD=ddname--------------+ ¦
¦ +-DIRDSN=dsn----------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ ¦
¦ >--+----------------+-,-+-----------+-,-+-----------+-->< ¦
¦ +-AutoLockMAX=nn-+ +-DUPMAX=nn-+ +-EXEC=CHECK-+ ¦
+-------------------------------------------------------------------------------+


For a description of the parameters, see Command-Parameters-for-all-DDIO-files.

Examples
Example

Force a maximum of one autolocked duplicate member each within the shared directory:

REFRESH DIRDSN=SOURCE.LISTING.SHRDIR,AUTOLOCKMAX=1

Limit the total number of duplicate members to two each within the shared directory:

REFRESH DIRDSN=SOURCE.LISTING.SHRDIR,DUPMAX=2

To do both of the above at once:

REFRESH DIRDSN=SOURCE.LISTING.SHRDIR,DUPMAX=2,
AUTOLOCKMAX=1

To see what actions would have taken place with DUPMAX=2 and ALMAX=1, but without actually updating the files:

REFRESH DIRDSN=SOURCE.LISTING.SHRDIR,DUPMAX=2,
ALMAX=1,EXEC=CHECK


RESET

The RESET command disconnects a database from a shared directory when the shared directory is lost or damaged. The database can then be attached to another shared directory.

The following diagram illustrates the syntax for the RESET command.


+--- RESET Command -------------------------------------------------------------+
¦ ¦
¦ +-DDName=ABNLDFIL--------------+ ¦
¦ >>--RESET---+------------------------------+,-->< ¦
¦ +-DDName=ddname----------------¦ ¦
¦ +-DSN=dsn,-+----------------+--+ ¦
¦ +-VOLser=volser-+ ¦
+-------------------------------------------------------------------------------+

 For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Disconnect a Source Listing Database from a damaged shared directory by resetting all the flags.

RESET DSN=COMPWARE.LP.SOURCE.LISTING.LPDB01


SCRATCH (SCR)

The SCRATCH command clears all entries from a shared directory for a specified database that has been lost or damaged.

The following diagram illustrates the syntax for the SCRATCH command.


+--- SCRATCH Command -------------------------------------------------------+
¦ ¦
¦ >>--SCRATCH-+-DIRDD=ddname-+-,-+-DSN=dsn-+--->< ¦
¦ +-DIRDSN=dsn---+ ¦
+---------------------------------------------------------------------------+

For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Scratch all entries from a shared directory for a lost Source Listing Database.

SCRATCH DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
        DSN=COMPWARE.LP.SOURCE.LISTING.LPDB01


TEST

The TEST command allows testing of the DBMODEL specification and dbmodelname previously defined for the specified source shared directory. The TEST request will create and format a Source Listing Database according to the DBMODEL specifications but will NOT attach it to the shared directory.

The following diagram illustrates the syntax for the TEST command.


+--- TEST Command ------------------------------------------------------+
¦ ¦
¦ +-DDNAME=ABNLDFIL-----------+ ¦
¦ >>--TEST-+-OBJect=DBMODEL,--+---------------------------+ ¦
¦ +-DDName=ddname-------------+ ¦
¦ +-DSN=dsn-------------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ +-DIRDD=ddname--------------+ ¦
¦ +-DIRDSN=dsn----------------+ ¦
¦ +-VOLser=volser---+ ¦
+-----------------------------------------------------------------------+

 For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Test the allocation and formatting of the DBMODEL previously created for a shared directory.

TEST OBJECT=DBMODEL,DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR


UNCONVERT (UNCNVT)

The UNCONVERT command first detaches a Source Listing Database or Report Database from its shared directory, and then changes the format of the Source Listing Database back to that of a Source Listing file, or changes the format of the Report Database back to that of a Report file. Long name members will still be in the source listing file but will not correctly identify themselves and will not be usable.

To ensure that you are aware of the shared directory from which you are detaching the database, you can optionally use the DIRDSN parameter to specify the name of the shared directory. If the shared directory is incorrectly specified, an error will be returned. If the DIRDSN is not specified, then the specified database will be unconditionally detached from the appropriate shared directory before changing the format.

The following diagram illustrates the syntax for the UNCONVERT command.


+--- UNCONVERT Command -----------------------------------------------------+
¦ ¦
¦ +-DDName=ABNLDFIL--+ ¦
¦ >>--UNCoNVerT--+-DIRDD=ddname-+-,-+------------------+-->< ¦
¦ +-DIRDSN=dsn---+ +-DDName=ddname----+ ¦
¦ +-DSN=dsn----------+ ¦
¦ +-VOLser=volser-+ ¦
+----------------------------------------------------------------------------+

 For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Change the Source Listing Database back to a standard source listing file. It will automatically be detached from its shared directory.

UNCONVERT DSN=COMPWARE.SOURCE.DDIO.DB

The source listing database name (or report database name) you specified in the command parameter will remain the same when it reverts back to the standard source listing file (or report file) format. The UNCONVERT command merely changes the type and functioning of the source listing database (or report database) back to the old style format. If you want the source (or report) file to have a different name after it becomes detached from the shared directory, you must rename it after executing the UNCONVERT command.

If an error occurs during the UNCONVERT process, while in the detach phase of deleting members from the shared directory, the database will set detach in progress (will show on a DIRX) but will still appear attached, and the shared directory may still contain entries for members in the database that had not yet been removed from the shared directory. To eliminate possible integrity problems, perform the following:

  1. Run RESET on the database to clear the attach setting.
  2. Run SCRATCH on the shared directory for that database to remove any entries left for that database.
  3. Run ATTACH on the database to re-add to the shared directory.
  4. Run UNCONVERT again.


UNLOCK (UNLK)

The UNLOCK command unlocks selected entries of a specified source file, report file, source or report database or all databases attached to a specified shared directory. When an entry is unlocked, it can be automatically deleted when the data set becomes full if the database has been formatted with AUTODELETE=YES or AUTODELETE=DUPS. At least one selective parameter must be specified.

Unlock - Source Listing

The following diagram illustrates the syntax for the UNLOCK command.


+--- UNLOCK Command --------------------------------------------+
¦ ¦
¦ +-DDNAME=ABNLDFIL-----------+ ¦
¦ >>--UNLOCK---+---------------------------+,--> ¦
¦ +-DDName=ddname-------------+ ¦
¦ +-DSN=dsn-------------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ +-DIRDD=ddname--------------+ ¦
¦ +-DIRDSN=dsn----------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ ¦
¦ >--+-----------------+-,-+------------------+,--> ¦
¦ +-ReptNumber=xxxx-+ +-Program=xxxxxxx*-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+--><¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-¦ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ +-DUPS=LATEST---+ ¦
+-------------------------------------------------------------- +

 For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

Unlock entries in Source Listing Databases attached to a shared directory that are older than six months.

UNLOCK,DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR,
      MONTHSOLD=6


Unlock - Abend-AID

The following diagram illustrates the syntax for the UNLOCK command.

+--- UNLOCK Command --------------------------------------------+
¦ ¦
¦ +-DDNAME=ABNLDFIL-----------+ ¦
¦ >>--UNLOCK---+---------------------------+,--> ¦
¦ +-DDName=ddname-------------+ ¦
¦ +-DSN=dsn-------------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ +-DIRDD=ddname--------------+ ¦
¦ +-DIRDSN=dsn----------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ ¦
¦ >--+-----------------------+-,-+------------------+,--> ¦
¦ +-ReptNumber=xxxxxxxxxx-+ +-JOBNAME=xxxxxxx*-+ ¦
¦ ¦
¦ >--+------------+-,-+----------------+,--> ¦
¦ +-ABEND=xxx*-+ +-JESID=xxxxxxx*-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR--+ ¦
¦ >--+---------------+-,-+----------+-,-+-----------------+--><¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE-+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ ¦
¦ ¦
¦ ¦
¦ >--+-----------+->< ¦
¦ +-TYPE=AA---+ ¦
¦ +-TYPE=CICS-+ ¦
+---------------------------------------------------------------+


For a description of the parameters, see  Command-Parameters-for-all-DDIO-files.

Example
Example

Unlock entries in report databases attached to a shared directory that are older than six months.

UNLOCK,DIRDSN=COMPWARE.AA.SHRDIR2,MONTHSOLD=6

Unlock - Abend-AID for CICS

The following diagram illustrates the syntax for the UNLOCK command.

+--- UNLOCK Command --------------------------------------------+
¦ ¦
¦ +-DDNAME=ABNLDFIL-----------+ ¦
¦ >>--UNLOCK---+---------------------------+,--> ¦
¦ +-DDName=ddname-------------+ ¦
¦ +-DSN=dsn-------------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ +-DIRDD=ddname--------------+ ¦
¦ +-DIRDSN=dsn----------------+ ¦
¦ +-VOLser=volser---+ ¦
¦ ¦
¦ >--+-----------------------+-,-+-----------+,--> ¦
¦ +-ReptNumber=xxxxxxxxxx-+ +-Tran=xxx*-+ ¦
¦ ¦
¦ >--+---------------+-,-+-----------------+,--> ¦
¦ +-CicsCode=xxx*-+ +-APPLID=xxxxxxx*-¦ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ +-DAYSOLD=nnn-----------------------------------¦ ¦
¦ +-MONTHSOLD=nnn---------------------------------¦ ¦
¦ +-YEARSOLD=nnn----------------------------------¦ ¦
¦ +-StartDATE=mm/dd/yyyy,-+--------------------+--+ ¦
¦ +-EndDATE=mm/dd/yyyy-+ ¦
¦ ¦
¦ >--+-----------------------------------------------+,--> ¦
¦ ¦ +-EndTIME=24:00:00---+ ¦ ¦
¦ +-StartTIME=hh:mm[:ss],-+--------------------+--+ ¦
¦ +-EndTIME=hh:mm[:ss]-+ ¦
¦ ¦
¦ +-DUPS=ALL------+ +-INC=YES--+ +-NOTFOUND=ERROR---+ ¦
¦ >--+---------------+-,-+----------+-,-+------------------+--><¦
¦ +-DUPS=LOCKED---¦ +-INC=NO---¦ +-NOTFOUND=IGNORE--+ ¦
¦ +-DUPS=UNLOCKED-+ +-INC=ONLY-+ +-NOTFOUND=WARNING-+ ¦
¦ ¦
¦ >--+-----------+->< ¦
¦ +-TYPE=AA---+ ¦
¦ +-TYPE=CICS-+ ¦
+---------------------------------------------------------------+


For a description of the parameter, see  Command-Parameters-for-all-DDIO-files.

Example
Example

Unlock entries in transaction databases attached to a shared directory that are older than six months.

UNLOCK,DIRDSN=COMPWARE.AACICS.SERVER1.SHRDIR,MONTHSOLD=6

VERIFY (VER)

The VERIFY command examines a selected shared directory to ensure the following:

  • All databases attached to the Shared Directory exist.
  • All entries in the Shared Directory exist in the attached databases, and, for source, names and IDR tokens match.
  • All entries in the attached databases are also in the Shared Directory, and, for source, names and IDR tokens match.
  • Shared Directory internal integrity of member numbers, if source.
  • Shared Directory internal integrity of IDR tokens, if source.

This command creates a report of any inconsistencies but does not perform any maintenance or repairs.

The following diagram illustrates the syntax for the VERIFY command.


+--- VERIFY Command --------------------------------------------+
¦ ¦
¦ +-DDNAME=ABNLDFIL-----------+ ¦
¦ >>--VERIFY---+---------------------------+-,-+-----------+->< ¦
¦ +-DDName=ddname-------------+ +-TYPE=AA---+ ¦
¦ +-DSN=dsn-------------------+ +-TYPE=CICS-+ ¦
¦ +-VOLser=volser---+ ¦
¦ +-DIRDD=ddname--------------+ ¦
¦ +-DIRDSN=dsn----------------+ ¦
¦ +-VOLser=volser---+ ¦
+---------------------------------------------------------------+

 For a description of each parameter, see Command-Parameters-for-all-DDIO-files.

Example
Example

For a shared directory, verify that all attached Source Listing Databases exist and that the entries in the Source Listing Database match the entries in the shared directory.

VERIFY DIRDSN=COMPWARE.LP.SOURCE.LISTING.SHRDIR


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*