The panel copy prompter adds fields to a panel layout during the editing process. You can copy dataview fields into a panel definition on the create process. For more information, see the section titled CREATE PANEL Command earlier in this chapter. The added fields are based on cataloged dataview field definitions, not the definitions in the dictionary facility. Once the field definitions are copied, there is no relationship between the dataview and the panel.
To display the panel copy prompter, enter the COPY command while creating or editing a panel definition. There are no operands for this form of the COPY command.
The copy prompter shown in the following example provides for one to three dataviews. That is, you can specify a maximum of three dataviews each time the prompter is used. You can specify one or more dataview fields from each dataview listed on the prompter. You can copy up to 32,000 bytes.
=> ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ IDEAL: PANEL COPY PNL ADRMPNL1 (001) TEST SYS: DOC FILL‑IN ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ Entity Name Ver Field Selection DVW ____________________________________________ ____ ______________ DVW ____________________________________________ ____ ______________ DVW ____________________________________________ ____ ______________ Copy direction: _ (V‑vertical, H‑horizontal) label format: _ (S‑sideview, C‑columnview, N‑none) destination: _ (T‑top, B‑bottom)
The prompter contains the following fields:
Single field 5
List of fields 5, 7, 9 or 5 7 9
Range of fields 5‑9
Dataview fields are identified by sequence number. You can specify any assigned sequence number, except for the first entry. The first entry is the dataview name and not a field.
V-Vertical, each field is placed in the first position of a new line.
H-Horizontal, fields are placed consecutively one after another on the line. Five spaces are inserted between fields for spacing. When a field and its header cannot fit on the line, they are shifted to the first position of the next line.
S-Sideview, labels immediately precede field.
C-Colview, labels are used as column headings.
N-No headings, no labels are included.
T-Top, before the existing first line in the panel layout.
B-Bottom, after the existing last line in the panel layout.
The following is a sample CA Datacom/DB cataloged dataview. This dataview is used in the examples.
IDEAL: DISPLAY DATAVIEW DVW EMPOYEE (001) PROD SYS: DOC DISPLAY Command Seq Level Field Name T I Ch/Dg Occur K Value/Redef/Dep On ======= ================================= T O P ============================ 000001 CATALOGED 12/23/87 10:02 DATACOM/DB UPD=NO DBID=001 000002 1 1 EMPLOYEE 000003 2 2 NUMBER U Z 5 K 000004 3 2 NAME X 24 000005 4 2 STREET‑ADDRESS X 24 000006 5 2 CITY‑ADDRESS X 15 000007 6 2 STATE‑ADDRESS X 2 000008 7 2 ZIP‑CODE‑LOC X 5 K 000009 8 2 SOCIAL‑SECURITY N P 9 ====== ============================== B O T T O M ==========================
The copy panel prompter is specified to use the sample dataview. The dataview name, EMPLOYEE, is specified under the Name heading. The version of the dataview, PROD, is specified under Ver. The sequence numbers of a range of fields, 3‑7, are specified under the heading Field Select.
Labels are placed to the left of each data field. The name of the field is used as the label if a CA‑DataDictionary heading attribute was not defined for the field. This is a text field. The resulting named panel field, a data field, assumes the attributes of the dataview field. For example, the dataview field NAME was specified as a 24‑character alphanumeric field. A default initial value was specified as underscores, therefore the panel field contains underscores.
The fields are placed vertically, therefore, each header and field are to start in the first position of the line. The copied fields are placed before the first line of the existing panel definition as shown in the following example.
=> ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ IDEAL: PANEL COPY PNL ADRMPNL1 (001) TEST SYS: DOC FILL‑IN ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ Entity Name Ver Field Selection DVW EMPLOYEE____________________________________ PROD 3‑7____________ DVW ____________________________________________ ____ _______________ DVW ____________________________________________ ____ _______________ Copy direction: V (V‑vertical, H‑horizontal) label format: S (S‑sideview, C‑columnview, N‑none) destination: T (T‑top, B‑bottom)
The resulting layout is shown below. To simplify the display, the existing panel layout fields are not shown.
=> ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ IDEAL: PANEL LAYOUT NULL PNL ADRMPNL1 (001) TEST SYS: DOC FILL‑IN Start End ; New + Rep @ Del * Move > Copy ยข Dest ! Width 80 ........1........2........3........4........5........6........7........ ================================== T O P ==================================== NAME;________________________; STREET ADDRESS;_______________________; CITY ADDRESS;______________; STATE; _; ZIP CODE;_____; ============================== B O T T O M =================================
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|