Background Execution

You can execute AUTOADBS in the background as a batch job to create a Master File from a single ADABAS record by passing values normally provided on the menus as arguments. The syntax is

EX AUTOADBS BATCH=Y,USER=userid,MASTER=master,FILE_NAME=filename,
                    SEQFIELD=seqfield [,options]

where:

userid

Is the high-level qualifier for output data sets. It is required if target data set names are not provided.

master

Is the 1- to 8-character name for the file description.

filename

Is the 1- to 32-character ADABAS file name.

seqfield

Is the field name to be used as the SEQFIELD.

options

Are provided on the command line by entering the name-value pair and separating them with commas. Options may extend over several lines. User-provided values and default values are echoed after the Master File is generated. Choose one or more of the following:

CALLTYPE={RL|FIND}

Indicates whether the adapter constructs Read Logical (RL) or FIND calls for retrieval. The default is RL.

PASSWORD=password

Is the file password. If the password is not provided, it will not be included in the Access File.

DBID=nnn

Is the database number. If the DBID is not provided, it will not be included in the Access File.

DICT=suffix

Uses the custom Predict dictionary. It is a site installation option.

REPLACE={Y|N}

Replaces existing Master and Access Files. Default is No (N).

COMMENTS={Y|N}

Includes field name comments. Default is Yes (Y).

HEADINGS={Y|N}

Uses NATURAL column headings. Default is No (N).

FOCDEF={Y|N}

Creates FOCDEF file. Default is No (N).

START=nn

Is the field name start position. Default is 1.

LENGTH=nn

Is the maximum field length. Default is 36.

DATEDISP=format

Is the date display format. Default is YYMD.

REQ_SEQFIELD=NO

Is used only when SEQFIELD is not known.

MASTERDATA=dsn

Is the Master target PDS. Default is userid.MASTER.DATA.

FOCADBSDATA=dsn

Is the Access target PDS. Default is userid.FOCADBS.DATA.

FOCDEFDATA=dsn

Is the FOCDEF target PDS. Default is userid.FOCDEF.DATA.

Note:


Information Builders