|
Field |
Description |
|---|---|
|
Name |
One‑ to eight‑character entity name. |
|
Ver |
One‑ to three‑digit number. CA Ideal assigned when this version of the entity was created. |
|
S |
Status of the entity: T (Test) |
|
U |
Update the dataview records: Y (Yes) |
|
Description |
The 1‑ to 32‑character description of the entity. |
|
Created |
Date when the entity was created. |
|
Updated |
Date when the entity was last accessed in edit mode. |
The DISPLAY INDEX Line commands let you enter a number of line commands directly in the margin of the index display.
You can use the asterisk (*) line command with any entity type to scroll that line to the top of the display. (For more information, see the, “Editing Commands,” chapter.) You can use other line commands with programs, panels, reports, systems, members, and dataviews, as appropriate. They perform the same functions available through primary commands, except as noted below. Due to the six‑character width of the display margin area, you can only enter some commands in abbreviated form.
The following shows a sample index of programs with line commands to delete three programs.
....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+.... IDEAL: DISPLAY INDEX PGM SYS: DOC DISPLAY Command Name Ver S R-S Sys Lang Description Created Updated ====== ================================ T O P =============================== del001 DEMO#1 001 T PRV DOC IDEAL produce demrpt1 11/04/94 11/04/94 000002 DEMO1 001 T PRV DOC IDEAL produce demrpt1 11/04/94 11/04/94 000003 DEMO2 001 T PRV DOC IDEAL produce mult dvw details 11/04/94 11/04/94 000004 DEMO3 001 T PRV DOC IDEAL produce demrpt3-xsys res 11/04/94 11/04/94 000005 DEMO4 001 T PRV DOC IDEAL produce demrpt4 11/04/94 11/04/94 000006 DEMO5 001 T PRV DOC IDEAL list for reporting 11/04/94 11/04/94 del007 DEMO6 001 T PRV DOC IDEAL produce dempgm6 fm dvw 11/04/94 11/04/94 000008 DEMO6 002 T PRV DOC IDEAL produce dempgm6 fm dvw 11/04/94 11/04/94 del009 TEST 001 T PRV DOC IDEAL test program for doc 10/05/94 10/05/94 ====== ============================= B O T T O M=============================
The following table shows the commands that you can enter in the index display and the types of entities supported for each command.
|
Command |
Index Type |
||||||||||
|
|
PGM |
PNL |
RPT |
SYS |
USR |
MEM |
DVW |
PLAN |
MOD |
||
|
CATalog |
|
|
|
|
|
|
X |
|
|
||
|
COM, COMPILe |
X |
|
|
|
|
|
|
|
|
||
|
DEB, DEBUG |
X |
|
|
|
|
|
|
|
|
||
|
DEL, DELETE (1) |
X |
X |
X |
X |
X |
X |
X |
X |
|
||
|
DIS, DISPLAy |
X |
X |
X |
X |
X |
X |
X |
X |
|
||
|
DUP (2) |
X |
X |
X |
X |
X |
|
X |
|
|
||
|
EDI, EDIT |
X |
X |
X |
X |
X |
X |
X |
X |
|
||
|
PROD (3) |
X |
X |
X |
X |
X |
|
|
|
|
||
|
HIST (4) |
X |
X |
X |
X |
X |
|
|
|
|
||
|
PRI, PRINT |
X |
X |
X |
X |
X |
X |
X |
X |
|
||
|
RUN |
X |
|
|
|
|
|
|
|
|
||
|
SUB, SUBMIT |
|
|
|
|
|
X |
|
|
|
||
|
* |
X |
X |
X |
X |
X |
X |
X |
X |
X |
||
(1) You cannot delete dataviews that are modeled in the dictionary in CA Ideal.
(2) DUP means duplication to NEXT VERsion only, since DUP...NEWNAME requires information (the new name) which you cannot enter on the display panel. You cannot duplicate modeled and SQL dataviews to the next version.
(3) PROD is short for MARK STATUS...TO PROD. You cannot mark modeled and SQL dataviews to production status in CA Ideal.
(4) HIST is short for MARK STATUS...TO HIST. You cannot mark modeled and SQL dataviews to history status in CA Ideal.
You can enter any number of line commands in one display. Multiple commands are handled in three passes, as follows:
First Pass: Commands that do not need to interact with the user. This includes all commands displayed in the previous table except EDIT, DISPLAY, RUN, DEBUG, CATALOG, and DUPLICATE.
Successful execution of these commands clears the line command and the Updated column of the index display indicates which command was processed. This indicator remains in the data area until another command is issued against the same entity.
Second Pass: DISPLAY, EDIT, CATALOG, and DUPLICATE.
The DISPLAY and EDIT commands replace the index display with the entity DISPLAY or EDIT panel. You can scroll the DISPLAY or EDIT panels; the index and all pending commands are kept intact provided
The CATALOG process is followed by a DISPLAY of the dataview. The DUPLICATE process is followed by an EDIT of the new version. This means that DUPLICATE and CATALOG are both included in the second pass.
The processing of commands is interrupted after each EDIT or DISPLAY. You can either go on to the next pending display or edit or you can return to the index display:
NEXT does not redisplay the index. Processing proceeds directly to the next selected entity display. If no more selected entities remain in the index, NEXT operates just like RETURN, showing the index display again.
Third Pass: RUN, DEBUG, or *
You can execute only one RUN, DEBUG, or asterisk (*) command. It is executed following all other pending commands. Following a RUN or DEBUG, the index display is lost when the command completes executing. If a RUN or DEBUG command is executed, the asterisk (*) command is not executed.
Example
In the first sample index display, DEL commands delete three programs.
....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+.... IDEAL: DISPLAY INDEX PGM SYS: DOC DISPLAY Command Name Ver S R-S Sys Lang Description Created Updated ====== ================================ T O P =============================== del001 DEMO#1 001 T PRV DOC IDEAL produce demrpt1 11/04/04 11/04/04 000002 DEMO1 001 T PRV DOC IDEAL produce demrpt1 11/04/04 11/04/04 000003 DEMO2 001 T PRV DOC IDEAL produce mult dvw details 11/04/04 11/04/04 000004 DEMO3 001 T PRV DOC IDEAL produce demrpt3-xsys res 11/04/04 11/04/04 000005 DEMO4 001 T PRV DOC IDEAL produce demrpt4 11/04/04 11/04/04 000006 DEMO5 001 T PRV DOC IDEAL list for reporting 11/04/04 11/04/04 del007 DEMO6 001 T PRV DOC IDEAL produce dempgm6 fm dvw 11/04/04 11/04/04 000008 DEMO6 002 T PRV DOC IDEAL produce dempgm6 fm dvw 11/04/04 11/04/04 del009 TEST 001 T PRV DOC IDEAL test program for doc 10/05/04 10/05/04 ====== ============================= B O T T O M==============================
In the resulting display, note the DELETED indicators in the Updated column. The user enters three commands: RUN, COM (Compile), and DIS (Display).
....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+.... IDEAL: DISPLAY INDEX PGM SYS: DOC DISPLAY Command Name Ver S R-S Sys Lang Description Created Updated ====== ================================ T O P =============================== 000001 DEMO#1 001 T PRV DOC IDEAL produce demrpt1 11/04/04 DELETED 000002 DEMO1 001 T PRV DOC IDEAL produce demrpt1 11/04/04 11/04/04 run003 DEMO2 001 T PRV DOC IDEAL produce mult dvw details 11/04/04 11/04/04 com004 DEMO3 001 T PRV DOC IDEAL produce demrpt3-xsys res 11/04/04 11/04/04 000005 DEMO4 001 T PRV DOC IDEAL produce demrpt4 11/04/04 11/04/04 000006 DEMO5 001 T PRV DOC IDEAL list for reporting 11/04/04 11/04/04 000007 DEMO6 001 T PRV DOC IDEAL produce dempgm6 fm dvw 11/04/04 DELETED dis008 DEMO6 002 T PRV DOC IDEAL produce dempgm6 fm dvw 11/04/04 11/04/04 000009 TEST 001 T PRV DOC IDEAL test for doc 11/04/04 DELETED ====== ============================= B O T T O M=============================
The compile is initiated and, in the next screen, the program DEMO6 displays.
....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+.... IDEAL: PROCEDURE DEFINITION PGM DEMO6 (002) TEST SYS: DOC DISPLAY Command....+....1....+....2....+....3....+....4....+....5....+....6....+....7.. ====== ================================ T O P================================ 000100 FOR FIRST 100 CUSTOMERS NO UPDATE 000200 PRODUCE DEMRPT6 000300 ENDFOR ====== ============================= B O T T O M=============================
Entering the RETURN command (PF2) returns the index display. The message line indicates that the compile completed and the Updated column for program DEMO3 shows COMPILE. The RUN is still pending until the user presses the Enter key.
IPCMASYD10I- Compile for PGM DEMO3 successful; listing in OUTPUT 30 ....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+.... IDEAL: DISPLAY INDEX PGM SYS: DOC DISPLAY Command Name Ver S R-S Sys Lang Description Created Updated ====== ================================ T O P =============================== 000001 DEMO#1 001 T PRV DOC IDEAL produce demrpt1 11/04/04 DELETED 000002 DEMO1 001 T PRV DOC IDEAL produce demrpt1 11/04/04 11/04/04 RUN003 DEMO2 001 T PRV DOC IDEAL produce mult dvw details 11/04/04 11/04/04 000004 DEMO3 001 T PRV DOC IDEAL produce demrpt3-xsys res 11/04/04 COMPILE 000005 DEMO4 001 T PRV DOC IDEAL produce demrpt4 11/04/04 11/04/04 000006 DEMO5 001 T PRV DOC IDEAL list for reporting 11/04/04 11/04/04 000007 DEMO6 001 T PRV DOC IDEAL produce dempgm6 fm dvw 11/04/04 DELETED 000008 DEMO6 002 T PRV DOC IDEAL produce dempgm6 fm dvw 11/04/04 11/04/04 000009 TEST 001 T PRV DOC IDEAL test for doc 11/04/04 DELETED ====== ============================= B O T T O M=============================
When you press the Enter key, program DEMO2 executes. The program index is no longer available. CA Ideal returns to the Main Menu, as shown below.
1-IDADRUNP04I - Run completed, RC = 0, OUTPUT = 356 ....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+.... IDEAL: MAIN MENU PGM DEMO2 (001) TEST SYS: DOC MENU Enter desired option number ===> There are 11 options in this menu: 1. PROGRAM Define and maintain programs 2. DATAVIEW Display dataview definitions 3. PANEL Panel Definition Facility 4. REPORT Report Definition Facility 5. PLAN Application Plan Maintenance 6. PROCESS Compile, Run, Submit, Debug 7. DISPLAY Display Entities 8. PRINT Print Entities 9. ADMINISTRATION Administration functions 10. HELP Overview of HELP facilities 11. OFF End IDEAL Session
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|