CA 2E supplies a default action diagram for each function. An action diagram contains the processing steps that make up a function. Each action diagram consists of a list of actions, where each action may be either a call to another function or one of a number of low level built-in functions.
To view and edit the default action diagram for the Edit Horse function, from the Edit Function panel enter F in the Subfile selector for the Edit Horse function as shown in the following example:
EDIT FUNCTIONS My model
File name. . . . : Race Entry ** 1ST LEVEL **
? Function Function type Access path
Change Race Entry Change object Update index
Create Race Entry Create object Update index
Delete Race Entry Delete object Update index
F Display Racing results Display file Races for a Horse
More...
SEL: Z=Details P=Parms F=Action diagram S=Device D=Delete O=Open
C=Copy L=Locks U=Usages R=References N=Narrative ...Y=Y2CALL
F3=Exit F5=Reload F7=File details F9=Add functions F23=More options
F11=Next View F17=Services F21=Copy *Template function
Press Enter to view the action diagram for the Edit Horse function. An example is shown next:
EDIT ACTION DIAGRAM Edit My model Horse
FIND=> Edit Horse
I(C,I,S)F=Insert construct I(X,O)F=Insert alternate case
I(A,E,Q,*,+,-,=,=A)F=Insert action IMF=Insert message
> Edit Horse
__ .--
__ . ...Initialize <--
__ . .=REPEAT WHILE
__ . |-*ALWAYS
__ . | ...Load first subfile page <--
__ . | PGM.*Reload subfile = CND.*NO
__ . | > Conduct screen conversation
__ . | .=REPEAT WHILE
__ . | |-PGM.*Reload subfile is *NO
__ . | | Display screen
__ . | | ...Process response <--
__ . | '-ENDWHILE
__ . '-ENDWHILE
__ . ...Closedown <--
__ '--
F3=Prev block F5=User points F6=Cancel pending moves F23=More options
F7=Find F8=Bookmark F9=Parameters F24=More keys
The Action Diagram Editor’s Subfile selector provides options for editing an action diagram, including options for inserting and manipulating user-defined actions. You can enter ? in the Subfile selector to view a list of all allowed values.
|
Copyright © 2014 CA.
All rights reserved.
|
|