Dec 142017
 
Import ASCII and BIX (BIBL import/Export) format files into a BIBL database. For BIBL version 5.40 or later.
File B540IN.ZIP from The Programmer’s Corner in
Category Databases and related files
Import ASCII and BIX (BIBL import/Export) format files into a BIBL database. For BIBL version 5.40 or later.
File Name File Size Zip Size Zip Type
B540IN.DOC 5153 2181 deflated
B540IN.EXE 27371 26607 deflated

Download File B540IN.ZIP Here

Contents of the B540IN.DOC file


B540IN

NOTE: B540IN is only required by the SHAREWARE version of BIBL. The
registered version of the program includes this functionality
under the maintenance menu.

B540IN is a simple utility program for reading ASCII data into a BIBL
database. The program's primary purpose is to allow users who create an
ASCII labelled dump of their database to read the information back into
the system at a later date. This provides a means of backing up your
database, transferring records between BIBL databases (e.g., importing
a TRANSFER.BIX file into another database), and reading properly-labelled
ASCII files into BIBL.

The details....

The goal of B540IN is simple--to enable users of the BIBL system
(a personal library management package) system to convert data in a text
file into records for BIBL. We envision using this utility with BRS
downloads, Dialog downloads, data from CD-ROMs or any other place you find
book and/or journal data in ASCII form. You still need to do some
editing of your input file before running this program , but we hope
you'll find the program saves you time and effort.

B540IN reads you input file, builds database records from the text, then
appends them to a database of your choosing.

How does it work?

As you probably know, each record in the BIBL database follows a rigid,
fixed-length form. Here's the structure for a record (field length
in ()'s):

Author 2 lines of 70 characters on each line
Title 3 lines of 70 characters on each line
Publisher 2 lines of 70 characters
Classification 1 line of 40 characters
Indexed Subject 1 line of 30 characters
Descriptors 1 line of 60 characters
Notes 6 lines of 70 characters on each line

For B540IN to work properly, you have to label the lines in your
input file with tags that identify which field of a BIBL record you want
the data stored in...and you have to separate individual records with a
2 character record delimiter (**).



Here's an excerpt of an input file of BRS citations:

1
AN 87-13511. 8704.
AU Chartoff-Marvin.
TI Communications Software: Shooting for Connectivity.
SO Network World. VOL: v4n12. PAG: 1,31-34, 4 pages. Mar 23, 1987.

2
AN 87-12916. 8704.
AU Anonymous.
TI Executive Suite: Using Space to Communicate.
SO Small Business Report. VOL: v12n3. PAG: 34-36, 3 pages. Mar 1987.

3
AN 87-12291. 8704.
AU Hamilton-R-A.
TI Distributed Computing -- A Challenge to Personnel Management.
SO Industrial Mgmt & Data Systems (UK). PAG: 13-15, 3 pages. Nov/Dec
1986.

To move this data into BIBL5 you would edit the file with your word
processor (ASCII mode ONLY!) as follows:

**
1
N1: 87-13511. 8704.
A1: Chartoff-Marvin.
T1: Communications Software: Shooting for Connectivity.
PB: Network World. v3n5. PAG: 1,31-34, 4 pages. Mar 23, 1987.
**
2
N1: 87-12916. 8704.
A1: Anonymous.
T1: Executive Suite: Using Space to Communicate.
PB: Small Business Report. v1n18 pgs: 34-36. Mar 1987.
**
3
N1: 87-12291. 8704.
A1: Hamilton-R-A.
T1: Distributed Computing -- A Challenge to Personnel Management.
SO: Industrial Mgmt & Data Systems (UK). p13-15, 3 pgs. Nov/Dec 1986.
N2: This is just a great article for the guys in Marketing.
**



The editing changes include:

Putting '**' between cites. The first and last lines of the input
file must be '**'.

Adding labels to each line we want to move into a BIBL5 record.

Ensuring that the text you want to transfer *ALWAYS* begins in
5th position on the line.

Making sure that no data in a desired line exceeds the length of
that field in a BIBL database. If it does, it is chopped off.

Lines that are not labelled do not transfer, thus we ignore the
citation numbers in the input file.

Note that we've changed the AN (accession #) to N1:, thus it
will be the first line of the note field.

The order of the fields within a citation isn't important, but
each time B540IN hits a '**', it will dump the citation to
the database (e.g., *.DAT) file.

You can make many of these editing changes in your input file by
carefully applying global find & replace with an ASCII word-processor
(or program editor) like QEdit, Norton Editor, WordStar (non-document
mode), etc.


LABELS:

Here are the labels you must use:

A1: 1st line of author A2: 2nd line of author
T1: 1st line of title T2: 2nd line of title
T3: 3rd line of title
PB: 1st line of publisher P2: 2nd line of publisher
CL: Classification SU: Subject
DE: Descriptors/Keywords N1: 1st line of note
N2: 2nd line of note N3: 3rd line of note
N4: 4th line of note N5: 5th line of note
N6: 6th line of note

Final note: See the online information that displays when your run B540IN
for details on performing this ASCII conversion with no risk
to your existing database.


/* end of file */


 December 14, 2017  Add comments

Leave a Reply