× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




PDM. Option 25. F13 to repeat command to end of list.

This will allow you to search all members in a source file. You can ignore case 
if desired.  For a list of members that find a match specify as below. The 
OPTION parameter could be any pdm option including any user defined options.

Eric A DeLong
ericadelong@pmsc.com


--------------------------------------------
                                 Find String                                  
                                                                              
Type choices, press Enter.                                                    
                                                                              
  Find . . . . . . . . . . . . . .   '/copy whatever'                           
    From column number . . . . . .   1         1 - *RCDLEN                    
    To column number . . . . . . .   *RCDLEN   1 - *RCDLEN                    
    Kind of match  . . . . . . . .   2         1=Same case, 2=Ignore case     
                                                                              
  Option . . . . . . . . . . . . . > *NONE     *NONE, Valid option            
    Prompt . . . . . . . . . . . .   N         Y=Yes, N=No                    
  Print list . . . . . . . . . . . > Y         Y=Yes, N=No                    
  Print records  . . . . . . . . .   N         Y=Yes, N=No                    
    Number to find . . . . . . . .   *ALL      *ALL, number                   
    Print format . . . . . . . . .   *CHAR     *CHAR, *HEX, *ALTHEX           
    Mark record  . . . . . . . . .   Y         Y=Yes, N=No                    
    Record overflow  . . . . . . .   1         1=Fold, 2=Truncate             
  Find string in batch . . . . . .   N         Y=Yes, N=No                    
  Parameters . . . . . . . . . . .                                            
                                                                              
                                                                              


______________________________ Reply Separator _________________________________
Subject: Source Scan Utiltiy 
Author:  <MIDRANGE-L@midrange.com > at INTERNET
Date:    4/30/98 11:09 AM


    I am looking for a utility that will scan a source file for a character
string.  I code all of my Data structures in external members and then /Copy 
them into my program.  I need to be able to identify which programs would need 
to be changed if I modify a Data Structure.
     
Here is an example of what I am lookinf for:
     
    Source File .......... QRPGLESRC
        Library   ...........     *LIBL
     
    Scan String .......... 'Hello'
    Output        ..........  *                   *, *Print
     
     
     
    This would scan all members in the source file for the scan string.  It
would then output to screen/printer a listing a which members contained the 
string.  I woudl be helpful if it woudl in\gnore case but this might not be 
possible.
      Any suggestion on how to proceed would be very much appreciated.  The
utility, once completed, would be made available to anyone who requested it @ No
Charge of course.  My company allows me to write programs on their system and 
still keep copyright to the ideas/Source/compiled program. Only if I do it 
outside normal business hours.
     
TIA
Scott Swaim
scott71@hpnc.com
     


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.