Welcome to Scribd!
Academic Documents
Professional Documents
Culture Documents
Hobbies & Crafts Documents
Personal Growth Documents
<805> ‘inf onnaet 6h G> <60S> ‘BOF? «805> <805> : 3, ESTRUCTURA DEL FORMATO MARC DE COMUNICACION. Leon ben ea), Lees Lider (earscteres 0-23) (0,0) 10,3) Ci0,2) -... c10,111 |] Paquetes de doce Garacteres eco) ery cetiay 2S etn || cirectorioy Pocuetes de inforneciéa store ton nareo de tin de rosistco Eas etiquetas son campos variables que contienen informacién de ‘Automat fzacién de la Seccién de Bibtiateca de a Coordinacien de Servicios de Infornaci48 4, DESCRIPCION DE ETIQUETA 008 - Pos. DESCRIPCION 0-05 | Fecha puesta en el archive 0% Tipo de cédigo de fecha CFP) or-10 | Fecha 1 mtg | Fecha 2 15-17 | Lugar de pubticacién pars) 18-19 | cédigo deforma de corposicién cFH) 18-20 | Tierpo de cabida pora pel fculas con moviniente y videograbaet ones 18-19 | cédigo de iCustracién (obsolete ¢ILUS) 20 Foreato de misica mnuscrita o aisica inace 2 Cédigo del contre 1506 20-25 Inder iniva 1 a En colecetén UC (obsolete? at Indetinido 2 Existencia de partes 2 Tipo de cédigo' serial z Cédigo de nivel intelectual 2 Cédige de medio Fico 22-20 | bdigo de elenentos de nape base , a Cédigo de forns de reproduccién FR) 23-27 | cédigo de material acarpafiance (HA) | 2 Cédigo de La naturaleza del. trabajo completo , 26-27 | cédigo de naturaleze de contenides ' 3 Cédigo del grupe de registro 25-27 | cédigo de La naturaleze de contenido % Tipo de miquina-archive do infornacién legible 27 Tipo de msquine 26-27 Ingetinido 2 Cédigo de publicacién qubernanental (PC) 2B Inteador de publ icactén de eonferenc i 46 11 | waterraL mupiovtsuat cna) 8 12 | T1Po DE waTERIAL cTh> 50 13 | puaLicactoues cusernameuracescecy 52 14 | conrenencra (cowF> 3 15 | woveLa a0 56 16 | sioczarta ceo) 58 a7 | 101m + a 13_| caracter a. ¢.2 Formato del archivo "CAMPVAR.AB" SUBCAMPO 1 INFORWACION m7 % cot cM aoe Pos. : 1 | xo. ve comma. |? | 00 - a6 2 | eriqvera 3 | 08-10 3 | noteapores 2 | & 5 wa. ¢.2 Formato del archivo "£901.AB" co. crwvo #0¢ pos. | posicion . 1 | wo. 0¢ covrace | 7 00 - 06 2 | woceowrnou-ab0 | & ost 3 | note wo. 18 15-2 | ¢.3 Formato del archivo "£S0.AB" cou 090 # ve vos. | _posicion 1 | wo, 0€ cornet | 7 00 - 06 2 | suscanro 1 07 - 08 3 | cuasiricxcton_| 30 09 = 38 18. Wasta el prinor ce bliotece de i Ue Coordinectén de Servicios de Inforacicn—— Apendice _D Estructura de la Base de Datos.APENDICE D 52 ESTRUCTURA DE LA BASE DE DATOS DEL MODULO DE BIBLIOTECA canPos F105 1e0. . UNERO_pE_cowTROL wum@eR 7) a ‘Harr 2 HARI) B HAR) v4 cRARCA) 6 Hak) ‘ioe xaR(S) FECHAO€_caPTURA DATE FECHA DE_PUBLCACION cxaRcty FECHAT. ‘SUMBERC4) FECHAg NUABERCS) PAIS ‘CHARS . Tuusreacioxes cates) FORWATO_DE MUSICA CHARS) ' FORHATO”DE”REPROOUCCION ChaRCYY MATEREAT.ACOHPANANTE cHaRc1) T1P0,DE AATERIAL cHaRct) PUBLICAEIONES_GUBEANANENTALES | CHAR(1) ‘CONFERENCIA NUMBERC 1) sOvELA NWBERC) (OGRAFIA Hart) rol cuaRc3) canes vaRtaBLes. 1 NUH CONTROL NoMBER(7> ETIQUETA NUMBER(S) ot CuARCHY 02, CrARCT) SUacaKPO CHART) INFORNATION =| cwanc25sy ‘Automat izacién ge la Seecién de Bibl ioteen Jo {a Coordinscién de Servicies de InformneténApéndice E Listados Completos: E.l Circulacién E.e Suspendidos E.38 Cat. de alumnos E.4 Cat. Publico E.o No adeudo E.6 Fecha devolucion ‘Astanattzacién feordinncign de. § Ge Le Secetén de gibt ior rvieios de lnformaclée54 APENDICE E. LISTADOS COMPLETOS E.1 FORMA DE CIRCULACION #21200 16 har 1992. DETAIL Report for application: cireul SSOLSFORNS V 3.00.14.01.01 os/o1c/1992 18:03, 15/mBR/1992 20:00 Version: V2.0 : : Autor Hector Rivera Madrid (HRM) & Ricardo Medino Gattorde (RG) Objetive : Realizer las operaciones del nostracor de prestane Trigger Name: oM-ER808 Style: V3 Hide: Yes ‘Comment: 13/FEB/1992 13:01 HRM Ceptura mensajes de error, traduciendo su contenido at espatot. ff message code = 40401 then bell? essage( La operacion ho sido registrada.'); elsif nessage_coce + S001 then bell? essage("El forato debe ser nunerico.'); display_error; wait Trigger Nome: XEY-EXIT Styles, 3 Wide: Yes ‘Conment: 16/MAR/1992. 13:05 RM Sale de la forma sin hecer votidacien del usuarie. + exit_form(NO_VALIDATED: Trigger None: XEY-LISTVAL Style: VB Hide: Yes ‘Comment: 16/MAR/1992_ 11:06 He fda el use de la tecla 'LISTVAL* Text: List_values; Trigger Name: KEY-WxTELD Style: WB Hider res omen: 16/0m8/1992 11:07 HA Valida et enpleo de la cects axtrio. Texts next_fields Trigger None: KEY-OTHERS styless¥3 nice: res ‘Conment: 16/MAR/ 1992. 11:08 HRN Evita et empleo de cuolquier otra tecla no definida previenente, texts Aull; Teloger Nane: KEY-STARTUP styler V3 Wfeer res Neyrns/ 1992 20:42 2G Prepare el encabezaco de La forma y estab! Feeho. ci. t18L0 CHRCULAGION select VIO into :circula.user_id fron duals : select Stsoare inte 8 las variables del sisters, Autonatizacion de la Seccién de Bibliat le Coordinacidn de Servicios de Informacién AN55 from sys.dual; i trad_fechatzslobot fecha, Procedure Wane: chk retraso 7 37FEB/i992 16232 Hee Regresa e( tetpo de retreso del ejenpler en diss ” PROCEDURE chk_retrasotretraso out number) is BEGIN " DECLARE fecha_devoiucton OATE; ulte NUMBER; begin Select FECKA_OEVOLUCION, MULTA inte fecha-devolucion, multe from cose) C1RCULA where VEL ejenplar ha sido entregado y cause multe! ): jela(*otra_aperacton’ FoR TRIGGER FAILURE: exception ‘hea, NO_OATA_FOUND then, belts rnessage( El ejenpiar no se encuentra prestado per el usuario!); go_field‘otra_operacton'); 32 FORM TRIGGER FAILURES ew; Procedure Wane: chkprestade 7 S/FEB/1992 15:32 HRM Checa que el ejenpler mo se encuentre an ta table de efreulacion y 31 este, que ya haya causedo mul a PROCEDURE chkprestedo(prestedo out BOOLEAN) is aEcIN DECLARE ‘multe MUNBER; CURSOR Libro_prestedo is select MIRIA begin Prestado := FALSE; ' ‘PEM UtBre_prested Looe FETCH Libro, prestade into multe; EXIT when Uibro_prestacoRQOTFOUND; ‘femal tae) then prestado += FALSE; = TRUE, CLOSE UTbro.prestado; EXCEPTION ‘Autonatizecién de lo Seecién de Biblioteca de ta Coordinacién de Servicios de Informnetén56 her HO_OATA_FOUND then prestaco := FALSE; 40; Procedure Mane: egresado 7 \4/FE6/1992 10:40 WR ny tide Gino elians no se encuentra en La table de aresates PROCEDURE egresadocusuario in CHAR) is Bec ‘select MATRICULA into :olobot AULL ‘fram COSE! EGRESADOS here teireula.usuario = HATRICULA; belts circuta.norbre estado += ‘ECRESADO! cireute.prestamo := 0; ExcETION ‘hen HO_OATA FOUND then HULL; 210; Procedure Name: Libros_veneidos 7 YajiaR/V992 10:51 Cheeo si el usuario tiene tibros vencidos © he rebesado el maxino de Libres. perniticos.. ” PROCEDURE Libros_vencidos is eciK L DECLARE ‘eanvencide BOOLEAN enkfeche DATE; cchkmst ta nuaee, Upros_prestades MUMGER i= 0; ax_eu_ (Toros. MUMBER += 4; ‘uaSoR checa_vercidos IS select FECHA DEVOLUCION, MULTA from COSEL-CIRCULA where USUARIO = :cireule.usvario; begin ‘OPEN cheea_vene doe: seircula.sax (bre Looe FETCH chece.vencides ITO chifecho, chkmuilta; EXIT when checa_vonc idosKAOTFOUNO; /#Fin de resistrost/ 0:7*valer por defectors bros prestaded:*libros pressadose1; ieCLibros_prestadosenax_fun_(ibres) then /*eaxino no. de Librost/ ‘ell; aessdge(Maxino de Libcos préstsdon: Solo puede devalver y renover! h r THCSYSDATE-ehkFeche> then fmessage( Tiere mules pendlentes'); ieireula.prestam } /*Termina con al wenos un Libra vencidot/ ELOSE chece_vencides; end; 0; Procedure Mane: Liapia_ejomplar PP SFEE/ 992 16:02 HR ‘Automat izacién de 19 seccién de eiblfotece do Le Ceordinacién de Servicios de Infermacién : AMA57 Linpia los dates dol ejenplar ” PROCEDURE Lispia_ejenplar is Becin cireula-run_adq 2 HULL; rule, titulo cireola.autor cireule.caleccion elasificseion utter edo_libre imutéa : ‘tipo_operacton := 50_field(‘nunada!); 4; Procedure Name: pon_fecho_devolueten 7 Sees /i992 16355 waa Restablece 1a fecha de devotucion en el compo fecho_devolueton + PROCEDURE pon_fecho_devolucion is Becin ‘cireula.techa devolucien := :globel fecha_cevolueion; £80; Procedure Name: req_devotucion PP iapmasi99e 11:08 Registra une transnccion de devalver un ejenplar en te teble ‘CHRCULACION i ” PROCEDURE reg_devolucion 1S : at) DECLARE Feteaso MBER sento SUMBER’ begin ‘hk, retraso(retraso); 14¢Zetraso)<1.0 then /tenteegs dentro de tierper/ delete from COSEI .cIRCULA where AUN ADO = ieireuta.mus_ ody ‘ond USUARIO = :cireulacusuaria; else ‘Update COSET.CIRCULA set FECHA eNTREC here MLABa = = 1000; /*nadi fear cuando canbie santo de multaty SSYSDATE, MULTAcnantoFretrase reula.nut_ad, H Update’ COSET NUM_CTL_ AD : Set EDO_LISROENUCT, FECHA DEYOLUCION=HULL here NueLADG = selreule.ram_oda; end; e103 Procedure Mane: res prestana 7 S/EKET992 HA LRG 3ivene/1992 V1.2 Registra una transaccion de prestano, afectande (as tebles (COREY -wM-CTL_ADO 8 COSEL.CIRCULA Autonatizectén de lo Seecién de Bibliotece de " e Coordinsctén de Servicios de Infornacién IAProcedure Nene: Procedure Wane: 58 ROCEDURE reg_prestano 8, BecIN ‘Jrarce el edo. del Libro como ‘PRESTADD! y registra fecha de dev.t/ ‘Update COSET-MALCTL_ADD Set €00_L15R0="PAESTADO® FECHA BEVOLUCIONe:ciccula. fecha. devolucton where :eifcula.rum_adg = NOM ADO; Trregistra el prestaro en le table COSEL .CIROULAM/ insert into COSEI.CIRCULA Values (Ceircula.vsuario, :ejreuls.fun_9oq,SYSOATE, selreula.feche_devolvelon, WLC,0,6,UID, seirculaccoleccion); | 0; reg_renovacion PTE 1992 15:48 HK BG Realize (e renoveion de prestano por un periode mas. Si el ejerplar esta vencico no efectun renovecion. y PROCEDURE res_renovacien is BEGIN DECLARE retraso muoER: hen renevaciones MNEER ar al variar max. de cenov.t/ begin’ i chk_retraso(retrsso); jelaet RENOVACION into :global .renovecien | from COSEL.CiRCULA where rcircula.nun_ecg = XUM ADe and ieircula.usuerio = USUARIO: iF¢:plobal .renovacionceax_renovaciones) AND retrasect.0 thon ‘/Phctualiza fecha devaluctan en WUM_CTL_ADG Y PRESTANOE/ pdote COSE! -NUMLETL, Add Set FECHA DEVOLUCTON = reireule. fecha_sevolucton where teireuls.ruradq = sUM_Aba; update GUSET cIRCuLA i Set FECIA\DEVCLUCION = cefréula, fecha_devolucion, RENOVECICN = RENQUACION + 1 hore reireula.run_adg = MUM, ADO; 192° elerpler solamente’ puede devalverse’; 0; susperdide 1 FF Hpmmay 1992 11:26 HAO Chea ste Usuario ge eneuenera en La tabla de suspendidos 1 PROCEDURE susperdide(usuario in CHAR} is Becrn select usuario into gical WL i rem COSE?.SUSPENDIO0S where eireuta.usuaria = USUARI 72 Si el usuario se encuentra en ip ablot/ batt; Felreut message Ususrio susperdide, solo puede cevolver'); rprestano := 0; Autonatizectén de te la Coordinae\én de Servictos de Infornacién Seccicn de Bibliotece de T' 59 J $i el usuario no esta, ne pase nedst/ ExcePrion ‘hen MODATAFOUND then MULL; 0; Procedure None: trad fecho 1674871992 20:20 RNG Traduce la fecha al espaol ” PROCEDURE trad focho(fecha in date, espaniol in out char) i es char(3}; ingles ear); pecin ' VE fecha ig NOT MULL then ' ingles := feens ! mes $= aubctr(ingleg,4,3)2 4 substrcingles,4,3) | > 'JaN"! then ‘mos := TENE; elsif substr¢inates,4,3) = APR. then ‘tes i= SABRE elsif substrcingles,4,3) = ‘AUG! then nes i= SAGO" elsif substr(ingles,4,3) = "DEC! then res: '010"; ! end if; spaniel = substec ingles, 1,39 |nes| |subetrcingles, 7,3) end it ! end Procedure Wana: val ida_olume T2 WAdRAR/T9R2 11:68 : Valide la existencia de un alueno'en la table de ALUMOS select MATRICULA, NOYERE, ESTADO into scircuta.Usuarto, :eircula.norbre, :efrcula.estade ron COSEI.ALUNNOS ty here scircula,usuerio MATRICULA: ‘EXCEPTION hen NOOATA_FOUND then : belt; wessage( Matricule inexistente'y: ireule.nodbre estado ‘= "USUARIO NO RUTOR:ZADO' ; teireuia.estade sO; : RAISE FORN_TRIGCER_FALLURE: ex; Procedure Nene: val ida_enptendo i 7 arma 1992 11:56 | Valida La existencia de un empteado en La tablo de ENPLEAIOS + : PROCEDURE val ide_enpleade 1S BEGIN {*chece que exists el enpleado en la tablary Select CLAVE_DE_EMPLEADO, NOMURE_DE_EYPLERDC, ESTADD_DE_VSUARID, TERMINRCION . reula.ususrie, :eircula.hoxbre cireutastersinacion | fron COSEI-EWPLERDOS. : here tefrculaeuario = CLAVE_DE_ENPLEADO: Jttheca estado active © no ectivor7 ‘eczeircutacestado t= 4) then | circula.estado, Automat ¥aaclén de le Seecién de @iblfotece de i {To Coordinectén de Servicios de Inforseién AA60 I USLARTO. NO AUTORIZADO": rpessage( 'Expleade no activo, Solo puede devalver'): reireulaprestams i reireula.naebre estado:= USUARIO! KO AUTORIZAD0! wmossagel ‘Vane infento de contratelen in wes, sole puede devetver'); cireula.prestano:=0; I endif ! EXCEPTION i ‘hen NO_DATA_FOLND then belt; ressag0( No. econonico inoxistente'); 'USUARIO|NO AUTORIZ00"; Block nase: cfreuls Description: clreuls i Table name Sireule check for unique key: No. : Munmer of rows diaplaye Munber of rove buffer Default where/Order 8 Conant: 2 ° Trigger None: PRE-BLOCK Style; v3 wide: ves ‘Conment: 14/maR/1992 12:10 HRM ‘ Registra (a fecha de devolucion al prestano en base a (a fecha que aparece ‘on lo tabla de FECHA DEVOLUCION. Texts select FECHA DEVOLUCION into :9lobil fecha. devolucion from COSE1.FECHA_DEVOLUCION; pon fecha. devolueten; EXCEPT ION ‘hen NO_OATA_FOUND then global Fecha, devolucton pon_fecha_devotueton: ssvsomte + 14; Field: usuario Data type: CHAR Corment: 15/MaR/1992 20:36 Introduce el {dentificador del usuario que realizara una transaccion. + "Fletg attributes r = "Field validation Database Fel No Primary Key No | Fetal Lange a Displayed: Yes Guery Allowed: Yes_«— | isplay Length: 8 Input Allowed: Yes Update Allowed: Mo Default value: Updote if moll: No Fixed Length: Ko Renge: Lew: Mandatory: No Autosxipr No | copy No echo: No Auto help: Yes Uppercase: No Pages } Field bas . help text: Teciee La motricule 9 90. economice dat usuario. Lev Sab fext: : Trigger Mae: ON-VALIOATE-F1ELD Styler ¥3 Wider Yes ‘Comont: B/ENE/1992 15:16 HRM RNG ‘Autonotizacién de la Seccién de Bibl force de la Cosrdinactén ce Servieies de Infornacién| : 61 Identifice si se trate de un alusno o un trabojador y to valida. Text: DECLARE Ususpendide KUABERC TD; ! eecie dots velide_empteado; end if; ‘suspendido( :etreula-usuario);/*Identi fica 2 un usuario suspendidot/ fegresado(:circula.usuariod; /*Identifica a un alumna egressdot/ 77S Ulega aul ea usuario vat fda pare sransacetones*/ ‘usuaRro'susPeWDtDot or ircula neabre_estede = ‘EGRESADO") then rut PRAISE FORY_TRIGGER_FAILURE;*/ alse teircula.norbre_estedo = *USUARIG. AUTORLZADO"; end 1 Libros vereidos; /*checa si tiene Libros veneides 0 max. de librosts EXCEPTION /*Checa que te informacion: sea totalnente nunericet/ ‘hen INVALID MANGER Then belt: mmegsaget‘El formato debe ser nuner co"; Ecireula.estedo = 0; RAISE FORN_TRIGSER_FAILURE; : a Trigger ware: XEY-NxT#LO Style: VS Hide: Yes ‘Consent: B/ENE/1992 RNG V1.0 | 10/ENE/1992 HRM V1.1 fevisa 61 capo ce noubre_estade, y 8i,¢5 uno ce los marcodos, no se 9 ninguna operacion. Text: (f(ccireula.nonbre estaca " ‘USUARIO SUSPENDIDO! or reireulesnonbre_estaco = “EGRESADO'! oF ireulacnonbre estado = “USUARIO ND AITORIZAOO') then rut; ' else ext_fietd; : end i 77 Esto Lo hacia el trigger de post-quéry, identifica un usuario activo freula-estado=1) chen : elsifcietreut ‘clear block(W0_VALIDATE); pon_ fecha devolucion; : else bet PPtijarse cone correjin que no valide el mensajes f Imessage( El usuario ne ge encuentra fctiva, solo puede devolver! v i etreule.nonbre_estedo := "USUARIO NO ACTIVO!; ietreule-prestano end ifs Tefgger Mane: KEY-UP stytel WS Wider Yes Comment: 32/25/1992 11:28 HRN Evite aque el operadas enplee KEY-UP en el catpo de Usuario, ext: null; Fletd: num, 4 Autonat!zacién de la Seeeién de la Coordinacién de Servicios de informcién Na \Y62 ata type: HUMBER Comment: 15/many1992 20:47 Se introduce el runero de stkuisteion del ejenptar. "Feld attributes Field Validation ese+++-0 No Primacy Key No Fiele Length: 10. Query Length: 10, Yes duery Allowed: Yes Display Length: 10 Yes Update Allowed: No Default value: No Fixed Length: Wo Range: Low: Mo Autoskip: No; Copy value front Mo Auto aelp: ve | Field: Mo Page: ’ : Teelee el no. de adq. 0 para ver Libros prestados. Lov Title: Libros Prestados Lov saL Text: seleet MUM AD0, HULTA, FECHA oEvaLUCION nto :eifeula.nun_adg, veirévia.eulte from COSEI.ciRcuRA shore USUARIO = zelrcula.usuario Tegger Wane: OH-VALIOATE-FIELD Style; Wide: Yes Comment: B/ENE/1992 RMS Selections el no. de adq., coleccion y'nun. do etl. de Ls table MUMCTL ADE 4 usando el ne. de adq. como Uave rel eionsl. tuege selecciona el titulo y autor de [2 rabla AUTOR TITULO, usando el no. ‘de control, encontrade en el query anterior, cone (Tave relactanal Text: begin os_vencicos;/*Checa Libros veneides © max. de (bros prestedest/ Pal ido et numero de adkuisicion®/ Select KUM Abd, MLM_CoUTROL, COLECCION, E00_L1BKO into seifeuld.nurcaca, :cireula.nun,contre\, scireulacede-libre i trom COSET.MUN-CTC_ADO ieeule.coleceten, here scircula. rum, ad = MUM ADO; EXCEPTION ‘hen MO_DATA FOWND then /*indicscion de ne. c@ at. Shoxistentet/ betty, mostageCtho. de Adguiaicton invalido'; RAISE FORM_TRIGGER_ FAILURE; | end begin ‘select titule, autor /*Pone el Inte scireula.citulo, seireul from COSEL.AuroR_TITULo deere NUM_CONTROL”= scircula.nun control: EXCEPTION When NO_DATA_FOURD then null: end begin Select GLASIFICACION, GUTTER /*Fone 9 closificocion y el cutter*/ into solreula.clasifieacien, sete laccutter fron COSEL.ES0. where rcircula.nun_contral = MUM,CO TROL; ExcePT In ‘her KO_DATA_FOWNO then null; end Tigger Name: KeV-UP style V3 Hide: Yes ‘Ccement: 16/MAR/1992 15:02 HRM Permite regresarse al campo anterior, srrendo la Inforxscion, para eal izar correcciones. Text: clear block(O- VALIDATED; pon. fecha_devolucion; utomstizectén de Lo Sece\én de Biblioteca de \e Coordinncién de Servicios de infornacién IM: 63 Field: tipo operacion Data type: CHAR Comment: 13/KAR/1992 21:29 6 el tipo de transsceion Field attributes --- Field validation. ~ Wo Primary Key: xo 1 Fels Longe Yo Query Length: 1 Yes Query Allowed: Wo Display Length: 1 ves Mo Default Values Xo No Range: Low: igh No ke Copy value fon: Bloc No echo: ves Field Uppereast Field Mes wolp text jerovacion D=Devetucion Lov Tit Lov SOL Text: Telgger Mane: ON-VALIOATE-FlELD style V3 Kiger Yes ‘Commertt: 13/ENE/1992 13:68 Ha Valida (a entrada, forzando a que esta sea oxclusivanente P, Ro Ds ext: 1f(:elreula.tipe_operacion I= "P" and peracion t= 1D! end felreula.tipe_eporecion t= 18+ and ceireatestipoleperatlon = 'A) thes att essese (Poe Favor, solo keclee: P-Presteno R-Renovecion D-Devolucion A-Apartado! RAISE FORM_TRIGGER_ FAILURE; else mls end Tf KEY-AXTELD style: vs Aide: Yes 4/Fe5/1992 12:51 HR Este trigger efectua La funcion de gestor de operactones, bass sus Secisiones en Las banderas de privilegios de opereciones: cireula.prestane reiccula.rax (Toros eats DECLARE prestodo BOOLEAN; BECIN ' {/ACASE:prestomory i ifCzeireula.tipe_eperaciens'P!) then Cefreula.prestano=1 and reiccula.rax_t it@restaco ett; 1 message’ \ elenplor se encuentra prestade'}: go_fiel&‘otra-operacion' yy | RATSE FORH_ TRIGGER FAILURE! else req_prestona; end 317 else etl; i essegeC ‘El usuario no tiene derecho a prestano!; end JHCASE: devoluciant/ tipo operacion = 'R!)) then 9 tiene derecho a préstare, tanbien 9 devoluctont/ prestano=1) then Feg_renovacion; Autonatizacién de La Soccién de Bibliotece de : a Coordinecién de Servicios ce Informacien RA64 elise etl; i rnessope(/El usuaria ro tiene derécho a senovacton!); end ify elsiftccircuta.tipo_operscion eq_devolucion;/*El usuario siespreé puede devolver ejenplarest/ eisifCelreuta,tigeoperacien = 'A') then T'Si se tiene dergcho a prestane, tambien a renovactent/ ietzetreule.prestero = 1) then | null} /*procediniente de aparteda/ else ‘eli: ! essage('l usuario no tiene derécho 9 aparter ejerptores'): end ifr end i nent field; 50; Teigger Name: KEY-UP style: v3 ide: ves Conmont: 16/HAR/1992 13:37 Limp{a (os datos det ejenplar, nasta el no. de adq. para que el operador ‘pueda hacer correcciones, si son necosa Text: Uimpia_ejenplar; Field: otra_operacton Data type: CHAR Coumonts 13/man/1992 21:32 Pregunte al operader si deseo realizar tra oporacion con el mismo usuario seeeseeeenessee Field AttPiDUtES : Database Field: Me Primary Keys Ne Displayed: Yes Query Allowed: Me Display Lengths 4 Input Allowed: Yes Update Allowed: Mo Detauit Value: Uplate Hfenull: Wo No Range: Lo Mandatory: to No Copy value fon: xe ves Yee 1 tra eperncion, nisne usuario? 1 ey-wer uo Style: v3 Wider Yes 2 Y6/WAR/N992. 13:42 HRM Valids que La respuesta se Limite a 'S! 0 'M!. Text: Hf ccireula.otre_operacion = 'S!) then: Uinta ejeapler elsif(:eircula.otra_operacion = *N') then ear _bLGeK(wO_VALIOATED; H 0_f12id¢vauer a"); 1 por_fecha_develucion; else ets end if Kerr. 67Fe0/1992 17:28 He Cinpta'e congo y prepare el conpe anterior pare ina nueva cperacton con et ‘signe no. de ada. Texts refrevia.otre_operacion := NULL: | ieirecla tipe_eperacion += MUI; previous fiel; Style! VB Wides Yes Field: nombre Autenatizacign de Le Seceién de ibliotern de i 1a Coordinacién de Servicios de tnformacién AADato type: CHAR ‘Conmen 13 /nAR/1992 20:12 Despliegs el nombre dei usuario -"Fleld attributes Dotabese Field: No Primary Key: No Displayed: Yee Guery Altowed: Mo Input Allowed: No.——‘Update Allowed: No Default Value: Updete if null: Wo Fixed Lengt to Wo Autoskipe No Wo Auto Relp: Me Wo Page: ‘ Lov Title: Lov sou Text: Field: nonbre_estado Date typer CHAR Conmene: 13/MAR/1992 20:26 Despliega el nonbre det estado de usuario’ Field attributes Wo Primary ey: wo Yes duery Allowed: Wo Mo Update allowed: Wo No Fixed Length: Wo wo hutoskipr No Mo huto belo: Mo No Pages 1 help text: Lov Title: Lov sat Texts titulo HAR 2oywaRy1992 20:55 Despliega el titulo det elenptar Fels Attributes Mo Pritary xey: ko Displayed: Yee Query Allowed: Ho Input Allowed: No Update ALloved: No Updete if mull: Mo Fixed Lengeh: Ho Mandatory: No Autoski No No echo: No auto hetp: No Uppercase: No Pages 1 Field Mask: help text: tov Title: Field: autor Dota type: CHAR Comment: 13/HaR/1992 Sespliega el nombre det Feld atcributes Database Field: No Primary Key: wo Displayed: Yes Guery Allowed: Ko Input Allowed: Ko” Update ALToved: Ko Update Tf mull: Mo ined Length: X) Nandotory: No Autoskp: No No echo: Na Auto helps Ne Field Lengths splay Lengt ange: Low: ‘copy value Fron: Le Lengt Display Length: default value: Range: Low: Copy value fron: Field Length: Display Length: Defovtt Valve: Range: Low Copy value from: Field Length: Display Length: Default Vatue: Range: Low: Copy value from: Field Validation ~ Field vat idetion Field validation + Field Velidation 65 52 Query Length 52 at Query Lengen: 21 Ea high: Block: Fie 61 Query Length: 150 “1 igh Ble Fil 61” Query Length: “ 150 Autonatizaciéa de la Seccién de Biblioteca de {2 Coordinacién de Servicios de Informcsén66 Me Page: 1 Lov Title: Loy Sal Text: Ficté: _clasificscion Data type: CHAR comment: 13/nARs1992 21:11 Despliege la clastfieacion del ejenplar Fletg atcributes Fleld validation ~ Ld Lengtt Dotebase Field: Mo. Privary Key? vo 15 Query Length: 15 Displayed: Yes Query Allowed: xo Dieplay Length: $5 Input Allowed: Ho” “Update Altowed:—§o. Default Value: Updete if'rull: No Fixed Length: Mo. Range: Low: igh: Nendotory: No Autesti No ‘Copy volue fre Block: No Auto help: No Feld No Page: 1 Field: cutter Data. type: CHAR Comment: 13/Haa/1992 21:12 Despliega el cutter det ef Freld Attributes Database Field: No Primary Key: Mo Field Length: 8 6 Displayed: yes Guery Alloyed: Wo Display Length: 15 Input Allowed: No.—Update Allowed: Mo. Default value vplate Hfnull: Na Fixed Length: Mo. Renge: Low: Mandatory: Mo Autoskip: ko Copy value fron: No eeho: Mo Auto help: x0 Uppercase: Wo Page: 1 {Oy SOL Texts Field: coteceton Dota type: CHAR Ceanent® 20/NAR/1992 20:33, Despliegs lo coleccion 9 ts que pertenece el ejenpte Field ateribuces : Field validation Wo Priaary Key: xo Field Length: 2 uecy Length: 2 Yes Query Allowed: Ko Display cengtn: 2 Input Allowed: Mo” Updote AlTowed: Wo Default Value: Upiote ifmutl: No Fixed Length: NO. Range: Low: Nendatory:| No Autoski Xo 1 Copy value From: No echo: Mo huto Bet No Uppercase: No Pege: 1 : Field mash Help text: Enter value for + cOLeccioN Lov Title: Lov SOL Text: Field: fecha_devolucion Data type: DATE (Comment: 13/HAR/ 1992 20:61 Ex a focha en la que se debe devolver et ejenplar. Field Attributes m= Fieta vat ication Dotabase Field: Ne Primary Key: Ne Field Lengen: | 9 Guery Length: 9 Autoratizacién de te Seccién de Biblioteca de la Coordinacién de Servicios de Infarmacién AX67 displayed: Yes Query Allowed: ° Input Allowed: Wo” Update Allowed: No Update if null: Wo No High: Mendater) No No Copy value from: Bleck: Mo Auto help: No Fleld: Mo Pose: , Lov ritte: Lov sau Text: Field: ee. tibro Date type: CHAR Comment? 13/MAR/1992 21:19 Despliega al estado, fisico 0 lopico, que tiene in 6} os+ Fleta attributes fon srseesseee ootatese Fete: "he Overy Length: 15 Displayed: Yes Display Lense Inguc Allowed: Mo Default Value: Update ifinull: Wo No Range: Lowe Nigh: Mo Yo ‘Copy value fron: Bleek: Mo ute help: Wo Field: No Page: 1 Lov so. Text: Field: nuneontrol Dota type: CHAR Corment: —13/mma/1992 21:36 Es el puente entre el no. de adg. y La informacion gel ejenplor, a traves de la tabla MUM_CTL_AD2, Wo e dosplesable, Field ateributes Fleld validation ~ Datebese Field: Wo Pricary Key Wo Field Lenge Query Length: 8 Displayed: Mo Query Allowed: Mo splay Length: 8 Inpu Allowed: Wo Update ALLoned: Me efault Value: Update If null: Ho Fixed Length: Ko Range: Low: igh: Mandotory: wo Wo Copy value from Block: Yes ir Field: We 1 Field Ask: Nolp text Lov Title: Lov $a: Texts Field: estado Data type: CHAR Comment: 13/naR/1992 21:42 Contiene la clave del estado del usuario, y permite determinar ei este se encuentra active @ no dentro de \n Universicd, + held ateributes +1 Hels validation ~ Dateoese Fieia: Ko Primary Key: Wo Field Length: fo Guery Lengens 1 Displayed: Ko Query Allowed: Ho Display Length: 1 Input Al ow No Update attowed: No Default Valve: Update if ruil: No Fixed Length: NO Range: Lex toh: Mandatory: No Autoski ne Copy value from: Block: No echo: Yes Auto helps No Fela: Uppercase: No Page: 1 . Field nask: help text: tov ret SOV SOL Text: Autonatizacién de la Seccién de Biblioteca de " le Coordinacién de Servicios de Infernacién AA68 Fieté: —_prestano Dote type: HUMBER ‘cocmen $4/FE8/1992 10:47 ES Is bacera de privitegio de prestam y renevcion. Por defeeto su valor + Field Attributes Field validation ~ Database Field: Wo Primary Key Fietd cergt yo Ouery Length: 1 Disptayec No Query Allowed: No Display Lengtn: Input Attowed: No. Upeate Allowed: No Default values Uplate if mull: No Fixed Length: NO Renge: Lox: Nandatory: No Autoskip: xo Copy value tron: Yes help: No No 1 Loy SOL Text: Fietd: —max_Libres MER No /NAR/1992 16:62 HRM Bandera que inciea si se tiene mexino de tibros prestados. OF No excede el maxino, 12 Excede el eaxito, Field Attributes + Field Validation -++~ No Primary Key Field tengt ve chery tenga: 1 No Query Allowed: No Display Length: 1 No Update Allowed: No Defautt Value: No Fixed Length: Ko Renge: Low: No Autoskip: me Copy value tree: yes Auto help: No no Page: + multe HUMBER A3/NAR/992 20:29, Despliega et monte de La sulto, on caso de existir est Field attributes Field validation ~ i: NO Primary Keys No Field Length: M1 Guery Lengea: 11 Displayee: Yes Query Allowed: Ho oom Ingut AlCewed: No Update AlLowed: HO. 0 Update if ral No Fixed Lengel Mo Mandatory: No Autosk} No Copy value from: No Auto help: No No Page: 1 ‘$9990099.99 Lov sal Text: Field: terminacton Dato type: DATE Conment: 36/NARR/1992 12:03, Almacena La fecha de terminacion de contrate de un erplesdo (COSEI ENPLEA00S). - oT Fietd attributes Field validation ~ Database Field: No Primary Key: Hs Field Lenat @ very Length: 8 Displayed: No Guery Allowed: No Display Length: 9 Input Allowed: NO Upate AL Loved: NS. Detoutt valve: Autonatizecién de La seceién de Giblioteco de Ya Coordinacién de Servicios de Infornscién AAUpdore HF mull: wo Nandatory:| xo No eeno: tes x0 Field: userid Data type: MuMBER Comment: Wo Ne to xe No Yes No Fixed Length: utoskip: sure help: Page: T6/NAR/1992 20:68 eM Magcena el UID cel operador - Field attributes Primary ey: ‘uory AL owed: Update At loved: Fixed Length: ‘nutosxip: ‘ato helps Page: fecho_tit No xo No vo No Ronge: Low: copy value Fron: Field Length: Sisplay Leng Default Vatues Renge: Low Copy value from: Field vatication ~ 4 uery Length: & 4 69 igh: Block: Field: check for unique key: Ko Number of rexs sisplayed: 7 aber of rows buffered: | 0 Defeult vhere/Order 3 coment: to7¥aR/1992 20:29 24S Despliega el titute de La forma y La fecha det sistem en el encaberado. Field: titule Date type: CHAR soymany1992 20:36 RAG Deapt tego et titulo de ta forma en et encaberado Field attributes - Feld val {dation Detabace Field: Mo. Primary Key: Wo Field tength: 32 Yes Guery Allowed: No Display Length: 32 No! Update Allowed: Mo Default value: No Wo Range: Low: Ne No Copy value Fron: vo Wo No 1 Fletd: — fecno Date eyper CHAR Comment N6/man/1992 20:31 RHE Despliege Le feche det sistem en el encabezada de (a fore. Field Ateributes Field val idetion ° No Primary Key: Wo Fictd Lengt Query Length: 9 Yes query Allowed: Mo Display venga: 9 No Update Allowed: No Default vatuer No Fixed Lengths Ma Range: Low: Ko Autoskips Mo Copy value from: ‘automat izacién de le Seccién de Bibliotece de {a Coordinacién de Servieios de InformacionNe Auto help: No Ne ge: 1 Help text: tov Title: LOY SOL Text: Poge munber: 1 Title: Pop No age utath: Dissatw No ape Height: Border: No view width Hertzental Seroll Bar: Wo view Height: vertieol Sereli Gar: Wo chars chars ‘hors chars 70 Field: X-Goordinate of View on Peg ‘Y-coordinate of View on Page: X-Coordinate of View on Screen: Y-coordinare of View on Seren: ‘autonati20eién do (a Seccién de {ie Coordinnetén de Servi ibliotece de ios de Informaeiénnm APENDICE E, LISTADOS COMPLETOS £,2 FORMA DE SUSPENDIDOS +4123 31 Mar 1992 PETAIL Report for Applicat ion: suspend * Title: ‘suspend ‘ouner: Validstton untes Mouse Navigation Limi Default Menu Applicat ion: DEFAULT Starting Henu Kane: Mery Security Grow: Fecho de elaborecion: 16-A88-1992 Esta foras es para las USusaries que son suspendides por faltas Internas a e COSI y su ucceso es restringide al jefes de a Seccton de Biblioteca, Aststente adn y al coordinsdor. VB tide: ves Teigger Mane: KEY-STARTUP styl + BTINAR/1992 17253 MRE Estoblece (os variables globetes que sera ewplendss en Le forme, ‘sdsPenpibos"; select uid inte :euspendides.user_te fron dual; select sysdate into global feche fren Sys.dusl: trad_fecha(zelobat fecha, :Fecha_cit. fecha Procedure None: trad_fecha procédure trad_fechatfocha in date, espanial fn out char) is tes chara): ingles chort9)i begin if fecha is not null then ingles i= fecha: wes 2 cubste fech pes 22 eubetr( ingles, 4,3) Sf substeCingles, 4,3)" "JAN then ines 2= "ENE"; elsif substecingles,4,3) = *APRE then. ines $= ' ASR", elsif substecingles,4,3) + *AUGr then mee #2 180 elsif substrCingles,4,3) = ‘DEC! then mes 22 OIC"; end if; espaniol := substrcingles,1,3)]Jees|fsubsteingtes,7,3); end iF; ex; Block none: techs Description: Table nose: Chock for unique key: Ho unber of rove displayed: 1 Manber of rows buffered: 0 Default wnererorder 6 ‘cement: t6/wae/1992 20:29 RNG Despt iega et titulo de le forme y le fecho del sistens en el encaberada. Field: fecha Data type: CHAR ‘coment! 16/NAR/1992 20:31 RG Despliega (a fecio det sistena en el encabersdo de to forma "Feld Actetoutes . Field validation =---~ Dotasase Fret No Primary Key: Mo Field Length: 9 Query Length: 9 Displayed: Yes Query Allowed: No Display Length: 9 Ingus Allowed: No Update AUTowed: Ho Detautt Value: Update if rull: No Fixed Length: Ho Range: Low: Nandator) No Autoskip: ko Copy value free: Wo eho: No Auto: helps No Ne Page: t titulo ‘Autonatizacién de Ua Secc!én de Biblioteca de u la Coordinacién de Servicios de Infornacian 1 AMData type: CHAR Comment: 16/KAR/1992 20:36 RNG Desptiege el titule de le forma en et ~ Hats aeteibutes Detebase Fete: Ko Prinary Key: Displayed: Yes Query Allowed: io Input Allowed: No Ne Update iF mul No No No Ne Mo Auto help: No Me Page: 1 Block name: otunnoe Description: atures Teble name: alunos Check for unique key: No wunber of rows cisplayed: 1 Humber of rows buffered: 0 Default Nnere/Order ay: Comment: Feta: mareicuta Dote type: CHAR Fiele Actributes Database Field: Yes rary Key: No Displayed: Yes Query Allowed: Yes Input Allowed: Yes Update Alloued: No Update ff mull: do Fixed Lens No No Autoskip: No Ne uta Bet: Mo Uppercase: No Poge: 1 Field nask: Help cent Enter value for : MATRICULA Lov Tink {oy so. Text Fielé: —— UMtoAD Dots type: MUNBER Connon! 17/KAR/1992 16:41 KRM Es La elave de ta unidad. Fielg ateribuces Database Field: Yes Priory Key: Ne Yes Query Alloved: Tes. Yes Update Allowed: Ko No Fixed Length: No No Autoskipt Ne No Auto helps No No Page: ’ ‘select UNIDAD, NOMBRE_UNIOKD fo zalumes.unidsd from COSEI UNIDAD Trigger Nave: POST-cHANGE ‘Cooment: 17/MAR/ 1992 11242 HR style: 79 encabezade. : Field validation Field Lengeh: 32 Query Length: 32 Display Length: 32 Default Votue: Range: Low! Copy value fram: Field validation ~ Fale Length: 8 Query Length: 28 Range: Low: ‘copy value fron: Field validation --- Fela Length: 1 auery Length: 1 Display Length: 1 | Default Value: Range: Low: igh: Copy value tron: Block: Field wide: res ‘Autonat 2acién de la Seccién de Bibliotecs do {im Coordinseién de Servicios de tnformacign80 Desplicge el nonhre de le unided teaido de 1p table COs! UNIDAD. Text: select HOMBRE. UNIDAD into :oluanos.nerbre_unidad Feo COSEE.UNTDAD whore :alunhos.unidad = UNTOAD; prvisiow NUMBER: 17/MAR/1992 16:63 HRM Clave de (a division Field ateribuces sis-+ Field valication Yes Field Length: 1 Query Length: 1 Displayed: Yee Display Length: 1 Input Allowed: Tes Default Value: Update if ml: Mo Fixed Length: Mo. Range: Lew: igh: Mandatory: No Avteski No Copy value fedaz Stock: No een Mo huto help: No Field: Uppercase No Page: , Freld mosh Help text Lov itt Lov sol Text: select division, nonbredivisten into :oluenos. division Fron COSE1-DIVISION + PosT-ckance Style: VB Hide: Yes TPINARY IONE 1126 Desplicga el nosbre de (a division traide de Le table cose! o1VISION Yext: select HONSRE,DIVISIO¥ to. zalumns.nonbre_division Fram COSEI-DIVISION here 08.civision © DIVISION; Fold: CARRERA Dota type: NUMBER Comment: Hold artribuces Field validation ~ Yes Primary Keys No Field vength: 2 (Ouery Length: 2 Yes Suory Allowed: Yes. Display Length: 2 Yes Update Allowed: ko Default Velues No Fixed cengt Xo Range: Low No Auteski No Copy vate from: Mo Auto help: No Fielg: fo Pages 1 Enter value for : CARRERA LOV SOL Text: Trigger Nene: PosT-chance Style: v3 Wide: Yes ‘Comment: 17/MAR/1992 12:58. wea Despliege el nonbre de Ls carrera co-respondionte ai carpo CARRERA. Text: select NOWERE_CARRERA " into salunrcs.nonbre_carcera rem COSET CARRERA Shere ‘nlunot.cerrers = CARRERA AND alumes division = DIVISION; Field: Anta cesssreneersiess Flald Attributes Dotatare Field: | Yes Prinary Key: xe ~ Field validation ‘Query Length Avtonatizacién de a Seccién de Biblietecs de ta Coordinacién de Servicios de infarnacisn AMaL Displayed: Yes auory Allowed: Yes. Display Length: 2 Yes Update Allowed: Ke Default Value: Mo Fixed Length: ko Range: Lox: Mo Autoski No Copy value Fron: No Auto help: xo Ne Pages 1 Nelp cext: Enter value for : AREA Lov Title: Loy SOL Text: Trigger Nano: POsT-chaNce style: V3 Mice: Yee ‘Comment: 17/MAR/T992 13:03 Ham Desplicga el aren de concentracion correspondiente a a carrera y ares de concentracion de la table AREAS. COW. Text: select HORERE AREA inte :alumse.nonbre_ area from COSET-AREAS_ Cow where AREA CARRERA = Division = Field: notbre_unidod Date type: CHAR Comment: 17/MAR/1992 11:25 HR Despliega el nonbre de La unided correspondents 1040. seesseseeseensee Field AEtCibutas teeseeeeee teen Field Validation ~ Database Field: No Primary Key: No Field Length: 25 uery Length: 25 Display Yes Query Allowed: Wo Display Length: ° 26 input Allowed: Wo Update Allowed: Na Default value: Update if null: No Fixed Length: Ko Range: Low: tah: Wondatory: No Autoskin: Wo Copy value trem: Block: No Auto help: xo Field: No Page: ’ Lov sou Text: Fleté: — wonsee Date type: CHA Corment + Field arzribuces Datshose Field: Yes Primary Key: Ne Field Length Displayed: Yes ouery Allowed: Yes Display Length: 60 input Allowed: Yes Update Allowed: Wo Defaul! vat Update if null: Mo Fixed Lengt No Range: Low: No Autoskip: No Copy value fron No Auto help: ne No Page: } Enter volue for + NOMBRE rosbee division Bate type: CHAR Comments $7/mNR/10992 11:31 48M Desptiega el noubre de la division correspondiente al cenpo DIVIS{ON. tera_celec; FETCH busca teass INIO num etl EXIT. hen Busca comastioT FOUND; /*#in oe eegissrost/ select auton, T1TuLo Into :autor_tétulo.autor, :autor_titulo.titulo fren COSEl AUTOR TiTULO where MUN, CONTROL = num ctl; KD LOD CLOSE buses terns; 90; Procedure Wane: cuenta disp 7° 24sRAR/1992 10:20 HR Cuenta les ejenplares que se encuentran disponibles pare presteao Entrada: Numeo de contrat Sa. ida : Kunero de ejemplares disponibles pare peestano y PROCEDURE cuenta disptrun.ctl In MUNEER, eJeep disp out HUMBER) 1s CURSOR cuenta Tibroe I elect AUK. ADO fron COSEL.AUM_CTL_ADa whore MUM_CORTRGL ="nu ctl ‘Autonet izacign de Ua Seccién de Tol foteca de fi {a Coordinacién de Servicios de Infornacién NaNa7 and -<00_L10RO is MULL: pumedg MuMBER; Procedure None: trad_fecha /*167HaR/ 1992 20:20 RVG Treduce Uo fecha et espetot ” PROCEDURE trad_fechaCfecha in date, espaniol in out cher) is mes char): ingles char(9): secin if fecha 4 NOT SULL then fegies == fens = suseeCingtes 4,3); TF aunotrcingtes,4.3) = "aM" hen ‘nes 2 TENE! elsif subste¢ingles,4,3) = 'RER' then = 'aus! then = lec! then Stpantot s« substeingtes,1,39| oes} svete inate, 7.3); oats autor titulo avtor=titule AurOR_THULO Gheck for unique key: ko In enue xe Coluin Security: Xo Munber of rous stsplayed: 11 Munber of Tous buffered: 0 array Size: Lines Perk Oefautt Where/Order By: order by AUTOR Comer: 28/waR/1992 16:03 a Despliega los datos ce autor y titulo, ordensdos por autor. Trigger None: key-dows style: V3 Wide: No Conmont: 24 /RAR/1992 9:46 WRM Activa la tecla doun. Text: coum; Teigser Nene: Comment key-enteary Style: VB Hide: No 2arWaR/ 1992 9:46 HRM Active la tecla enter_query. Text: enter_querys ‘Autonatizactén ce a Seceién de Biblioteca de a Coordinacién de Servicios de Infomacién88 Triguer Mane: key-exeary Style: VB Wide: Wo S RAPMARZT992 9:47 HRM Activa la tects execute query. Text: execute query: Trigger Rare: key-Listvat Style: Vide: wo Coment: 267HAR/1992 19:36 Ham Presenta La venteno de POP-UP de eatalogs por tems. Text: /*eLear bleck(WO_VALLOATE);*/, 0,blockt'e_ t_geseto!); ‘90_blockt snénd temas") enter query: Telgger Mane: key-netfld Style: VB Wide: Wo ‘Comment: 23/MAR/1992 18:16 Hem Pone le inforsscion bibliggratica en el bloaue ficha bib, Text: DECLARE disponibles MBER; eciw PSeleccions autor y titulo de (a tabla AUTOR_ETULOH/ elect autor, TIM into :fiena bib.auter, :ficha bib.titule fron Coser AUTOR TITULO vero autor_titulo.num_control = MW_COWTROL; PPSeleccions Clasificacian y cutter dele tabla E50*/ Select CLASIFICACTON, CUTTER into :fichs bib.claeificacion, fren cose =50 here autor titulo.numcontrot = KUN, CONTROL: cuente_disp(:auter_titule..um contrat ,disponibies); cha_bib.cutter Hicha-bibvejenp_dTsp := disponibles; G0 bLoek('Fiche BIb');/#Aetiva el Bloque de fiche bibliografica®/ 200; Trigger Nowe: key-eereoun Style: VS Higer Wo ‘Comment: 26/nAR/1992 9:48. HR Activa La tecla de sereit down. Text: scroll dann: Trigger Nane: ‘Comment: key-serup Style: V3 Hide: wo 2LIMAR/ 1992 9249 48H Activa La tecla de seratl_up, Texts serett_up: Trigger Neea: key-up Style: VS Kida: wo Comant: 20/nAR/1992 9:50 Ham Active La teeta up Text: opr Field: mus_cowrRoL Data types NUMBER Cerment’: + Fels Attributes Field vatication Database Field: Yes Primary Key: Mo Fietd Length: Query Length: Displayed: No Query Allowed: Wo Display Length: Input Allowed: Ho Update AULowed: Ho Defoutt value: Update if mull: Wo Fixed Lengt Ne Ronge: Lowe igh: Hendatory: No Auteskip: No Copy value from: Block: Ne no Fielé: No ° Field Editor: x: ” Yes Autonstizacién de la Seccién de Biblioteco de 1a oordinsclén de Servicios de tnfornacien AAEater value for + AUM_ CONTROL 2 Lov ¥ Position: Low sat Text: Field: auroa Date type: CHAR Conant Z5/HAa/1992 15:48 HR Despliega el nonbre del autor Fletd attributes Dotebace Field: Yes Primary Key: Wo Displayed: Yee uery Allowed: Tes Input Allowed: Yes Update Allowed: xo Upsote Tf: No. Faxed Lengt Ne wandacory: Mo AUtoskip: so Echo Input: Yes Auto help: xo Yes Page: 1 res LOY X Position: Lov ¥ Position: toy Sol Text: Field: TiTULo Bate type: cuaR Cement! 23/ME8/1992 15:69 Hem Despliegs et titulo det ejenplar + Fletd ateributes Database Field: | Yes Prinery Key: Wo Displayes: Yes Guery Alioned: "Yes Input Attoned: Yes Update Allowed: Mo Update HFnull: No) Fixed Lenot Mo No Autoskipr wo Yes Auto help: Xo Yes Page: 1 Yes. Lov x Position: Lov SOL Text: Lov ¥ Position: Block nae 2. genet. Deseriprios ‘autor citulo Table none AuTOR_TITULO Check for unique key: No In Menus xo Colum Securie No Number of rove’ ispteyed: 11 Nutber of rove buffered: 0 array Size: Lines Per Row: 1 Default Where/Order Gy: Where MUM CONTROL in ¢ Field Length: Display Length: Default vata Range: Low: Copy value from: Field editors x: Ld Length: Display Length: Default Value: Renge: Low: Copy value’ from: Field edizor: X: select distinct MUM CONTROL from COSE! .TERAS here TEARS, TEMS imopu_tenae.tera) + Flatd Validation ~ Field validation ~ 39 $50. auory Leng! 7 150" Guery Length: 150 40 Bleck: Fletd: oder by AuTOR Ceenent: 23ynanrto92 16:03 Hi Bespliega tos datos de outor y titulo, en bese 0 Lo seleccion real izada en el Dloge autor_citule.genelo. Automtizacion de te Seccién de Biblioteca de 1s Coordinactén de Servieies de Intarmacién90 Trigger None: key-dow Style: VB Hige: No Comment: 24/HAR/1992 9:46 HRM Activa Le tecla dosn, Text: down; ‘Trigger Nate: key-entary Style: VB Hige: No 2OIMARNDI 9:46 HRM Regrase al blaque eutor_titule y entra en aode de query. Text: go_block(‘aucor_titulo! enter_query; Trigger Nane: key-excary Style: V3 Hide: No ‘Conment: 267nAR/1992 9:47 Ham Activa La tecle exeeute query. Text: execute quer Trigger Nae: key-Listval Style: V3 Maer No Comment: 20/MAR/T992 11:36 HRM Presenta lo ventan de POP-UP de cat ‘Felear block (HO_VALIOATE);*/ ‘go_blo By: Coment: Z5mAR/r992 16:41 Hae Despliega Los datos en detalte del Libro selecetonad. rtgger Kone: key-nutfid Style: V8 Mee: wo ‘Comment: 25/MAR/ 1992 18:39 48m Sale del logue y regcesa al eatalogo multiregtszre. Texts go_block('a.t genet’; Fold: auto Date type: CHAR Coment 25/HAR/1992 18:01 HRM hutonatizacisn de le Seecién de Biblioteca de An Coordinacion de Servicios de Informci sn AA97 Figlé Validation ~ Primary Keys 0 150 Guery Length: 150 Query Allowed: ke 60 Update Allowed: Wo Fixed tempeh: Mo High: autoskt no copy volue fren: Block: Auto help: wo Field: Page: 5 Fiold Edt to 1 Trigger wane: key-coun ‘Comment: 24/HAR/1992 19:08 HRM Retrocede un campo. Texts next. fields 2B Hide: No Feld: 1HTULo Dota type: CHAR Comment: 73/MAR/10992 18:03 Hmm Despiiesa et titulo det : - Feld attributes Detabose Field: Ko Primary Ke 2 Fiets Length: Displayed: Yes Query'ALlowed: Wo Display Lengt Input Allowed: Yes ‘Update Ailoved: Ho Default value: Update f null: Wo Fined Length: Wo. Renge: Lew: Mandatory: Ne Autoskip: we Copy value trom: Yes Auto help: Mo Wo Page: 5 Field Editor: x: Y vee Field Wack: Help text: tov rie LOv X Position: Lov ¥ Position: Lov Sou Texts Trigger Wome: key-up Style: V3 wider to ‘Connent: 24/WAR/1992 10:08 HRN Retrocede un campo. Text: previous. field: Field: cuasteicacion Dato type: CHAR ‘Conner 25/NAR/1992_ 18:09 HAM Despliesa (a clasiticacion del ejenplar en (a ventena de pop-up) so- Fleld Atcributes voe-+= Detabase Field: Me Prinary Key: Field Losgt: Displayeo: Yes Query Al towed: Display Length: Inout Allowed: Ho Update Altoued: No Defoult Value: Update {f rull: Mo Fixed Lent Ne Range: Lowi No Autoskip: No Copy value from: Yes Auto help: No No Pages 3 Fiala Editor: x: ves Fietd nask: Help text: tov ritte: Lov x Positton: Lov ¥ Position: Lov Sat Tex ‘autonatizacién de (o Seccién de Bibliotecn de la Coordinacién de Servicies de taformac én AAField: curTer Date type: CHAR Comont: 23/HAR/1992 18:05 HRM Despliege el cutter del ritul wan Field Ateributes | : sec if fecha is NOT HULL then ingles := fecha; net r= substr(ingles 4,3); TF substr¢ingles,4,3) © WAN" then = 'APRE then ‘elsif substr( ingles, 4,3) © *AUGY then ines == 1400"; elsif substeCingles,4,3) = *DEC* then res. 2= 1DIC!; ‘substr¢ ingles, 1,5){nes| {substec ingles, 7,31 Stock none: nt Deseription: Table none: Check for unique key: Ho th Henus ko Colum Security: xo Kunber of roxs displayed unber of rove buffered: 0 Array Size {Linge Per Row: Default Wnere/Order By: ‘Coament: tesuany1992 20:29 RNG Despliega el titulo de la forma y ta fecha del sistema on el encabezade. Fiold: —_ feena Data type: chan eanent: T6/MAR/1992 20:31 RAG Despliegn lo fecha cel sisters en el encabezado de La forma. ~ Fela validation ~ 16 aetributes Mo Database Field: Primary Key? No Field vengen: 9 Query Lengtht 8 Displayed: Yes Overy Allowed: Ho Display Length: 9 Input Allowed: No. Update Allowed: No Defoutt value: update 1 nul No Fixed Length: No Range: Low mandatory: vo xo Copy value from: Echo Input: ves No ko 1 Field Editor: Kz ‘autowat troclén de (a Seccién do Bibl fotece de {a Coordinactén de Servicios de Informacién rN108 tov rit Lov x Pasition: Lov ¥ Posi Lov SOL Text: titute cag BIMMR/ 1992 20:35 RS Despliega et titulo de la forma en el eneadezado. Field attributes -~ Dotabase Field: wo Primary Keys No Field Length: 32 Query Length: 32 Displayed: Yes guery Allowed: Ko Display Length: 32 Input Allowed: Ko x Betoult Vetue Update Hf null: Wo xo Range: Low: High: xo Xo Copy value from: Bleck: Yes Auto help: xe Field: Ho Page: 1 Field Editor: x: we ves Lov x Position: Lov ¥ Pasiti Lov sol Text: Block nave: feeha_devolueion fecha_devolucian FECHALDEVOLUCION neck for unique key: No. In nena: Wo olan Security: Wo Warder of rose disployed: 1 Noxber of roxs buffered: 0 Array size: Lines Per Row: Default unere/order 8 ‘Secment Teigger Mane: PRE-BLOCK Style: YS wide: Yes ‘Cement: 18/KAR/1982 12:20 HRM Establece por defecto Lo tech de devolucion cona 2 semanas despues y el ‘valor de fecha (o esteblece a syscete, echa_dovolucion. fecha:=SYSOATE? echa_devolucien-fecha_devaluc{on:=S¥SOATE +14; select USERIE into :feche_devolucion.neabre, usuario Fron SYS.ALL USERS sere use&_10"= UID; Field: Feews Date type: DATE 17/maa/1992 20:52 HR Fecha elo traneaccion Field ateribuces - Field volidation ~ Yes. Prinary Key No B auery Length: 9 Yes Query Allowed: Me 9 Wo Update Allowed: No Dethut€ Value: Update {faults Fixed Lenst No Range: Low: igh: Mandatory: Wo Autos Ne Copy value from: Block che Input: Yea ute help: Mo # Uppercase: Wo Pages 1 Field editor: x " ord wrap: ves Fretd hack: Nelp tex uconotizacign de Le Seceidn de Biblioteca de Us Coordinacign de Servieion de tnfornacicn109 Loy Title: Lov x Posi tion: Lov ¥ Position: Lov so. Text: Field: FECHA pevoLuci0N Data type: DATE Comment: 17/HAR/1992 20:50 HRM Fecho en la que debe de devolverse el ejemplar. : Field Attributes =~ Databose Field: Yes Prinary Key: wo Displayed: Yes duery Allowed: Mo Input Allowd: Yes Update Allowed: Tos Update if mull: xo Wo Range: Low! Wondatory: No Wo Copy value from: Echo Input es Yes Ne ’ Field Editor: tr ves Fiotd wask: help text Teclee (a fecha de devolucion. tov riety Lov x Peat Lov Y Position: Lov Sau Texts Teigger Hane: KEY-00%i Style: V3 Hide: ves Coement: 16/MAR/1992 12:47 HRN Vo al compo de comentario al presionar fecha abajo Text: next field; ‘Telgger Mane: KEY-OTHERS Style: V3 Hide: Yes ‘Comment: 18/HAR/1992 12:45 HRN Aula La operecian de otras tectas ne def Text: ntl; ides. Field: comenraRro AR Comment 1B/HAR/1992 12:48 HRM Indica (a razon por La que se modifica ta fecha de devolucion por defects. = Feta attributes Fleld Validerion Yes Prigary Key: No Field Length: 100 Query Length: 100 Yes duery Allowed: No Disptay Lenath: 60 Input Allowed: Yes Update at towe yes Defoutt Value: No Fixed Length: No Range: Lowe No Autoski xe Copy vatue tree: Block: Yes Auto help: Yes Field: No Page: 1 Fletd Editor: Xi 17 Yn ves Razoo por lo que se modifica ta fecha por efecto LOV X Positvons Lov ¥ Positi Lov Sau texts Trigger wane: KEY-OTHERS Style: WB Hide: Yes ‘Coment: 18/MAR/1992 12:59 HEM \e operacion de teclas no definidss. Text: Trigger nae: xEY-UP Style: VB Hide: Yes. Comments 18/NAR/1992. 12:56 He AU presionar se va al compe fecha_devotucton. Text: go_field(*feche.devolucion' huronatizactén ce La Seccion de Bibliotece de le Coordinsciéa de Servicios de Infornactén AN‘data type: MUNSER Comment: 18/MAR/1992 11:57 HR Despliega et UID del eperador. sessseessseeeees Feld Attributes - Dotobase Field: Yes Primary Key: No Yes Ho xe No No Ho Wo to Yes Auto help: te Ko Page: Y ves Lov x Posi tton: Lov 50. Text: Lov ¥ posits Field: nobre_ucuaria Dota type: CHAR Comment: 17/naR/1992 20:45 HRM - Field Attributes“ Detabace Fel Wo Primary Key: No Displayed: Yes Query Allowed: Wo No Update allowed: Mo fio Fined Length: No No Autoski No Yes auto help: ts No Page: 4 ves Field wack: help text: Lov" Title; Lov x Position: Lov ¥ Position: Lov sau Texts 1 Me Page width: 0 No Page Height: ¢ Mo view wlath: 0 Morientat Serolt sar: No View Weight: 0 Vertical serotl We 110 Field volidetion ~ Field Lengen: %&-Guery Length: 6 Display Length: 6 Default Value: Range: Low Copy value From: Field: x ve Fiotd Edie Despliega el noabre gel operador que modifica la feche de devolucion. Range: Low: Copy value fram: La aie A-Coordinate of View on Page: Y-Coordinate of View on Page: K-Coordinate of View on Sereent Y-toordinste of View on Screen: hutonstizecién de La Seccign de Bibtioteca de la cosrdinsetén de Servieies de InformaciénRecuperacion del retrospectivo y Formato MARC de comunicacion. le secelén de 8 Autouatizacién de ta fol sotece de la Coordinacién de Servicios de Informacién AM112 APENDICE PF. F.1 PROGRAMA PARA RECUPERACION DEL RETROSPECTIVO [teveessaunsserssanennestenessnerseneenenureentuesen RecRer cs Recuperacion de Ls inforsacian de La cepture retrospective * aumOR: Wector Rivera Madrid (HERMES) “FECHA DE CREACLOM: 26-dUN-T991 (V1.0) 29-07-1991 W 32) t0-0cr-1991 &v 2.0), O5-nan-1992 «W 3.0) # uvrinas noi icacioues: * WERVES: 25-2UL-1991 Correccion del acculo de busqueda de * etiquetas. : ‘$MERWES: 30-JUL-1991 Creacicn del module de wanejo dee * HERMES: 29-00T-1991 Formato de feche en cespos fi jos WERNES: 31-0CT-1991 No. de control se maneje cana tong NERNES: 04-DIC-1991 Compilado por .prj pare Incorporar a funaien enter . WERHES: 06-D1C-1991 Se incorpora creacion de teblos de ro. de ad. y de clasifieacion NERHES: 10-FEB-1992 InclUye nanore de archivo en Lo Li rea de ordenes. HERHES: 20-FE8-1992 Exclusion de subconpos con inf. rule HERMES: O5-NAR-1992 Se ranco e-901 y 0-050 al archive 12050901.ab para que se procesen inde: endientenente estas etiquetes, stroneureneeronensvery include inetuce Binclude include Binelude include “heanpti jn getine ck 73 Baatine LF 20 serine ESC 27 Aéctine LoNGsTR 102% Adefine LE "(strings }-1) f*utiLtzado on Le correc conan boolean(FALSE, TRUE {ypedet enum boolesn bool can; de acentosts tipo becleant/ Imaieine erge, char ¥argvt0) c Void edretrof(z ‘har #iLenaae (3025 Tttargct=20e printf Cnonbre del archive: “9; SeanfCPRS", fileneme; getehor();/* lectura vacia */ > ‘hutonatizoelén Ge ta Seccién de Biblioteca de {a Coerdinseidn de Servicios de Unformact én AMtse strepy(fiteneue,argvi); réretrot(tilenasa);/#erea (as tables de cenpos fijos y vartablest/ , void réretrot(eh #Lenaney c ‘void canpfticy: ‘oid carpvart: Void fxattat feds void regerror(); char "srchtblQ) int chkfeO: Fite *Fitepte; FILE It Archivo de campos fijos */ FILE 7 Archivo oe compos variables */ FILE 77 Archivo dal nupero de control */ FILE 7 Archivo pare etiq-S0l y etiq-050 */ char int Jr int 4142; long int’ tastres; /tultieo registra procesadot/ int entregeO; int errtnd=0; tno. errores encentrados*/ Prrecupera ol no. del ultine registro capturadot/ LUC SISTEMA MO’ INSTALAOO\A!); printf (ueneee ERROR retura; > fecant(regnunt, Rid, Blastregy; felosecregnunt; ' Porepara erehive del rotrospoctives/ §#(CfiLeptrsfopenciLerame,"'"))==MULL YC pringtC*tile apenning failure\w"); retur » ‘Tpropara archivo de campos fijoct/ F(t campti J=Fopencr Feturn; > ‘s*prepare archivo de etig-901 y etig-050"/ ((o903050f=fopenc"£901050.A5","2"))==HULL) /+aBre arch. para onodiet/ $F (¢090108DF=Fopen("EHO1050.ab¥,"Wh))==NULLYC/*ET nO crea arch.*/ DrintfC*ERROR: File opening f Feturn: > printfc\nprocesende... \a"; FFC(stringema! Loe CLeNGSTRD)Y=MULL) ‘ Istz/* eliming Lo auseneia del priner ck */ Sitecr feof itepeed) c ‘statrings Defgetettileptey; steaceteinges)=="1") 113 Avtonatizecién de le Secclén de Biblioteca de te Coordinscién de Servicios de informacién‘sCatringrjdefgetectileperyi/telinine carncteres ASCLI*/ ifC¢Catefnge])==39)C/#eL imine acentos y eoreige la i scentusdet/ ifcecsteinge)- Tee 19 Metringe)=tt; ecoteinge +o )} feueeeur 2 ifcecsceinge yee!" *cstringt j)efgetectileptr);/tetiming La $C¢cgteinge)==t\n'y /#el imine CR'S Innecessciost/ sestrings =" 8 if¢ncetringej2==LF) *cstrings)7e" +5 if@cstrings est) Ttin ce register « i4¢CE1f2echkfpcste ingy)==0) /* checa fornete mumerieo de FP */ ifCerehlbl (string, "» 90i"D1=NULLYC /Fexiste ro. ce adg.4/ Stcareh(bl¢steirg, > 050")/=NULL)C. /extate elasifieacient/ lastregresentrepte: canpti jcstring, feaaptt,tastreg): canpvar (str ing, campvar,€9010504, Lastreg): 2/*6050"/ elsecregecror(steing, £050, filerane);eretrde+;) ares) else (regerror¢steing,£901, filerane) err frdew;) alset fret switehcti120¢ dialects menset(steing, "\0! sey dptvhiters freecstringy; DprTt eal laces Pelerra archivost fC ¢regrunt= fopen(® ASTREG. HRM) printf menses” ERROR: return; LC ISTEAR RO" INSTALADG\R!; » printf regrunt, "21a", Lostreg); fcierra los archives’y cerning et procesor/ Felosetregnunt); feloseeanpvart); felose( fearpti 3) Felose(e9010504);, printf(mntorat ce registros procesados: Xd entres); Printf(mnzrrores detectadest 33". ere tnd): Printf(\n.. Proceso terminedo, \n'); aerroretrot*/ pee felosettitepte>: int ehkfptehar “string? nate nazerico. regrese un 0 Si hay error yun 1 si + choca que el campo Fijo FP tenge for- 114 Automatlzacién de a Seccién de GiDliotece de a Coordinactn de Servicios Ge Infornaciénno Lo hays autor: HECTOR RIVERA MADRID. ereacion: 11/SEP/91 Tevtnuersnenesesermnnsteanaenesnenrennerar, int ehefpcehar *ateing) « ‘chor Serchiblor ‘char *Ubipsez int eofld-0;, rehlbl¢steing,"> FP"))==MULL) returngt); (biptrstbtptr-coLinre7; fosivoztck;Soa) HFC tasightCibipertneees}9) return 2d: hi leC\btptrindnett P2197 14e:e0fldendnseotlae= hi LoCisspacecUbiptr indxee] 9; if(adeseotld) returaCD; narc-? /*retards de estabilizacion®/ Forci0; feb; ise) 1#CH idl gitcUblpte nekes))) returncs): sbilecblptr taba! 1Cisspacetiblper inser) recérn3); return(O)3 artehiter/| _[ttaenearnenennsanenresasrnennararaneusauerenenrenseeneuneunesneneetes 4% caupttjcchar *steing) + Crea archivo con informacion relative * * 2 los canpes Fi jos. * * Recibe el apuntader donde inicia cl > * : registre. . 1 gutor: Hector Rivera Madrid. : 4 ereacion: 1/JUL/3991| : void cappfiicchar “string, FILE *feaepfti, long int k) “ int srehroa; char *srehlbl(); int potnoedac); void fputseran; void fputstrf(); void putdated); void monitorfz oe te beelean F2tlo ( corcige vatores do default +7 if GAtstringsFa=s! ") Mstringe ti) =tn EFC CstringecoNF ne! 1) *¢atelnge COM) itcacstringerDIorAye=* +) € S(etringr DIOWA='84; *4str ingerDTOMAe *(stringe D1OWA:2) > (7 busca 2 4) shilecstring tari « ne 115 Autonatizacién de La Seccién de Biblioteca de {a Coordinacian de Servicios de Infornaciéniftoteingtr2einiet 4 € TRUE; /* si encuentea F2 */ J* construye archive de canpos fijos */ ‘printf cteenpfi), "071d "kd; 7* 90. de control */ fprine#(feanpfij,nam 9); (LIER putdatecO, fcampf i); riety Hputstef(feanptiJ,steing,fP,1);/7FBY/ fputscet(fearpti |isceing,F1,0); | 72F147 ‘ifcr2FlogeeTRUED rey fpurserf (feasptij, string, F2+ else fprinetcteampfii." —%): fputstetcfeempfi J, string, PAIS,3); | /*PAIS*/ fputstet feampfl string, 1205/3); /*1LUS*/ fputstrtcteampfl |istring,F4,13; | RHE fputstrtfeampfijisteing, FR, 13; FRE fputstefCfeanpfiistring Ma, 1); /*MAN/ Fputsertfeanpfiystring, 14,1); /*TH*/ sputstrtCfeamfi jrstring,®6,1); —/*P6+/ fputstetCfeempfij,string CONF, 1); /*CONF*/ HFC¢srentol (seeing, "> 6° ye=MlLL) sme fprintécfeanptij") 7 also fprinct(feanoti 40 fputstrtCfeompfij,steing, 106,19; /s8106e/ fputstrffeampfi j; seeing, 1010ka,3);/*10i0NRey Aprintt © F2flog, int 195 Yoid putdacet); void putstet(; peinefconO7ld #40; ft. OF CONT.*/ peinttcinam 2 4); rrurperty pateatect pstcey Butstetcerring,FP,t); — PEPA// putster(string, NO; F147 FC2Floge=TaUe) reey putstré(sering,F2+%,492 alse peintec m; putstrfcatring,PAIS,39; /*PAISt/ putstef(string, Lus,3)2 /ILUS*/ purstef(sering, PAN); | FHty purstefcsering,FR1); FR putstetcsteing 1); May Putstef(string, ALT); 77THEy porstrf(etring,ec, 1); 7=e58/ pucstef(etring, CONF, 12; r#CONESY 116 Autonatizacién de la Seecién de sibliorece de lo Coordinscién de Servicios de Inforaciénife¢srebtbLestring,"» 6") prinefont "; else print tc0 "9; putscrfetring,B106, 19; /*Btoce/ putstrf(string, 110%, 39;/#1D109R+/ prinerenvney; Dytnoni tert fey Ly suey prveene srchlbt(cher *string,char *label); = busce etiquete espeeiticade por (abel autoa: Hector Rivera Madrid,” FECHA: 9-duL-1991 char *srchlblcchor ‘string, char Label c ‘chor *Ublpte: T#€CUbiper=strstr¢steing, Label))I=KULLY retuen CiblptresL8LINF): else return KULL; aetsrchibl"7 presse ee wee void putdatetint opt.FILE *fp) * ‘ Imprine y archiva (a fecha de capture + = OCTAGON V IT sereseerenereesrsorsevenenrerusresereser/ void putdotecint opt FILE *fp) © ‘struct date chor *nenth D HAR, AER OAT UN, ‘elute wuss, seme, GeT™, lov", DEC; setdatersay; wi teh(opr)¢ ‘ease O:/*ingresion a ard "F(d.ce_day 9099) s=MULL> ’ 17 ‘Autonattzneién de (9 Seecién de BibLigtece de la Coordinacian de Servicios de Inforneciénvii leccACUbIpereiz>s 01 paRCrCLbLpEr#T9<=19)) « fputec* return 1; /* encontra ne. de ada. #/ wise else retura WULL; /* no encontre no. de ack. */ y [ebenenanes int sechetetring,i,a) + busca earacter dentro del string » AUTOR: Nector Rivera Madr FECHA: 24° sUN-1991 Int srehecetring, 4,2) char *string;/*stréant/ char a; stnatch chart int iy) 7tinit post? « hi Lecseeingtizter#!) ‘ itcsteingtiieeay “returnt i); se FeruracaULls; dytareher/ [Mseanesesateteaneceeseunstannesnanaaaneunsnnasen void putstrf(FiLe *Filenane, char ‘string, int 1, Ine offset) cen un archive eon une tongitud fija de cece string * auToR: Hector Rivera Madrid * DESCRIPCION: imprine una cadena de cerecteres ein forma + © CRERCION: 4=1U1-199" ‘ srnnnhonnevevanenreresansneeren] void fputatr¢feanpt],string, | ,offser) ine i; int offset; char tatring: FILE *fearpti « whi Lotsteingtisoffset) #219") « ifestringtivotfserat=r +) fprintt¢feanpt tj 2", string ivoffsetl); > forint f¢fesepti]," “9: aysipotsters 118 Ta Coordinaelén de Servicios do Infarnacién11s void fpurstrf Ficiezfidten) whi lec e=Fidten © tprinetcfitenone,* "95 ise > de fpucsteeey + void putstrficher *string, int initpos, int fldlen) r 4 DESCRIPCION: inprine una cadena de carseteres en un archivo con una longitud fi} de cade string * AUTOR: Hector Rivers Madrid { CHEACION? 4-4ul-1991 void putserfcstring, initpos, fidlen char "string; int initpos, ftdlen; a shi ecstringcinitposei1 i204) < itestringtinitpossi}s=! +) brea Brinercmten, string taitpea 1; > FFcteatiateny wal ectesFldteny © printf»); ) drpursert/ Automstizacién de lo Seceién de Biblioteca de Un Coordinacién de Servieias de Informacién AM[eteernaeeneesesee + void fadfldeftchar aering, int strinst): { DESCRIPCION: escribe el string @ un archivo de dates. + auToR: Hector Rivera Madrid * CREACIOM: 7-2UL 10-1991. void fadfidttcsteing, strtogt char *strings int stringty « Fe *fFlepte; int 1443 IFC(HiLeptr= fopentcanpfi j dato) yeeMULL) H4eCfileptestepent"eaept ij .dat","))=2RULLY rine# "tile apenning fai lure\n" ko; Forti c key ApeinefCAT Leper MRe¥,*¢stringei3): FF GENT36D/ fotze Uh CR para evi « fprinefcfileptr,"n";/4formato del archive ce datost/ > > Fetosectitepted; > esteingt; i++) 1 problecas al inprinie 4/ [teeeeneneeneenasananetnssnenenvansnees void cegerror(char Astring, int esrord: * DESCRIPCLON: Manda el registro a archive de repistees error * fnees indicando con un encabezado el error. oid regerrorcchar *string, int error,char *tilenase) c >yeSNULL) et) PML HFC Fileptestopenc" ERRORS. AB, © einegomar hier switencerrory + ERROR: fHLe openning Failure ***n%); merime mensaje de error en el archive */ « ‘cose E901: fprintfCfiteptr,are#*® ERROR 00 print Break; case FPOT: fprintt ese; /rapunta a indicadores 1 8 247 for(ieD; ica; ie+) inetalidesecingtkr il; indt2e primer subcanpss/ 7* shali20 eontenide eel subeanec"/ No": ‘utonat izacién de ta Seccién de Giblistecs de a Coordinaeién de Servicios de tnfermaeién AM122 insaeFalse; ifcstringckenit keenz; String ki SIC _/Adetecte carencia ce Sa/ S1psteingteels'a'; IngowTRUE; /*St se trate de cualquier etiguetaty ifcuois01¢ i=2;/*solo si so trate de la etig. 90t%/ Frprint #0 $2"); /*aani tort ‘streat(e50,"sa") y ) ‘subfUdents0;/*evita imprimir subFldings!\0'*/ ifctbt9013¢ ridx=ke3;almund01sFALSE;/Minictol ize var‘ables*/ ‘/fevita registrar etiquetas rules 0 901 SaSat/ ikiletsteing ind F212! Netringtedd==!at) iF Cisatnun(string ext] 12 FFprint f(s. ",€901);/#noni tory Sprint#Ceanpvar't "Xs ™,e8013:/7901 ai areh. de camp. fprinet(e901050f,"%s 56901);/4901 al arch. de e-7019506/, ainux601eTRUEsbreak; Détregistea y terninaty aymiwisere7, whi Lecstringthi!=!>"9¢ ot Tfcatringtki=+'>') break; UeGee=spepos) if insspe)”subt ding (J++) =* F#UbL9O1 EE aleanfOI€ — /#tratamtento separodo de et!-501*/ esstrinatkes}; ‘Farchiva etig-901 en ol archive e901050.ab*/ ‘Pprinef (mse €)2/snoni tor et/-901*/ print (campvart"te%,c); fprine#(e9010504 iene ” assay elsec /+procediniento normal*/ subfldinf ve) =stringtkee) subfldinf 129"; > duhitecsering Od 121819; SFC isspacetstringike2i ))¢/*inserta espacio si es recesariot/ 2 5:0; /treinicializa subfldint*/ Prooniteres y slmacena en el archive eaevars/ fCinsay subfldentee; HfCautlaentess0}. ‘Pronivoreat/ 20; hi kecoubt taint £191=0)¢ TFCOUBFLdinfLID== "Vn eubidiné (HD+ 7 fees y Fraupisonre jLnUTeFALSE; /*inteialsza variables*/ ubf lint (rand <0) /Hovica registrer etiquetas rutsst/ Te Gisatrun(subf dint oker alruneTRUE;breaK;) /"eegistea y termina®/ ifcalmuere enon tor®/ FepciottORD7id Rs Xs Xen", regra label, ind 2, subfidinfd 47 fprinctcanpvart =x071d Xs is s\n regrum, Label, indl2,subt laine); Sf{strenp(Labe!, S050"}=20)/4¢1 ¢¢ 050 se ener ibe at e901050E.ab"/ fprint#(e90iO5bF,"07Ld Ks Xs s\n", regnum, Label, ineT2,subflding); 2 eso Autonatizacien de la Seecién de Bibliotesn ce Va Coordinacién de Servicics de informacion Na NY