Header portion of the file, Patron record portion of the file – Follett VERSION 6.00 User Manual

Page 200

Advertising
background image

04/04

200

Patrons

Header portion of the file

The first line in the import file must be a header line. The third field, Patron file

format version, must contain

4.00

if the file is in the 31Ćfield format described in

Patron record portion of the file." Do not enter the current application version

that you are running. Although it is not required that the other header fields

contain data, each field, listed in the following table, must exist in the header.

Field

Format

Maximum length

Example

School name

String

30

Anytown Elementary"

Program name

String

20

Patron Maintenance"

Patron file

format version

String

10

4.00"

Date created

Num, YYYYMMDD

8 (exactly)

19990901

Patron count

Num

4 (exactly, zeroĆpadded) 0009

Disk number

Num

2 (exactly, zeroĆpadded) 01

Final disk?

String, Y or N

1

Y"

The following example of a file header indicates that patrons from Anytown

Elementary were exported by Patron Maintenance module version 4.00 on Sept.

1, 1999 (19990901). There are 9 (0009) patron records. This is the first disk (01) in

the series and is also the last disk (Y") in the series.

“Anytown Elementary”,“Patron Maintenance”,“4.00”,19990901,0009,01,“Y”

Patron record portion of the file

The remaining lines in the import file are patron records. Each record must

contain all of the 31 fields, whether or not they contain data. String fields must be

surrounded by quotation marks, and all fields are separated (delimited) by

commas. Each record must end with a hard return; there must not be any trailing

space after the last field.
The Last Name field must contain data. In addition, the Barcode and/or

Alternate ID field(s) must contain data. This second requirement depends on

your preference. Refer to your System Setup | Patron Maintenance | Patron

Defaults for your required patron field(s).
The following table contains the specific information for each field:

Patron fields

Field

Format

Maximum length

Example

Barcode

String

14

P 52"

Alternate ID

String

20

241661234"

Last name

String

20

Sellers"

First name

String

20

Patty"

Advertising