Here is a syntax diagram of a simple control statement:
ADD (for user profiles)
|------------------------+
V |
->>-- ADD --- USERPROFILES ---(--- userID -- profileID -----)----><
The syntax diagram always begins with the double right arrowhead on the left end of the control path. The ADD control word is required since it is directly on the control path. Next, you must type USERPROFILE.
As you follow the control path, you see that the open parenthesis is also required. The next item on the path is a variable. Variables indicate specific items that you replace with information like user IDs, profile names, variable names, or other values. In this case, the variable is a user ID. After the user ID is another variable, a profile name. The arrow starting after the variables and pointing back to the area before the variables indicates that you can enter more than one variable. In this case, you can specify as many user IDs and profile names as you like. Note that you have to enter a user ID and profile name together each time you make a loop.
After you have entered a value for the variable, you must type the close parenthesis to end the list. The right and left arrowheads at the end of the control path indicate the end of the syntax diagram. Here is an example of an ADD statement following this syntax diagram:
ADD USERPROFILE (USER1 PROF1 USER2 PROF1)
|
Copyright © 2013 CA.
All rights reserved.
|
|