objects.sql 97 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676
  1. -- Generated by BladeSmith 4.20.TC1 DO NOT MODIFY. --
  2. execute procedure ifx_allow_newline('t');
  3. insert into sysbldobjects
  4. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5. create_can_fail, drop_sql, drop_can_fail)
  6. values
  7. (
  8. "%SYSBLDNAME%", 0, "dbms_alert_table_create",
  9. "%SYSBLDUSER%", 0,
  10. "create table if not exists DBMS_ALERT_EVENTS
  11. ( event_id SERIAL unique,
  12. event_name VARCHAR(30) primary key
  13. );
  14. create table if not exists DBMS_ALERT_REGISTERED
  15. ( session_id INTEGER,
  16. event_id INTEGER references DBMS_ALERT_EVENTS(event_id)
  17. );
  18. create unique index if not exists DBMS_ALERT_SESIDX
  19. on DBMS_ALERT_REGISTERED (session_id, event_id);
  20. create table if not exists DBMS_ALERT_SIGNALED
  21. ( event_id INTEGER references DBMS_ALERT_EVENTS(event_id),
  22. session_id INTEGER,
  23. signal_time DATETIME year to second,
  24. alert_msg LVARCHAR
  25. );
  26. ",
  27. "f",
  28. "drop table if exists DBMS_ALERT_EVENTS;
  29. drop table if exists DBMS_ALERT_REGISTERED;
  30. drop table if exists DBMS_ALERT_SIGNALED;
  31. ",
  32. "f"
  33. );
  34. insert into sysbldobjects
  35. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  36. create_can_fail, drop_sql, drop_can_fail)
  37. values
  38. (
  39. "%SYSBLDNAME%", 7, "utl_file_file_type",
  40. "%SYSBLDUSER%", 0,
  41. "create distinct type utl_file_file_type as integer;
  42. ",
  43. "f",
  44. "drop type utl_file_file_type restrict;
  45. ",
  46. "f"
  47. );
  48. insert into sysbldobjects
  49. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  50. create_can_fail, drop_sql, drop_can_fail)
  51. values
  52. (
  53. "%SYSBLDNAME%", 71, "utl_file_file_type",
  54. "%SYSBLDUSER%", 0,
  55. "grant usage on type utl_file_file_type to public;
  56. ",
  57. "f",
  58. "",
  59. "f"
  60. );
  61. insert into sysbldobjdepends
  62. (
  63. bld_id,
  64. obj_kind,
  65. obj_signature,
  66. obj_owner,
  67. need_obj_kind,
  68. need_obj_signature,
  69. need_obj_owner)
  70. values
  71. (
  72. "%SYSBLDNAME%",
  73. 71, "utl_file_file_type",
  74. "%SYSBLDUSER%",
  75. 7, "utl_file_file_type",
  76. "%SYSBLDUSER%"
  77. );
  78. insert into sysbldobjects
  79. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  80. create_can_fail, drop_sql, drop_can_fail)
  81. values
  82. (
  83. "%SYSBLDNAME%", 7, "dbms_output_chararr",
  84. "%SYSBLDUSER%", 0,
  85. "create distinct type dbms_output_chararr as lvarchar;
  86. ",
  87. "f",
  88. "drop type dbms_output_chararr restrict;
  89. ",
  90. "f"
  91. );
  92. insert into sysbldobjects
  93. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  94. create_can_fail, drop_sql, drop_can_fail)
  95. values
  96. (
  97. "%SYSBLDNAME%", 71, "dbms_output_chararr",
  98. "%SYSBLDUSER%", 0,
  99. "grant usage on type dbms_output_chararr to public;
  100. ",
  101. "f",
  102. "",
  103. "f"
  104. );
  105. insert into sysbldobjdepends
  106. (
  107. bld_id,
  108. obj_kind,
  109. obj_signature,
  110. obj_owner,
  111. need_obj_kind,
  112. need_obj_signature,
  113. need_obj_owner)
  114. values
  115. (
  116. "%SYSBLDNAME%",
  117. 71, "dbms_output_chararr",
  118. "%SYSBLDUSER%",
  119. 7, "dbms_output_chararr",
  120. "%SYSBLDUSER%"
  121. );
  122. insert into sysbldobjects
  123. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  124. create_can_fail, drop_sql, drop_can_fail)
  125. values
  126. (
  127. "%SYSBLDNAME%", 5, "utl_file_fopen (lvarchar,lvarchar,lvarchar,integer)",
  128. "%SYSBLDUSER%", 0,
  129. "create function utl_file_fopen (lvarchar,lvarchar,lvarchar,integer)
  130. returns utl_file_file_type
  131. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_fopen)"" language c;
  132. ",
  133. "f",
  134. "drop function utl_file_fopen (lvarchar,lvarchar,lvarchar,integer);
  135. ",
  136. "f"
  137. );
  138. insert into sysbldobjdepends
  139. (
  140. bld_id,
  141. obj_kind,
  142. obj_signature,
  143. obj_owner,
  144. need_obj_kind,
  145. need_obj_signature,
  146. need_obj_owner)
  147. values
  148. (
  149. "%SYSBLDNAME%",
  150. 5, "utl_file_fopen (lvarchar,lvarchar,lvarchar,integer)",
  151. "%SYSBLDUSER%",
  152. 7, "utl_file_file_type",
  153. "%SYSBLDUSER%"
  154. );
  155. insert into sysbldobjects
  156. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  157. create_can_fail, drop_sql, drop_can_fail)
  158. values
  159. (
  160. "%SYSBLDNAME%", 181, "Alter-ExternalName-utl_file_fopen (lvarchar,lvarchar,lvarchar,integer)",
  161. "%SYSBLDUSER%", 0,
  162. "alter function utl_file_fopen (lvarchar,lvarchar,lvarchar,integer)
  163. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_fopen)"");
  164. ",
  165. "f",
  166. "alter function utl_file_fopen (lvarchar,lvarchar,lvarchar,integer)
  167. with (Modify External Name = ""utl_file_fopen"");
  168. ",
  169. "f"
  170. );
  171. insert into sysbldobjdepends
  172. (
  173. bld_id,
  174. obj_kind,
  175. obj_signature,
  176. obj_owner,
  177. need_obj_kind,
  178. need_obj_signature,
  179. need_obj_owner)
  180. values
  181. (
  182. "%SYSBLDNAME%",
  183. 181, "Alter-ExternalName-utl_file_fopen (lvarchar,lvarchar,lvarchar,integer)",
  184. "%SYSBLDUSER%",
  185. 5, "utl_file_fopen (lvarchar,lvarchar,lvarchar,integer)",
  186. "%SYSBLDUSER%"
  187. );
  188. insert into sysbldobjects
  189. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  190. create_can_fail, drop_sql, drop_can_fail)
  191. values
  192. (
  193. "%SYSBLDNAME%", 69, "utl_file_fopen (lvarchar,lvarchar,lvarchar,integer)",
  194. "%SYSBLDUSER%", 0,
  195. "grant execute on function utl_file_fopen (lvarchar,lvarchar,lvarchar,integer) to public;
  196. ",
  197. "f",
  198. "",
  199. "f"
  200. );
  201. insert into sysbldobjdepends
  202. (
  203. bld_id,
  204. obj_kind,
  205. obj_signature,
  206. obj_owner,
  207. need_obj_kind,
  208. need_obj_signature,
  209. need_obj_owner)
  210. values
  211. (
  212. "%SYSBLDNAME%",
  213. 69, "utl_file_fopen (lvarchar,lvarchar,lvarchar,integer)",
  214. "%SYSBLDUSER%",
  215. 5, "utl_file_fopen (lvarchar,lvarchar,lvarchar,integer)",
  216. "%SYSBLDUSER%"
  217. );
  218. insert into sysbldobjects
  219. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  220. create_can_fail, drop_sql, drop_can_fail)
  221. values
  222. (
  223. "%SYSBLDNAME%", 5, "utl_file_is_open (utl_file_file_type)",
  224. "%SYSBLDUSER%", 0,
  225. "create function utl_file_is_open (utl_file_file_type)
  226. returns boolean
  227. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_is_open)"" language c;
  228. ",
  229. "f",
  230. "drop function utl_file_is_open (utl_file_file_type);
  231. ",
  232. "f"
  233. );
  234. insert into sysbldobjdepends
  235. (
  236. bld_id,
  237. obj_kind,
  238. obj_signature,
  239. obj_owner,
  240. need_obj_kind,
  241. need_obj_signature,
  242. need_obj_owner)
  243. values
  244. (
  245. "%SYSBLDNAME%",
  246. 5, "utl_file_is_open (utl_file_file_type)",
  247. "%SYSBLDUSER%",
  248. 7, "utl_file_file_type",
  249. "%SYSBLDUSER%"
  250. );
  251. insert into sysbldobjects
  252. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  253. create_can_fail, drop_sql, drop_can_fail)
  254. values
  255. (
  256. "%SYSBLDNAME%", 181, "Alter-ExternalName-utl_file_is_open (utl_file_file_type)",
  257. "%SYSBLDUSER%", 0,
  258. "alter function utl_file_is_open (utl_file_file_type)
  259. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_is_open)"");
  260. ",
  261. "f",
  262. "alter function utl_file_is_open (utl_file_file_type)
  263. with (Modify External Name = ""utl_file_is_open"");
  264. ",
  265. "f"
  266. );
  267. insert into sysbldobjdepends
  268. (
  269. bld_id,
  270. obj_kind,
  271. obj_signature,
  272. obj_owner,
  273. need_obj_kind,
  274. need_obj_signature,
  275. need_obj_owner)
  276. values
  277. (
  278. "%SYSBLDNAME%",
  279. 181, "Alter-ExternalName-utl_file_is_open (utl_file_file_type)",
  280. "%SYSBLDUSER%",
  281. 5, "utl_file_is_open (utl_file_file_type)",
  282. "%SYSBLDUSER%"
  283. );
  284. insert into sysbldobjects
  285. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  286. create_can_fail, drop_sql, drop_can_fail)
  287. values
  288. (
  289. "%SYSBLDNAME%", 69, "utl_file_is_open (utl_file_file_type)",
  290. "%SYSBLDUSER%", 0,
  291. "grant execute on function utl_file_is_open (utl_file_file_type) to public;
  292. ",
  293. "f",
  294. "",
  295. "f"
  296. );
  297. insert into sysbldobjdepends
  298. (
  299. bld_id,
  300. obj_kind,
  301. obj_signature,
  302. obj_owner,
  303. need_obj_kind,
  304. need_obj_signature,
  305. need_obj_owner)
  306. values
  307. (
  308. "%SYSBLDNAME%",
  309. 69, "utl_file_is_open (utl_file_file_type)",
  310. "%SYSBLDUSER%",
  311. 5, "utl_file_is_open (utl_file_file_type)",
  312. "%SYSBLDUSER%"
  313. );
  314. insert into sysbldobjects
  315. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  316. create_can_fail, drop_sql, drop_can_fail)
  317. values
  318. (
  319. "%SYSBLDNAME%", 6, "utl_file_fclose (utl_file_file_type)",
  320. "%SYSBLDUSER%", 0,
  321. "create procedure utl_file_fclose (utl_file_file_type)
  322. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_fclose)"" language c;
  323. ",
  324. "f",
  325. "drop procedure utl_file_fclose (utl_file_file_type);
  326. ",
  327. "f"
  328. );
  329. insert into sysbldobjdepends
  330. (
  331. bld_id,
  332. obj_kind,
  333. obj_signature,
  334. obj_owner,
  335. need_obj_kind,
  336. need_obj_signature,
  337. need_obj_owner)
  338. values
  339. (
  340. "%SYSBLDNAME%",
  341. 6, "utl_file_fclose (utl_file_file_type)",
  342. "%SYSBLDUSER%",
  343. 7, "utl_file_file_type",
  344. "%SYSBLDUSER%"
  345. );
  346. insert into sysbldobjects
  347. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  348. create_can_fail, drop_sql, drop_can_fail)
  349. values
  350. (
  351. "%SYSBLDNAME%", 182, "Alter-ExternalName-utl_file_fclose (utl_file_file_type)",
  352. "%SYSBLDUSER%", 0,
  353. "alter procedure utl_file_fclose (utl_file_file_type)
  354. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_fclose)"");
  355. ",
  356. "f",
  357. "alter procedure utl_file_fclose (utl_file_file_type)
  358. with (Modify External Name = ""utl_file_fclose"");
  359. ",
  360. "f"
  361. );
  362. insert into sysbldobjdepends
  363. (
  364. bld_id,
  365. obj_kind,
  366. obj_signature,
  367. obj_owner,
  368. need_obj_kind,
  369. need_obj_signature,
  370. need_obj_owner)
  371. values
  372. (
  373. "%SYSBLDNAME%",
  374. 182, "Alter-ExternalName-utl_file_fclose (utl_file_file_type)",
  375. "%SYSBLDUSER%",
  376. 6, "utl_file_fclose (utl_file_file_type)",
  377. "%SYSBLDUSER%"
  378. );
  379. insert into sysbldobjects
  380. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  381. create_can_fail, drop_sql, drop_can_fail)
  382. values
  383. (
  384. "%SYSBLDNAME%", 70, "utl_file_fclose (utl_file_file_type)",
  385. "%SYSBLDUSER%", 0,
  386. "grant execute on procedure utl_file_fclose (utl_file_file_type) to public;
  387. ",
  388. "f",
  389. "",
  390. "f"
  391. );
  392. insert into sysbldobjdepends
  393. (
  394. bld_id,
  395. obj_kind,
  396. obj_signature,
  397. obj_owner,
  398. need_obj_kind,
  399. need_obj_signature,
  400. need_obj_owner)
  401. values
  402. (
  403. "%SYSBLDNAME%",
  404. 70, "utl_file_fclose (utl_file_file_type)",
  405. "%SYSBLDUSER%",
  406. 6, "utl_file_fclose (utl_file_file_type)",
  407. "%SYSBLDUSER%"
  408. );
  409. insert into sysbldobjects
  410. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  411. create_can_fail, drop_sql, drop_can_fail)
  412. values
  413. (
  414. "%SYSBLDNAME%", 6, "utl_file_get_line (utl_file_file_type,lvarchar)",
  415. "%SYSBLDUSER%", 0,
  416. "create procedure utl_file_get_line (utl_file_file_type,out lvarchar)
  417. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_get_line)"" language c;
  418. ",
  419. "f",
  420. "drop procedure utl_file_get_line (utl_file_file_type,lvarchar);
  421. ",
  422. "f"
  423. );
  424. insert into sysbldobjdepends
  425. (
  426. bld_id,
  427. obj_kind,
  428. obj_signature,
  429. obj_owner,
  430. need_obj_kind,
  431. need_obj_signature,
  432. need_obj_owner)
  433. values
  434. (
  435. "%SYSBLDNAME%",
  436. 6, "utl_file_get_line (utl_file_file_type,lvarchar)",
  437. "%SYSBLDUSER%",
  438. 7, "utl_file_file_type",
  439. "%SYSBLDUSER%"
  440. );
  441. insert into sysbldobjects
  442. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  443. create_can_fail, drop_sql, drop_can_fail)
  444. values
  445. (
  446. "%SYSBLDNAME%", 182, "Alter-ExternalName-utl_file_get_line (utl_file_file_type,lvarchar)",
  447. "%SYSBLDUSER%", 0,
  448. "alter procedure utl_file_get_line (utl_file_file_type,lvarchar)
  449. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_get_line)"");
  450. ",
  451. "f",
  452. "alter procedure utl_file_get_line (utl_file_file_type,lvarchar)
  453. with (Modify External Name = ""utl_file_get_line"");
  454. ",
  455. "f"
  456. );
  457. insert into sysbldobjdepends
  458. (
  459. bld_id,
  460. obj_kind,
  461. obj_signature,
  462. obj_owner,
  463. need_obj_kind,
  464. need_obj_signature,
  465. need_obj_owner)
  466. values
  467. (
  468. "%SYSBLDNAME%",
  469. 182, "Alter-ExternalName-utl_file_get_line (utl_file_file_type,lvarchar)",
  470. "%SYSBLDUSER%",
  471. 6, "utl_file_get_line (utl_file_file_type,lvarchar)",
  472. "%SYSBLDUSER%"
  473. );
  474. insert into sysbldobjects
  475. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  476. create_can_fail, drop_sql, drop_can_fail)
  477. values
  478. (
  479. "%SYSBLDNAME%", 70, "utl_file_get_line (utl_file_file_type,lvarchar)",
  480. "%SYSBLDUSER%", 0,
  481. "grant execute on procedure utl_file_get_line (utl_file_file_type,lvarchar) to public;
  482. ",
  483. "f",
  484. "",
  485. "f"
  486. );
  487. insert into sysbldobjdepends
  488. (
  489. bld_id,
  490. obj_kind,
  491. obj_signature,
  492. obj_owner,
  493. need_obj_kind,
  494. need_obj_signature,
  495. need_obj_owner)
  496. values
  497. (
  498. "%SYSBLDNAME%",
  499. 70, "utl_file_get_line (utl_file_file_type,lvarchar)",
  500. "%SYSBLDUSER%",
  501. 6, "utl_file_get_line (utl_file_file_type,lvarchar)",
  502. "%SYSBLDUSER%"
  503. );
  504. insert into sysbldobjects
  505. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  506. create_can_fail, drop_sql, drop_can_fail)
  507. values
  508. (
  509. "%SYSBLDNAME%", 6, "utl_file_put (utl_file_file_type)",
  510. "%SYSBLDUSER%", 0,
  511. "create procedure utl_file_put (utl_file_file_type)
  512. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_put)"" language c;
  513. ",
  514. "f",
  515. "drop procedure utl_file_put (utl_file_file_type);
  516. ",
  517. "f"
  518. );
  519. insert into sysbldobjdepends
  520. (
  521. bld_id,
  522. obj_kind,
  523. obj_signature,
  524. obj_owner,
  525. need_obj_kind,
  526. need_obj_signature,
  527. need_obj_owner)
  528. values
  529. (
  530. "%SYSBLDNAME%",
  531. 6, "utl_file_put (utl_file_file_type)",
  532. "%SYSBLDUSER%",
  533. 7, "utl_file_file_type",
  534. "%SYSBLDUSER%"
  535. );
  536. insert into sysbldobjects
  537. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  538. create_can_fail, drop_sql, drop_can_fail)
  539. values
  540. (
  541. "%SYSBLDNAME%", 182, "Alter-ExternalName-utl_file_put (utl_file_file_type)",
  542. "%SYSBLDUSER%", 0,
  543. "alter procedure utl_file_put (utl_file_file_type)
  544. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_put)"");
  545. ",
  546. "f",
  547. "alter procedure utl_file_put (utl_file_file_type)
  548. with (Modify External Name = ""utl_file_put"");
  549. ",
  550. "f"
  551. );
  552. insert into sysbldobjdepends
  553. (
  554. bld_id,
  555. obj_kind,
  556. obj_signature,
  557. obj_owner,
  558. need_obj_kind,
  559. need_obj_signature,
  560. need_obj_owner)
  561. values
  562. (
  563. "%SYSBLDNAME%",
  564. 182, "Alter-ExternalName-utl_file_put (utl_file_file_type)",
  565. "%SYSBLDUSER%",
  566. 6, "utl_file_put (utl_file_file_type)",
  567. "%SYSBLDUSER%"
  568. );
  569. insert into sysbldobjects
  570. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  571. create_can_fail, drop_sql, drop_can_fail)
  572. values
  573. (
  574. "%SYSBLDNAME%", 70, "utl_file_put (utl_file_file_type)",
  575. "%SYSBLDUSER%", 0,
  576. "grant execute on procedure utl_file_put (utl_file_file_type) to public;
  577. ",
  578. "f",
  579. "",
  580. "f"
  581. );
  582. insert into sysbldobjdepends
  583. (
  584. bld_id,
  585. obj_kind,
  586. obj_signature,
  587. obj_owner,
  588. need_obj_kind,
  589. need_obj_signature,
  590. need_obj_owner)
  591. values
  592. (
  593. "%SYSBLDNAME%",
  594. 70, "utl_file_put (utl_file_file_type)",
  595. "%SYSBLDUSER%",
  596. 6, "utl_file_put (utl_file_file_type)",
  597. "%SYSBLDUSER%"
  598. );
  599. insert into sysbldobjects
  600. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  601. create_can_fail, drop_sql, drop_can_fail)
  602. values
  603. (
  604. "%SYSBLDNAME%", 6, "utl_file_new_line (utl_file_file_type,integer)",
  605. "%SYSBLDUSER%", 0,
  606. "create procedure utl_file_new_line (utl_file_file_type,integer default 1)
  607. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_new_line)"" language c;
  608. ",
  609. "f",
  610. "drop procedure utl_file_new_line (utl_file_file_type,integer);
  611. ",
  612. "f"
  613. );
  614. insert into sysbldobjdepends
  615. (
  616. bld_id,
  617. obj_kind,
  618. obj_signature,
  619. obj_owner,
  620. need_obj_kind,
  621. need_obj_signature,
  622. need_obj_owner)
  623. values
  624. (
  625. "%SYSBLDNAME%",
  626. 6, "utl_file_new_line (utl_file_file_type,integer)",
  627. "%SYSBLDUSER%",
  628. 7, "utl_file_file_type",
  629. "%SYSBLDUSER%"
  630. );
  631. insert into sysbldobjects
  632. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  633. create_can_fail, drop_sql, drop_can_fail)
  634. values
  635. (
  636. "%SYSBLDNAME%", 182, "Alter-ExternalName-utl_file_new_line (utl_file_file_type,integer)",
  637. "%SYSBLDUSER%", 0,
  638. "alter procedure utl_file_new_line (utl_file_file_type,integer)
  639. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_new_line)"");
  640. ",
  641. "f",
  642. "alter procedure utl_file_new_line (utl_file_file_type,integer)
  643. with (Modify External Name = ""utl_file_new_line"");
  644. ",
  645. "f"
  646. );
  647. insert into sysbldobjdepends
  648. (
  649. bld_id,
  650. obj_kind,
  651. obj_signature,
  652. obj_owner,
  653. need_obj_kind,
  654. need_obj_signature,
  655. need_obj_owner)
  656. values
  657. (
  658. "%SYSBLDNAME%",
  659. 182, "Alter-ExternalName-utl_file_new_line (utl_file_file_type,integer)",
  660. "%SYSBLDUSER%",
  661. 6, "utl_file_new_line (utl_file_file_type,integer)",
  662. "%SYSBLDUSER%"
  663. );
  664. insert into sysbldobjects
  665. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  666. create_can_fail, drop_sql, drop_can_fail)
  667. values
  668. (
  669. "%SYSBLDNAME%", 70, "utl_file_new_line (utl_file_file_type,integer)",
  670. "%SYSBLDUSER%", 0,
  671. "grant execute on procedure utl_file_new_line (utl_file_file_type,integer) to public;
  672. ",
  673. "f",
  674. "",
  675. "f"
  676. );
  677. insert into sysbldobjdepends
  678. (
  679. bld_id,
  680. obj_kind,
  681. obj_signature,
  682. obj_owner,
  683. need_obj_kind,
  684. need_obj_signature,
  685. need_obj_owner)
  686. values
  687. (
  688. "%SYSBLDNAME%",
  689. 70, "utl_file_new_line (utl_file_file_type,integer)",
  690. "%SYSBLDUSER%",
  691. 6, "utl_file_new_line (utl_file_file_type,integer)",
  692. "%SYSBLDUSER%"
  693. );
  694. insert into sysbldobjects
  695. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  696. create_can_fail, drop_sql, drop_can_fail)
  697. values
  698. (
  699. "%SYSBLDNAME%", 6, "utl_file_put_line (utl_file_file_type)",
  700. "%SYSBLDUSER%", 0,
  701. "create procedure utl_file_put_line (utl_file_file_type)
  702. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_put_line)"" language c;
  703. ",
  704. "f",
  705. "drop procedure utl_file_put_line (utl_file_file_type);
  706. ",
  707. "f"
  708. );
  709. insert into sysbldobjdepends
  710. (
  711. bld_id,
  712. obj_kind,
  713. obj_signature,
  714. obj_owner,
  715. need_obj_kind,
  716. need_obj_signature,
  717. need_obj_owner)
  718. values
  719. (
  720. "%SYSBLDNAME%",
  721. 6, "utl_file_put_line (utl_file_file_type)",
  722. "%SYSBLDUSER%",
  723. 7, "utl_file_file_type",
  724. "%SYSBLDUSER%"
  725. );
  726. insert into sysbldobjects
  727. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  728. create_can_fail, drop_sql, drop_can_fail)
  729. values
  730. (
  731. "%SYSBLDNAME%", 182, "Alter-ExternalName-utl_file_put_line (utl_file_file_type)",
  732. "%SYSBLDUSER%", 0,
  733. "alter procedure utl_file_put_line (utl_file_file_type)
  734. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_put_line)"");
  735. ",
  736. "f",
  737. "alter procedure utl_file_put_line (utl_file_file_type)
  738. with (Modify External Name = ""utl_file_put_line"");
  739. ",
  740. "f"
  741. );
  742. insert into sysbldobjdepends
  743. (
  744. bld_id,
  745. obj_kind,
  746. obj_signature,
  747. obj_owner,
  748. need_obj_kind,
  749. need_obj_signature,
  750. need_obj_owner)
  751. values
  752. (
  753. "%SYSBLDNAME%",
  754. 182, "Alter-ExternalName-utl_file_put_line (utl_file_file_type)",
  755. "%SYSBLDUSER%",
  756. 6, "utl_file_put_line (utl_file_file_type)",
  757. "%SYSBLDUSER%"
  758. );
  759. insert into sysbldobjects
  760. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  761. create_can_fail, drop_sql, drop_can_fail)
  762. values
  763. (
  764. "%SYSBLDNAME%", 70, "utl_file_put_line (utl_file_file_type)",
  765. "%SYSBLDUSER%", 0,
  766. "grant execute on procedure utl_file_put_line (utl_file_file_type) to public;
  767. ",
  768. "f",
  769. "",
  770. "f"
  771. );
  772. insert into sysbldobjdepends
  773. (
  774. bld_id,
  775. obj_kind,
  776. obj_signature,
  777. obj_owner,
  778. need_obj_kind,
  779. need_obj_signature,
  780. need_obj_owner)
  781. values
  782. (
  783. "%SYSBLDNAME%",
  784. 70, "utl_file_put_line (utl_file_file_type)",
  785. "%SYSBLDUSER%",
  786. 6, "utl_file_put_line (utl_file_file_type)",
  787. "%SYSBLDUSER%"
  788. );
  789. insert into sysbldobjects
  790. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  791. create_can_fail, drop_sql, drop_can_fail)
  792. values
  793. (
  794. "%SYSBLDNAME%", 6, "utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  795. "%SYSBLDUSER%", 0,
  796. "create procedure utl_file_putf (utl_file_file_type,lvarchar,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL,lvarchar default NULL)
  797. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_putf)"" language c;
  798. ",
  799. "f",
  800. "drop procedure utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar);
  801. ",
  802. "f"
  803. );
  804. insert into sysbldobjdepends
  805. (
  806. bld_id,
  807. obj_kind,
  808. obj_signature,
  809. obj_owner,
  810. need_obj_kind,
  811. need_obj_signature,
  812. need_obj_owner)
  813. values
  814. (
  815. "%SYSBLDNAME%",
  816. 6, "utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  817. "%SYSBLDUSER%",
  818. 7, "utl_file_file_type",
  819. "%SYSBLDUSER%"
  820. );
  821. insert into sysbldobjects
  822. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  823. create_can_fail, drop_sql, drop_can_fail)
  824. values
  825. (
  826. "%SYSBLDNAME%", 182, "Alter-ExternalName-utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  827. "%SYSBLDUSER%", 0,
  828. "alter procedure utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
  829. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_putf)"");
  830. ",
  831. "f",
  832. "alter procedure utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
  833. with (Modify External Name = ""utl_file_putf"");
  834. ",
  835. "f"
  836. );
  837. insert into sysbldobjdepends
  838. (
  839. bld_id,
  840. obj_kind,
  841. obj_signature,
  842. obj_owner,
  843. need_obj_kind,
  844. need_obj_signature,
  845. need_obj_owner)
  846. values
  847. (
  848. "%SYSBLDNAME%",
  849. 182, "Alter-ExternalName-utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  850. "%SYSBLDUSER%",
  851. 6, "utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  852. "%SYSBLDUSER%"
  853. );
  854. insert into sysbldobjects
  855. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  856. create_can_fail, drop_sql, drop_can_fail)
  857. values
  858. (
  859. "%SYSBLDNAME%", 54, "Alter-HandleNul-utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  860. "%SYSBLDUSER%", 0,
  861. "alter procedure utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
  862. with (add handlesnulls);
  863. ",
  864. "f",
  865. "alter procedure utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)
  866. with (drop handlesnulls);
  867. ",
  868. "f"
  869. );
  870. insert into sysbldobjdepends
  871. (
  872. bld_id,
  873. obj_kind,
  874. obj_signature,
  875. obj_owner,
  876. need_obj_kind,
  877. need_obj_signature,
  878. need_obj_owner)
  879. values
  880. (
  881. "%SYSBLDNAME%",
  882. 54, "Alter-HandleNul-utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  883. "%SYSBLDUSER%",
  884. 6, "utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  885. "%SYSBLDUSER%"
  886. );
  887. insert into sysbldobjects
  888. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  889. create_can_fail, drop_sql, drop_can_fail)
  890. values
  891. (
  892. "%SYSBLDNAME%", 70, "utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  893. "%SYSBLDUSER%", 0,
  894. "grant execute on procedure utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar) to public;
  895. ",
  896. "f",
  897. "",
  898. "f"
  899. );
  900. insert into sysbldobjdepends
  901. (
  902. bld_id,
  903. obj_kind,
  904. obj_signature,
  905. obj_owner,
  906. need_obj_kind,
  907. need_obj_signature,
  908. need_obj_owner)
  909. values
  910. (
  911. "%SYSBLDNAME%",
  912. 70, "utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  913. "%SYSBLDUSER%",
  914. 6, "utl_file_putf (utl_file_file_type,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar,lvarchar)",
  915. "%SYSBLDUSER%"
  916. );
  917. insert into sysbldobjects
  918. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  919. create_can_fail, drop_sql, drop_can_fail)
  920. values
  921. (
  922. "%SYSBLDNAME%", 6, "utl_file_fflush (utl_file_file_type)",
  923. "%SYSBLDUSER%", 0,
  924. "create procedure utl_file_fflush (utl_file_file_type)
  925. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_fflush)"" language c;
  926. ",
  927. "f",
  928. "drop procedure utl_file_fflush (utl_file_file_type);
  929. ",
  930. "f"
  931. );
  932. insert into sysbldobjdepends
  933. (
  934. bld_id,
  935. obj_kind,
  936. obj_signature,
  937. obj_owner,
  938. need_obj_kind,
  939. need_obj_signature,
  940. need_obj_owner)
  941. values
  942. (
  943. "%SYSBLDNAME%",
  944. 6, "utl_file_fflush (utl_file_file_type)",
  945. "%SYSBLDUSER%",
  946. 7, "utl_file_file_type",
  947. "%SYSBLDUSER%"
  948. );
  949. insert into sysbldobjects
  950. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  951. create_can_fail, drop_sql, drop_can_fail)
  952. values
  953. (
  954. "%SYSBLDNAME%", 182, "Alter-ExternalName-utl_file_fflush (utl_file_file_type)",
  955. "%SYSBLDUSER%", 0,
  956. "alter procedure utl_file_fflush (utl_file_file_type)
  957. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_fflush)"");
  958. ",
  959. "f",
  960. "alter procedure utl_file_fflush (utl_file_file_type)
  961. with (Modify External Name = ""utl_file_fflush"");
  962. ",
  963. "f"
  964. );
  965. insert into sysbldobjdepends
  966. (
  967. bld_id,
  968. obj_kind,
  969. obj_signature,
  970. obj_owner,
  971. need_obj_kind,
  972. need_obj_signature,
  973. need_obj_owner)
  974. values
  975. (
  976. "%SYSBLDNAME%",
  977. 182, "Alter-ExternalName-utl_file_fflush (utl_file_file_type)",
  978. "%SYSBLDUSER%",
  979. 6, "utl_file_fflush (utl_file_file_type)",
  980. "%SYSBLDUSER%"
  981. );
  982. insert into sysbldobjects
  983. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  984. create_can_fail, drop_sql, drop_can_fail)
  985. values
  986. (
  987. "%SYSBLDNAME%", 70, "utl_file_fflush (utl_file_file_type)",
  988. "%SYSBLDUSER%", 0,
  989. "grant execute on procedure utl_file_fflush (utl_file_file_type) to public;
  990. ",
  991. "f",
  992. "",
  993. "f"
  994. );
  995. insert into sysbldobjdepends
  996. (
  997. bld_id,
  998. obj_kind,
  999. obj_signature,
  1000. obj_owner,
  1001. need_obj_kind,
  1002. need_obj_signature,
  1003. need_obj_owner)
  1004. values
  1005. (
  1006. "%SYSBLDNAME%",
  1007. 70, "utl_file_fflush (utl_file_file_type)",
  1008. "%SYSBLDUSER%",
  1009. 6, "utl_file_fflush (utl_file_file_type)",
  1010. "%SYSBLDUSER%"
  1011. );
  1012. insert into sysbldobjects
  1013. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1014. create_can_fail, drop_sql, drop_can_fail)
  1015. values
  1016. (
  1017. "%SYSBLDNAME%", 6, "utl_file_fclose_all ()",
  1018. "%SYSBLDUSER%", 0,
  1019. "create procedure utl_file_fclose_all ()
  1020. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_fclose_all)"" language c;
  1021. ",
  1022. "f",
  1023. "drop procedure utl_file_fclose_all ();
  1024. ",
  1025. "f"
  1026. );
  1027. insert into sysbldobjects
  1028. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1029. create_can_fail, drop_sql, drop_can_fail)
  1030. values
  1031. (
  1032. "%SYSBLDNAME%", 182, "Alter-ExternalName-utl_file_fclose_all ()",
  1033. "%SYSBLDUSER%", 0,
  1034. "alter procedure utl_file_fclose_all ()
  1035. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(utl_file_fclose_all)"");
  1036. ",
  1037. "f",
  1038. "alter procedure utl_file_fclose_all ()
  1039. with (Modify External Name = ""utl_file_fclose_all"");
  1040. ",
  1041. "f"
  1042. );
  1043. insert into sysbldobjdepends
  1044. (
  1045. bld_id,
  1046. obj_kind,
  1047. obj_signature,
  1048. obj_owner,
  1049. need_obj_kind,
  1050. need_obj_signature,
  1051. need_obj_owner)
  1052. values
  1053. (
  1054. "%SYSBLDNAME%",
  1055. 182, "Alter-ExternalName-utl_file_fclose_all ()",
  1056. "%SYSBLDUSER%",
  1057. 6, "utl_file_fclose_all ()",
  1058. "%SYSBLDUSER%"
  1059. );
  1060. insert into sysbldobjects
  1061. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1062. create_can_fail, drop_sql, drop_can_fail)
  1063. values
  1064. (
  1065. "%SYSBLDNAME%", 70, "utl_file_fclose_all ()",
  1066. "%SYSBLDUSER%", 0,
  1067. "grant execute on procedure utl_file_fclose_all () to public;
  1068. ",
  1069. "f",
  1070. "",
  1071. "f"
  1072. );
  1073. insert into sysbldobjdepends
  1074. (
  1075. bld_id,
  1076. obj_kind,
  1077. obj_signature,
  1078. obj_owner,
  1079. need_obj_kind,
  1080. need_obj_signature,
  1081. need_obj_owner)
  1082. values
  1083. (
  1084. "%SYSBLDNAME%",
  1085. 70, "utl_file_fclose_all ()",
  1086. "%SYSBLDUSER%",
  1087. 6, "utl_file_fclose_all ()",
  1088. "%SYSBLDUSER%"
  1089. );
  1090. insert into sysbldobjects
  1091. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1092. create_can_fail, drop_sql, drop_can_fail)
  1093. values
  1094. (
  1095. "%SYSBLDNAME%", 6, "dbms_output_enable (integer)",
  1096. "%SYSBLDUSER%", 0,
  1097. "create procedure dbms_output_enable (integer default 20000)
  1098. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_output_enable)"" language c;
  1099. ",
  1100. "f",
  1101. "drop procedure dbms_output_enable (integer);
  1102. ",
  1103. "f"
  1104. );
  1105. insert into sysbldobjects
  1106. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1107. create_can_fail, drop_sql, drop_can_fail)
  1108. values
  1109. (
  1110. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_output_enable (integer)",
  1111. "%SYSBLDUSER%", 0,
  1112. "alter procedure dbms_output_enable (integer)
  1113. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_output_enable)"");
  1114. ",
  1115. "f",
  1116. "alter procedure dbms_output_enable (integer)
  1117. with (Modify External Name = ""dbms_output_enable"");
  1118. ",
  1119. "f"
  1120. );
  1121. insert into sysbldobjdepends
  1122. (
  1123. bld_id,
  1124. obj_kind,
  1125. obj_signature,
  1126. obj_owner,
  1127. need_obj_kind,
  1128. need_obj_signature,
  1129. need_obj_owner)
  1130. values
  1131. (
  1132. "%SYSBLDNAME%",
  1133. 182, "Alter-ExternalName-dbms_output_enable (integer)",
  1134. "%SYSBLDUSER%",
  1135. 6, "dbms_output_enable (integer)",
  1136. "%SYSBLDUSER%"
  1137. );
  1138. insert into sysbldobjects
  1139. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1140. create_can_fail, drop_sql, drop_can_fail)
  1141. values
  1142. (
  1143. "%SYSBLDNAME%", 70, "dbms_output_enable (integer)",
  1144. "%SYSBLDUSER%", 0,
  1145. "grant execute on procedure dbms_output_enable (integer) to public;
  1146. ",
  1147. "f",
  1148. "",
  1149. "f"
  1150. );
  1151. insert into sysbldobjdepends
  1152. (
  1153. bld_id,
  1154. obj_kind,
  1155. obj_signature,
  1156. obj_owner,
  1157. need_obj_kind,
  1158. need_obj_signature,
  1159. need_obj_owner)
  1160. values
  1161. (
  1162. "%SYSBLDNAME%",
  1163. 70, "dbms_output_enable (integer)",
  1164. "%SYSBLDUSER%",
  1165. 6, "dbms_output_enable (integer)",
  1166. "%SYSBLDUSER%"
  1167. );
  1168. insert into sysbldobjects
  1169. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1170. create_can_fail, drop_sql, drop_can_fail)
  1171. values
  1172. (
  1173. "%SYSBLDNAME%", 6, "dbms_output_disable ()",
  1174. "%SYSBLDUSER%", 0,
  1175. "create procedure dbms_output_disable ()
  1176. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_output_disable)"" language c;
  1177. ",
  1178. "f",
  1179. "drop procedure dbms_output_disable ();
  1180. ",
  1181. "f"
  1182. );
  1183. insert into sysbldobjects
  1184. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1185. create_can_fail, drop_sql, drop_can_fail)
  1186. values
  1187. (
  1188. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_output_disable ()",
  1189. "%SYSBLDUSER%", 0,
  1190. "alter procedure dbms_output_disable ()
  1191. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_output_disable)"");
  1192. ",
  1193. "f",
  1194. "alter procedure dbms_output_disable ()
  1195. with (Modify External Name = ""dbms_output_disable"");
  1196. ",
  1197. "f"
  1198. );
  1199. insert into sysbldobjdepends
  1200. (
  1201. bld_id,
  1202. obj_kind,
  1203. obj_signature,
  1204. obj_owner,
  1205. need_obj_kind,
  1206. need_obj_signature,
  1207. need_obj_owner)
  1208. values
  1209. (
  1210. "%SYSBLDNAME%",
  1211. 182, "Alter-ExternalName-dbms_output_disable ()",
  1212. "%SYSBLDUSER%",
  1213. 6, "dbms_output_disable ()",
  1214. "%SYSBLDUSER%"
  1215. );
  1216. insert into sysbldobjects
  1217. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1218. create_can_fail, drop_sql, drop_can_fail)
  1219. values
  1220. (
  1221. "%SYSBLDNAME%", 70, "dbms_output_disable ()",
  1222. "%SYSBLDUSER%", 0,
  1223. "grant execute on procedure dbms_output_disable () to public;
  1224. ",
  1225. "f",
  1226. "",
  1227. "f"
  1228. );
  1229. insert into sysbldobjdepends
  1230. (
  1231. bld_id,
  1232. obj_kind,
  1233. obj_signature,
  1234. obj_owner,
  1235. need_obj_kind,
  1236. need_obj_signature,
  1237. need_obj_owner)
  1238. values
  1239. (
  1240. "%SYSBLDNAME%",
  1241. 70, "dbms_output_disable ()",
  1242. "%SYSBLDUSER%",
  1243. 6, "dbms_output_disable ()",
  1244. "%SYSBLDUSER%"
  1245. );
  1246. insert into sysbldobjects
  1247. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1248. create_can_fail, drop_sql, drop_can_fail)
  1249. values
  1250. (
  1251. "%SYSBLDNAME%", 6, "dbms_output_put (lvarchar)",
  1252. "%SYSBLDUSER%", 0,
  1253. "create procedure dbms_output_put (lvarchar)
  1254. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_output_put)"" language c;
  1255. ",
  1256. "f",
  1257. "drop procedure dbms_output_put (lvarchar);
  1258. ",
  1259. "f"
  1260. );
  1261. insert into sysbldobjects
  1262. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1263. create_can_fail, drop_sql, drop_can_fail)
  1264. values
  1265. (
  1266. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_output_put (lvarchar)",
  1267. "%SYSBLDUSER%", 0,
  1268. "alter procedure dbms_output_put (lvarchar)
  1269. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_output_put)"");
  1270. ",
  1271. "f",
  1272. "alter procedure dbms_output_put (lvarchar)
  1273. with (Modify External Name = ""dbms_output_put"");
  1274. ",
  1275. "f"
  1276. );
  1277. insert into sysbldobjdepends
  1278. (
  1279. bld_id,
  1280. obj_kind,
  1281. obj_signature,
  1282. obj_owner,
  1283. need_obj_kind,
  1284. need_obj_signature,
  1285. need_obj_owner)
  1286. values
  1287. (
  1288. "%SYSBLDNAME%",
  1289. 182, "Alter-ExternalName-dbms_output_put (lvarchar)",
  1290. "%SYSBLDUSER%",
  1291. 6, "dbms_output_put (lvarchar)",
  1292. "%SYSBLDUSER%"
  1293. );
  1294. insert into sysbldobjects
  1295. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1296. create_can_fail, drop_sql, drop_can_fail)
  1297. values
  1298. (
  1299. "%SYSBLDNAME%", 70, "dbms_output_put (lvarchar)",
  1300. "%SYSBLDUSER%", 0,
  1301. "grant execute on procedure dbms_output_put (lvarchar) to public;
  1302. ",
  1303. "f",
  1304. "",
  1305. "f"
  1306. );
  1307. insert into sysbldobjdepends
  1308. (
  1309. bld_id,
  1310. obj_kind,
  1311. obj_signature,
  1312. obj_owner,
  1313. need_obj_kind,
  1314. need_obj_signature,
  1315. need_obj_owner)
  1316. values
  1317. (
  1318. "%SYSBLDNAME%",
  1319. 70, "dbms_output_put (lvarchar)",
  1320. "%SYSBLDUSER%",
  1321. 6, "dbms_output_put (lvarchar)",
  1322. "%SYSBLDUSER%"
  1323. );
  1324. insert into sysbldobjects
  1325. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1326. create_can_fail, drop_sql, drop_can_fail)
  1327. values
  1328. (
  1329. "%SYSBLDNAME%", 6, "dbms_output_put_line (lvarchar)",
  1330. "%SYSBLDUSER%", 0,
  1331. "create procedure dbms_output_put_line (lvarchar)
  1332. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_output_put_line)"" language c;
  1333. ",
  1334. "f",
  1335. "drop procedure dbms_output_put_line (lvarchar);
  1336. ",
  1337. "f"
  1338. );
  1339. insert into sysbldobjects
  1340. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1341. create_can_fail, drop_sql, drop_can_fail)
  1342. values
  1343. (
  1344. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_output_put_line (lvarchar)",
  1345. "%SYSBLDUSER%", 0,
  1346. "alter procedure dbms_output_put_line (lvarchar)
  1347. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_output_put_line)"");
  1348. ",
  1349. "f",
  1350. "alter procedure dbms_output_put_line (lvarchar)
  1351. with (Modify External Name = ""dbms_output_put_line"");
  1352. ",
  1353. "f"
  1354. );
  1355. insert into sysbldobjdepends
  1356. (
  1357. bld_id,
  1358. obj_kind,
  1359. obj_signature,
  1360. obj_owner,
  1361. need_obj_kind,
  1362. need_obj_signature,
  1363. need_obj_owner)
  1364. values
  1365. (
  1366. "%SYSBLDNAME%",
  1367. 182, "Alter-ExternalName-dbms_output_put_line (lvarchar)",
  1368. "%SYSBLDUSER%",
  1369. 6, "dbms_output_put_line (lvarchar)",
  1370. "%SYSBLDUSER%"
  1371. );
  1372. insert into sysbldobjects
  1373. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1374. create_can_fail, drop_sql, drop_can_fail)
  1375. values
  1376. (
  1377. "%SYSBLDNAME%", 70, "dbms_output_put_line (lvarchar)",
  1378. "%SYSBLDUSER%", 0,
  1379. "grant execute on procedure dbms_output_put_line (lvarchar) to public;
  1380. ",
  1381. "f",
  1382. "",
  1383. "f"
  1384. );
  1385. insert into sysbldobjdepends
  1386. (
  1387. bld_id,
  1388. obj_kind,
  1389. obj_signature,
  1390. obj_owner,
  1391. need_obj_kind,
  1392. need_obj_signature,
  1393. need_obj_owner)
  1394. values
  1395. (
  1396. "%SYSBLDNAME%",
  1397. 70, "dbms_output_put_line (lvarchar)",
  1398. "%SYSBLDUSER%",
  1399. 6, "dbms_output_put_line (lvarchar)",
  1400. "%SYSBLDUSER%"
  1401. );
  1402. insert into sysbldobjects
  1403. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1404. create_can_fail, drop_sql, drop_can_fail)
  1405. values
  1406. (
  1407. "%SYSBLDNAME%", 6, "dbms_output_new_line ()",
  1408. "%SYSBLDUSER%", 0,
  1409. "create procedure dbms_output_new_line ()
  1410. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_output_new_line)"" language c;
  1411. ",
  1412. "f",
  1413. "drop procedure dbms_output_new_line ();
  1414. ",
  1415. "f"
  1416. );
  1417. insert into sysbldobjects
  1418. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1419. create_can_fail, drop_sql, drop_can_fail)
  1420. values
  1421. (
  1422. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_output_new_line ()",
  1423. "%SYSBLDUSER%", 0,
  1424. "alter procedure dbms_output_new_line ()
  1425. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_output_new_line)"");
  1426. ",
  1427. "f",
  1428. "alter procedure dbms_output_new_line ()
  1429. with (Modify External Name = ""dbms_output_new_line"");
  1430. ",
  1431. "f"
  1432. );
  1433. insert into sysbldobjdepends
  1434. (
  1435. bld_id,
  1436. obj_kind,
  1437. obj_signature,
  1438. obj_owner,
  1439. need_obj_kind,
  1440. need_obj_signature,
  1441. need_obj_owner)
  1442. values
  1443. (
  1444. "%SYSBLDNAME%",
  1445. 182, "Alter-ExternalName-dbms_output_new_line ()",
  1446. "%SYSBLDUSER%",
  1447. 6, "dbms_output_new_line ()",
  1448. "%SYSBLDUSER%"
  1449. );
  1450. insert into sysbldobjects
  1451. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1452. create_can_fail, drop_sql, drop_can_fail)
  1453. values
  1454. (
  1455. "%SYSBLDNAME%", 70, "dbms_output_new_line ()",
  1456. "%SYSBLDUSER%", 0,
  1457. "grant execute on procedure dbms_output_new_line () to public;
  1458. ",
  1459. "f",
  1460. "",
  1461. "f"
  1462. );
  1463. insert into sysbldobjdepends
  1464. (
  1465. bld_id,
  1466. obj_kind,
  1467. obj_signature,
  1468. obj_owner,
  1469. need_obj_kind,
  1470. need_obj_signature,
  1471. need_obj_owner)
  1472. values
  1473. (
  1474. "%SYSBLDNAME%",
  1475. 70, "dbms_output_new_line ()",
  1476. "%SYSBLDUSER%",
  1477. 6, "dbms_output_new_line ()",
  1478. "%SYSBLDUSER%"
  1479. );
  1480. insert into sysbldobjects
  1481. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1482. create_can_fail, drop_sql, drop_can_fail)
  1483. values
  1484. (
  1485. "%SYSBLDNAME%", 6, "dbms_output_get_line (lvarchar,integer)",
  1486. "%SYSBLDUSER%", 0,
  1487. "create procedure dbms_output_get_line (out lvarchar,out integer)
  1488. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_output_get_line)"" language c;
  1489. ",
  1490. "f",
  1491. "drop procedure dbms_output_get_line (lvarchar,integer);
  1492. ",
  1493. "f"
  1494. );
  1495. insert into sysbldobjects
  1496. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1497. create_can_fail, drop_sql, drop_can_fail)
  1498. values
  1499. (
  1500. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_output_get_line (lvarchar,integer)",
  1501. "%SYSBLDUSER%", 0,
  1502. "alter procedure dbms_output_get_line (lvarchar,integer)
  1503. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_output_get_line)"");
  1504. ",
  1505. "f",
  1506. "alter procedure dbms_output_get_line (lvarchar,integer)
  1507. with (Modify External Name = ""dbms_output_get_line"");
  1508. ",
  1509. "f"
  1510. );
  1511. insert into sysbldobjdepends
  1512. (
  1513. bld_id,
  1514. obj_kind,
  1515. obj_signature,
  1516. obj_owner,
  1517. need_obj_kind,
  1518. need_obj_signature,
  1519. need_obj_owner)
  1520. values
  1521. (
  1522. "%SYSBLDNAME%",
  1523. 182, "Alter-ExternalName-dbms_output_get_line (lvarchar,integer)",
  1524. "%SYSBLDUSER%",
  1525. 6, "dbms_output_get_line (lvarchar,integer)",
  1526. "%SYSBLDUSER%"
  1527. );
  1528. insert into sysbldobjects
  1529. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1530. create_can_fail, drop_sql, drop_can_fail)
  1531. values
  1532. (
  1533. "%SYSBLDNAME%", 70, "dbms_output_get_line (lvarchar,integer)",
  1534. "%SYSBLDUSER%", 0,
  1535. "grant execute on procedure dbms_output_get_line (lvarchar,integer) to public;
  1536. ",
  1537. "f",
  1538. "",
  1539. "f"
  1540. );
  1541. insert into sysbldobjdepends
  1542. (
  1543. bld_id,
  1544. obj_kind,
  1545. obj_signature,
  1546. obj_owner,
  1547. need_obj_kind,
  1548. need_obj_signature,
  1549. need_obj_owner)
  1550. values
  1551. (
  1552. "%SYSBLDNAME%",
  1553. 70, "dbms_output_get_line (lvarchar,integer)",
  1554. "%SYSBLDUSER%",
  1555. 6, "dbms_output_get_line (lvarchar,integer)",
  1556. "%SYSBLDUSER%"
  1557. );
  1558. insert into sysbldobjects
  1559. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1560. create_can_fail, drop_sql, drop_can_fail)
  1561. values
  1562. (
  1563. "%SYSBLDNAME%", 6, "dbms_output_get_lines (dbms_output_chararr,integer)",
  1564. "%SYSBLDUSER%", 0,
  1565. "create procedure dbms_output_get_lines (out dbms_output_chararr,out integer)
  1566. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_output_get_lines)"" language c;
  1567. ",
  1568. "f",
  1569. "drop procedure dbms_output_get_lines (dbms_output_chararr,integer);
  1570. ",
  1571. "f"
  1572. );
  1573. insert into sysbldobjdepends
  1574. (
  1575. bld_id,
  1576. obj_kind,
  1577. obj_signature,
  1578. obj_owner,
  1579. need_obj_kind,
  1580. need_obj_signature,
  1581. need_obj_owner)
  1582. values
  1583. (
  1584. "%SYSBLDNAME%",
  1585. 6, "dbms_output_get_lines (dbms_output_chararr,integer)",
  1586. "%SYSBLDUSER%",
  1587. 7, "dbms_output_chararr",
  1588. "%SYSBLDUSER%"
  1589. );
  1590. insert into sysbldobjects
  1591. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1592. create_can_fail, drop_sql, drop_can_fail)
  1593. values
  1594. (
  1595. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_output_get_lines (dbms_output_chararr,integer)",
  1596. "%SYSBLDUSER%", 0,
  1597. "alter procedure dbms_output_get_lines (dbms_output_chararr,integer)
  1598. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_output_get_lines)"");
  1599. ",
  1600. "f",
  1601. "alter procedure dbms_output_get_lines (dbms_output_chararr,integer)
  1602. with (Modify External Name = ""dbms_output_get_lines"");
  1603. ",
  1604. "f"
  1605. );
  1606. insert into sysbldobjdepends
  1607. (
  1608. bld_id,
  1609. obj_kind,
  1610. obj_signature,
  1611. obj_owner,
  1612. need_obj_kind,
  1613. need_obj_signature,
  1614. need_obj_owner)
  1615. values
  1616. (
  1617. "%SYSBLDNAME%",
  1618. 182, "Alter-ExternalName-dbms_output_get_lines (dbms_output_chararr,integer)",
  1619. "%SYSBLDUSER%",
  1620. 6, "dbms_output_get_lines (dbms_output_chararr,integer)",
  1621. "%SYSBLDUSER%"
  1622. );
  1623. insert into sysbldobjects
  1624. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1625. create_can_fail, drop_sql, drop_can_fail)
  1626. values
  1627. (
  1628. "%SYSBLDNAME%", 70, "dbms_output_get_lines (dbms_output_chararr,integer)",
  1629. "%SYSBLDUSER%", 0,
  1630. "grant execute on procedure dbms_output_get_lines (dbms_output_chararr,integer) to public;
  1631. ",
  1632. "f",
  1633. "",
  1634. "f"
  1635. );
  1636. insert into sysbldobjdepends
  1637. (
  1638. bld_id,
  1639. obj_kind,
  1640. obj_signature,
  1641. obj_owner,
  1642. need_obj_kind,
  1643. need_obj_signature,
  1644. need_obj_owner)
  1645. values
  1646. (
  1647. "%SYSBLDNAME%",
  1648. 70, "dbms_output_get_lines (dbms_output_chararr,integer)",
  1649. "%SYSBLDUSER%",
  1650. 6, "dbms_output_get_lines (dbms_output_chararr,integer)",
  1651. "%SYSBLDUSER%"
  1652. );
  1653. insert into sysbldobjects
  1654. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1655. create_can_fail, drop_sql, drop_can_fail)
  1656. values
  1657. (
  1658. "%SYSBLDNAME%", 6, "dbms_lob_append (blob,blob)",
  1659. "%SYSBLDUSER%", 0,
  1660. "create procedure dbms_lob_append (blob,blob)
  1661. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_append)"" language c;
  1662. ",
  1663. "f",
  1664. "drop procedure dbms_lob_append (blob,blob);
  1665. ",
  1666. "f"
  1667. );
  1668. insert into sysbldobjects
  1669. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1670. create_can_fail, drop_sql, drop_can_fail)
  1671. values
  1672. (
  1673. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_lob_append (blob,blob)",
  1674. "%SYSBLDUSER%", 0,
  1675. "alter procedure dbms_lob_append (blob,blob)
  1676. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_append)"");
  1677. ",
  1678. "f",
  1679. "alter procedure dbms_lob_append (blob,blob)
  1680. with (Modify External Name = ""dbms_lob_append"");
  1681. ",
  1682. "f"
  1683. );
  1684. insert into sysbldobjdepends
  1685. (
  1686. bld_id,
  1687. obj_kind,
  1688. obj_signature,
  1689. obj_owner,
  1690. need_obj_kind,
  1691. need_obj_signature,
  1692. need_obj_owner)
  1693. values
  1694. (
  1695. "%SYSBLDNAME%",
  1696. 182, "Alter-ExternalName-dbms_lob_append (blob,blob)",
  1697. "%SYSBLDUSER%",
  1698. 6, "dbms_lob_append (blob,blob)",
  1699. "%SYSBLDUSER%"
  1700. );
  1701. insert into sysbldobjects
  1702. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1703. create_can_fail, drop_sql, drop_can_fail)
  1704. values
  1705. (
  1706. "%SYSBLDNAME%", 54, "Alter-HandleNul-dbms_lob_append (blob,blob)",
  1707. "%SYSBLDUSER%", 0,
  1708. "alter procedure dbms_lob_append (blob,blob)
  1709. with (add handlesnulls);
  1710. ",
  1711. "f",
  1712. "alter procedure dbms_lob_append (blob,blob)
  1713. with (drop handlesnulls);
  1714. ",
  1715. "f"
  1716. );
  1717. insert into sysbldobjdepends
  1718. (
  1719. bld_id,
  1720. obj_kind,
  1721. obj_signature,
  1722. obj_owner,
  1723. need_obj_kind,
  1724. need_obj_signature,
  1725. need_obj_owner)
  1726. values
  1727. (
  1728. "%SYSBLDNAME%",
  1729. 54, "Alter-HandleNul-dbms_lob_append (blob,blob)",
  1730. "%SYSBLDUSER%",
  1731. 6, "dbms_lob_append (blob,blob)",
  1732. "%SYSBLDUSER%"
  1733. );
  1734. insert into sysbldobjects
  1735. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1736. create_can_fail, drop_sql, drop_can_fail)
  1737. values
  1738. (
  1739. "%SYSBLDNAME%", 70, "dbms_lob_append (blob,blob)",
  1740. "%SYSBLDUSER%", 0,
  1741. "grant execute on procedure dbms_lob_append (blob,blob) to public;
  1742. ",
  1743. "f",
  1744. "",
  1745. "f"
  1746. );
  1747. insert into sysbldobjdepends
  1748. (
  1749. bld_id,
  1750. obj_kind,
  1751. obj_signature,
  1752. obj_owner,
  1753. need_obj_kind,
  1754. need_obj_signature,
  1755. need_obj_owner)
  1756. values
  1757. (
  1758. "%SYSBLDNAME%",
  1759. 70, "dbms_lob_append (blob,blob)",
  1760. "%SYSBLDUSER%",
  1761. 6, "dbms_lob_append (blob,blob)",
  1762. "%SYSBLDUSER%"
  1763. );
  1764. insert into sysbldobjects
  1765. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1766. create_can_fail, drop_sql, drop_can_fail)
  1767. values
  1768. (
  1769. "%SYSBLDNAME%", 6, "dbms_lob_append (clob,clob)",
  1770. "%SYSBLDUSER%", 0,
  1771. "create procedure dbms_lob_append (clob,clob)
  1772. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_append)"" language c;
  1773. ",
  1774. "f",
  1775. "drop procedure dbms_lob_append (clob,clob);
  1776. ",
  1777. "f"
  1778. );
  1779. insert into sysbldobjects
  1780. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1781. create_can_fail, drop_sql, drop_can_fail)
  1782. values
  1783. (
  1784. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_lob_append (clob,clob)",
  1785. "%SYSBLDUSER%", 0,
  1786. "alter procedure dbms_lob_append (clob,clob)
  1787. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_append)"");
  1788. ",
  1789. "f",
  1790. "alter procedure dbms_lob_append (clob,clob)
  1791. with (Modify External Name = ""dbms_lob_append"");
  1792. ",
  1793. "f"
  1794. );
  1795. insert into sysbldobjdepends
  1796. (
  1797. bld_id,
  1798. obj_kind,
  1799. obj_signature,
  1800. obj_owner,
  1801. need_obj_kind,
  1802. need_obj_signature,
  1803. need_obj_owner)
  1804. values
  1805. (
  1806. "%SYSBLDNAME%",
  1807. 182, "Alter-ExternalName-dbms_lob_append (clob,clob)",
  1808. "%SYSBLDUSER%",
  1809. 6, "dbms_lob_append (clob,clob)",
  1810. "%SYSBLDUSER%"
  1811. );
  1812. insert into sysbldobjects
  1813. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1814. create_can_fail, drop_sql, drop_can_fail)
  1815. values
  1816. (
  1817. "%SYSBLDNAME%", 70, "dbms_lob_append (clob,clob)",
  1818. "%SYSBLDUSER%", 0,
  1819. "grant execute on procedure dbms_lob_append (clob,clob) to public;
  1820. ",
  1821. "f",
  1822. "",
  1823. "f"
  1824. );
  1825. insert into sysbldobjdepends
  1826. (
  1827. bld_id,
  1828. obj_kind,
  1829. obj_signature,
  1830. obj_owner,
  1831. need_obj_kind,
  1832. need_obj_signature,
  1833. need_obj_owner)
  1834. values
  1835. (
  1836. "%SYSBLDNAME%",
  1837. 70, "dbms_lob_append (clob,clob)",
  1838. "%SYSBLDUSER%",
  1839. 6, "dbms_lob_append (clob,clob)",
  1840. "%SYSBLDUSER%"
  1841. );
  1842. insert into sysbldobjects
  1843. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1844. create_can_fail, drop_sql, drop_can_fail)
  1845. values
  1846. (
  1847. "%SYSBLDNAME%", 5, "dbms_lob_getlength (blob)",
  1848. "%SYSBLDUSER%", 0,
  1849. "create function dbms_lob_getlength (blob)
  1850. returns integer
  1851. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_getlength)"" language c;
  1852. ",
  1853. "f",
  1854. "drop function dbms_lob_getlength (blob);
  1855. ",
  1856. "f"
  1857. );
  1858. insert into sysbldobjects
  1859. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1860. create_can_fail, drop_sql, drop_can_fail)
  1861. values
  1862. (
  1863. "%SYSBLDNAME%", 181, "Alter-ExternalName-dbms_lob_getlength (blob)",
  1864. "%SYSBLDUSER%", 0,
  1865. "alter function dbms_lob_getlength (blob)
  1866. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_getlength)"");
  1867. ",
  1868. "f",
  1869. "alter function dbms_lob_getlength (blob)
  1870. with (Modify External Name = ""dbms_lob_getlength"");
  1871. ",
  1872. "f"
  1873. );
  1874. insert into sysbldobjdepends
  1875. (
  1876. bld_id,
  1877. obj_kind,
  1878. obj_signature,
  1879. obj_owner,
  1880. need_obj_kind,
  1881. need_obj_signature,
  1882. need_obj_owner)
  1883. values
  1884. (
  1885. "%SYSBLDNAME%",
  1886. 181, "Alter-ExternalName-dbms_lob_getlength (blob)",
  1887. "%SYSBLDUSER%",
  1888. 5, "dbms_lob_getlength (blob)",
  1889. "%SYSBLDUSER%"
  1890. );
  1891. insert into sysbldobjects
  1892. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1893. create_can_fail, drop_sql, drop_can_fail)
  1894. values
  1895. (
  1896. "%SYSBLDNAME%", 69, "dbms_lob_getlength (blob)",
  1897. "%SYSBLDUSER%", 0,
  1898. "grant execute on function dbms_lob_getlength (blob) to public;
  1899. ",
  1900. "f",
  1901. "",
  1902. "f"
  1903. );
  1904. insert into sysbldobjdepends
  1905. (
  1906. bld_id,
  1907. obj_kind,
  1908. obj_signature,
  1909. obj_owner,
  1910. need_obj_kind,
  1911. need_obj_signature,
  1912. need_obj_owner)
  1913. values
  1914. (
  1915. "%SYSBLDNAME%",
  1916. 69, "dbms_lob_getlength (blob)",
  1917. "%SYSBLDUSER%",
  1918. 5, "dbms_lob_getlength (blob)",
  1919. "%SYSBLDUSER%"
  1920. );
  1921. insert into sysbldobjects
  1922. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1923. create_can_fail, drop_sql, drop_can_fail)
  1924. values
  1925. (
  1926. "%SYSBLDNAME%", 5, "dbms_lob_getlength (clob)",
  1927. "%SYSBLDUSER%", 0,
  1928. "create function dbms_lob_getlength (clob)
  1929. returns integer
  1930. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_getlength)"" language c;
  1931. ",
  1932. "f",
  1933. "drop function dbms_lob_getlength (clob);
  1934. ",
  1935. "f"
  1936. );
  1937. insert into sysbldobjects
  1938. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1939. create_can_fail, drop_sql, drop_can_fail)
  1940. values
  1941. (
  1942. "%SYSBLDNAME%", 181, "Alter-ExternalName-dbms_lob_getlength (clob)",
  1943. "%SYSBLDUSER%", 0,
  1944. "alter function dbms_lob_getlength (clob)
  1945. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_getlength)"");
  1946. ",
  1947. "f",
  1948. "alter function dbms_lob_getlength (clob)
  1949. with (Modify External Name = ""dbms_lob_getlength"");
  1950. ",
  1951. "f"
  1952. );
  1953. insert into sysbldobjdepends
  1954. (
  1955. bld_id,
  1956. obj_kind,
  1957. obj_signature,
  1958. obj_owner,
  1959. need_obj_kind,
  1960. need_obj_signature,
  1961. need_obj_owner)
  1962. values
  1963. (
  1964. "%SYSBLDNAME%",
  1965. 181, "Alter-ExternalName-dbms_lob_getlength (clob)",
  1966. "%SYSBLDUSER%",
  1967. 5, "dbms_lob_getlength (clob)",
  1968. "%SYSBLDUSER%"
  1969. );
  1970. insert into sysbldobjects
  1971. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1972. create_can_fail, drop_sql, drop_can_fail)
  1973. values
  1974. (
  1975. "%SYSBLDNAME%", 69, "dbms_lob_getlength (clob)",
  1976. "%SYSBLDUSER%", 0,
  1977. "grant execute on function dbms_lob_getlength (clob) to public;
  1978. ",
  1979. "f",
  1980. "",
  1981. "f"
  1982. );
  1983. insert into sysbldobjdepends
  1984. (
  1985. bld_id,
  1986. obj_kind,
  1987. obj_signature,
  1988. obj_owner,
  1989. need_obj_kind,
  1990. need_obj_signature,
  1991. need_obj_owner)
  1992. values
  1993. (
  1994. "%SYSBLDNAME%",
  1995. 69, "dbms_lob_getlength (clob)",
  1996. "%SYSBLDUSER%",
  1997. 5, "dbms_lob_getlength (clob)",
  1998. "%SYSBLDUSER%"
  1999. );
  2000. insert into sysbldobjects
  2001. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2002. create_can_fail, drop_sql, drop_can_fail)
  2003. values
  2004. (
  2005. "%SYSBLDNAME%", 5, "dbms_lob_compare (blob,blob,integer,integer,integer)",
  2006. "%SYSBLDUSER%", 0,
  2007. "create function dbms_lob_compare (blob,blob,integer default 2147483647,integer default 1,integer default 1)
  2008. returns integer
  2009. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_compare)"" language c;
  2010. ",
  2011. "f",
  2012. "drop function dbms_lob_compare (blob,blob,integer,integer,integer);
  2013. ",
  2014. "f"
  2015. );
  2016. insert into sysbldobjects
  2017. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2018. create_can_fail, drop_sql, drop_can_fail)
  2019. values
  2020. (
  2021. "%SYSBLDNAME%", 181, "Alter-ExternalName-dbms_lob_compare (blob,blob,integer,integer,integer)",
  2022. "%SYSBLDUSER%", 0,
  2023. "alter function dbms_lob_compare (blob,blob,integer,integer,integer)
  2024. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_compare)"");
  2025. ",
  2026. "f",
  2027. "alter function dbms_lob_compare (blob,blob,integer,integer,integer)
  2028. with (Modify External Name = ""dbms_lob_compare"");
  2029. ",
  2030. "f"
  2031. );
  2032. insert into sysbldobjdepends
  2033. (
  2034. bld_id,
  2035. obj_kind,
  2036. obj_signature,
  2037. obj_owner,
  2038. need_obj_kind,
  2039. need_obj_signature,
  2040. need_obj_owner)
  2041. values
  2042. (
  2043. "%SYSBLDNAME%",
  2044. 181, "Alter-ExternalName-dbms_lob_compare (blob,blob,integer,integer,integer)",
  2045. "%SYSBLDUSER%",
  2046. 5, "dbms_lob_compare (blob,blob,integer,integer,integer)",
  2047. "%SYSBLDUSER%"
  2048. );
  2049. insert into sysbldobjects
  2050. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2051. create_can_fail, drop_sql, drop_can_fail)
  2052. values
  2053. (
  2054. "%SYSBLDNAME%", 69, "dbms_lob_compare (blob,blob,integer,integer,integer)",
  2055. "%SYSBLDUSER%", 0,
  2056. "grant execute on function dbms_lob_compare (blob,blob,integer,integer,integer) to public;
  2057. ",
  2058. "f",
  2059. "",
  2060. "f"
  2061. );
  2062. insert into sysbldobjdepends
  2063. (
  2064. bld_id,
  2065. obj_kind,
  2066. obj_signature,
  2067. obj_owner,
  2068. need_obj_kind,
  2069. need_obj_signature,
  2070. need_obj_owner)
  2071. values
  2072. (
  2073. "%SYSBLDNAME%",
  2074. 69, "dbms_lob_compare (blob,blob,integer,integer,integer)",
  2075. "%SYSBLDUSER%",
  2076. 5, "dbms_lob_compare (blob,blob,integer,integer,integer)",
  2077. "%SYSBLDUSER%"
  2078. );
  2079. insert into sysbldobjects
  2080. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2081. create_can_fail, drop_sql, drop_can_fail)
  2082. values
  2083. (
  2084. "%SYSBLDNAME%", 6, "dbms_lob_copy (blob,blob,integer,integer,integer)",
  2085. "%SYSBLDUSER%", 0,
  2086. "create procedure dbms_lob_copy (blob,blob,integer,integer default 1,integer default 1)
  2087. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_copy)"" language c;
  2088. ",
  2089. "f",
  2090. "drop procedure dbms_lob_copy (blob,blob,integer,integer,integer);
  2091. ",
  2092. "f"
  2093. );
  2094. insert into sysbldobjects
  2095. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2096. create_can_fail, drop_sql, drop_can_fail)
  2097. values
  2098. (
  2099. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_lob_copy (blob,blob,integer,integer,integer)",
  2100. "%SYSBLDUSER%", 0,
  2101. "alter procedure dbms_lob_copy (blob,blob,integer,integer,integer)
  2102. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_copy)"");
  2103. ",
  2104. "f",
  2105. "alter procedure dbms_lob_copy (blob,blob,integer,integer,integer)
  2106. with (Modify External Name = ""dbms_lob_copy"");
  2107. ",
  2108. "f"
  2109. );
  2110. insert into sysbldobjdepends
  2111. (
  2112. bld_id,
  2113. obj_kind,
  2114. obj_signature,
  2115. obj_owner,
  2116. need_obj_kind,
  2117. need_obj_signature,
  2118. need_obj_owner)
  2119. values
  2120. (
  2121. "%SYSBLDNAME%",
  2122. 182, "Alter-ExternalName-dbms_lob_copy (blob,blob,integer,integer,integer)",
  2123. "%SYSBLDUSER%",
  2124. 6, "dbms_lob_copy (blob,blob,integer,integer,integer)",
  2125. "%SYSBLDUSER%"
  2126. );
  2127. insert into sysbldobjects
  2128. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2129. create_can_fail, drop_sql, drop_can_fail)
  2130. values
  2131. (
  2132. "%SYSBLDNAME%", 54, "Alter-HandleNul-dbms_lob_copy (blob,blob,integer,integer,integer)",
  2133. "%SYSBLDUSER%", 0,
  2134. "alter procedure dbms_lob_copy (blob,blob,integer,integer,integer)
  2135. with (add handlesnulls);
  2136. ",
  2137. "f",
  2138. "alter procedure dbms_lob_copy (blob,blob,integer,integer,integer)
  2139. with (drop handlesnulls);
  2140. ",
  2141. "f"
  2142. );
  2143. insert into sysbldobjdepends
  2144. (
  2145. bld_id,
  2146. obj_kind,
  2147. obj_signature,
  2148. obj_owner,
  2149. need_obj_kind,
  2150. need_obj_signature,
  2151. need_obj_owner)
  2152. values
  2153. (
  2154. "%SYSBLDNAME%",
  2155. 54, "Alter-HandleNul-dbms_lob_copy (blob,blob,integer,integer,integer)",
  2156. "%SYSBLDUSER%",
  2157. 6, "dbms_lob_copy (blob,blob,integer,integer,integer)",
  2158. "%SYSBLDUSER%"
  2159. );
  2160. insert into sysbldobjects
  2161. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2162. create_can_fail, drop_sql, drop_can_fail)
  2163. values
  2164. (
  2165. "%SYSBLDNAME%", 70, "dbms_lob_copy (blob,blob,integer,integer,integer)",
  2166. "%SYSBLDUSER%", 0,
  2167. "grant execute on procedure dbms_lob_copy (blob,blob,integer,integer,integer) to public;
  2168. ",
  2169. "f",
  2170. "",
  2171. "f"
  2172. );
  2173. insert into sysbldobjdepends
  2174. (
  2175. bld_id,
  2176. obj_kind,
  2177. obj_signature,
  2178. obj_owner,
  2179. need_obj_kind,
  2180. need_obj_signature,
  2181. need_obj_owner)
  2182. values
  2183. (
  2184. "%SYSBLDNAME%",
  2185. 70, "dbms_lob_copy (blob,blob,integer,integer,integer)",
  2186. "%SYSBLDUSER%",
  2187. 6, "dbms_lob_copy (blob,blob,integer,integer,integer)",
  2188. "%SYSBLDUSER%"
  2189. );
  2190. insert into sysbldobjects
  2191. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2192. create_can_fail, drop_sql, drop_can_fail)
  2193. values
  2194. (
  2195. "%SYSBLDNAME%", 6, "dbms_lob_copy (clob,clob,integer,integer,integer)",
  2196. "%SYSBLDUSER%", 0,
  2197. "create procedure dbms_lob_copy (clob,clob,integer,integer default 1,integer default 1)
  2198. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_copy)"" language c;
  2199. ",
  2200. "f",
  2201. "drop procedure dbms_lob_copy (clob,clob,integer,integer,integer);
  2202. ",
  2203. "f"
  2204. );
  2205. insert into sysbldobjects
  2206. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2207. create_can_fail, drop_sql, drop_can_fail)
  2208. values
  2209. (
  2210. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_lob_copy (clob,clob,integer,integer,integer)",
  2211. "%SYSBLDUSER%", 0,
  2212. "alter procedure dbms_lob_copy (clob,clob,integer,integer,integer)
  2213. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_copy)"");
  2214. ",
  2215. "f",
  2216. "alter procedure dbms_lob_copy (clob,clob,integer,integer,integer)
  2217. with (Modify External Name = ""dbms_lob_copy"");
  2218. ",
  2219. "f"
  2220. );
  2221. insert into sysbldobjdepends
  2222. (
  2223. bld_id,
  2224. obj_kind,
  2225. obj_signature,
  2226. obj_owner,
  2227. need_obj_kind,
  2228. need_obj_signature,
  2229. need_obj_owner)
  2230. values
  2231. (
  2232. "%SYSBLDNAME%",
  2233. 182, "Alter-ExternalName-dbms_lob_copy (clob,clob,integer,integer,integer)",
  2234. "%SYSBLDUSER%",
  2235. 6, "dbms_lob_copy (clob,clob,integer,integer,integer)",
  2236. "%SYSBLDUSER%"
  2237. );
  2238. insert into sysbldobjects
  2239. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2240. create_can_fail, drop_sql, drop_can_fail)
  2241. values
  2242. (
  2243. "%SYSBLDNAME%", 54, "Alter-HandleNul-dbms_lob_copy (clob,clob,integer,integer,integer)",
  2244. "%SYSBLDUSER%", 0,
  2245. "alter procedure dbms_lob_copy (clob,clob,integer,integer,integer)
  2246. with (add handlesnulls);
  2247. ",
  2248. "f",
  2249. "alter procedure dbms_lob_copy (clob,clob,integer,integer,integer)
  2250. with (drop handlesnulls);
  2251. ",
  2252. "f"
  2253. );
  2254. insert into sysbldobjdepends
  2255. (
  2256. bld_id,
  2257. obj_kind,
  2258. obj_signature,
  2259. obj_owner,
  2260. need_obj_kind,
  2261. need_obj_signature,
  2262. need_obj_owner)
  2263. values
  2264. (
  2265. "%SYSBLDNAME%",
  2266. 54, "Alter-HandleNul-dbms_lob_copy (clob,clob,integer,integer,integer)",
  2267. "%SYSBLDUSER%",
  2268. 6, "dbms_lob_copy (clob,clob,integer,integer,integer)",
  2269. "%SYSBLDUSER%"
  2270. );
  2271. insert into sysbldobjects
  2272. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2273. create_can_fail, drop_sql, drop_can_fail)
  2274. values
  2275. (
  2276. "%SYSBLDNAME%", 70, "dbms_lob_copy (clob,clob,integer,integer,integer)",
  2277. "%SYSBLDUSER%", 0,
  2278. "grant execute on procedure dbms_lob_copy (clob,clob,integer,integer,integer) to public;
  2279. ",
  2280. "f",
  2281. "",
  2282. "f"
  2283. );
  2284. insert into sysbldobjdepends
  2285. (
  2286. bld_id,
  2287. obj_kind,
  2288. obj_signature,
  2289. obj_owner,
  2290. need_obj_kind,
  2291. need_obj_signature,
  2292. need_obj_owner)
  2293. values
  2294. (
  2295. "%SYSBLDNAME%",
  2296. 70, "dbms_lob_copy (clob,clob,integer,integer,integer)",
  2297. "%SYSBLDUSER%",
  2298. 6, "dbms_lob_copy (clob,clob,integer,integer,integer)",
  2299. "%SYSBLDUSER%"
  2300. );
  2301. insert into sysbldobjects
  2302. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2303. create_can_fail, drop_sql, drop_can_fail)
  2304. values
  2305. (
  2306. "%SYSBLDNAME%", 6, "dbms_lob_erase (blob,integer,integer)",
  2307. "%SYSBLDUSER%", 0,
  2308. "create procedure dbms_lob_erase (blob,integer,integer default 1)
  2309. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_blob_erase)"" language c;
  2310. ",
  2311. "f",
  2312. "drop procedure dbms_lob_erase (blob,integer,integer);
  2313. ",
  2314. "f"
  2315. );
  2316. insert into sysbldobjects
  2317. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2318. create_can_fail, drop_sql, drop_can_fail)
  2319. values
  2320. (
  2321. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_lob_erase (blob,integer,integer)",
  2322. "%SYSBLDUSER%", 0,
  2323. "alter procedure dbms_lob_erase (blob,integer,integer)
  2324. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_blob_erase)"");
  2325. ",
  2326. "f",
  2327. "alter procedure dbms_lob_erase (blob,integer,integer)
  2328. with (Modify External Name = ""dbms_blob_erase"");
  2329. ",
  2330. "f"
  2331. );
  2332. insert into sysbldobjdepends
  2333. (
  2334. bld_id,
  2335. obj_kind,
  2336. obj_signature,
  2337. obj_owner,
  2338. need_obj_kind,
  2339. need_obj_signature,
  2340. need_obj_owner)
  2341. values
  2342. (
  2343. "%SYSBLDNAME%",
  2344. 182, "Alter-ExternalName-dbms_lob_erase (blob,integer,integer)",
  2345. "%SYSBLDUSER%",
  2346. 6, "dbms_lob_erase (blob,integer,integer)",
  2347. "%SYSBLDUSER%"
  2348. );
  2349. insert into sysbldobjects
  2350. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2351. create_can_fail, drop_sql, drop_can_fail)
  2352. values
  2353. (
  2354. "%SYSBLDNAME%", 70, "dbms_lob_erase (blob,integer,integer)",
  2355. "%SYSBLDUSER%", 0,
  2356. "grant execute on procedure dbms_lob_erase (blob,integer,integer) to public;
  2357. ",
  2358. "f",
  2359. "",
  2360. "f"
  2361. );
  2362. insert into sysbldobjdepends
  2363. (
  2364. bld_id,
  2365. obj_kind,
  2366. obj_signature,
  2367. obj_owner,
  2368. need_obj_kind,
  2369. need_obj_signature,
  2370. need_obj_owner)
  2371. values
  2372. (
  2373. "%SYSBLDNAME%",
  2374. 70, "dbms_lob_erase (blob,integer,integer)",
  2375. "%SYSBLDUSER%",
  2376. 6, "dbms_lob_erase (blob,integer,integer)",
  2377. "%SYSBLDUSER%"
  2378. );
  2379. insert into sysbldobjects
  2380. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2381. create_can_fail, drop_sql, drop_can_fail)
  2382. values
  2383. (
  2384. "%SYSBLDNAME%", 6, "dbms_lob_erase (clob,integer,integer)",
  2385. "%SYSBLDUSER%", 0,
  2386. "create procedure dbms_lob_erase (clob,integer,integer default 1)
  2387. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_clob_erase)"" language c;
  2388. ",
  2389. "f",
  2390. "drop procedure dbms_lob_erase (clob,integer,integer);
  2391. ",
  2392. "f"
  2393. );
  2394. insert into sysbldobjects
  2395. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2396. create_can_fail, drop_sql, drop_can_fail)
  2397. values
  2398. (
  2399. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_lob_erase (clob,integer,integer)",
  2400. "%SYSBLDUSER%", 0,
  2401. "alter procedure dbms_lob_erase (clob,integer,integer)
  2402. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_clob_erase)"");
  2403. ",
  2404. "f",
  2405. "alter procedure dbms_lob_erase (clob,integer,integer)
  2406. with (Modify External Name = ""dbms_clob_erase"");
  2407. ",
  2408. "f"
  2409. );
  2410. insert into sysbldobjdepends
  2411. (
  2412. bld_id,
  2413. obj_kind,
  2414. obj_signature,
  2415. obj_owner,
  2416. need_obj_kind,
  2417. need_obj_signature,
  2418. need_obj_owner)
  2419. values
  2420. (
  2421. "%SYSBLDNAME%",
  2422. 182, "Alter-ExternalName-dbms_lob_erase (clob,integer,integer)",
  2423. "%SYSBLDUSER%",
  2424. 6, "dbms_lob_erase (clob,integer,integer)",
  2425. "%SYSBLDUSER%"
  2426. );
  2427. insert into sysbldobjects
  2428. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2429. create_can_fail, drop_sql, drop_can_fail)
  2430. values
  2431. (
  2432. "%SYSBLDNAME%", 70, "dbms_lob_erase (clob,integer,integer)",
  2433. "%SYSBLDUSER%", 0,
  2434. "grant execute on procedure dbms_lob_erase (clob,integer,integer) to public;
  2435. ",
  2436. "f",
  2437. "",
  2438. "f"
  2439. );
  2440. insert into sysbldobjdepends
  2441. (
  2442. bld_id,
  2443. obj_kind,
  2444. obj_signature,
  2445. obj_owner,
  2446. need_obj_kind,
  2447. need_obj_signature,
  2448. need_obj_owner)
  2449. values
  2450. (
  2451. "%SYSBLDNAME%",
  2452. 70, "dbms_lob_erase (clob,integer,integer)",
  2453. "%SYSBLDUSER%",
  2454. 6, "dbms_lob_erase (clob,integer,integer)",
  2455. "%SYSBLDUSER%"
  2456. );
  2457. insert into sysbldobjects
  2458. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2459. create_can_fail, drop_sql, drop_can_fail)
  2460. values
  2461. (
  2462. "%SYSBLDNAME%", 5, "dbms_lob_substr (clob,integer,integer)",
  2463. "%SYSBLDUSER%", 0,
  2464. "create function dbms_lob_substr (clob,integer default 32767,integer default 1)
  2465. returns lvarchar
  2466. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_substr)"" language c;
  2467. ",
  2468. "f",
  2469. "drop function dbms_lob_substr (clob,integer,integer);
  2470. ",
  2471. "f"
  2472. );
  2473. insert into sysbldobjects
  2474. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2475. create_can_fail, drop_sql, drop_can_fail)
  2476. values
  2477. (
  2478. "%SYSBLDNAME%", 181, "Alter-ExternalName-dbms_lob_substr (clob,integer,integer)",
  2479. "%SYSBLDUSER%", 0,
  2480. "alter function dbms_lob_substr (clob,integer,integer)
  2481. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_substr)"");
  2482. ",
  2483. "f",
  2484. "alter function dbms_lob_substr (clob,integer,integer)
  2485. with (Modify External Name = ""dbms_lob_substr"");
  2486. ",
  2487. "f"
  2488. );
  2489. insert into sysbldobjdepends
  2490. (
  2491. bld_id,
  2492. obj_kind,
  2493. obj_signature,
  2494. obj_owner,
  2495. need_obj_kind,
  2496. need_obj_signature,
  2497. need_obj_owner)
  2498. values
  2499. (
  2500. "%SYSBLDNAME%",
  2501. 181, "Alter-ExternalName-dbms_lob_substr (clob,integer,integer)",
  2502. "%SYSBLDUSER%",
  2503. 5, "dbms_lob_substr (clob,integer,integer)",
  2504. "%SYSBLDUSER%"
  2505. );
  2506. insert into sysbldobjects
  2507. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2508. create_can_fail, drop_sql, drop_can_fail)
  2509. values
  2510. (
  2511. "%SYSBLDNAME%", 69, "dbms_lob_substr (clob,integer,integer)",
  2512. "%SYSBLDUSER%", 0,
  2513. "grant execute on function dbms_lob_substr (clob,integer,integer) to public;
  2514. ",
  2515. "f",
  2516. "",
  2517. "f"
  2518. );
  2519. insert into sysbldobjdepends
  2520. (
  2521. bld_id,
  2522. obj_kind,
  2523. obj_signature,
  2524. obj_owner,
  2525. need_obj_kind,
  2526. need_obj_signature,
  2527. need_obj_owner)
  2528. values
  2529. (
  2530. "%SYSBLDNAME%",
  2531. 69, "dbms_lob_substr (clob,integer,integer)",
  2532. "%SYSBLDUSER%",
  2533. 5, "dbms_lob_substr (clob,integer,integer)",
  2534. "%SYSBLDUSER%"
  2535. );
  2536. insert into sysbldobjects
  2537. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2538. create_can_fail, drop_sql, drop_can_fail)
  2539. values
  2540. (
  2541. "%SYSBLDNAME%", 5, "dbms_lob_instr (clob,lvarchar,integer,integer)",
  2542. "%SYSBLDUSER%", 0,
  2543. "create function dbms_lob_instr (clob,lvarchar,integer default 1,integer default 1)
  2544. returns integer
  2545. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_instr)"" language c;
  2546. ",
  2547. "f",
  2548. "drop function dbms_lob_instr (clob,lvarchar,integer,integer);
  2549. ",
  2550. "f"
  2551. );
  2552. insert into sysbldobjects
  2553. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2554. create_can_fail, drop_sql, drop_can_fail)
  2555. values
  2556. (
  2557. "%SYSBLDNAME%", 181, "Alter-ExternalName-dbms_lob_instr (clob,lvarchar,integer,integer)",
  2558. "%SYSBLDUSER%", 0,
  2559. "alter function dbms_lob_instr (clob,lvarchar,integer,integer)
  2560. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_instr)"");
  2561. ",
  2562. "f",
  2563. "alter function dbms_lob_instr (clob,lvarchar,integer,integer)
  2564. with (Modify External Name = ""dbms_lob_instr"");
  2565. ",
  2566. "f"
  2567. );
  2568. insert into sysbldobjdepends
  2569. (
  2570. bld_id,
  2571. obj_kind,
  2572. obj_signature,
  2573. obj_owner,
  2574. need_obj_kind,
  2575. need_obj_signature,
  2576. need_obj_owner)
  2577. values
  2578. (
  2579. "%SYSBLDNAME%",
  2580. 181, "Alter-ExternalName-dbms_lob_instr (clob,lvarchar,integer,integer)",
  2581. "%SYSBLDUSER%",
  2582. 5, "dbms_lob_instr (clob,lvarchar,integer,integer)",
  2583. "%SYSBLDUSER%"
  2584. );
  2585. insert into sysbldobjects
  2586. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2587. create_can_fail, drop_sql, drop_can_fail)
  2588. values
  2589. (
  2590. "%SYSBLDNAME%", 69, "dbms_lob_instr (clob,lvarchar,integer,integer)",
  2591. "%SYSBLDUSER%", 0,
  2592. "grant execute on function dbms_lob_instr (clob,lvarchar,integer,integer) to public;
  2593. ",
  2594. "f",
  2595. "",
  2596. "f"
  2597. );
  2598. insert into sysbldobjdepends
  2599. (
  2600. bld_id,
  2601. obj_kind,
  2602. obj_signature,
  2603. obj_owner,
  2604. need_obj_kind,
  2605. need_obj_signature,
  2606. need_obj_owner)
  2607. values
  2608. (
  2609. "%SYSBLDNAME%",
  2610. 69, "dbms_lob_instr (clob,lvarchar,integer,integer)",
  2611. "%SYSBLDUSER%",
  2612. 5, "dbms_lob_instr (clob,lvarchar,integer,integer)",
  2613. "%SYSBLDUSER%"
  2614. );
  2615. insert into sysbldobjects
  2616. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2617. create_can_fail, drop_sql, drop_can_fail)
  2618. values
  2619. (
  2620. "%SYSBLDNAME%", 6, "dbms_lob_read (clob,integer,integer,lvarchar)",
  2621. "%SYSBLDUSER%", 0,
  2622. "create procedure dbms_lob_read (clob,integer,integer,out lvarchar)
  2623. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_read)"" language c;
  2624. ",
  2625. "f",
  2626. "drop procedure dbms_lob_read (clob,integer,integer,lvarchar);
  2627. ",
  2628. "f"
  2629. );
  2630. insert into sysbldobjects
  2631. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2632. create_can_fail, drop_sql, drop_can_fail)
  2633. values
  2634. (
  2635. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_lob_read (clob,integer,integer,lvarchar)",
  2636. "%SYSBLDUSER%", 0,
  2637. "alter procedure dbms_lob_read (clob,integer,integer,lvarchar)
  2638. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_read)"");
  2639. ",
  2640. "f",
  2641. "alter procedure dbms_lob_read (clob,integer,integer,lvarchar)
  2642. with (Modify External Name = ""dbms_lob_read"");
  2643. ",
  2644. "f"
  2645. );
  2646. insert into sysbldobjdepends
  2647. (
  2648. bld_id,
  2649. obj_kind,
  2650. obj_signature,
  2651. obj_owner,
  2652. need_obj_kind,
  2653. need_obj_signature,
  2654. need_obj_owner)
  2655. values
  2656. (
  2657. "%SYSBLDNAME%",
  2658. 182, "Alter-ExternalName-dbms_lob_read (clob,integer,integer,lvarchar)",
  2659. "%SYSBLDUSER%",
  2660. 6, "dbms_lob_read (clob,integer,integer,lvarchar)",
  2661. "%SYSBLDUSER%"
  2662. );
  2663. insert into sysbldobjects
  2664. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2665. create_can_fail, drop_sql, drop_can_fail)
  2666. values
  2667. (
  2668. "%SYSBLDNAME%", 70, "dbms_lob_read (clob,integer,integer,lvarchar)",
  2669. "%SYSBLDUSER%", 0,
  2670. "grant execute on procedure dbms_lob_read (clob,integer,integer,lvarchar) to public;
  2671. ",
  2672. "f",
  2673. "",
  2674. "f"
  2675. );
  2676. insert into sysbldobjdepends
  2677. (
  2678. bld_id,
  2679. obj_kind,
  2680. obj_signature,
  2681. obj_owner,
  2682. need_obj_kind,
  2683. need_obj_signature,
  2684. need_obj_owner)
  2685. values
  2686. (
  2687. "%SYSBLDNAME%",
  2688. 70, "dbms_lob_read (clob,integer,integer,lvarchar)",
  2689. "%SYSBLDUSER%",
  2690. 6, "dbms_lob_read (clob,integer,integer,lvarchar)",
  2691. "%SYSBLDUSER%"
  2692. );
  2693. insert into sysbldobjects
  2694. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2695. create_can_fail, drop_sql, drop_can_fail)
  2696. values
  2697. (
  2698. "%SYSBLDNAME%", 6, "dbms_lob_trim (blob,integer)",
  2699. "%SYSBLDUSER%", 0,
  2700. "create procedure dbms_lob_trim (blob,integer)
  2701. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_trim)"" language c;
  2702. ",
  2703. "f",
  2704. "drop procedure dbms_lob_trim (blob,integer);
  2705. ",
  2706. "f"
  2707. );
  2708. insert into sysbldobjects
  2709. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2710. create_can_fail, drop_sql, drop_can_fail)
  2711. values
  2712. (
  2713. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_lob_trim (blob,integer)",
  2714. "%SYSBLDUSER%", 0,
  2715. "alter procedure dbms_lob_trim (blob,integer)
  2716. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_trim)"");
  2717. ",
  2718. "f",
  2719. "alter procedure dbms_lob_trim (blob,integer)
  2720. with (Modify External Name = ""dbms_lob_trim"");
  2721. ",
  2722. "f"
  2723. );
  2724. insert into sysbldobjdepends
  2725. (
  2726. bld_id,
  2727. obj_kind,
  2728. obj_signature,
  2729. obj_owner,
  2730. need_obj_kind,
  2731. need_obj_signature,
  2732. need_obj_owner)
  2733. values
  2734. (
  2735. "%SYSBLDNAME%",
  2736. 182, "Alter-ExternalName-dbms_lob_trim (blob,integer)",
  2737. "%SYSBLDUSER%",
  2738. 6, "dbms_lob_trim (blob,integer)",
  2739. "%SYSBLDUSER%"
  2740. );
  2741. insert into sysbldobjects
  2742. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2743. create_can_fail, drop_sql, drop_can_fail)
  2744. values
  2745. (
  2746. "%SYSBLDNAME%", 70, "dbms_lob_trim (blob,integer)",
  2747. "%SYSBLDUSER%", 0,
  2748. "grant execute on procedure dbms_lob_trim (blob,integer) to public;
  2749. ",
  2750. "f",
  2751. "",
  2752. "f"
  2753. );
  2754. insert into sysbldobjdepends
  2755. (
  2756. bld_id,
  2757. obj_kind,
  2758. obj_signature,
  2759. obj_owner,
  2760. need_obj_kind,
  2761. need_obj_signature,
  2762. need_obj_owner)
  2763. values
  2764. (
  2765. "%SYSBLDNAME%",
  2766. 70, "dbms_lob_trim (blob,integer)",
  2767. "%SYSBLDUSER%",
  2768. 6, "dbms_lob_trim (blob,integer)",
  2769. "%SYSBLDUSER%"
  2770. );
  2771. insert into sysbldobjects
  2772. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2773. create_can_fail, drop_sql, drop_can_fail)
  2774. values
  2775. (
  2776. "%SYSBLDNAME%", 6, "dbms_lob_trim (clob,integer)",
  2777. "%SYSBLDUSER%", 0,
  2778. "create procedure dbms_lob_trim (clob,integer)
  2779. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_trim)"" language c;
  2780. ",
  2781. "f",
  2782. "drop procedure dbms_lob_trim (clob,integer);
  2783. ",
  2784. "f"
  2785. );
  2786. insert into sysbldobjects
  2787. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2788. create_can_fail, drop_sql, drop_can_fail)
  2789. values
  2790. (
  2791. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_lob_trim (clob,integer)",
  2792. "%SYSBLDUSER%", 0,
  2793. "alter procedure dbms_lob_trim (clob,integer)
  2794. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_trim)"");
  2795. ",
  2796. "f",
  2797. "alter procedure dbms_lob_trim (clob,integer)
  2798. with (Modify External Name = ""dbms_lob_trim"");
  2799. ",
  2800. "f"
  2801. );
  2802. insert into sysbldobjdepends
  2803. (
  2804. bld_id,
  2805. obj_kind,
  2806. obj_signature,
  2807. obj_owner,
  2808. need_obj_kind,
  2809. need_obj_signature,
  2810. need_obj_owner)
  2811. values
  2812. (
  2813. "%SYSBLDNAME%",
  2814. 182, "Alter-ExternalName-dbms_lob_trim (clob,integer)",
  2815. "%SYSBLDUSER%",
  2816. 6, "dbms_lob_trim (clob,integer)",
  2817. "%SYSBLDUSER%"
  2818. );
  2819. insert into sysbldobjects
  2820. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2821. create_can_fail, drop_sql, drop_can_fail)
  2822. values
  2823. (
  2824. "%SYSBLDNAME%", 70, "dbms_lob_trim (clob,integer)",
  2825. "%SYSBLDUSER%", 0,
  2826. "grant execute on procedure dbms_lob_trim (clob,integer) to public;
  2827. ",
  2828. "f",
  2829. "",
  2830. "f"
  2831. );
  2832. insert into sysbldobjdepends
  2833. (
  2834. bld_id,
  2835. obj_kind,
  2836. obj_signature,
  2837. obj_owner,
  2838. need_obj_kind,
  2839. need_obj_signature,
  2840. need_obj_owner)
  2841. values
  2842. (
  2843. "%SYSBLDNAME%",
  2844. 70, "dbms_lob_trim (clob,integer)",
  2845. "%SYSBLDUSER%",
  2846. 6, "dbms_lob_trim (clob,integer)",
  2847. "%SYSBLDUSER%"
  2848. );
  2849. insert into sysbldobjects
  2850. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2851. create_can_fail, drop_sql, drop_can_fail)
  2852. values
  2853. (
  2854. "%SYSBLDNAME%", 6, "dbms_lob_write (clob,integer,integer,lvarchar)",
  2855. "%SYSBLDUSER%", 0,
  2856. "create procedure dbms_lob_write (clob,integer,integer,lvarchar)
  2857. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_write)"" language c;
  2858. ",
  2859. "f",
  2860. "drop procedure dbms_lob_write (clob,integer,integer,lvarchar);
  2861. ",
  2862. "f"
  2863. );
  2864. insert into sysbldobjects
  2865. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2866. create_can_fail, drop_sql, drop_can_fail)
  2867. values
  2868. (
  2869. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_lob_write (clob,integer,integer,lvarchar)",
  2870. "%SYSBLDUSER%", 0,
  2871. "alter procedure dbms_lob_write (clob,integer,integer,lvarchar)
  2872. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_write)"");
  2873. ",
  2874. "f",
  2875. "alter procedure dbms_lob_write (clob,integer,integer,lvarchar)
  2876. with (Modify External Name = ""dbms_lob_write"");
  2877. ",
  2878. "f"
  2879. );
  2880. insert into sysbldobjdepends
  2881. (
  2882. bld_id,
  2883. obj_kind,
  2884. obj_signature,
  2885. obj_owner,
  2886. need_obj_kind,
  2887. need_obj_signature,
  2888. need_obj_owner)
  2889. values
  2890. (
  2891. "%SYSBLDNAME%",
  2892. 182, "Alter-ExternalName-dbms_lob_write (clob,integer,integer,lvarchar)",
  2893. "%SYSBLDUSER%",
  2894. 6, "dbms_lob_write (clob,integer,integer,lvarchar)",
  2895. "%SYSBLDUSER%"
  2896. );
  2897. insert into sysbldobjects
  2898. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2899. create_can_fail, drop_sql, drop_can_fail)
  2900. values
  2901. (
  2902. "%SYSBLDNAME%", 70, "dbms_lob_write (clob,integer,integer,lvarchar)",
  2903. "%SYSBLDUSER%", 0,
  2904. "grant execute on procedure dbms_lob_write (clob,integer,integer,lvarchar) to public;
  2905. ",
  2906. "f",
  2907. "",
  2908. "f"
  2909. );
  2910. insert into sysbldobjdepends
  2911. (
  2912. bld_id,
  2913. obj_kind,
  2914. obj_signature,
  2915. obj_owner,
  2916. need_obj_kind,
  2917. need_obj_signature,
  2918. need_obj_owner)
  2919. values
  2920. (
  2921. "%SYSBLDNAME%",
  2922. 70, "dbms_lob_write (clob,integer,integer,lvarchar)",
  2923. "%SYSBLDUSER%",
  2924. 6, "dbms_lob_write (clob,integer,integer,lvarchar)",
  2925. "%SYSBLDUSER%"
  2926. );
  2927. insert into sysbldobjects
  2928. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2929. create_can_fail, drop_sql, drop_can_fail)
  2930. values
  2931. (
  2932. "%SYSBLDNAME%", 5, "dbms_lob_new_clob (lvarchar)",
  2933. "%SYSBLDUSER%", 0,
  2934. "create function dbms_lob_new_clob (lvarchar)
  2935. returns clob
  2936. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_new_clob)"" language c;
  2937. ",
  2938. "f",
  2939. "drop function dbms_lob_new_clob (lvarchar);
  2940. ",
  2941. "f"
  2942. );
  2943. insert into sysbldobjects
  2944. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2945. create_can_fail, drop_sql, drop_can_fail)
  2946. values
  2947. (
  2948. "%SYSBLDNAME%", 181, "Alter-ExternalName-dbms_lob_new_clob (lvarchar)",
  2949. "%SYSBLDUSER%", 0,
  2950. "alter function dbms_lob_new_clob (lvarchar)
  2951. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_new_clob)"");
  2952. ",
  2953. "f",
  2954. "alter function dbms_lob_new_clob (lvarchar)
  2955. with (Modify External Name = ""dbms_lob_new_clob"");
  2956. ",
  2957. "f"
  2958. );
  2959. insert into sysbldobjdepends
  2960. (
  2961. bld_id,
  2962. obj_kind,
  2963. obj_signature,
  2964. obj_owner,
  2965. need_obj_kind,
  2966. need_obj_signature,
  2967. need_obj_owner)
  2968. values
  2969. (
  2970. "%SYSBLDNAME%",
  2971. 181, "Alter-ExternalName-dbms_lob_new_clob (lvarchar)",
  2972. "%SYSBLDUSER%",
  2973. 5, "dbms_lob_new_clob (lvarchar)",
  2974. "%SYSBLDUSER%"
  2975. );
  2976. insert into sysbldobjects
  2977. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  2978. create_can_fail, drop_sql, drop_can_fail)
  2979. values
  2980. (
  2981. "%SYSBLDNAME%", 85, "Alter-Variant-dbms_lob_new_clob (lvarchar)",
  2982. "%SYSBLDUSER%", 0,
  2983. "alter function dbms_lob_new_clob (lvarchar)
  2984. with (add not variant);
  2985. ",
  2986. "f",
  2987. "alter function dbms_lob_new_clob (lvarchar)
  2988. with (drop not variant);
  2989. ",
  2990. "f"
  2991. );
  2992. insert into sysbldobjdepends
  2993. (
  2994. bld_id,
  2995. obj_kind,
  2996. obj_signature,
  2997. obj_owner,
  2998. need_obj_kind,
  2999. need_obj_signature,
  3000. need_obj_owner)
  3001. values
  3002. (
  3003. "%SYSBLDNAME%",
  3004. 85, "Alter-Variant-dbms_lob_new_clob (lvarchar)",
  3005. "%SYSBLDUSER%",
  3006. 5, "dbms_lob_new_clob (lvarchar)",
  3007. "%SYSBLDUSER%"
  3008. );
  3009. insert into sysbldobjects
  3010. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3011. create_can_fail, drop_sql, drop_can_fail)
  3012. values
  3013. (
  3014. "%SYSBLDNAME%", 69, "dbms_lob_new_clob (lvarchar)",
  3015. "%SYSBLDUSER%", 0,
  3016. "grant execute on function dbms_lob_new_clob (lvarchar) to public;
  3017. ",
  3018. "f",
  3019. "",
  3020. "f"
  3021. );
  3022. insert into sysbldobjdepends
  3023. (
  3024. bld_id,
  3025. obj_kind,
  3026. obj_signature,
  3027. obj_owner,
  3028. need_obj_kind,
  3029. need_obj_signature,
  3030. need_obj_owner)
  3031. values
  3032. (
  3033. "%SYSBLDNAME%",
  3034. 69, "dbms_lob_new_clob (lvarchar)",
  3035. "%SYSBLDUSER%",
  3036. 5, "dbms_lob_new_clob (lvarchar)",
  3037. "%SYSBLDUSER%"
  3038. );
  3039. insert into sysbldobjects
  3040. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3041. create_can_fail, drop_sql, drop_can_fail)
  3042. values
  3043. (
  3044. "%SYSBLDNAME%", 6, "dbms_lob_append (clob,lvarchar)",
  3045. "%SYSBLDUSER%", 0,
  3046. "create procedure dbms_lob_append (clob,lvarchar)
  3047. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_append_str)"" language c;
  3048. ",
  3049. "f",
  3050. "drop procedure dbms_lob_append (clob,lvarchar);
  3051. ",
  3052. "f"
  3053. );
  3054. insert into sysbldobjects
  3055. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3056. create_can_fail, drop_sql, drop_can_fail)
  3057. values
  3058. (
  3059. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_lob_append (clob,lvarchar)",
  3060. "%SYSBLDUSER%", 0,
  3061. "alter procedure dbms_lob_append (clob,lvarchar)
  3062. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_append_str)"");
  3063. ",
  3064. "f",
  3065. "alter procedure dbms_lob_append (clob,lvarchar)
  3066. with (Modify External Name = ""dbms_lob_append_str"");
  3067. ",
  3068. "f"
  3069. );
  3070. insert into sysbldobjdepends
  3071. (
  3072. bld_id,
  3073. obj_kind,
  3074. obj_signature,
  3075. obj_owner,
  3076. need_obj_kind,
  3077. need_obj_signature,
  3078. need_obj_owner)
  3079. values
  3080. (
  3081. "%SYSBLDNAME%",
  3082. 182, "Alter-ExternalName-dbms_lob_append (clob,lvarchar)",
  3083. "%SYSBLDUSER%",
  3084. 6, "dbms_lob_append (clob,lvarchar)",
  3085. "%SYSBLDUSER%"
  3086. );
  3087. insert into sysbldobjects
  3088. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3089. create_can_fail, drop_sql, drop_can_fail)
  3090. values
  3091. (
  3092. "%SYSBLDNAME%", 86, "Alter-Variant-dbms_lob_append (clob,lvarchar)",
  3093. "%SYSBLDUSER%", 0,
  3094. "alter procedure dbms_lob_append (clob,lvarchar)
  3095. with (add not variant);
  3096. ",
  3097. "f",
  3098. "alter procedure dbms_lob_append (clob,lvarchar)
  3099. with (drop not variant);
  3100. ",
  3101. "f"
  3102. );
  3103. insert into sysbldobjdepends
  3104. (
  3105. bld_id,
  3106. obj_kind,
  3107. obj_signature,
  3108. obj_owner,
  3109. need_obj_kind,
  3110. need_obj_signature,
  3111. need_obj_owner)
  3112. values
  3113. (
  3114. "%SYSBLDNAME%",
  3115. 86, "Alter-Variant-dbms_lob_append (clob,lvarchar)",
  3116. "%SYSBLDUSER%",
  3117. 6, "dbms_lob_append (clob,lvarchar)",
  3118. "%SYSBLDUSER%"
  3119. );
  3120. insert into sysbldobjects
  3121. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3122. create_can_fail, drop_sql, drop_can_fail)
  3123. values
  3124. (
  3125. "%SYSBLDNAME%", 70, "dbms_lob_append (clob,lvarchar)",
  3126. "%SYSBLDUSER%", 0,
  3127. "grant execute on procedure dbms_lob_append (clob,lvarchar) to public;
  3128. ",
  3129. "f",
  3130. "",
  3131. "f"
  3132. );
  3133. insert into sysbldobjdepends
  3134. (
  3135. bld_id,
  3136. obj_kind,
  3137. obj_signature,
  3138. obj_owner,
  3139. need_obj_kind,
  3140. need_obj_signature,
  3141. need_obj_owner)
  3142. values
  3143. (
  3144. "%SYSBLDNAME%",
  3145. 70, "dbms_lob_append (clob,lvarchar)",
  3146. "%SYSBLDUSER%",
  3147. 6, "dbms_lob_append (clob,lvarchar)",
  3148. "%SYSBLDUSER%"
  3149. );
  3150. insert into sysbldobjects
  3151. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3152. create_can_fail, drop_sql, drop_can_fail)
  3153. values
  3154. (
  3155. "%SYSBLDNAME%", 5, "dbms_lob_compare (clob,clob,integer,integer,integer)",
  3156. "%SYSBLDUSER%", 0,
  3157. "create function dbms_lob_compare (clob,clob,integer default 2147483647,integer default 1,integer default 1)
  3158. returns integer
  3159. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_compare)"" language c;
  3160. ",
  3161. "f",
  3162. "drop function dbms_lob_compare (clob,clob,integer,integer,integer);
  3163. ",
  3164. "f"
  3165. );
  3166. insert into sysbldobjects
  3167. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3168. create_can_fail, drop_sql, drop_can_fail)
  3169. values
  3170. (
  3171. "%SYSBLDNAME%", 181, "Alter-ExternalName-dbms_lob_compare (clob,clob,integer,integer,integer)",
  3172. "%SYSBLDUSER%", 0,
  3173. "alter function dbms_lob_compare (clob,clob,integer,integer,integer)
  3174. with (Modify External Name = ""$INFORMIXDIR/extend/%SYSBLDDIR%/excompat.bld(dbms_lob_compare)"");
  3175. ",
  3176. "f",
  3177. "alter function dbms_lob_compare (clob,clob,integer,integer,integer)
  3178. with (Modify External Name = ""dbms_lob_compare"");
  3179. ",
  3180. "f"
  3181. );
  3182. insert into sysbldobjdepends
  3183. (
  3184. bld_id,
  3185. obj_kind,
  3186. obj_signature,
  3187. obj_owner,
  3188. need_obj_kind,
  3189. need_obj_signature,
  3190. need_obj_owner)
  3191. values
  3192. (
  3193. "%SYSBLDNAME%",
  3194. 181, "Alter-ExternalName-dbms_lob_compare (clob,clob,integer,integer,integer)",
  3195. "%SYSBLDUSER%",
  3196. 5, "dbms_lob_compare (clob,clob,integer,integer,integer)",
  3197. "%SYSBLDUSER%"
  3198. );
  3199. insert into sysbldobjects
  3200. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3201. create_can_fail, drop_sql, drop_can_fail)
  3202. values
  3203. (
  3204. "%SYSBLDNAME%", 69, "dbms_lob_compare (clob,clob,integer,integer,integer)",
  3205. "%SYSBLDUSER%", 0,
  3206. "grant execute on function dbms_lob_compare (clob,clob,integer,integer,integer) to public;
  3207. ",
  3208. "f",
  3209. "",
  3210. "f"
  3211. );
  3212. insert into sysbldobjdepends
  3213. (
  3214. bld_id,
  3215. obj_kind,
  3216. obj_signature,
  3217. obj_owner,
  3218. need_obj_kind,
  3219. need_obj_signature,
  3220. need_obj_owner)
  3221. values
  3222. (
  3223. "%SYSBLDNAME%",
  3224. 69, "dbms_lob_compare (clob,clob,integer,integer,integer)",
  3225. "%SYSBLDUSER%",
  3226. 5, "dbms_lob_compare (clob,clob,integer,integer,integer)",
  3227. "%SYSBLDUSER%"
  3228. );
  3229. insert into sysbldobjects
  3230. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3231. create_can_fail, drop_sql, drop_can_fail)
  3232. values
  3233. (
  3234. "%SYSBLDNAME%", 6, "dbms_alert_register (lvarchar)",
  3235. "%SYSBLDUSER%", 0,
  3236. "create procedure dbms_alert_register (name lvarchar)
  3237. define evid integer;
  3238. let evid = DBMS_ALERT_GET_EVENT_ID(name);
  3239. insert into DBMS_ALERT_REGISTERED values (DBINFO('sessionid'), evid);
  3240. end procedure;
  3241. ",
  3242. "f",
  3243. "drop procedure dbms_alert_register (lvarchar);
  3244. ",
  3245. "f"
  3246. );
  3247. insert into sysbldobjects
  3248. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3249. create_can_fail, drop_sql, drop_can_fail)
  3250. values
  3251. (
  3252. "%SYSBLDNAME%", 70, "dbms_alert_register (lvarchar)",
  3253. "%SYSBLDUSER%", 0,
  3254. "grant execute on procedure dbms_alert_register (lvarchar) to public;
  3255. ",
  3256. "f",
  3257. "",
  3258. "f"
  3259. );
  3260. insert into sysbldobjdepends
  3261. (
  3262. bld_id,
  3263. obj_kind,
  3264. obj_signature,
  3265. obj_owner,
  3266. need_obj_kind,
  3267. need_obj_signature,
  3268. need_obj_owner)
  3269. values
  3270. (
  3271. "%SYSBLDNAME%",
  3272. 70, "dbms_alert_register (lvarchar)",
  3273. "%SYSBLDUSER%",
  3274. 6, "dbms_alert_register (lvarchar)",
  3275. "%SYSBLDUSER%"
  3276. );
  3277. insert into sysbldobjects
  3278. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3279. create_can_fail, drop_sql, drop_can_fail)
  3280. values
  3281. (
  3282. "%SYSBLDNAME%", 5, "dbms_alert_get_event_id (lvarchar)",
  3283. "%SYSBLDUSER%", 0,
  3284. "create function dbms_alert_get_event_id (name lvarchar)
  3285. returns integer
  3286. define evid integer;
  3287. select event_id into evid from DBMS_ALERT_EVENTS
  3288. where name = event_name;
  3289. if evid IS NULL then
  3290. insert into DBMS_ALERT_EVENTS(event_name) values (name);
  3291. let evid = DBINFO('sqlca.sqlerrd1');
  3292. end if;
  3293. return evid;
  3294. end function;
  3295. ",
  3296. "f",
  3297. "drop function dbms_alert_get_event_id (lvarchar);
  3298. ",
  3299. "f"
  3300. );
  3301. insert into sysbldobjects
  3302. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3303. create_can_fail, drop_sql, drop_can_fail)
  3304. values
  3305. (
  3306. "%SYSBLDNAME%", 69, "dbms_alert_get_event_id (lvarchar)",
  3307. "%SYSBLDUSER%", 0,
  3308. "grant execute on function dbms_alert_get_event_id (lvarchar) to public;
  3309. ",
  3310. "f",
  3311. "",
  3312. "f"
  3313. );
  3314. insert into sysbldobjdepends
  3315. (
  3316. bld_id,
  3317. obj_kind,
  3318. obj_signature,
  3319. obj_owner,
  3320. need_obj_kind,
  3321. need_obj_signature,
  3322. need_obj_owner)
  3323. values
  3324. (
  3325. "%SYSBLDNAME%",
  3326. 69, "dbms_alert_get_event_id (lvarchar)",
  3327. "%SYSBLDUSER%",
  3328. 5, "dbms_alert_get_event_id (lvarchar)",
  3329. "%SYSBLDUSER%"
  3330. );
  3331. insert into sysbldobjects
  3332. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3333. create_can_fail, drop_sql, drop_can_fail)
  3334. values
  3335. (
  3336. "%SYSBLDNAME%", 6, "dbms_alert_remove (lvarchar)",
  3337. "%SYSBLDUSER%", 0,
  3338. "create procedure dbms_alert_remove (name lvarchar)
  3339. define evid integer;
  3340. define sesid integer;
  3341. let evid = DBMS_ALERT_GET_EVENT_ID(name);
  3342. let sesid = DBINFO('sessionid');
  3343. delete from DBMS_ALERT_REGISTERED where
  3344. (session_id = sesid AND event_id = evid);
  3345. delete from DBMS_ALERT_SIGNALED where
  3346. (session_id = sesid AND event_id = evid);
  3347. end procedure;
  3348. ",
  3349. "f",
  3350. "drop procedure dbms_alert_remove (lvarchar);
  3351. ",
  3352. "f"
  3353. );
  3354. insert into sysbldobjects
  3355. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3356. create_can_fail, drop_sql, drop_can_fail)
  3357. values
  3358. (
  3359. "%SYSBLDNAME%", 70, "dbms_alert_remove (lvarchar)",
  3360. "%SYSBLDUSER%", 0,
  3361. "grant execute on procedure dbms_alert_remove (lvarchar) to public;
  3362. ",
  3363. "f",
  3364. "",
  3365. "f"
  3366. );
  3367. insert into sysbldobjdepends
  3368. (
  3369. bld_id,
  3370. obj_kind,
  3371. obj_signature,
  3372. obj_owner,
  3373. need_obj_kind,
  3374. need_obj_signature,
  3375. need_obj_owner)
  3376. values
  3377. (
  3378. "%SYSBLDNAME%",
  3379. 70, "dbms_alert_remove (lvarchar)",
  3380. "%SYSBLDUSER%",
  3381. 6, "dbms_alert_remove (lvarchar)",
  3382. "%SYSBLDUSER%"
  3383. );
  3384. insert into sysbldobjects
  3385. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3386. create_can_fail, drop_sql, drop_can_fail)
  3387. values
  3388. (
  3389. "%SYSBLDNAME%", 6, "dbms_alert_removeall ()",
  3390. "%SYSBLDUSER%", 0,
  3391. "create procedure dbms_alert_removeall ()
  3392. define sesid integer;
  3393. let sesid = DBINFO('sessionid');
  3394. delete from DBMS_ALERT_REGISTERED where
  3395. (session_id = sesid);
  3396. delete from DBMS_ALERT_SIGNALED where
  3397. (session_id = sesid);
  3398. end procedure;
  3399. ",
  3400. "f",
  3401. "drop procedure dbms_alert_removeall ();
  3402. ",
  3403. "f"
  3404. );
  3405. insert into sysbldobjects
  3406. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3407. create_can_fail, drop_sql, drop_can_fail)
  3408. values
  3409. (
  3410. "%SYSBLDNAME%", 70, "dbms_alert_removeall ()",
  3411. "%SYSBLDUSER%", 0,
  3412. "grant execute on procedure dbms_alert_removeall () to public;
  3413. ",
  3414. "f",
  3415. "",
  3416. "f"
  3417. );
  3418. insert into sysbldobjdepends
  3419. (
  3420. bld_id,
  3421. obj_kind,
  3422. obj_signature,
  3423. obj_owner,
  3424. need_obj_kind,
  3425. need_obj_signature,
  3426. need_obj_owner)
  3427. values
  3428. (
  3429. "%SYSBLDNAME%",
  3430. 70, "dbms_alert_removeall ()",
  3431. "%SYSBLDUSER%",
  3432. 6, "dbms_alert_removeall ()",
  3433. "%SYSBLDUSER%"
  3434. );
  3435. insert into sysbldobjects
  3436. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3437. create_can_fail, drop_sql, drop_can_fail)
  3438. values
  3439. (
  3440. "%SYSBLDNAME%", 6, "dbms_alert_set_defaults (integer)",
  3441. "%SYSBLDUSER%", 0,
  3442. "create procedure dbms_alert_set_defaults (sensitivity integer)
  3443. define global poll_interval INTEGER DEFAULT 1;
  3444. let poll_interval = sensitivity;
  3445. end procedure;
  3446. ",
  3447. "f",
  3448. "drop procedure dbms_alert_set_defaults (integer);
  3449. ",
  3450. "f"
  3451. );
  3452. insert into sysbldobjects
  3453. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3454. create_can_fail, drop_sql, drop_can_fail)
  3455. values
  3456. (
  3457. "%SYSBLDNAME%", 70, "dbms_alert_set_defaults (integer)",
  3458. "%SYSBLDUSER%", 0,
  3459. "grant execute on procedure dbms_alert_set_defaults (integer) to public;
  3460. ",
  3461. "f",
  3462. "",
  3463. "f"
  3464. );
  3465. insert into sysbldobjdepends
  3466. (
  3467. bld_id,
  3468. obj_kind,
  3469. obj_signature,
  3470. obj_owner,
  3471. need_obj_kind,
  3472. need_obj_signature,
  3473. need_obj_owner)
  3474. values
  3475. (
  3476. "%SYSBLDNAME%",
  3477. 70, "dbms_alert_set_defaults (integer)",
  3478. "%SYSBLDUSER%",
  3479. 6, "dbms_alert_set_defaults (integer)",
  3480. "%SYSBLDUSER%"
  3481. );
  3482. insert into sysbldobjects
  3483. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3484. create_can_fail, drop_sql, drop_can_fail)
  3485. values
  3486. (
  3487. "%SYSBLDNAME%", 5, "dbms_alert_get_defaults ()",
  3488. "%SYSBLDUSER%", 0,
  3489. "create function dbms_alert_get_defaults ()
  3490. returns integer
  3491. define global poll_interval INTEGER DEFAULT 1;
  3492. return poll_interval;
  3493. end function;
  3494. ",
  3495. "f",
  3496. "drop function dbms_alert_get_defaults ();
  3497. ",
  3498. "f"
  3499. );
  3500. insert into sysbldobjects
  3501. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3502. create_can_fail, drop_sql, drop_can_fail)
  3503. values
  3504. (
  3505. "%SYSBLDNAME%", 69, "dbms_alert_get_defaults ()",
  3506. "%SYSBLDUSER%", 0,
  3507. "grant execute on function dbms_alert_get_defaults () to public;
  3508. ",
  3509. "f",
  3510. "",
  3511. "f"
  3512. );
  3513. insert into sysbldobjdepends
  3514. (
  3515. bld_id,
  3516. obj_kind,
  3517. obj_signature,
  3518. obj_owner,
  3519. need_obj_kind,
  3520. need_obj_signature,
  3521. need_obj_owner)
  3522. values
  3523. (
  3524. "%SYSBLDNAME%",
  3525. 69, "dbms_alert_get_defaults ()",
  3526. "%SYSBLDUSER%",
  3527. 5, "dbms_alert_get_defaults ()",
  3528. "%SYSBLDUSER%"
  3529. );
  3530. insert into sysbldobjects
  3531. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3532. create_can_fail, drop_sql, drop_can_fail)
  3533. values
  3534. (
  3535. "%SYSBLDNAME%", 6, "dbms_alert_signal (lvarchar,lvarchar)",
  3536. "%SYSBLDUSER%", 0,
  3537. "create procedure dbms_alert_signal (name lvarchar,message lvarchar)
  3538. define evid integer;
  3539. define cnt integer;
  3540. define signal_time DATETIME year to second;
  3541. let evid = DBMS_ALERT_GET_EVENT_ID(name);
  3542. if evid IS NOT NULL THEN
  3543. let signal_time = CURRENT;
  3544. insert into DBMS_ALERT_SIGNALED
  3545. select evid, session_id, signal_time, message
  3546. from DBMS_ALERT_REGISTERED where (evid = event_id);
  3547. end if;
  3548. end procedure;
  3549. ",
  3550. "f",
  3551. "drop procedure dbms_alert_signal (lvarchar,lvarchar);
  3552. ",
  3553. "f"
  3554. );
  3555. insert into sysbldobjects
  3556. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3557. create_can_fail, drop_sql, drop_can_fail)
  3558. values
  3559. (
  3560. "%SYSBLDNAME%", 70, "dbms_alert_signal (lvarchar,lvarchar)",
  3561. "%SYSBLDUSER%", 0,
  3562. "grant execute on procedure dbms_alert_signal (lvarchar,lvarchar) to public;
  3563. ",
  3564. "f",
  3565. "",
  3566. "f"
  3567. );
  3568. insert into sysbldobjdepends
  3569. (
  3570. bld_id,
  3571. obj_kind,
  3572. obj_signature,
  3573. obj_owner,
  3574. need_obj_kind,
  3575. need_obj_signature,
  3576. need_obj_owner)
  3577. values
  3578. (
  3579. "%SYSBLDNAME%",
  3580. 70, "dbms_alert_signal (lvarchar,lvarchar)",
  3581. "%SYSBLDUSER%",
  3582. 6, "dbms_alert_signal (lvarchar,lvarchar)",
  3583. "%SYSBLDUSER%"
  3584. );
  3585. insert into sysbldobjects
  3586. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3587. create_can_fail, drop_sql, drop_can_fail)
  3588. values
  3589. (
  3590. "%SYSBLDNAME%", 6, "dbms_alert_waitone (lvarchar,lvarchar,integer,integer)",
  3591. "%SYSBLDUSER%", 0,
  3592. "create procedure dbms_alert_waitone (name lvarchar,out message lvarchar,out status integer,timeout integer default 86400)
  3593. define global poll_interval INTEGER DEFAULT 1;
  3594. define evid integer;
  3595. define sesid integer;
  3596. define cnt integer;
  3597. define sig_time DATETIME year to second;
  3598. define yet integer;
  3599. let sesid = DBINFO('sessionid');
  3600. let evid = DBMS_ALERT_GET_EVENT_ID(name);
  3601. let status = 2;
  3602. if evid IS NOT NULL THEN
  3603. let status = 1;
  3604. let sesid = DBINFO('sessionid');
  3605. let yet = timeout;
  3606. LOOP
  3607. select count(alert_msg),MAX(signal_time) into cnt,sig_time from DBMS_ALERT_SIGNALED
  3608. where (evid = event_id AND sesid = session_id);
  3609. if cnt > 0 then
  3610. foreach sig_cursor for
  3611. select alert_msg into message from DBMS_ALERT_SIGNALED
  3612. where (evid = event_id AND sesid = session_id AND signal_time = sig_time)
  3613. delete from DBMS_ALERT_SIGNALED
  3614. where current of sig_cursor;
  3615. end foreach;
  3616. let status = 0;
  3617. exit loop;
  3618. elif yet > 0 then
  3619. call DBMS_ALERT_WAIT(poll_interval);
  3620. let yet = yet - poll_interval;
  3621. else
  3622. exit loop;
  3623. end if;
  3624. end loop;
  3625. end if;
  3626. end procedure;
  3627. ",
  3628. "f",
  3629. "drop procedure dbms_alert_waitone (lvarchar,lvarchar,integer,integer);
  3630. ",
  3631. "f"
  3632. );
  3633. insert into sysbldobjects
  3634. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3635. create_can_fail, drop_sql, drop_can_fail)
  3636. values
  3637. (
  3638. "%SYSBLDNAME%", 70, "dbms_alert_waitone (lvarchar,lvarchar,integer,integer)",
  3639. "%SYSBLDUSER%", 0,
  3640. "grant execute on procedure dbms_alert_waitone (lvarchar,lvarchar,integer,integer) to public;
  3641. ",
  3642. "f",
  3643. "",
  3644. "f"
  3645. );
  3646. insert into sysbldobjdepends
  3647. (
  3648. bld_id,
  3649. obj_kind,
  3650. obj_signature,
  3651. obj_owner,
  3652. need_obj_kind,
  3653. need_obj_signature,
  3654. need_obj_owner)
  3655. values
  3656. (
  3657. "%SYSBLDNAME%",
  3658. 70, "dbms_alert_waitone (lvarchar,lvarchar,integer,integer)",
  3659. "%SYSBLDUSER%",
  3660. 6, "dbms_alert_waitone (lvarchar,lvarchar,integer,integer)",
  3661. "%SYSBLDUSER%"
  3662. );
  3663. insert into sysbldobjects
  3664. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3665. create_can_fail, drop_sql, drop_can_fail)
  3666. values
  3667. (
  3668. "%SYSBLDNAME%", 6, "dbms_alert_waitany (lvarchar,lvarchar,integer,integer)",
  3669. "%SYSBLDUSER%", 0,
  3670. "create procedure dbms_alert_waitany (out name lvarchar,out message lvarchar,out status integer,timeout integer default 86400)
  3671. define global poll_interval INTEGER DEFAULT 1;
  3672. define evid integer;
  3673. define sesid integer;
  3674. define cnt integer;
  3675. define sig_time DATETIME year to second;
  3676. define yet integer;
  3677. let sesid = DBINFO('sessionid');
  3678. let name = NULL;
  3679. let status = 1;
  3680. let sesid = DBINFO('sessionid');
  3681. let yet = timeout;
  3682. LOOP
  3683. select count(alert_msg),MAX(signal_time) into cnt,sig_time from DBMS_ALERT_SIGNALED
  3684. where (sesid = session_id);
  3685. if cnt > 0 then
  3686. begin work;
  3687. foreach sig_cursor for
  3688. select alert_msg, event_id into message, evid
  3689. from DBMS_ALERT_SIGNALED
  3690. where (sesid = session_id AND signal_time = sig_time)
  3691. delete from DBMS_ALERT_SIGNALED
  3692. where current of sig_cursor;
  3693. select event_name into name
  3694. from DBMS_ALERT_EVENTS
  3695. where evid = event_id;
  3696. end foreach;
  3697. commit work;
  3698. let status = 0;
  3699. exit loop;
  3700. elif yet > 0 then
  3701. call DBMS_ALERT_WAIT(poll_interval);
  3702. let yet = yet - poll_interval;
  3703. else
  3704. exit loop;
  3705. end if;
  3706. end loop;
  3707. end procedure;
  3708. ",
  3709. "f",
  3710. "drop procedure dbms_alert_waitany (lvarchar,lvarchar,integer,integer);
  3711. ",
  3712. "f"
  3713. );
  3714. insert into sysbldobjects
  3715. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3716. create_can_fail, drop_sql, drop_can_fail)
  3717. values
  3718. (
  3719. "%SYSBLDNAME%", 70, "dbms_alert_waitany (lvarchar,lvarchar,integer,integer)",
  3720. "%SYSBLDUSER%", 0,
  3721. "grant execute on procedure dbms_alert_waitany (lvarchar,lvarchar,integer,integer) to public;
  3722. ",
  3723. "f",
  3724. "",
  3725. "f"
  3726. );
  3727. insert into sysbldobjdepends
  3728. (
  3729. bld_id,
  3730. obj_kind,
  3731. obj_signature,
  3732. obj_owner,
  3733. need_obj_kind,
  3734. need_obj_signature,
  3735. need_obj_owner)
  3736. values
  3737. (
  3738. "%SYSBLDNAME%",
  3739. 70, "dbms_alert_waitany (lvarchar,lvarchar,integer,integer)",
  3740. "%SYSBLDUSER%",
  3741. 6, "dbms_alert_waitany (lvarchar,lvarchar,integer,integer)",
  3742. "%SYSBLDUSER%"
  3743. );
  3744. insert into sysbldobjects
  3745. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3746. create_can_fail, drop_sql, drop_can_fail)
  3747. values
  3748. (
  3749. "%SYSBLDNAME%", 6, "dbms_alert_wait (integer)",
  3750. "%SYSBLDUSER%", 0,
  3751. "create procedure dbms_alert_wait (integer default 1)
  3752. external name ""(mt_yield)"" language c;
  3753. ",
  3754. "f",
  3755. "drop procedure dbms_alert_wait (integer);
  3756. ",
  3757. "f"
  3758. );
  3759. insert into sysbldobjects
  3760. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3761. create_can_fail, drop_sql, drop_can_fail)
  3762. values
  3763. (
  3764. "%SYSBLDNAME%", 182, "Alter-ExternalName-dbms_alert_wait (integer)",
  3765. "%SYSBLDUSER%", 0,
  3766. "alter procedure dbms_alert_wait (integer)
  3767. with (Modify External Name = ""(mt_yield)"");
  3768. ",
  3769. "f",
  3770. "alter procedure dbms_alert_wait (integer)
  3771. with (Modify External Name = ""mt_yield"");
  3772. ",
  3773. "f"
  3774. );
  3775. insert into sysbldobjdepends
  3776. (
  3777. bld_id,
  3778. obj_kind,
  3779. obj_signature,
  3780. obj_owner,
  3781. need_obj_kind,
  3782. need_obj_signature,
  3783. need_obj_owner)
  3784. values
  3785. (
  3786. "%SYSBLDNAME%",
  3787. 182, "Alter-ExternalName-dbms_alert_wait (integer)",
  3788. "%SYSBLDUSER%",
  3789. 6, "dbms_alert_wait (integer)",
  3790. "%SYSBLDUSER%"
  3791. );
  3792. insert into sysbldobjects
  3793. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3794. create_can_fail, drop_sql, drop_can_fail)
  3795. values
  3796. (
  3797. "%SYSBLDNAME%", 70, "dbms_alert_wait (integer)",
  3798. "%SYSBLDUSER%", 0,
  3799. "grant execute on procedure dbms_alert_wait (integer) to public;
  3800. ",
  3801. "f",
  3802. "",
  3803. "f"
  3804. );
  3805. insert into sysbldobjdepends
  3806. (
  3807. bld_id,
  3808. obj_kind,
  3809. obj_signature,
  3810. obj_owner,
  3811. need_obj_kind,
  3812. need_obj_signature,
  3813. need_obj_owner)
  3814. values
  3815. (
  3816. "%SYSBLDNAME%",
  3817. 70, "dbms_alert_wait (integer)",
  3818. "%SYSBLDUSER%",
  3819. 6, "dbms_alert_wait (integer)",
  3820. "%SYSBLDUSER%"
  3821. );
  3822. insert into sysbldobjects
  3823. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3824. create_can_fail, drop_sql, drop_can_fail)
  3825. values
  3826. (
  3827. "%SYSBLDNAME%", 6, "dbms_random_initialize (integer)",
  3828. "%SYSBLDUSER%", 0,
  3829. "create procedure dbms_random_initialize (seed integer)
  3830. define global XI bigint default 0;
  3831. let XI = seed * 4294967296;
  3832. end procedure;
  3833. ",
  3834. "f",
  3835. "drop procedure dbms_random_initialize (integer);
  3836. ",
  3837. "f"
  3838. );
  3839. insert into sysbldobjects
  3840. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3841. create_can_fail, drop_sql, drop_can_fail)
  3842. values
  3843. (
  3844. "%SYSBLDNAME%", 70, "dbms_random_initialize (integer)",
  3845. "%SYSBLDUSER%", 0,
  3846. "grant execute on procedure dbms_random_initialize (integer) to public;
  3847. ",
  3848. "f",
  3849. "",
  3850. "f"
  3851. );
  3852. insert into sysbldobjdepends
  3853. (
  3854. bld_id,
  3855. obj_kind,
  3856. obj_signature,
  3857. obj_owner,
  3858. need_obj_kind,
  3859. need_obj_signature,
  3860. need_obj_owner)
  3861. values
  3862. (
  3863. "%SYSBLDNAME%",
  3864. 70, "dbms_random_initialize (integer)",
  3865. "%SYSBLDUSER%",
  3866. 6, "dbms_random_initialize (integer)",
  3867. "%SYSBLDUSER%"
  3868. );
  3869. insert into sysbldobjects
  3870. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3871. create_can_fail, drop_sql, drop_can_fail)
  3872. values
  3873. (
  3874. "%SYSBLDNAME%", 6, "dbms_random_seed (integer)",
  3875. "%SYSBLDUSER%", 0,
  3876. "create procedure dbms_random_seed (seed integer)
  3877. define global XI bigint default 0;
  3878. let XI = seed * 4294967296;
  3879. end procedure;
  3880. ",
  3881. "f",
  3882. "drop procedure dbms_random_seed (integer);
  3883. ",
  3884. "f"
  3885. );
  3886. insert into sysbldobjects
  3887. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3888. create_can_fail, drop_sql, drop_can_fail)
  3889. values
  3890. (
  3891. "%SYSBLDNAME%", 70, "dbms_random_seed (integer)",
  3892. "%SYSBLDUSER%", 0,
  3893. "grant execute on procedure dbms_random_seed (integer) to public;
  3894. ",
  3895. "f",
  3896. "",
  3897. "f"
  3898. );
  3899. insert into sysbldobjdepends
  3900. (
  3901. bld_id,
  3902. obj_kind,
  3903. obj_signature,
  3904. obj_owner,
  3905. need_obj_kind,
  3906. need_obj_signature,
  3907. need_obj_owner)
  3908. values
  3909. (
  3910. "%SYSBLDNAME%",
  3911. 70, "dbms_random_seed (integer)",
  3912. "%SYSBLDUSER%",
  3913. 6, "dbms_random_seed (integer)",
  3914. "%SYSBLDUSER%"
  3915. );
  3916. insert into sysbldobjects
  3917. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3918. create_can_fail, drop_sql, drop_can_fail)
  3919. values
  3920. (
  3921. "%SYSBLDNAME%", 5, "dbms_random_random ()",
  3922. "%SYSBLDUSER%", 0,
  3923. "create function dbms_random_random ()
  3924. returns integer
  3925. define global XI bigint default 0;
  3926. if XI = 0 then
  3927. let XI = 8589934592;
  3928. end if;
  3929. return dbms_random_jrand48(XI);
  3930. end function;
  3931. ",
  3932. "f",
  3933. "drop function dbms_random_random ();
  3934. ",
  3935. "f"
  3936. );
  3937. insert into sysbldobjects
  3938. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3939. create_can_fail, drop_sql, drop_can_fail)
  3940. values
  3941. (
  3942. "%SYSBLDNAME%", 69, "dbms_random_random ()",
  3943. "%SYSBLDUSER%", 0,
  3944. "grant execute on function dbms_random_random () to public;
  3945. ",
  3946. "f",
  3947. "",
  3948. "f"
  3949. );
  3950. insert into sysbldobjdepends
  3951. (
  3952. bld_id,
  3953. obj_kind,
  3954. obj_signature,
  3955. obj_owner,
  3956. need_obj_kind,
  3957. need_obj_signature,
  3958. need_obj_owner)
  3959. values
  3960. (
  3961. "%SYSBLDNAME%",
  3962. 69, "dbms_random_random ()",
  3963. "%SYSBLDUSER%",
  3964. 5, "dbms_random_random ()",
  3965. "%SYSBLDUSER%"
  3966. );
  3967. insert into sysbldobjects
  3968. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3969. create_can_fail, drop_sql, drop_can_fail)
  3970. values
  3971. (
  3972. "%SYSBLDNAME%", 6, "dbms_random_terminate ()",
  3973. "%SYSBLDUSER%", 0,
  3974. "create procedure dbms_random_terminate ()
  3975. define global XI bigint default 0;
  3976. let XI = 0;
  3977. end procedure;
  3978. ",
  3979. "f",
  3980. "drop procedure dbms_random_terminate ();
  3981. ",
  3982. "f"
  3983. );
  3984. insert into sysbldobjects
  3985. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  3986. create_can_fail, drop_sql, drop_can_fail)
  3987. values
  3988. (
  3989. "%SYSBLDNAME%", 70, "dbms_random_terminate ()",
  3990. "%SYSBLDUSER%", 0,
  3991. "grant execute on procedure dbms_random_terminate () to public;
  3992. ",
  3993. "f",
  3994. "",
  3995. "f"
  3996. );
  3997. insert into sysbldobjdepends
  3998. (
  3999. bld_id,
  4000. obj_kind,
  4001. obj_signature,
  4002. obj_owner,
  4003. need_obj_kind,
  4004. need_obj_signature,
  4005. need_obj_owner)
  4006. values
  4007. (
  4008. "%SYSBLDNAME%",
  4009. 70, "dbms_random_terminate ()",
  4010. "%SYSBLDUSER%",
  4011. 6, "dbms_random_terminate ()",
  4012. "%SYSBLDUSER%"
  4013. );
  4014. insert into sysbldobjects
  4015. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4016. create_can_fail, drop_sql, drop_can_fail)
  4017. values
  4018. (
  4019. "%SYSBLDNAME%", 5, "dbms_random_jrand48 (bigint)",
  4020. "%SYSBLDUSER%", 0,
  4021. "create function dbms_random_jrand48 (inout bigint)
  4022. returns integer
  4023. external name ""(jrand48)"" language c;
  4024. ",
  4025. "f",
  4026. "drop function dbms_random_jrand48 (bigint);
  4027. ",
  4028. "f"
  4029. );
  4030. insert into sysbldobjects
  4031. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4032. create_can_fail, drop_sql, drop_can_fail)
  4033. values
  4034. (
  4035. "%SYSBLDNAME%", 181, "Alter-ExternalName-dbms_random_jrand48 (bigint)",
  4036. "%SYSBLDUSER%", 0,
  4037. "alter function dbms_random_jrand48 (bigint)
  4038. with (Modify External Name = ""(jrand48)"");
  4039. ",
  4040. "f",
  4041. "alter function dbms_random_jrand48 (bigint)
  4042. with (Modify External Name = ""jrand48"");
  4043. ",
  4044. "f"
  4045. );
  4046. insert into sysbldobjdepends
  4047. (
  4048. bld_id,
  4049. obj_kind,
  4050. obj_signature,
  4051. obj_owner,
  4052. need_obj_kind,
  4053. need_obj_signature,
  4054. need_obj_owner)
  4055. values
  4056. (
  4057. "%SYSBLDNAME%",
  4058. 181, "Alter-ExternalName-dbms_random_jrand48 (bigint)",
  4059. "%SYSBLDUSER%",
  4060. 5, "dbms_random_jrand48 (bigint)",
  4061. "%SYSBLDUSER%"
  4062. );
  4063. insert into sysbldobjects
  4064. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4065. create_can_fail, drop_sql, drop_can_fail)
  4066. values
  4067. (
  4068. "%SYSBLDNAME%", 55, "Alter-HandleNul-dbms_random_jrand48 (bigint)",
  4069. "%SYSBLDUSER%", 0,
  4070. "alter function dbms_random_jrand48 (bigint)
  4071. with (add handlesnulls);
  4072. ",
  4073. "f",
  4074. "alter function dbms_random_jrand48 (bigint)
  4075. with (drop handlesnulls);
  4076. ",
  4077. "f"
  4078. );
  4079. insert into sysbldobjdepends
  4080. (
  4081. bld_id,
  4082. obj_kind,
  4083. obj_signature,
  4084. obj_owner,
  4085. need_obj_kind,
  4086. need_obj_signature,
  4087. need_obj_owner)
  4088. values
  4089. (
  4090. "%SYSBLDNAME%",
  4091. 55, "Alter-HandleNul-dbms_random_jrand48 (bigint)",
  4092. "%SYSBLDUSER%",
  4093. 5, "dbms_random_jrand48 (bigint)",
  4094. "%SYSBLDUSER%"
  4095. );
  4096. insert into sysbldobjects
  4097. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4098. create_can_fail, drop_sql, drop_can_fail)
  4099. values
  4100. (
  4101. "%SYSBLDNAME%", 69, "dbms_random_jrand48 (bigint)",
  4102. "%SYSBLDUSER%", 0,
  4103. "grant execute on function dbms_random_jrand48 (bigint) to public;
  4104. ",
  4105. "f",
  4106. "",
  4107. "f"
  4108. );
  4109. insert into sysbldobjdepends
  4110. (
  4111. bld_id,
  4112. obj_kind,
  4113. obj_signature,
  4114. obj_owner,
  4115. need_obj_kind,
  4116. need_obj_signature,
  4117. need_obj_owner)
  4118. values
  4119. (
  4120. "%SYSBLDNAME%",
  4121. 69, "dbms_random_jrand48 (bigint)",
  4122. "%SYSBLDUSER%",
  4123. 5, "dbms_random_jrand48 (bigint)",
  4124. "%SYSBLDUSER%"
  4125. );
  4126. insert into sysbldobjects
  4127. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  4128. create_can_fail, drop_sql, drop_can_fail)
  4129. values
  4130. (
  4131. "%SYSBLDNAME%", 0, "sysbldregistered",
  4132. "%SYSBLDUSER%", 0,
  4133. "insert into sysbldregistered
  4134. (bld_id)
  4135. values
  4136. (
  4137. ""%SYSBLDNAME%""
  4138. );
  4139. ",
  4140. "f",
  4141. "delete from sysbldregistered
  4142. where bld_id = ""%SYSBLDNAME%"";
  4143. ",
  4144. "f"
  4145. );