The next field selected on the Layout screen was the title, DEPARTMENT INFORMATION. When you press [PF5] from the previous Field Definition screen, the Literal Definition screen is displayed.
In this step, you will edit a literal field's definition to determine what the field will look like at runtime. You access the Literal Definition screen from the Layout screen by pressing [PF5] after you have selected fields from the screen, or by pressing [PF5] from another definition screen (either Field or Literal Definition).
There are two pages of data field screens. Navigate between these screens using [PF7] or [PF8], or move directly to the desired page by overtyping the page number.
Sample Literal Definition Screen - page 1
Literal Definition Page 1 of 2 Map name: XXXMAP Version: 1 ...5...10...15...20...25...30...35...40...45...50...55...60...65...70...75...80 DEPARTMENT INFORMATION ...5...10...15...20...25...30...35...40...45...50...55...60...65...70...75...80 Literal at row 4 column 24 Drop literal (/) _ Display intensity 1 1. Normal 2. Bright 3. Hidden Highlighting . . . _ 1. Blink 2. Reverse video 3. Underline Color . . . . . . 8 1. White 3. Green 5. Yellow 7. Turquoise 2. Red 4. Blue 6. Pink 8. Device default Outline options (/) . . . . _ Top _ Bottom _ Left _ Right Sensitive to light pen (/) _ DC366505 Select literal field attributes F1=Help F3=Exit F4=Prev F5=Next F6=Preview F8=Fwd
Notice that each definition screen shows the field to be defined plus two scales to help you position the field.
You use the Literal Definition screen to edit one map field at a time. After you edit a field (using [PF8] if you need to go to the second page), press PR5. MAPC displays either the Field Definition screen or the Literal Definition screen for the next field that you've selected.
When you've edited all selected fields, MAPC returns you to the Main Menu screen.
Note: Pressing [Enter] on any screen causes it to redisplay so that you can make additional changes if necessary.
Prompts
In this step, you will use the following prompts on page 1 the Literal Definition screen:
The default, 1 (Normal), causes the field to be displayed at normal intensity. You specify 2 (Bright) to make a field display at bright intensity or 3 (Hidden) to make a field invisible to the user.
For more information on using Literal Definition screen prompts, see the CA IDMS Mapping Facility Guide.
Modifying XXXMAP
Modify the literal field shown on the Literal Definition screen.
Literal Definition Page 1 of 2 Map name: XXXMAP Version: 1 ...5...10...15...20...25...30...35...40...45...50...55...60...65...70...75...80 DEPARTMENT INFORMATION ...5...10...15...20...25...30...35...40...45...50...55...60...65...70...75...80 Literal at row 4 column 24 Drop literal (/) _ Display intensity 2 1. Normal 2. Bright 3. Hidden Highlighting . . . _ 1. Blink 2. Reverse video 3. Underline Color . . . . . . 8 1. White 3. Green 5. Yellow 7. Turquoise 2. Red 4. Blue 6. Pink 8. Device default Outline options (/) . . . . _ Top _ Bottom _ Left _ Right Sensitive to light pen (/) _ DC366501 Map options processed successfully F1=Help F3=Exit F4=Prev F5=Next F6=Preview F8=Fwd
After you press [Enter], MAPC redisplays the Literal Definition screen with a message:
When the current field definition is correct, press [PF5] to see the next definition to be enhanced.
Defining the Variable Field, DEPT-ID-0410
The next variable field according to the previous table, DEPT-ID-0410, is automatically edited and associated with the auto-tab attribute. These attributes are defaults, and no change needs to be made to this variable field definition on the Field Definition screen.
Defining the Variable Field, DEPT-NAME-0410
Edit the next variable field according to the previous table. This variable fields requires the auto-tab attribute and a pad character.
Note: The pad character is specified on page 2 of the Field Definition screen.
Field Definition Page 1 of 7 Map name: XXXMAP Version: 1 ...5...10...15...20...25...30...35...40...45...50...55...60...65...70...75...80 ;NAME .......: ;_______________________________ ...5...10...15...20...25...30...35...40...45...50...55...60...65...70...75...80 Field at row 7 column 32 Drop field (/) _ Element name: DEPT-NAME-0410 Subscript In record DEPARTMENT Version 1 Edit Picture X(45) Display intensity 1 1. Normal 2. Bright 3. Hidden At end of field 1 1. Auto-tab 2. Lock keyboard 3. Take no action Unprotected (/) . . . . . / Required (/). . . . . . _ Automatically edited (/) / Skipped by tab key (/) _ DC366004 Specify the variable field and any attributes F1=Help F3=Exit F4=Prev F5=Next F6=Preview F8=Fwd
Auto-tab is the default.
To define a pad character, you must go to the second page of the Field Definition screen by pressing [PF8].
Sample Field Definition Screen— Page 2
Map Read/Write Options Page 2 of 7 Map name: XXXMAP Version: 1 Element name DEPT-NAME-0410 Subscript In record DEPARTMENT Version 1 Map Read Transmit data entry (/) . . . . . . . . / options Zero when null (/). . . . . . . . . . . / Translate to upper case (/) . . . . . . _ Justify data. . . . . . . . . . . . . . 1 1. Left 2. Right Pad character format . Display . . . . _ Hexadecimal . . 40 Map Write Blank when zero (/) . . . . . . . . . . _ options Underscore blank fields (/) . . . . . . _ Display without trailing blanks . . . . _ Set modified data tag (/) . . . . . . . _ Transmit. . . . . . 1 1. Data and attribute byte 3. Erase field 2. Attribute byte only 4. Nothing DC366404 Select input/output edit options F1=Help F3=Exit F4=Prev F5=Next F6=Preview F7=Bkwd F8=Fwd
Screen Prompts
For map XXXMAP, you will assign a pad character to the field that displays department names. Entering "40" (the hexadecimal equivalent of a blank) next to Hexadecimal for this field ensures that remaining characters are not stored if the user replaces a long department name (for example, SYSTEMS ENGINEERING DEPARTMENT) with a shorter name (for example, SYSTEMS GROUP) and then clears the rest of the field by pressing the ERASE EOF key.
When the current field definition is correct, press [PF5] to see the next definition to be enhanced.
Defining the Variable Field, DEPT-HEAD-ID-0410
You can edit the next variable field, DEPT-HEAD-ID-0410, according to the previous table:
Field Definition Page 1 of 7 Map name: XXXMAP Version: 1 ...5...10...15...20...25...30...35...40...45...50...55...60...65...70...75...80 ;HEAD ID..: ;____ ...5...10...15...20...25...30...35...40...45...50...55...60...65...70...75...80 Field at row 7 column 32 Drop field (/) _ Element name: DEPT-HEAD-ID-0410 Subscript In record DEPARTMENT Version 1 Edit Picture 9(4) Display intensity 1 1. Normal 2. Bright 3. Hidden At end of field 1 1. Auto-tab 2. Lock keyboard 3. Take no action Unprotected (/) . . . . . Required (/). . . . . . _ Automatically edited (/) / Skipped by tab key (/) _ DC366004 Specify the variable field and any attributes F1=Help F3=Exit F4=Prev F5=Next F6=Preview F8=Fwd
The default is yes for Automatically edited and Auto-tab for At end of field.
When the current field definition is correct, press [PF5] to see the next definition to be enhanced.
Modifying the Length of the Message Field
You can edit the next variable field, the message field, according to the previous table:
Field Definition Page 1 of 7 Map name: XXXMAP Version: 1 ...5...10...15...20...25...30...35...40...45...50...55...60...65...70...75...80 ; _ ...5...10...15...20...25...30...35...40...45...50...55...60...65...70...75...80 Field at row 21 column 79 Drop field (/) _ Element name: AGR-MESSAGE Subscript In record ADSO-APPLICATION-GLOBAL-RECORD Version 1 Edit Picture x(80) Display intensity 1 1. Normal 2. Bright 3. Hidden At end of field 1 1. Auto-tab 2. Lock keyboard 3. Take no action Unprotected (/) . . . . . / Required (/). . . . . . _ Automatically edited (/) / Skipped by tab key (/) _ DC366004 Specify the variable field and any attributes F1=Help F3=Exit F4=Prev F5=Next F6=Preview F8=Fwd
Change the length to 80. The Edit picture is automatically updated when you press [Enter].
When you are finished editing fields, you can compile the map, as shown in the next step.
Press [PF5] to return to the Main Menu so that you can compile the map.
|
Copyright © 2013 CA.
All rights reserved.
|
|