Difference between revisions of "WDSC tips/Find"
From MidrangeWiki
m (fix link) |
m (Add cross reference to WDSC_shortcuts) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 13: | Line 13: | ||
There is more find info at [[WDSC Find Tips]] | There is more find info at [[WDSC Find Tips]] | ||
− | + | [[#top]] | |
===Find Tips === | ===Find Tips === | ||
original post [http://archive.midrange.com/wdsci-l/200702/msg00067.html] | original post [http://archive.midrange.com/wdsci-l/200702/msg00067.html] | ||
+ | |||
+ | Check [[WDSC tips/Editor#Editor Commands|Command line find]] | ||
Check [[WDSC Find Tips]] | Check [[WDSC Find Tips]] | ||
Line 30: | Line 32: | ||
eg. To find all lines that have BEGSR or EXSR or ENDSR type BEGSR|ENDSR|EXSR into the find box , make sure the 'Regular Expression' checkbox is ticked then click on ALL. You will see the calling structure of the subroutines. (This does not work with procedure calls) | eg. To find all lines that have BEGSR or EXSR or ENDSR type BEGSR|ENDSR|EXSR into the find box , make sure the 'Regular Expression' checkbox is ticked then click on ALL. You will see the calling structure of the subroutines. (This does not work with procedure calls) | ||
+ | |||
+ | * See also, [[WDSC_shortcuts]]. Be sure to check the section on User-suggested keyboard shortcuts. | ||
− | + | [[#top]] | |
===Find Field usage (for SQL where OUTLINE doesnt work) === | ===Find Field usage (for SQL where OUTLINE doesnt work) === | ||
Line 43: | Line 47: | ||
*Ctrl-W to go back to the normal view or 'expandAll on command-line | *Ctrl-W to go back to the normal view or 'expandAll on command-line | ||
− | + | [[#top]] | |
+ | |||
+ | |||
+ | === Search === | ||
+ | original post [http://archive.midrange.com/wdsci-l/200908/msg00159.html] | ||
+ | |||
+ | *Use the Ctrl-H or Flashlight Button | ||
+ | *or Search Menu > Search then click on iSeries Search | ||
+ | |||
+ | Works great with a single member or many members. | ||
+ | |||
+ | [[#top]] |
Latest revision as of 11:57, 22 July 2014
Contents
Scan for a date when source lines were changed (like F14 in SEU)
original post [1]
- You could issue the "locate sequenceText" command (in the command line at the case of the RSE editor or press ESC to enable command line), then invoke it repeatedly from the LPEX command line (UP arrow key, Enter).
- example locate sequenceText 071201 to 071231
- You can filter by date. Right-click in the source and you can filter by date. ref [2]
Locate is an Editor command.
There is more find info at WDSC Find Tips
Find Tips
original post [3]
Check Command line find
Check WDSC Find Tips
Check Searching for text
- In WDSC
- Click Help,
- Click Help contents
- Search on 'Regular Expression Grammar',
- click on 'Regular Expression Grammar to see ALL the codes.
- This is very useful when you tick the 'Regular Expression' check box in the LPEX Editor EDIT,Find/Replace.
eg. To find all lines that have BEGSR or EXSR or ENDSR type BEGSR|ENDSR|EXSR into the find box , make sure the 'Regular Expression' checkbox is ticked then click on ALL. You will see the calling structure of the subroutines. (This does not work with procedure calls)
- See also, WDSC_shortcuts. Be sure to check the section on User-suggested keyboard shortcuts.
Find Field usage (for SQL where OUTLINE doesnt work)
original post [4]
- To see where a field is used,
- double click (select) the field name,
- then right click, Selected->Filter Selected.
- If you're command-line oriented, you can do the same thing with 'findText all field_name'
- Ctrl-W to go back to the normal view or 'expandAll on command-line
Search
original post [5]
- Use the Ctrl-H or Flashlight Button
- or Search Menu > Search then click on iSeries Search
Works great with a single member or many members.