[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

1064.0. "HELP on BIND/SFILE" by NBOIS::MARSING (Gerhard Marsing @NBO) Thu Jul 16 1992 18:21

hello all in 1ers,

i have the problem, that customer want me to do a text search in a 
text file.

now i found in index form of text processing the command

BIND/SFILE=FILENAME,OR,#SERACH_PHRASE .........

can anyone explain this command and especially the qualifier /SFILE ?

there's nothing in the a1 docu.

is there any other method to do a text search in a text file by simple 
a1 commands ? 


many thanks in advance

Gerhard Marsing
a1 victim in hard digital times

T.RTitleUserPersonal
Name
DateLines
1064.1Look at doc for .SFILESHALOT::WARFORDRichard Warford @OPA DTN 393-7495Thu Jul 16 1992 20:047
    See the documentation for .SFILE in the SEARCH forms section. These
    two things are basically the same.
    
    Is this a single specific file that they want to search - or 
    is it all files from a specific list?
    
    Rick
1064.2You might want to evaluate ALL-IN-1/TRSBUFFER::VICKERSand thanks for all the fishFri Jul 17 1992 00:4923
    As you know the Index form from which you copied the SFILE code
    provides the Phrase search as the last field on the form.  This is a
    standard part of the ALL-IN-1 User Interface and quite handy but can be
    quite slow.

    There is a product called ALL-IN-1/TRS (Text Retrieval System) which
    provides a far faster means of doing searches of the file cabinet. 
    ALL-IN-1/TRS is an integration into ALL-IN-1 of the Excalibur Content
    Based Retrieval software.  It is fully integrated into English ALL-IN-1
    and is fast and requires virtually no management or planning to use. 
    It is also very cheap in the US.  There are plans for it to be offered
    in the US.

    I suggest that you might want to check the LEARN0::A1CBR notes file for
    kit and documentation information.  Press SELECT to add it to your
    conference.  Mike Coughlin @ OGO is the business manager for the
    product and can grant access to the kit (there is a universal internal
    use license for internal Digital use).  Mike is the best business
    manager I know of in Digital and very customer oriented (a rare thing
    for a Digital BO person) and he will help in any way he can.

    Hope this helps,
    don
1064.3ALL-IN-1/TRS WARLRD::BUTLER_TFri Jul 17 1992 14:385
    Hello:
    
    Is this product (ALL-IN-1/TRS) available for customers? 
    
    Tim
1064.4It's most definitely available for customers!BUFFER::VICKERSand thanks for all the fishFri Jul 17 1992 15:4414
    Yes, this is in the price book and everything.  Would you guys like to
    support it?  It's really easy to support.  That's what I've been doing
    in my free time.

    The price per seat for customers is less than $100, it doesn't affect
    any existing ALL-IN-1 code, and the user interface is exactly the same
    as ALL-IN-1.  It takes 10 minutes to install and includes a deinstall
    procedure so it can be removed easily.

    There are customer demo kits available which have an expiration date
    built into them.  Contact Mike Coughlin @ OGO for any other details.

    Have fun,
    don
1064.5more info on my problemNBOIS::MARSINGGerhard Marsing @NBOFri Jul 17 1992 15:4930
hello friends, thanks for your ideas

i am not realy shure that i can solve my problem with bind/sfile


more info..


i will create an index on a dataset containing header info for some 
files, which reside anywhere in the system .....

the fields are    name, and dir to build the filespec 

		  dir:RLV_name.WPL

and upon these files i will do my file search for the bind operation

bind/sfile file,or,anystring .....

is 'file' a field in the dataset, or can it be a symbol so i could 
build my filename ?


who can explain ????


thanks and mercy
Gerhard Marsing


1064.6ALL-IN-1/TRSAIMTEC::BUTLER_TFri Jul 17 1992 18:5114
    re: .4
    
    < Yes, this is in the price book and everything.  Would you guys like to
    <    support it?  It's really easy to support.  That's what I've been
    <    doing in my free time.
    
    Keep the fish, Don.  I'll let our bean counters figure that one
    out.  I will pass the information on.
    
    Tim
    
    Now, back to the regular topic before our Moderator comes around
    the corner.
    
1064.7Not around the corner but around the bend (:==:)WARLRD::WICKS_ADEC Mail Works for ME sometimesFri Jul 17 1992 20:2118
    
    Tim,
    
    >   Now, back to the regular topic before our Moderator comes around
    >   the corner.
    
    I can handle multi-topic notes, I just wish sometimes that someone else
    in CSC knew about all these ALL-IN-1 products that have shipped/ are
    shipping but which the CSC isn't supporting or doesn't realise it's
    supporting.
    
    If I had $1 for everyone who asked me what TCP, TMR, APA, TRS, ABC etc...
    are and which queue supports them I would be as rich as Sir Donald.
    
    regards,
    
    Andrew.D.Wicks (which has kits for all the above except TRS) 
    
1064.8'File-name-field' should be a field name of the data setCESARE::EIJSAll in 1 PieceSat Jul 18 1992 13:0833
    
    Gerhard,
    
    > .SFILE file-name-field,boolean operator,text-search-string
    
    As far as I understand the 'file-name-field' must be the name of a
    field in your data set against which you want to build the index. If
    you take the example from the WP Index, then 'FILENAME' is a field of
    teh CAB$ data set. 
    
    If your data set contains header info, but not the complete filename (I
    understand that the filename is built dynamically), then you cannot use
    the 'BIND/SFILE="xxx,xx,xxx" construction.
    
    I think your best shot is to figure out whether or not you can store
    the 'filespec' in the data set and then perdorm the BIND/SFILE against
    the field name which contains the 'filespec'.
    
    If the 'RLV' piece is variable (different per index session) and not
    taken into the data set, then I think your best shot is to create a
    temporary data set consisting of only the 'filespec' (or 'name, 'dir'
    and 'filespec') and perform the 'BIND/SFILE' against that data set
    where 'file-name-field' is the name of the field which contains the
    'filespec'.
    
    Another way is to create a 'read-only, no-display' field in your data
    set which can contain the 'filespec'. Before the BIND is done, loop
    through the data set and add the 'filespec' value to the dummy field
    depending on the several variables. Then perform the BIND/SFILE.
    
    HTH, 
    
    	Simon