You are on page 1of 3

FAQ 1303: How to uncompress files in the Siebel File Server with the original file names?

Last Modified: Area(s): Release(s): %atabase(s): A"" Ser'er OS(s): Latest release tested a(ainst:

10 October 2002 System Administration V5 (Siebel 99 !nter"rise)# V$ (Siebel 2000 !nter"rise) %&2 All V) (!nter"rise)

*+e Siebel ,ile System stores all file attac+ments in a com"ressed format -it+ a "ro"rietary namin( con'ention. /eit+er Siebel 0nterActi'e nor t+e ,1lcr1m Searc+Ser'er can access or read t+ese files directly. 0f eit+er of t+ese mod1les is 1sed# maintain a co"y of all file attac+ments in an 1ncom"ressed format in a se"arate directory accessible to Searc+Ser'er or Siebel 0nterActi'e. &eca1se t+e Siebel client also stores file attac+ments in a com"ressed format# ,1lcr1m cannot be 1sed for local searc+es on t+e client 1nless an 1ncom"ressed directory is also maintained t+ere. *+e 1tility "ro(ram SS!M2304.!5! is "ro'ided on t+e Siebel Ser'er in order to maintain t+is 1ncom"ressed directory# +o-e'er SS!M2304.!5! decom"resses t+e doc1ment and a""ends t+e Siebel name to t+e ori(inal doc1ment name. ,or e6am"le: 7+en a file named 8*imes+eet.6ls8 is added to t+e Siebel ,ile System Siebel com"resses t+e file and renames it to t+e *able /ame# Ro- 0d and Re'ision 0d and adds .SA, as t+e e6tension. !6am"le: S9L0*91 :;91 <.SA, *able /ame = S9L0*# Ro- 0d = 1 :;# Re'ision 0d = 1 < After SS!M2304.!5! 1ncom"resses t+e file t+e name is modified and contains t+e Siebel information. *+e sam"le becomes: *imes+eet9S9L0*91 :;91 <.6ls Environment A""licable for bot+ 7indo-s and Solaris mac+ines. or!aroun" *+is -or>aro1nd in'ol'es -ritin( S?L statements and is intended for ad'anced 1sers. *+e res1lts from r1nnin( t+e S?L statements -ill create statements t+at -ill 1se t+e SS!2/304.!5! to e6tract t+e file. SS!2/304.!5! decom"resses one file at a time and allo-s t+e file to be renamed. After r1nnin( t+e S?L statements t+e res1lts -ill be co"ied to a batc+ file t+at -ill be r1n in %OS to e6tract t+e files to t+e directory of c+oice -it+ t+e ori(inal file names. *+e follo-in( S?L can be 1sed as a (1ide. R1n se"arate S?L Statements for eac+ table t+at contains doc1ments. ;ere are t+e 'al1es t+at may +a'e to be modified: Siebel Ser'er directory: c:#siebsrvr Siebel ,ile System directory: c:#siebfile

!6"ort directory: c:#lit *able /ame: S9L0* $S SQ% Server specific S!L!@* Ac:#siebsrvrBbinBsse1nCi".e6e c:#siebfileBS9L0*9A D RO790% D A9A D ,0L!9R!V9/2M D A.SA, 8c:#lit#A D ,0L!9/AM! D A.A D ,0L!9!5* D A8A ,ROM S&%'( 7;!R! ,0L!9/AM! 0S /O* /2LL 2se MS ?1ery AnalyCer to r1n t+e S?L statements. Lo( in and c+an(e to t+e Siebel database. @+an(e t+e follo-in( settin(s: 2nder t+e ?1ery men1 c+oose @1rrent @onnection O"tions @+ec> t+e 8/o co1nt dis"lay8 bo6# t+en o"en t+e Ad'anced *ab and 2nc+ec> t+e 84rint +eaders8 bo6. A""ly )racle specific S!L!@* Ac:#siebsrvrBbinBsse1nCi".e6e c:#siebfileBS9L0*9A EE RO790% EE A9A EE ,0L!9R!V9/2M EE A.SA, 8c:#litBA EE ,0L!9/AM! EE A.A EE ,0L!9!5* EE A8A ,ROM S&%'( 7;!R! ,0L!9/AM! 0S /O* /2LLF 2se S?L 4l1s to r1n t+e S?L statements. Lo( into t+e Siebel database instance and c+an(e t+e follo-in( O"tions for t+e !n'ironment: &1ffer 7idt+ = <00# Line SiCe = <00# 4a(e SiCe = 50000# 1nderline=Glea'e t+is blan>H. *e+t Steps @o"y t+e S?L statements from abo'e and modify t+em for t+e en'ironment. R1n t+e statements. *+e res1lts s+o1ld loo> li>e t+e follo-in(: c:Bsiebsr'rBbinBsse1nCi".e6e c:BsiebfileBS9L0*900 1A@?$90 IL.SA, 8c:BlitB/arrati'e Ser'ice *o" 10 Most Ser'iced 4rod1cts.doc8 c:Bsiebsr'rBbinBsse1nCi".e6e c:BsiebfileBS9L0*900 1923O90 VJ.SA, 8c:BlitB4rod1ct Line &riefin(.doc8 c:Bsiebsr'rBbinBsse1nCi".e6e c:BsiebfileBS9L0*90 A05K90 VL.SA, 8c:BlitBSales 4i"eline &riefin(.doc8 /o- co"y t+ese statements into a te6t file and call it e6tract.bat. Ma>e s1re t+ere is a carria(e ret1rn at t+e end of t+e file. /o- r1n t+is batc+ file from MS %OS and it -ill decom"ress t+e Siebel ,ile System to t+e directory s"ecified -it+ t+e ori(inal file names. *)(E: *+e batc+ file calls SS!2/304.!5! once for eac+ file. *+is means t+at if t+ere are 500 files in a "artic1lar table t+en SS!2/304.!5! is called 500 times. *+is "rocess is slo-# b1t it does -or>. *+e res1lts from r1nnin( t+e SS!2/304.!5! -ill loo> li>e t+e follo-in(: @:BHe6tract.bat

@:BH c:Bsiebsr'rBbinBsse1nCi".e6e c:BsiebfileBS9L0*900 1923O90 VJ.SA, 8c:BlitB4rod1ct Line &riefin(.doc8 Siebel !nter"rise A""lications SS!2/304# Version 5.5 L2I2)M !/2 @o"yri(+t (c) Siebel Systems# 0nc. 1995 199N. *+is soft-are is t+e "ro"erty of Siebel Systems# 0nc.# 1N55 So1t+ Krant Street# San Mateo# @A 9II02 2$$). 2ser -arrants t+at any 1se of t+is soft-are is (o'erned by t+e terms and conditions of t+e Siebel Systems Soft-are License and Ser'ices A(reement -+ic+ +as been e6ec1ted and -it+ -+ic+ t+e 1ser a(rees to com"ly. 2/A2*;OR03!% 4OSS!SS0O/# %0S@LOS2R! OR 2S! O, *;0S SO,*7AR! OR *;! 0/,ORMA*0O/ @O/*A0/!% ;!R!0/ 0S 4RO;0&0*!% &O ,!%!RAL A/% S*A*! LA7. 0f yo1 +a'e recei'ed t+is soft-are in error# "lease notify 1s by tele"+one immediately at ($50) 295 5000. 2nCi""ed 1 files.

You might also like