After entering the Entry Line Presentation Attributes, press F8 (Forward) to specify the list format on the CAS : List Format panel.
PROD-------------------------- CAS : List Format -------------------Page 4 of 4 Command ===> Function=Add Scroll ===> PAGE Appl ID ... TST Type.Userid ... PUBLIC Name ... TST001 LINE <---+----10---+----20---+----30---+----40---+----50---+----60---+----70--- **** ****************************** TOP OF DATA ******************************* 0001 A>S/B=Browse U=Update C=Copy P=Print D=Delete 0002 M>S/=Select 0003 S>S/=Select (one only) 0004 Number Description 0005 &PROBID &DESCRIPTION 0006 Number Severity Status Occurred Date/Time 0007 &PROBID &SEV &STATUS &OCCURDATE &OCCURTIME 0008 Number Created Last Updated 0009 &PROBID &CRTDATE &UPDDATE &UPDTIME &UPDUSERID **** ***************************** BOTTOM OF DATA ***************************** F1=Help F2=Split F3=File F4=Save F5=Fields F6=Change F7=Backward F8=Forward F9=Swap F10=Left F11=Right F12=Cancel
A list’s format determines how list items are displayed, the other attributes that are displayed about each item, and static heading and option text. This panel displays a text editor that is used to define the format of a list.
A list format consists of:
A screen format consists of:
At the top of the CAS : List Format panel text area, you can enter up to four comment lines, one for each type of list, to display specific instructions to the user. When the list is displayed, the appropriate comment line is shown on line 4 of the list panel. Comment lines are optional.
Use the following codes at the beginning of your comment line as follows:
Defines instructions for an Action List.
Defines instructions for a Multiple Select List.
Defines instructions for a Single Select List.
Defines instructions for a Numbered List.
Comment lines can contain NCL variables. For instance, you might want a comment line for an Action List to describe only those actions for which a user is authorized. You could achieve this by setting the entire comment line through a variable set by the list’s service or exit procedure.
Any NCL variables defined in the comment line (except for system variables) must be set by the service procedure or list exit. The variable data in the comment line is then substituted by the system when a list is displayed using the list definition.
After entering the comment lines, to display the actual list entries you must define one or more screen formats (up to a maximum of 10). Each of these screen formats consists of a heading and an entry line.
Notes:
If you wanted the & to appear as a constant in the heading, you would have to define a different Heading Sub Char; therefore, if you specify the ~ character as the Heading Sub Char, for the previous example you would use ~USERID instead of &USERID.
Entry line fields can be the following:
| Copyright © 2008 CA. All rights reserved. |
|