Previous Topic: Setting DATABASE Structure Default ValuesNext Topic: SPLIT


Setting Session Default Values

In all modes, you can use the SET command with appropriate keywords to assign or reset certain default values, environment conditions, or the mode during the current session. For more information about issuing commands, see Online Commands.

SET AUTHID

Displays the AUTHORIZATION-ID Panel in the SQLADMIN function of the Interactive SQL Service Facility. Use the panel to change to a different AUTHID to use as the default for the session. See the CA Datacom/DB SQL User Guide for details on the Interactive SQL Service Facility and AUTHID.

SET AUTHOR 'name'

Specify the default setting for the AUTHOR attribute when defining occurrences. The name must be enclosed in single quotes.

SET CMD DLM c

Change the command delimiter character, where c is the character. The default delimiter is a semicolon (;).

SET CMD LIN n

Change the number of lines for commands on panels, where n is the number of lines. Valid entries are 0-5. The default is three lines.

SET CMD RPT c

Change the command repeat character, where c is the character. The default is a dash (-).

SET CMD RSW c

Change the command reshow character, where c is the character. The default is a plus sign (+).

SET CMD SEP c

Change the separator character displayed on the line between regions in a split screen, where c is the character. For information about the default, see your IPC documentation.

SET CONTROLLER 'name'

Specify the default setting for the CONTROLLER attribute when defining occurrences. The name must be enclosed in single quotes.

SET DBID = nnn

Change to a different CA Datacom Datadictionary with a different CA Datacom/DB database ID than the one specified in the system resource table, where nnn is the ID number.

SET LANGUAGE language

Specify the default language to display on a Copybook Display Panel in ENTDISPL or ENTMAINT Modes. The system default is COBOL.

ASM
ASSEMBLER

Use the Assembler copybook for default.

COB
COBOL

Use the COBOL copybook for default.

DR

Use the CA Datacom/DB Reporting Facility copybook for default.

PLI

Use the PL/I copybook for default.

SET MODE type

Specify a processing mode, index display format or text display format.

AUTH

Transfer to the Security Maintenance Mode.

DBM

Transfer to the DATACOM/DB Maintenance Mode.

ENTD

Transfer to the DATADICTIONARY Entity Maintenance Mode.

ENTM

Transfer to the DATADICTIONARY Entity Display Mode.

FMM

Transfer to the File Maintenance Mode.

ISF

Transfer to the Interactive Service Facility Mode.

INDEX

Allow CA Datacom Datadictionary to determine the number of lines needed per entry on an index display panel. Two lines are used for FIELD, KEY, and ELEMENT occurrences. One line are used for all other occurrences.

INDEX1

Specify one line per entry on index display panels. This suppresses the display of parent-name for FIELD, KEY and ELEMENT occurrences.

INDEX2

Specify two lines per entry on index display panels. Parent-name is displayed for FIELD, KEY and ELEMENT occurrences. A blank line follows all other occurrences.

NONUM

Specify text panel lines at 79 characters with no numbered margins.

NUM

Specify the text panel lines at 72 characters with numbered margins.

SQL

Transfer to the SQL Mode.

blank

Return to the DATADICTIONARY Mode Select Panel.

SET NAME name

Establish the default type of value to display for the Field-Name field on a Field Summary Display Panel in the ENTDISPL or ENTMAINT Modes. Enter one of the following for name in this command. The system default is the CA Datacom Datadictionary occurrence name.

ASM
ASSEMBLER

None

CMP
COMPILER

Display the Compiler name.

DD
DATADICT

Display the CA Datacom Datadictionary occurrence name.

DESC
DESCRIPTION

Display the FIELD occurrence descriptive information in the DESCRIPTION attribute.

SET SQL syntax-ID

Override the syntax level set with the SQLMODE= startup option in the Multi-User Facility Master List or previously changed with this command. The change is valid for the duration of the current session. You cannot change this setting to DATACOM if SQLMODE=ANSI or SQLMODE=FIPS. See the CA Datacom/DB SQL User Guide for an explanation of conformance levels.

ANSI

Conform to ANSI standard.

DATACOM

Conform to CA SQL extension.

FIPS

Conform to FIPS standard.

OFF

Return to default.

SET PREFIX = name

Specify one to 15 characters for CA Datacom Datadictionary to add to the beginning of each occurrence name you define on panels in the ENTMAINT Mode. You can terminate your prefix setting with the RESET PREFIX command. For more information, see RESET PREFIX.

SET TEXT class-name

Specify the default value that CA Datacom Datadictionary uses for the classification name for the text you add to occurrences. For more information, see Update Text. The system default is STANDARD.

The name can be up to 32 characters and must follow the CA Datacom Datadictionary naming conventions. For more information, see the section about naming standards in the CA Datacom Datadictionary User Guide.

SET WINDOW = nn

Change the number of lines inserted with the INPUT command on a Text Maintenance Panel, where nn is the number lines (window). The window must be at least 1 and can be a maximum of 2 less than the region size. The default is 5.