Previous Topic: Specific GuidelinesNext Topic: Customizing Vocabulary Terms


Customizing Literals

CA Dataquery displays words which are informational or are used in building queries in guided mode. These words are called literals. These words appear throughout CA Dataquery on many different panels. An example of a literal is the word MORE. MORE appears at the bottom of a screen to inform you more information follows on the next screen. CA Dataquery stores all literals in the DQM table.

CA Dataquery allows you to change the literals contained in the DQM table. To access the DQM table directory, select the literal maintenance option on the LANGUAGE MAINTENANCE MENU.

Rules

When changing literals, follow these rules:

  1. If you change a word which is a vocabulary term, literal, and used on a panel, you must make the same changes to all words.
  2. Literal customizations must be less than or equal to the literal length listed on the Edit/Translate Panel.
  3. If a literal is also a vocabulary term, do not use embedded blanks or special characters.
  4. Do not use the same word for two different literals.

Customization Aid

A list of most frequently-used words that are used as vocabulary, literals, and on panels follows. Use the literal number listed to help locate the words on the Directory of Literals panel. If the word is used on panels DQD30 or DQD40, the panel name is listed in column 3.

ACTIVE-QUERY

073

ALL

054

BREAKS

(DQD40)

BY

110 (DQD30)

DETAIL

094

DIALOG

072

DISPLAY

025 (DQD40)

DO

030 (DQD40)

DOWN

(DQD30)

EQ

013

ERASE

069

FIND

053 (DQD30)

FINISHED

048 (DQD40)

FIRST

023 (DQD30)

FROM

(DQD40)

GT

016

GTE

017

JCL

009

LT

014

LTE

015

NOT

012

NO-TOTALS

096

PICTURE

028

PRINT

024 (DQD40)

PRIVATE

004

PUBLIC

003

QUERY

008

ROWS

(DQD30)

RELATED

020 (DQD30)

SET

052 (DQD30)

SORT

074 (DQD30)

TERM

005

TITLE1

026

TITLE2

027

TO

021 (DQD30)

TOTALS-ONLY

095

UPDATE

068

VIA

022 (DQD30)

WHEN

029 (DQD40)

WITH

011 (DQD30)

Operation

If you are not already signed on to CA Dataquery, you must sign on to CA Dataquery and display the LANGUAGE MAINTENANCE MENU. From the LANGUAGE MAINTENANCE MENU you can initiate customization. For exact instructions about displaying the LANGUAGE MAINTENANCE MENU, see Getting Started Using the Language Maintenance Facility.

Step 1:

On the LANGUAGE MAINTENANCE MENU select Option 2, LITERALS and press Enter.

LANGUAGE MAINTENANCE MENU (DQLN0)

=> ------------------------------------------------------------------------DQLN0 DATAQUERY: LANGUAGE MAINTENANCE MENU ----------------------------------------------------------------------------- ENTER DESIRED OPTION NUMBER ===> 2 LANGUAGE CODE===> __ (default ALL) 1. PANELS - Translate, edit, delete, and display panels 2. LITERALS - Translate, edit, delete, and display program literals 3. VOCABULARY - Translate, edit, delete, and display vocabulary terms ----------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN

Step 2:

CA Dataquery displays a directory of all literals. From this panel you can select the literal you wish to customize.

Procedure

The following lists panel locations and their descriptions.

<PF7> and <PF8>

Use <PF7> to page the literal directory backward and <PF8> to page forward.

+ and -

Page through the directory using the plus and minus sign. For example, entering +20 scrolls forward 20 pages and -20 scrolls backward 20 pages.

TOP and BOTTOM

You can also use the TOP and BOTTOM commands. TOP takes you to the first panel of the directory and BOTTOM takes you to the end of the directory.

After you have located the literal you wish to customize, move the cursor down beside the literal and press <PF6> TRANSLATE. <PF6> TRANSLATE creates a copy of the literal.

=> PLACE THE CURSOR ON THE DESIRED NAME AND PRESS THE APPROPRIATE PFKEY ------------------------------------------------------------------------DQL30 DATAQUERY: DIRECTORY OF LITERALS ----------------------------------------------------------------------------- ITEM | LANGUAGE | LITERAL ----------------------------------------------------------------------------- 001 | AE | MORE .... 002 | AE | LAST PAGE 003 | AE | PUBLIC 004 | AE | PRIVATE 005 | AE | TERM 006 | AE | COND 007 | AE | MODEL 008 | AE | QUERY 009 | AE | JCL 010 | AE | PROC 011 | AE | WITH 012 | AE | NOT 013 | AE | EQ 014 | AE | LT ----------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN <PF3> NOT USED <PF4> EDIT ITEM <PF5> DELETE ITEM <PF6> TRANSLATE <PF7> BACKWARD <PF8> FORWARD

Step 3:

CA Dataquery displays the Literal Edit/Translate Panel. The panel displays information about the literal such as length and language code. Enter your language code, the new literal value, and press Enter. To exit without saving your changes, press CLEAR or <PF2>.

=> FILL IN THE DATA BELOW AND PRESS ENTER TO COMPLETE FUNCTION ------------------------------------------------------------------------DQL40 DATAQUERY: LITERAL EDIT/TRANSLATE ----------------------------------------------------------------------------- ITEM NUMBER : 001 LANGUAGE CODE: AE ----------------------------------------------------------------------------- LITERAL LENGTH: 9 TRANSLATE TO LANGUAGE CODE==> ac ----------------------------------------------------------------------------- LITERAL: MORE .... KEY NEW LITERAL VALUE BELOW: continued____________________________________________________________________ ----------------------------------------------------------------------------- <PF1> HELP <PF2> RETURN

This example changes the literal MORE to CONTINUED.

Editing Literals

You cannot use the edit function to change a literal in American English. You can use the EDIT function to change a literal you have already created through the translate function. Use the edit function of the Language Maintenance Facility to correct already existing literals.

For exact instructions for using the edit function, see Translating Literals.

Deleting Literals

If you have created a literal that you no longer want or need, CA Dataquery allows you to DELETE that literal. CA Dataquery does not allow you to delete an American English literal. For exact instructions, see Deleting Literals.