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.
¦ ¦
¦ +-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.
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.
¦ ¦
¦ +-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
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--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 2
CHANGE Command – DBMODEL Attributes
This CHANGE syntax diagram illustrates the syntax for allocating and formatting a new Source Listing Database.
¦ (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-+ ¦
+-----------------------------------------------------------------------+
Example
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.
¦ ¦
¦ +-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
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.
¦ ¦
¦ +-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
Copy Cobol or PL/I program from ESS load file to source DDIO file
Example
Copy - Abend-AID report
The following diagram illustrates the syntax for the 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
Copy - Abend-AID for CICS report
The following diagram illustrates the syntax for the 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
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
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.
¦ ¦
¦ >>--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
Formatting a Pre-Allocated Shared Directory
This CREATE syntax diagram illustrates the syntax for 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
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.
¦ (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-+ ¦
+---------------------------------------------------------------------------+
For a description of each parameter, see Command-Parameters-for-all-DDIO-files.
Example
Example
Example
Formatting a Pre-Allocated Database
This CREATE syntax diagram illustrates the syntax for 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--+ ¦
+-------------------------------------------------------------------------------+
Example
Creating a DBMODEL
This CREATE syntax diagram illustrates the syntax for creating a DBMODEL entry. The DBMODEL feature applies only to source shared directories.
¦ ¦
¦ (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-+ ¦
+-----------------------------------------------------------------------------------+
For a description of each parameter, see Command Parameter for all DDIO files.
Example
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.
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.
¦ ¦
¦ (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.
Example
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.
¦ (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.
Examples
Delete- Abend-AID for CICS Reports
The following diagram illustrates the syntax for the 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
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.
¦ ¦
¦ +--DDName=ABNLDFIL--+ ¦
¦ >>--DELete--OBJect=DATABASE-,-+------------------+-,-+-------------------+->< ¦
¦ +--DDName=ddname--+ ¦
¦ +--DSN=datasetname-+ ¦
+-------------------------------------------------------------------------------+
For a description of each parameter, see Command-Parameters-for-all-DDIO-files.
Example
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.
¦ ¦
¦ +-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
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
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.
¦ ¦
¦ +-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
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 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 2
Directory (DIR, D) and DIRX (DX) - Abend-AID
The following diagram illustrates the syntax for the DIRECTORY or DIRX 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 2
Directory (DIR, D) and DIRX (DX) - Abend-AID for CICS
The following diagram illustrates the syntax for the DIRECTORY or DIRX 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 2
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:
¦ ¦
¦ >>--DIRI--+---------------------+,--> ¦
¦ +-ReptNumber=xxxxxxxxxx-+ ¦
¦ ¦
¦ +-DDName=ABNLDFIL------------+ ¦
| >--+----------------------------+,--> ¦
¦ +-DDName=ddname--------------++ ¦
¦ +-DSN=dsn--------------------+ ¦
¦ +-VOLser=volser----+ ¦
¦ +-DIRDD=ddname---------------+ ¦
¦ +-DIRDSN=dsn-----------------+ ¦
¦ +-VOLser=volser-+ ¦
¦ ¦ ¦
+---------------------------------------------------------------------------+
Example 1
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.
¦ ¦
¦ +-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
Directory Sequential (DIRS)- Abend-AID
The following diagram illustrates the syntax for the 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
Directory Sequential (DIRS)- Abend-AID for CICS
The following diagram illustrates the syntax for the 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
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---+-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
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.
¦ ¦
¦ +-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
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.
¦ ¦
¦ +-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
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.
Export- Source Listing
The following diagram illustrates the syntax for the 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
Export- Abend-AID
The following diagram illustrates the syntax for the 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
Export- Abend-AID for CICS
The following diagram illustrates the syntax for the 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
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.
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.
There are three ways to specify that DDIO members represent the baseline and the current versions of the program:
- 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.
- 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.
- 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
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:
- 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.
- 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.
¦ ¦
¦ +-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
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.
- 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.
¦ ¦
¦ +-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.
Example 1:
Example 2:
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.
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.
¦ ¦
¦ +-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
Import- Abend-AID
The following diagram illustrates the syntax for the 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
Import - Abend-AID for CICS
The following diagram illustrates the syntax for the 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
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.
¦ ¦
¦ +-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
Lock - Abend-AID
The following diagram illustrates the syntax for the 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
Lock — Abend-AID for CICS
The following diagram illustrates the syntax for the 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
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.
¦ ¦
¦ +-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
Move - Abend-AID
The following diagram illustrates the syntax for the 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
Move - Abend-AID for CICS
The following diagram illustrates the syntax for the 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
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-+-----------------------+-,-+------------------+,--> ¦
¦ +-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
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.
¦ ¦
¦ +-DDName=ABNLDFIL --+ ¦
¦¦¦ ¦
¦ >>--Print--OBJect=ESS,-+-------------------+--PROGRAM=xxxxxxxx,--+--------------+ ¦
¦¦¦¦¦¦
¦ +---DDName=ddname --+ +-ID=xxxxxxxx--+ ¦
¦ +------DSN=dsn------+ ¦
¦ ¦
¦ ¦
+---------------------------------------------------------------------------------------+
EXAMPLE
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.
¦ ¦
¦ +-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
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.
¦ ¦
¦ +-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
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.
¦ ¦
¦ +-DDName=ABNLDFIL--------------+ ¦
¦ >>--RESET---+------------------------------+,-->< ¦
¦ +-DDName=ddname----------------¦ ¦
¦ +-DSN=dsn,-+----------------+--+ ¦
¦ +-VOLser=volser-+ ¦
+-------------------------------------------------------------------------------+
For a description of each parameter, see Command-Parameters-for-all-DDIO-files.
Example
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-+-DIRDD=ddname-+-,-+-DSN=dsn-+--->< ¦
¦ +-DIRDSN=dsn---+ ¦
+---------------------------------------------------------------------------+
For a description of each parameter, see Command-Parameters-for-all-DDIO-files.
Example
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.
¦ ¦
¦ +-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
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.
¦ ¦
¦ +-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
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.
¦ ¦
¦ +-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
Unlock - Abend-AID
The following diagram illustrates the syntax for the 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
Unlock - Abend-AID for CICS
The following diagram illustrates the syntax for the 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
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.
¦ ¦
¦ +-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