[Isis-users] JISIS - Problems Importing ISO Files -andPFTFormats

Giuzzo Barbaro g.barbaro at mclink.net
Tue Apr 29 20:11:31 CEST 2014


Dear Egbert,
so (if I understand well) I will try to change "~^e" with " ^e" (i.e. 
leaving an empty space before the string).
Thanks
giuzzo

----- Original Message ----- 
From: "De Smet Egbert" <egbert.desmet at uantwerpen.be>
To: "Giuzzo Barbaro" <g.barbaro at mclink.net>; "spinaker" 
<spinaker at adinet.com.uy>
Cc: <isis-users at iccisis.org>; "Jean-Claude Dauphin" <jc.dauphin at gmail.com>
Sent: Tuesday, April 29, 2014 10:45 AM
Subject: RE: [Isis-users] JISIS - Problems Importing ISO 
Files -andPFTFormats


As long as you keep the exact SAME number of characters it will work o.k., 
remember that ISO-2709 is fully based on string lengths (which is its main 
flaw...).
ISIS uses the same ISO-2709-format (although with binary instead of 
ASCII-numerical values for the header) to store records.
Repeats of fields create a new entry into the directory of the ISO-record, 
but not repeats of subfields as these are just sub-strings of a 
field-content. This means that subfields are just stored-as-is, with any 
separator or whatever is put in it and only detected as subfields by the 
PFT-parser. It is the data-entry worksheet processor which checks for a 
percentage-sign (%) to know that it has to create a new entry into the 
directory.
So, data-entry with the string :
^aFirst subfield a^aSecond subfield a^bSubfield b
will always create a problem for the PFT-parser, except when using a 
JavaScript (or in the old days a format-exit) to first pre-process the 
repeated subfield.
An entry in the worksheet like :
^aFirst subfield a%^aSecond subfield a^bSubfield b
should create two occurrences of the field, the first one with only one 
subfield a in it, the second one with the second subfield a and the subfield 
b.
I am afraid that if J-C Dauphin wants to make J-ISIS repeatable-subfield 
capable, he has to build in that pre-processor code to parse the whole 
string of the field to see if a specific subfield marker occurs more than 
once. That is not part of the ISO-2709 header parsing. This will slow down 
all parsing of fields... Or am I wrong ? But J-C can best judge on the 
feasibility of this.

Egbert de Smet
Universiteit Antwerpen
________________________________________
From: Giuzzo Barbaro [g.barbaro at mclink.net]
Sent: Tuesday, April 29, 2014 12:06 AM
To: spinaker
Cc: isis-users at iccisis.org; Jean-Claude Dauphin; De Smet Egbert
Subject: Re: [Isis-users] JISIS - Problems Importing ISO 
Files -andPFTFormats

Dear friends,

In facts to solve the problem of the 'missing titles' in a practical way, I 
was thinking about making a sort of "global change" in the ISO file, 
changing "~^e" with " : " , which is the correct ISBD(M) syntax for this 
subfield in the title area (indeed there is no real need to use a repeatable 
subfield in this particular case) - or similars. But the problem is that 
this change may affect all the ^e subfields also in the other fields in the 
whole database, if any. And the syntax is not always the same. How can I 
make a global change only in field 1 in the whole ISO file (or similar 
actions)?

Good night to you all
Giuzzo

Il giorno 28/apr/2014, alle ore 22:59, spinaker 
<spinaker at adinet.com.uy<mailto:spinaker at adinet.com.uy>> ha scritto:

Dear Giuzzo

You are right, repeatable char is only used in the data entry worksheet, 
because the repetition feature is managed by the directory section of the 
Record,
Anyway, you always can edit an ISO record as a text file,

Regards
Ernesto

El 28/04/2014 17:54, Giuzzo Barbaro escribió:
Dear Ernesto and Jean-Claude

Thank you for the hint, but the problem is that the ISO file apparently has 
no % character: In the export form -from DOS version- I selected the # 
character as record delimiter and ~ (Alt+126) character as field delimiter. 
(The % character is only used in data entry worksheets, but it does not 
appear in the export ISO files, or at least I cannot see it - I sent some 
sample ISO file in a previous mail, so you can check).

:-(

Kind regards
giuzzo
----- Original Message -----
From: spinaker<mailto:spinaker at adinet.com.uy>
To: isis-users at iccisis.org<mailto:isis-users at iccisis.org>
Sent: Monday, April 28, 2014 10:36 PM
Subject: Re: [Isis-users] JISIS - Problems Importing ISO 
Files -andPFTFormats

Dear Giuzzo

Yes, this trick works, because I do this kind of customization of  ISO files 
very often

Regards
Ernesto Spinak


El 28/04/2014 17:25, Jean-Claude Dauphin escribió:
Dear Giuzzo,

I think that you can edit the ISO file with a text editor and replace the % 
character by another one such as  the & character. I am not sure but it may 
work.

Best wishes,
Jean-Claude



On Mon, Apr 28, 2014 at 9:20 PM, Giuzzo Barbaro 
<g.barbaro at mclink.net<mailto:g.barbaro at mclink.net>> wrote:
Dear Egbert and Jean-Claude

many thanks for your valuable hints. It seems now to be working ...!  :-)

Egbert, you' re perfectly right: the indexing technique 0 (instead of 5) in 
field 26 in the FST is a real mistake.
I didn't even notice that in the JISIS dictionary there was no entry "Z=xxx" 
(in the sample I sent).
The very strange fact is that the (wrong) syntax (26, 0, mpu,"Z="V26) in the 
FST worked perfectly for more than 20 years in hundreds and hundreds of 
libraries using TECAdb in the CDS/ISIS-WinISIS versions (!?)  (in facts you 
can easily check that in the sample ISIS "DOS" version I attached to the 
mail, you can find all the "Z=" terms in the Inverted file, despite the 
wrong syntax!).

Anyway, I changed the FST as you suggested and tried your test-PFT and it 
works!
Now I'll try to change all the PFT's in a correct way (and may be I will 
need your help again, because now I'm getting some parsing error... :-(  )

Thanks again

(I'm still having problems with the repeatable subfields, as I told you...I 
understand that this is probably due somehow to a certain "misuse" of the 
repetitions)

Kind regards
bye

giuzzo


----- Original Message ----- From: "De Smet Egbert" 
<egbert.desmet at uantwerpen.be<mailto:egbert.desmet at uantwerpen.be>>
To: "Giuzzo Barbaro" <g.barbaro at mclink.net<mailto:g.barbaro at mclink.net>>
Cc: "Jean-Claude Dauphin" 
<jc.dauphin at gmail.com<mailto:jc.dauphin at gmail.com>>
Sent: Sunday, April 27, 2014 8:37 PM

Subject: RE: [Isis-users] JISIS - Problems Importing ISO 
Files -andPFTFormats


Hello again,

no need to apologize, I only wanted to make clear why there was no immediate 
reply.
Now, I checked your PFT and I think the problem is with the syntax.

First of all I changed the line creating the 'Z=' entries, by making it 
technique 5 (instead of 0) :
26 5 '/Z=/',mpu,(V26/)
as before that I didn't see any Z= entries in your dictionary.

Then I created the following PFT for testing the REF-function (e.g. called 
'testref') :
(if p(v27) then
REF(L('Z='v27),
'V1='v1'  ',
'V26='v26'    ',
'V29='v29/'<BR>')
else 'no references' fi)

and the output for MFN 2 is, in my opinion correct :
V1=^aInferno V26=005555 V29=1
V1=^aPurgatorio V26=005556 V29=2
V1=^aParadiso V26=005557 V29=3

Based on this output from the basic model PFT for the REF-function, I think 
you should be able to correct your PFT with correct output.
If you don't manage, let us know.
Egbert de Smet
Universiteit Antwerpen
________________________________________
From: Giuzzo Barbaro [g.barbaro at mclink.net<mailto:g.barbaro at mclink.net>]
Sent: Sunday, April 27, 2014 3:49 PM
To: De Smet Egbert
Cc: Jean-Claude Dauphin
Subject: Re: [Isis-users] JISIS - Problems Importing ISO 
Files -andPFTFormats

Dear Egbert, Dear Jean-Claude

Thank you for your kind interest.
I am perfectly aware that you -and many people in the ISIS community- are
working mostly on a "voluntary basis" for the ISIS project, and all of us
are
very grateful to you for all the efforts (and the great work) you have done
and still are doing for us.
Therefore I apologize if I gave to you the impression to ask (or worse
"claim"...!) for a quick solution: it was absolutely far from my intentions.
I just wanted to share a problem with people having a much deeper knowledge
than mine, thinking that maybe other people encountered -and solved- the
same problems,
and I sent the files attached to my previous mail because I was asked to do
so by someone. In the last days I shared with friends living near me the
great surprise and the honour of getting an (unespected) answer from you to
my emails.

(I can simply add that working on a "voluntary basis" applies somehow also
to me-at a much lower level, as I was asked to solve this problem -on a free
basis, of course, as usual...- by others who updated their machines to
64-bit ones, and this is not "my" database - I am only a school Math
teacher, with a little ISIS knowledge due to many years of usage.)

Therefore it is not my intention to abuse your kindness and your time, not
to put anyone in a hurry to solve my problems, please trust me. English is
not my native language, and maybe some of my expressions are not a correct
translation of my real thoughts and feelings.

Kind regards
giuzzo

----- Original Message -----
From: "De Smet Egbert" 
<egbert.desmet at uantwerpen.be<mailto:egbert.desmet at uantwerpen.be>>
To: "Giuzzo Barbaro" <g.barbaro at mclink.net<mailto:g.barbaro at mclink.net>>; 
"Jcd" <jc.dauphin at gmail.com<mailto:jc.dauphin at gmail.com>>
Cc: <isis-users at iccisis.org<mailto:isis-users at iccisis.org>>
Sent: Sunday, April 27, 2014 1:01 PM
Subject: RE: [Isis-users] JISIS - Problems Importing ISO
Files -andPFTFormats


Hello,

in order to fully check your problem (which is in fact the 'repeatable
subfield' problem, something which originally was NOT envisaged by
ISIS-technology) a careful setup is required and this simply takes some more
time to be set aside for finding out. None of us is full-time freed from
other professional responsibilities to deal with such issues, it is all
about voluntary time and efforts, hoping to sustain the ISIS-technology.
When we discussed the REF-function for J-ISIS the idea was to fully copy its
functionality from WinISIS (in fact such 'run-time'-on-demand
semi-relational capability is something other database technology is envying
ISIS for), so that for sure should be tested carefully and if found wrong
corrected. Maybe your data provide us with interesting testing data, that
can be useful indeed.
So, some patience please.

Egbert de Smet
Universiteit Antwerpen
________________________________________
From: isis-users 
[isis-users-bounces+egbert.desmet=ua.ac.be at iccisis.org<mailto:ua.ac.be at iccisis.org>] 
on
behalf of Giuzzo Barbaro [g.barbaro at mclink.net<mailto:g.barbaro at mclink.net>]
Sent: Sunday, April 27, 2014 11:54 AM
To: Jcd
Cc: isis-users at iccisis.org<mailto:isis-users at iccisis.org>
Subject: Re: [Isis-users] JISIS - Problems Importing ISO Files -
andPFTFormats

Dear Jean-Claude
yesterday I sent this mail to you, with some attachments, but I got an NDR
message from your server (message too big (?) - it was not so big, about
160kB...). So I decided to cut the old conversations and try to send it
again to you.
Thanks
Kind regards
giuzzo
----- Original Message -----
From: Giuzzo 
Barbaro<mailto:g.barbaro at mclink.net<mailto:g.barbaro at mclink.net>>
To: María Mercedes 
MacLean<mailto:gaspyy at infovia.com.ar<mailto:gaspyy at infovia.com.ar>> ;
Jcd<mailto:jc.dauphin at gmail.com<mailto:jc.dauphin at gmail.com>> ; De Smet
Egbert<mailto:egbert.desmet at uantwerpen.be<mailto:egbert.desmet at uantwerpen.be>>
Cc: 
isis-users at iccisis.org<mailto:isis-users at iccisis.org><mailto:isis-users at iccisis.org<mailto:isis-users at iccisis.org>>
Sent: Saturday, April 26, 2014 1:46 PM
Subject: Re: [Isis-users] JISIS - Problems Importing ISO Files -
andPFTFormats

Dear Jean-Claude, Maria Mercedes, Egbert and all friends,

attached to this mail you'll find some files (in .zip format) - 2 export
.ISO files and the TECA db structure,  and an explanation (Word) of the work
I have done, to explain in a simple (?) way the problems I have encountered.
Thaks again for your help.
Have a nice weekend
Kind regards
Giuzzo

_______________________________________________
isis-users mailing list
isis-users at iccisis.org<mailto:isis-users at iccisis.org>
To manage your own subscription options go to:
http://lists.iccisis.org/listinfo/isis-users
Or contact Henk Rutten: hlrutten at xs4all.nl<mailto:hlrutten at xs4all.nl>





--
Jean-Claude Dauphin

jc.dauphin at gmail.com<mailto:jc.dauphin at gmail.com>
jc.dauphin at afus.unesco.org<mailto:jc.dauphin at afus.unesco.org>

http://kenai.com/projects/j-isis/
http://www.unesco.org/isis/
http://www.unesco.org/idams/
http://www.greenstone.org



_______________________________________________
isis-users mailing list
isis-users at iccisis.org<mailto:isis-users at iccisis.org>
To manage your own subscription options go to: 
http://lists.iccisis.org/listinfo/isis-users
Or contact Henk Rutten: hlrutten at xs4all.nl<mailto:hlrutten at xs4all.nl>




--
  .^.                                .^.
  ( )                                ( )
  ===                                ===
 =[=]================================[=]=
  | |  Ernesto Spinak                | |
  | |  spinaker at adinet.com.uy<mailto:spinaker at adinet.com.uy>        | |
  | |  Montevideo, Uruguay           | |
  | |  tel/fax  (598) 2622-3352      | |
  | |  celular  (598) 99612238      | |
 =[=]================================[=]=
  ===                                ===
  ( )                                ( )
   V                                  V

________________________________
_______________________________________________
isis-users mailing list
isis-users at iccisis.org<mailto:isis-users at iccisis.org>
To manage your own subscription options go to: 
http://lists.iccisis.org/listinfo/isis-users
Or contact Henk Rutten: hlrutten at xs4all.nl<mailto:hlrutten at xs4all.nl>



--
  .^.                                .^.
  ( )                                ( )
  ===                                ===
 =[=]================================[=]=
  | |  Ernesto Spinak                | |
  | |  spinaker at adinet.com.uy<mailto:spinaker at adinet.com.uy>        | |
  | |  Montevideo, Uruguay           | |
  | |  tel/fax  (598) 2622-3352      | |
  | |  celular  (598) 99612238      | |
 =[=]================================[=]=
  ===                                ===
  ( )                                ( )
   V                                  V




More information about the isis-users mailing list