On Tue, 20 Jun 2000 13:11:53 -0600, Simonsen, Larry <[log in to unmask]> wrote: >I have started to receive a error when I grep for a string. The error is >$ grep -i "pmtccode" ../SRCLIST/* >**** Illegal instruction address (TRAPS 56). > >ABORT: GREP.HPBIN.SYS >[1] + Done(139) grep -i "pmtccode" ../SRCLIST/* > 1573104 Segmentation violation grep >$ > >any ideas about what I have done to myself? >I check the stack information in sysgen and this is what it shows > > STACK command parameter MAX MIN CURRENT > ----------------- ----------- ---------- ---------- --------- - > DEFAULT NM STACK nm 749998080 262144 393216 > MAXIMUM NM STACK maxnm 749998080 262144 749998080 > DEFAULT CM STACK cm 4096 256 1200 > MAXIMUM CM STACK maxcm 31232 256 31232 > DEFAULT HEAP heap 1047527424 524288 81920000 > MAXIMUM NM HEAP maxheap 1047527424 524288 1047527424 > >------------------------------------------------- >Larry Simonsen Phone: 801-489-2450 >Flowserve Corporation Fax: 801-491-1750 >PO Box 2200 http://www.Flowserve.com >Springville, UT 84663 e-mail: [log in to unmask] >------------------------------------------------- >All opinions expressed herein are my own and reflect, in no way, those of my >employer. Larry - Many times we want to locate source or data that contains one or more strings. Locating the source or data to be analyzed or modified is one of the most common and tedious tasks of a programmer/analyst. I have a solution. What follows is a: **************** Not so Subtle Commercial Announcement ******************** I have developed a program called DISCOVER/3000 that can scan an entire account or even the entire disc directory for up to 64 search strings at a time. You can also specify up to 64 excluded strings. The located records may be displayed and/or extracted to a flat file. DISCOVER/3000 also lets you compare the directories of two groups, pattern match data in MPE files and IMAGE sets, locate dates in numerous formats and types, convert dates in MPE files, and examine and extract data from MPE files and IMAGE sets. DISCOVER/3000 also has a powerful LIST FILE function that allows you to select by file code, print the first or last nnn records of a set of files, and create a space or comma delimted file of the directory for export to a PC. Check out DISCOVER/3000 at http://www.idswest.com for more details, prices, and to request a free 30 day evaluation. Thank you. Bruce A. Randall Impact Digital Solutions Inc. Phone 415-642-8015 Fax 415-282-1947 [log in to unmask]