Chapter 11: Importers

APS/IMS Syntax

Use DDI statement keyword parameters to specify which database values to import.

DDI Statement
Parameter
Value

*DDI DBD

NAME

Dbdname. Maximum 8 characters.

*DDI REC

NAME

Copylibrecord. Maximum 30 characters. Default is DBD value of SEGM NAME.

 

SEG

DBD value of SEG NAME. Maximum 8 characters.

 

COPY

Copylibmembername. Optional; maximum 8 characters. Default is SEGM NAME.

 

GEN01

Y (default) or N. Optional.

*DDI FLD

NAME

Copylibfieldname. Maximum 30 characters. Default is DBD value of FIELD NAME or DBD value of XDFLD NAME.

 

IMSNAME

DBD value of FIELD NAME or DBD value of XDFLD NAME. Maximum 8 characters.

 

PIC

COPYLIB PIC. Optional; maximum 24 characters. Default is X(n), where n = the value of the BYTES keyword in the DBD.

APS/VSAM Syntax

Use DDI statement keyword parameters to specify the VSAM file information to import.

DDI Statement
Parameter
Value

*DDI VSM

DDN

File external ddname. Maximum 8 characters.

 

TYPE

K(eyed)-default, E(ntry), or R(elative).

 

VSPREFIX

File prefix.

 

CYL, TRK, or REC

Choose one.

 

CISZ

Control Interval Size. Default is 4096.

 

VOL

Volume name.

 

CAT

Catalog name.

 

Other IDCAMS keywords

IDCAMS syntax; optional.

*DDI REC

NAME

Recordname. Maximum 30 characters.

 

SHORT

Shortrecordname. Maximum 8 characters.

 

COPY

Membername. Maximum 8 characters.

 

SOURCE

Method used to put copylib members in program:

P

Via an APS %INCLUDE statement.

C

Via COBOL COPY command.

 

MAXLEN

Maximum record length.

 

AVGLEN

Average record length. Default is MAXLEN.

IDX

NAME

Copylib record key field name. Maximum 30 characters.

 

ALIAS

File that uses multiple copylib records. The name of the field that redefines NAME. Optional; maximum 30 characters.

 

TYPE

Index type:
P(rimary) First index must be P.
U(nique).
D(uplicate).

 

KEYLEN

Length of key field. Maximum 4 characters.

 

OFFSET

The offset position of the field relative to the beginning of the record the first position is 0. Maximum 4 characters.

 

DDN

Ddname of the index. Maximum 24 characters. Default is primary ddname.

 

PIC

Ddname of the index. Maximum 24 characters. Default is alphanumeric.

 

IDCAMS overrides

IDCAMS syntax; optional.

*DDI SUB

NAME

Unique subschema name. Maximum 8 characters.

 

RECORD

Value of the first (or only) DDI REC statement NAME keyword. Maximum 30 characters.

 

PROCOPT

Optional; process control options:

A(ll) - default, G(et), I(nsert), D(elete), or R(eplace)

 

ACCESS or ACC

Batch access options; optional. Default is dynamic for KSDS files; sequential for ESDS/RRDS

 

BLOCK

0; optional.

 

LABEL

STANDARD; optional.

 

ASSIGN or AS

VSAM file external ddname. Optional; maximum 8 characters. Default is value of the DDN parameter in the DDI VSM statement.

 


Copyright © 2002 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.