Modifying Action Diagrams › Using Action Diagram Services › Scanning for Specified Criteria or Errors
Scanning for Specified Criteria or Errors
Access Action Diagram Services by pressing F17 from the Edit Action Diagram panel. The Action Diagram Services panel appears.
Action Diagram Services SYNMDL
Type choices, press ENTER.
Find option . . . . . . . : 1 1=Criteria, 2=Error
Occurrences to process . . : 1 1=Next, 2=All, 3=Previous
Display find in context . : 2 1=Exact, 2=Block, 3=User point
Find function file name . : Name, *ALL
Find function name . . . . .: Name, *ALL
Find field name . . . . .. : Name, *ALL
Contex. . . : Usage . .: (I/O/B/U)
Search for date . . . . : : 5/06/13 CYYMMDD
Compare . . . . . . . . . : 1=Less than, 2=Less than or equal to,
3=Equal to, 4=Greater than or equal to,
5=Greater than
Scan in titles and comments .: Ignore case . : Y
Scan for implementation name :
Reset change dates . . . . : (Y/N) Share find criteria . . : N
Full screen mode . . . . . : N (Y/N) Auto-scan functions . . : N
Call function . . . . . . :
F3=Exit F7=Find F9=Command line F11=Conditions F12=Cancel F16=Y2CALL
- To perform a search for specified find criteria, type option 1 in the Find Option field.
To specify the criteria of the search:
- In the Find Function File Name field, type the name of the file, *ALL if you want to search all files, or ? if you are uncertain of the file name.
- Type the name of the field in the Find Field Name field. To perform a search on the field and/or context or usage, enter the field name and the context type. You can enter the field name without entering the context; however, you cannot enter the context or usage without specifying a field name.
- Enter the date in YYMMDD format in the Search for Date field.
- For a specific date comparison, select one of the options for the following criteria:
- Less than (for a date prior to the date).
- Less than or equal to (for a date prior or equal to the search date)
- Equal to (for a date equal to the search date)
- Greater than or equal to (for a date after or equal to the search date)
- Greater than (for a date after the search date)
- To scan only in block titles and comments, type the text to scan for in the Scan in titles and comments option. The wildcard character ? indicates a generic scan; a leading ? is not valid.
- To search functions and messages for a specified source member name or message identifier respectively, type the implementation name for the Scan for implementation name option. To make the resulting action diagram display clearer, press the F21 key when the search is successful.
- To perform a search for syntax errors in the action diagram, from the Action Diagram Services panel, type 2 for the Find option.
- To search for matches to the specified criteria or errors in the action diagram, press F7 to scan forward. To scan backwards, type 3 for the Occurrences to process option.
- Share find criteria is a Y or N option specifying whether the find criteria entered on this screen are shared between open functions. If set to N, each open function uses its own find criteria, which are initialized when the function is first opened and are retained while the function remains open.
If set to Y, all open functions share a single set of find criteria. Changes made to the find criteria (using this screen) when accessed from one open function are retained and used for all other open functions.
N Open functions each use their own set of find criteria.
Y Open functions share a single set of find criteria.
Note: If this screen is accessed from a function and this value is set to Y, and another function is subsequently opened, you can use F7 (Scan) immediately in that function without the need to re-access this screen.
- Auto-scan functions: This flag is only valid if Share find criteria is set to Y. This flag determines whether the specified scan should be performed on a function as soon as the function is edited. This flag is automatically set to Y if the F7 key is pressed to exit this program and this program was called from the OPEN FUNCTIONS panel. The autoscan functionality applies to any open functions, including the function being edited when this program was called (if any) as well as to any functions that are subsequently zoomed into.
N The specified scan will not be performed automatically on return from this program—the user must press F7 when editing the action diagram of the function to start the scan.
Y The specified scan is automatically performed on return from this program.
Note: Error checking is also available outside Action Diagram Services using the Check Function Action Diagram (YCHKFUNACT) command or option 38 on the YEDTMDLLST panel. If any errors are found, the action diagram is loaded and positioned to the first error.