RE: Help required on SEARCH

2004-02-23 Thread Steve Kunzman
I remembered this thread and I thought I could use it someday.  I created a VOC entry 
as described but I received the following error:

:ESEARCH MFD
STRING : 94067-004  
STRING :
Error when creating a shared memory segment (size=76288000), errno=22   
U_shmalloc() failed 

Press Return to continue.  


Unidata 6.0.4
HP9000 RP5470 HP-UX 11i (11.11)
 

-Original Message-
From: Buffington, Wyatt [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 11:04 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Help required on SEARCH


Yea, It's easy to remember.

-Original Message-
From: Jeff Schasny [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 08, 2003 10:58 AM
To: [EMAIL PROTECTED]
Subject: RE: Help required on SEARCH


Wow... havent seen the term MFD since my Pr1me days.

-Original Message-
From: Buffington, Wyatt [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 8:33 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Help required on SEARCH


In UniData you can create a voc entry like:

:AE VOC MFD
Top of "MFD" in "VOC", 3 lines, 17 characters.
001: DIR
002: ../PROD
003: D_VOC
Bottom.
*--: Q
Quit "MFD" in file "VOC" unchanged.
:

Then using another command called esearch, you can do the following:
:ESEARCH MFD
STRING : Abc
STRING :
 
17 records selected to list 0.
 
>SAVE.LIST WGB
Overwriting existing saved list.
17 key(s) saved to 1 record(s).

Then you can view that savedlist which shows you only the files which
contains that string:
:EDIT.LIST WGB
Top of "WGB000" in "SAVEDLISTS", 17 lines, 146 characters.
001: AE_COMS
002: GKIN8
003: GKIN7
004: GKIN8.bak
005: RBUR8
006: bkp63477.txt
007: SAVEDLISTS
008: _HOLD_
009: VOC
010: _PH_
011: pgm_map
012: site_visits.otl
013: GKIN7.bak
014: site_visits.bak
015: BPER.HOLD
016: WBUF1
017: core
Bottom.
*--: Q

TTH.  Wyatt

-Original Message-
From: ashish ratna [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 08, 2003 9:18 AM
To: [EMAIL PROTECTED]
Subject: Help required on SEARCH


Hi All,

Need a help on search command. I want to know that-

Can we search for a string in the entire account in one go e.g. If I want to
search for something like "Abc" in entire account, instead of searching
individually every file like VOC, data files, menu files etc. 
Can I just logto that account and give a single search command which will
bring me the entire listing.


Thanks in advance,
Ashish.

-- 

Unsubscribe: mailto:[EMAIL PROTECTED]
 or  mailto:[EMAIL PROTECTED]   
Moderator  : mailto:[EMAIL PROTECTED]
Web-site   : http://www.oliver.com/lists/u2


-- 

Unsubscribe: mailto:[EMAIL PROTECTED]
 or  mailto:[EMAIL PROTECTED]   
Moderator  : mailto:[EMAIL PROTECTED]
Web-site   : http://www.oliver.com/lists/u2


-- 

Unsubscribe: mailto:[EMAIL PROTECTED]
 or  mailto:[EMAIL PROTECTED]   
Moderator  : mailto:[EMAIL PROTECTED]
Web-site   : http://www.oliver.com/lists/u2


-- 

Unsubscribe: mailto:[EMAIL PROTECTED]
 or  mailto:[EMAIL PROTECTED]   
Moderator  : mailto:[EMAIL PROTECTED]
Web-site   : http://www.oliver.com/lists/u2


--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: Help required on SEARCH

2004-02-23 Thread Doug Miller
At 02:58 PM 2/23/2004, you wrote:

I remembered this thread and I thought I could use it someday.  I created 
a VOC entry as described but I received the following error:

:ESEARCH 
MFD
STRING : 
94067-004
STRING 
:
Error when creating a shared memory segment (size=76288000), 
errno=22
U_shmalloc() 
failed

ESEARCH is intended to traverse a hashed file at the record level looking 
for a string.  I suspect your MFD pointer is pointing to an account as a 
directory or something along that line.  This would explain why you cannot 
attach enough shared memory.

Look at using grep at the unix level to look for strings at a directory level.

HTH,

Doug

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: Help required on SEARCH

2004-02-24 Thread Richard Sammartino
This could be happening because a record that esearch is reading exceeds 
the maximum record size that can be read in unidata.  I get a similiar 
error when AE tries to edit a record that exceeds it allocated size.  This 
parameter can be increased if needed.

Rich Sammartino


I remembered this thread and I thought I could use it someday.  I created 
a VOC entry as described but I received the following error:

:ESEARCH 
MFD
STRING : 
94067-004
STRING 
:
Error when creating a shared memory segment (size=76288000), 
errno=22
U_shmalloc() 
failed

Press Return to continue.

Unidata 6.0.4
HP9000 RP5470 HP-UX 11i (11.11)
Richard Sammartino
Systems Analyst
Information Technology
School District of Philadelphia
734 Schuylkill Avenue
Philadelphia,  PA  19146-2397
Phone: (215) 857-4734
Fax: (215) 893-4243 

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: Help required on SEARCH

2004-02-25 Thread Ken Wallis
>Richard Sammartino wrote:

>This could be happening because a record that esearch is
>reading exceeds
>the maximum record size that can be read in unidata.  I get a similiar
>error when AE tries to edit a record that exceeds it allocated
>size.  This parameter can be increased if needed.

Yes, but you don't want to for this issue.  Because the ESEARCH is being run
against MFD and MFD is old Prime terminology for 'Master File Directory' -
usually the top level account directory - this ESEARCH is going to try and
pick up everything it finds in the directory and read it as a single record.
It looks like there is a 76MB file in the directory and that is too big for
UniData's current configuration to read as a single record.

Use "grep" and possible "strings" to search for things at the OS level, not
ESEARCH.

>
>>:ESEARCH
>>MFD
>> STRING :
>> 94067-004
>> STRING
>> :
>>Error when creating a shared memory segment (size=76288000),
>>errno=22 U_shmalloc() failed

Cheers,

Ken


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users