ATTN: Lex Users and Librarians
SUBJECT: Packing to change patron divisions (or any patron info)
The question has been asked, "how would you change all the students in
one division to another" in Lex.
We will suppose you want to change the division number 12, and solve
this problem two ways.
A. Let us suppose you know that you want to change all occurrences of
division 12 and make them division 15. You will then use: "pack with
changes".
The first problem is to determine with great precision what the data
looks like now, and exactly what changes are needed.
In Lexifile, use the .OPEN command and specify pat.fil. In LexWin,
click on the P for patron file.
In either program examine a MARC record. In Lexifile, go .marc
1<enter>. In LexWin just click on the MARC tab. You will see
something like this:
001 lex 000001
005 200110171410
010 $f 104247
100 $a Stack$bRoberta
220 $a Box 2026$eFrontier, Sask.$hS0N 0T0$k637-1504
310 $h 14
We see that the patron division is in field 310. The data we wish to
change is in the 310 field.
In LexWin execute a PACK command, with Tools-Pack. Then check "make
global changes.," then click "start pack".
In Lexifile executed .pack<Enter> and select "global changes".
We want to find and replace a word (12 and replace it with 13). In
both programs you choose "find and replace a word" and specify data
"12." You will be asked "what field and you specify "310" and you
specify subfield "h".
Click on "Continue" in LexWin, or "proceed with Pack" in Lexifile.
B. You want to change all occurrences of a division (12) and change
them to something else, but not always the same division. The best
you can hope to do, is create the set of records having division 12,
and edit manually.
In this case you simply search for division 12 in the 901 field. In
LexWin click on "Search unhindered fields" and select division."
Specify 12 and all names in division 12 will be formed into a set.
In Lexifile, type in 901=12 at strike ENTER.
Then EDIT record 1, make your changes in the division area and strike
"pge down".
Hope this helps
Jim Bruce
Lex Systems