The DFHCSDUP SCAN command
SCAN all the IBM®-supplied groups and user-defined groups for a specified resource. The definition of the matched resource in an IBM supplied group is compared with the definition(s) of the corresponding matched resource in the user groups.
SCAN syntax >>-SCAN--+-Atomservice(name)--+--+------------------------+---->< +-Bundle(name)-------+ '-ALIAS--(--aliasname--)-' +-CONnection(name)---+ +-CORbaserver(name)--+ +-DB2Conn(name)------+ +-DB2Entry(name)-----+ +-DB2Tran(name)------+ +-DJar(name)---------+ +-DOctemplate(name)--+ +-Enqmodel(name)-----+ +-File(name)---------+ +-Ipconn(name)-------+ +-JOurnalmodel(name)-+ +-JVmserver(name)----+ +-LIbrary(name)------+ +-LSRpool(name)------+ +-MApset(name)-------+ +-MQconn(name)-------+ +-PARTItionset(name)-+ +-PARTNer(name)------+ +-PIpeline(name)-----+ +-PROCesstype(name)--+ +-PROFile(name)------+ +-PROGram(name)------+ +-Requestmodel(name)-+ +-Sessions(name)-----+ +-TCpipservice(name)-+ +-TDqueue(name)------+ +-TErminal(name)-----+ +-TRANClass(name)----+ +-TRANSaction(name)--+ +-TSmodel(name)------+ +-TYpeterm(name)-----+ +-Urimap(name)-------+ '-Webservice(name)---'
Description
For information about the types of resource that you can specify on the SCAN command, and for a description of the attributes and default values of each resource type, see RDO resources.
The SCAN command searches all
the IBM supplied groups in the CSD for a resource definition of a
specified name and type. A message is issued with the results of the
search. The user-defined groups are then searched for the same resource
definition. The outcome of this can be one of the following:
- If an IBM-supplied group and one or more user-defined groups contain the resource definition, a comparison is made between the definition in the IBM-supplied group and the user group(s). A message is issued indicating whether the definition in the IBM supplied group matches the definition(s) in the user group(s).
- If the resource definition is not found in the user defined groups a message is issued.
- If the resource definition is not found in an IBM-supplied group but is found in one or more user defined groups a message is issued indicating the group(s) that contained it.
Note:
- The compatibility groups DFHCOMPx are not scanned as part of the IBM supplied groups but as user defined groups.
- The DESCRIPTION attribute is not used in the comparison.
You can use the SCAN command to check for differences between IBM-supplied definitions that you have modified and the latest IBM-supplied versions after an upgrade.
Options
- Alias(aliasname)
- specifies the alias name of the resource type to be searched for
in the user-defined groups.
This operand is optional.
- Resource(name)
- specifies the name of the resource type to be searched for in the IBM-supplied groups, and in the user-defined groups if aliasname is not specified. The resource option must always be the first operand of the SCAN command.
Examples
To search the CSD for transaction
CEDA:
SCAN TRANSACTION(CEDA)
The result of this could
look like:
DFH5130 I PRIMARY CSD OPENED; DDNAME: DFHCSD
DFH5633 I TRANSACTION CEDA FOUND IN GROUP DFHSPI
DFH5631 I TRANSACTION CEDA FOUND IN GROUP A1
MATCHES THE IBM SUPPLIED DEFINITION IN GROUP DFHSPI
DFH5631 I TRANSACTION CEDA FOUND IN GROUP A2
MATCHES THE IBM SUPPLIED DEFINITION IN GROUP DFHSPI
DFH5632 I TRANSACTION CEDA FOUND IN GROUP DFHCOMP1
DOES NOT MATCH THE IBM SUPPLIED DEFINITION
IN GROUP DFHSPI
DFH5101 I SCAN COMMAND EXECUTED SUCCESSFULLY.
To search the CSD for transaction CEDA with an
alias name of AEDA:
SCAN TRANSACTION(CEDA) ALIAS(AEDA)
The result of
this could look like:
DFH5130 I PRIMARY CSD OPENED; DDNAME: DFHCSD
DFH5633 I TRANSACTION CEDA FOUND IN GROUP DFHSPI
DFH5631 I TRANSACTION AEDA FOUND IN GROUP A3
MATCHES THE IBM SUPPLIED DEFINITION IN GROUP DFHSPI
DFH5101 I SCAN COMMAND EXECUTED SUCCESSFULLY.
