Path: utzoo!utgpu!attcan!uunet!husc6!psuvax1!rutgers!ucsd!ucbvax!CTSTATEU.BITNET!CRUZ_MIV From: CRUZ_MIV@CTSTATEU.BITNET Newsgroups: comp.os.vms Subject: In need of an UPDATE DCL_Prog.... Message-ID: <8808040024.AA09457@ucbvax.berkeley.edu> Date: 15 Jul 88 20:39:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 30 Dear INFO-Vaxers: I am in great need of a prog that will Open a sequencial file of constant record length and will update it by Inquiring a 'search key', dispaying that record on the screen, and asking the user to type in the modified record (new-record), thus updating the file. The file is of text format. Here is an example of what I was looking for: Enter Record Key : Payroll 0112 4567 ext.3456 Payroll DEC II LN5678 Jim Brown Building C CCSU Is it this one [Y/N] ? Y New REC: *typed changes* Record was updated *file is closed* I was able to write one that reads in record by record, but am having some trouble in using a search routine to get me to the record I want to change... Can anyone help me ? Make suggestions, or send me a working prog that does this or similar... I appreciate all the help. Sincerely, Mig. [CRUZ_MIV@CTSTATEU] Disclaimer: "Kindness is the oil that takes the friction out of life !"