Terminal Session 29
Displaying a procedure
INCIDENT = T2
INCIDENT DATE = 790715
DATE OF BIRTH = 640619
The user executes a previously entered procedure:
?INCLUDE SACRAMENTO
5
ADAMS, KEN U GOODRICH
ELLIOTT, CHRISTINE Q BATEMAN
GOLDSMITH, CLAYTON C BATEMAN
GRIFFIN, EUGENE O BATEMAN
WRIGHT, FRANK I GOODRICH
The user defines a procedure named TEST. The system prompts for
statements and the user enters them:
?PROCEDURE TEST
*** M204.1144: DEFINE PROCEDURE
?BEGIN
?POL.100990: FIND ALL RECORDS FOR WHICH
? POLICY NO = 100990
? END FIND
?POL.FR: FOR EACH RECORD IN POL.100990
? PRINT SEX AND DATE OF BIRTH
END FOR
?END
The user signals the end of procedure:
?END PROCEDURE
The system responds and then prompts for another command:
*** M204.1146: PROCEDURE ENDED
?
Displaying a procedure
Using the DISPLAY and USE commands
A procedure can be displayed by means of the DISPLAY command, which can
be abbreviated to D. The user requests that a procedure be displayed on the
terminal by entering either:
DISPLAY procname
or: