HSAMOUT


The HSAMOUT option is valid with the UNLOAD command.

You can specify this option in an Unload function global options module or PLUSIN. The following table describes the HSAMOUT options.

Use of the HSAMOUT keyword

To do this

Specify this in PLUSIN

Create an HSAM database (provide the DBD name).

HSAMOUT(dbdName)

Do not create an HSAM database.

HSAMOUT()

(Or do not code keyword)

Internal default: Blank (do not create an HSAM database).

The HSAMOUT option allows you to create an HSAM database from the database that is being unloaded. To use the HSAMOUT option, specify the DBD name of the HSAM DBD. You must also provide a DD statement for the HSAM database in your JCL. The ddname must match the name specified in the DD2 operand of the DATASET macro within the DBD.

It is not necessary for the segment definitions in the DBD being unloaded to match those in the HSAM DBD (for example, all segment names appearing in one DBD do not have to appear in the other DBD). The parent/child relationships must be the same. If the DBD being unloaded contains segment names that are not included in the HSAM DBD, those segments are ignored.

If the segment length of the segment being unloaded is different from the segment length definition in the HSAM DBD, the segment placed into the HSAM database is truncated or padded with binary zeros.

 

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

BMC AMI Online Reorg for IMS 5.1