Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dtsearchretrieve(3) [hpux man page]

DtSearchRetrieve(library call)											    DtSearchRetrieve(library call)

NAME
DtSearchRetrieve -- Return clear text of documents from DtSearch databases SYNOPSIS
#include <Dt/Search.h> int DtSearchRetrieve( char *dbname, DB_ADDR dba, char **cleartext, long *clearlen, int *fzkeyi); DESCRIPTION
DtSearchRetrieve retrieves the uncompressed document text of a specified DtSearch document listed in the DtSrResult list from a previous call to DtSearchQuery. It will be successful only in an AusText type database where the documents are stored directly in a database reposi- tory. ARGUMENTS
dbname Specifies which database the document is stored in. It can be any one of the database name strings returned from DtSearchInit or DtSearchReinit. If dbname is NULL, the first database name string is used. dba The database address of the desired record from the DtSrResult.dba field in a search results list. cleartext Specifies a pointer where a zero terminated C string containing the document text will be stored. The string is allocated storage that will be freed by the next call to this function. clearlen Specifies a pointer where the length of the cleartext string will be stored. fzkeyi This is a reserved argument. It should always be NULL. RETURN VALUE
DtSearchRetrieve returns DtSrOK as well as the cleartext string, when document retrieval is completely successful. It returns DtSrNOTAVAIL if the document text is not available from the database for whatever reason. Any other return code signifies failure and user messages on the MessageList explain why. Any API function can also return DtSrREINIT and the return codes for fatal engine errors at any time. SEE ALSO
dtsrcreate(1), DtSrAPI(3), DtSearchQuery(3), DtSearch(5) DtSearchRetrieve(library call)

Check Out this Related Man Page

DtSearchMergeResults(library call)										DtSearchMergeResults(library call)

NAME
DtSearchMergeResults -- Merge two DtSearch results lists into one SYNOPSIS
#include <Dt/Search.h> int DtSearchMergeResults( DtSrResult **targlist, DtSrResult **srclist); DESCRIPTION
DtSearchMergeResults merges the srclist results list into the targlist list using proximity for sort order, and sets the srclist source list pointer to NULL. This function is used to merge results from separate database searches for presentation to the user as a single results list. It presumes both lists are initially sorted by ascending proximity. It does nothing if source list is empty and returns DtSrOK. It moves the source list as is to the target list if the target list is empty and returns DtSrOK. ARGUMENTS
srclist Specifies the results list to be merged into the target list. targlist Specifies the results list into which the source list is to be merged. RETURN VALUE
DtSearchMergeResults returns DtSrERROR if either the srclist pointer or the srclist pointer is NULL. Otherwise, it returns DtSrOK, indicat- ing a successful merge. SEE ALSO
DtSrAPI(3), DtSearchQuery(3), DtSearchSortResults(3), DtSearchFreeResults(3) DtSearchMergeResults(library call)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix and databases

I had a person ask me if a Sql database can be run with Unix? I don't know can this be done? They only have Sql dba's and no oracle dba but want to use a Unix box???? (1 Reply)
Discussion started by: tyranunn
1 Replies

2. Solaris

file wont remove

check this out ls -l nmo* -rwsr-s--- 1 root dba 19312 Mar 31 14:44 nmo -rw-r----- 1 oracle dba 0 May 19 2004 nmo0 -rwxr-x--- 1 oracle dba 16512 Mar 31 14:44 nmocat # rm nmo0 nmo0: No such file or directory # id uid=0(root) gid=1(other) what... (8 Replies)
Discussion started by: csaunders
8 Replies

3. UNIX for Advanced & Expert Users

ls command

Hi, I wonder what means total 96 when I run ls -l : /u02/wtstifrm/wtstiora2/8.0.6/vbroker/adm/impl_dir>ls -l total 96 -rwxr-xr-x 1 frmwtsti dba 62 Apr 12 2001 README -rwxr-xr-x 1 frmwtsti dba 74 Apr 12 2001 README.txt -rw-rw-r-- 1 frmwtsti dba 800 Sep 20... (3 Replies)
Discussion started by: big123456
3 Replies

4. UNIX for Dummies Questions & Answers

Permission?

What does the following permission indicate? -rwSr----- 1 oracle dba 1536 Nov 7 17:05 orapwRTMDB Thanks, Rahul. (1 Reply)
Discussion started by: rahulrathod
1 Replies

5. Shell Programming and Scripting

validating data

I have a file like the following aaaaa00005bbbbb aaaaa00108bbbbb The code "00005" and "00108" need to be validated and the list of valid codes are stored in a database. While I loop through the file, should call a sql statement for every records to do the validation? or is... (1 Reply)
Discussion started by: joanneho
1 Replies

6. UNIX for Advanced & Expert Users

Removing files

Hi, It seems someone has created files instead of actually running the commands, as below: -rw-r--r-- 1 oracle92 dba 0 Mar 2 11:19 PRIML_070302.ok -rw-r--r-- 1 oracle92 dba 557 Mar 2 11:20 PRIVH_070302.dat -rw-r--r-- 1 oracle92 dba 0 Mar 12 11:57... (2 Replies)
Discussion started by: LiquidChild
2 Replies

7. Shell Programming and Scripting

ls -lsgt command

hi all i have a directory with 10 kinds of files with different suffix example 56 -rw-r--r-- 1 dba 27832 Feb 13 2002 a.log 74 -rw-r--r-- 1 dba 37348 Feb 13 2002 b.log 2 -rw-rw-rw- 1 other 209 Feb 10 2002 c.sql 2 -rw-r--r-- 1 dba 182 Jan 23 2002 ... (4 Replies)
Discussion started by: naamas03
4 Replies

8. UNIX for Advanced & Expert Users

Delete File Based On Date

Hi Xpert Out There I have a lots of file in this path : -rw-r----- 1 oracle dba 3954176 Dec 21 2006 1_2008.dbf -rw-r----- 1 oracle dba 887808 Dec 21 2006 1_2009.dbf -rw-r----- 1 oracle dba 143872 Dec 21 2006 1_2010.dbf -rw-r----- 1 oracle dba ... (3 Replies)
Discussion started by: adzuanamir
3 Replies

9. Shell Programming and Scripting

sort files

i have a folder contails 3 types of files , ls -l -rw-r--r-- 1 oratest dba 7 Jul 1 15:36 aml001.agl -rw-r--r-- 1 oratest dba 7 Jul 1 15:36 aml002.agl -rw-r--r-- 1 oratest dba 6 Jul 1 15:43 aml003.agl -rw-r--r-- 1 oratest dba 7 Jul 1 15:36 bom001.agl -rw-r--r-- 1 oratest dba 7... (4 Replies)
Discussion started by: Elii
4 Replies

10. Shell Programming and Scripting

To Check Oracle Database Status

I have to check the oracle database status using ksh, if the database is down then i need to send my dba an email saying database is down and wait for 10 mins and check for the status again and so on. once the database is up then should continue to the next step in the script. Any help is... (1 Reply)
Discussion started by: vpv0002
1 Replies

11. UNIX for Dummies Questions & Answers

Understanding group and passwd

Hi, I am checking who belong to the dba group , and found that oracle and autosys users are part of this group cat /etc/group | grep dba dba::400:oracle,autosys I thought to found user autosys under group 400 togther with user oracle , but found it in group 1000 as you can see bellow.... (2 Replies)
Discussion started by: yoavbe
2 Replies

12. UNIX for Advanced & Expert Users

RINT -----

Hi, on AIX 6.1 I have : -rwx------ 1 oracle dba 1263 Dec 8 02:43 initMYDB.ora -rwx------ 1 oracle dba 1263 Dec 16 10:44 initOURDB.ora RINT------ 1 oracle dba 1263 Dec 16 10:42 initMYDB.ora I havr never seen RINT------ Do you know... (14 Replies)
Discussion started by: big123456
14 Replies

13. UNIX for Dummies Questions & Answers

Greetings to all

Dear board members: I'm a current dba in Oracle and looking to improve me UNIX/Linux skills. I can get around the environment but no pro by far. Once I get to the database level, its all sql from that point on. I'm hoping some of you can give me some input as to where I can practice, and make... (1 Reply)
Discussion started by: azeemsyed
1 Replies

14. UNIX for Dummies Questions & Answers

Help searching for patterns occuring near one another in document

I'm very new to unix and linux, so I apologize if the answer to this question should be obvious.. What I would like to know is, is there a way to search a text document ( opened in less, or some other text viewer) for any two or more patterns that appear near one another in the document? In... (1 Reply)
Discussion started by: Colonel Panic
1 Replies

15. Shell Programming and Scripting

Minute(4) issue in teradata

I have values below for which diff field is giving error like "invalid time interval" in teradata Might be it is not doing calculation anymore after exceeding minute(4) value END_TS 2/2/2018 08:50:49.000000 START_TS 1/5/2018 17:30:02.000000 SLA_TIME 23:59:59.000000 select... (0 Replies)
Discussion started by: himanshupant
0 Replies