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 datasets. It is required if target dataset names are not provided.

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

filename
Is the 1- to 32-character ADABAS filename.

seqfield
Is the fieldname 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 Interface constructs Read Logical (RL) or FIND calls for retrieval. 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 fieldname 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 fieldname 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