[Isis-users] Global Change
De Smet Egbert
egbert.desmet at uantwerpen.be
Wed Dec 6 15:42:06 CET 2017
Unfortunately CISIS (as used in ABCD) does not support a reformatting FST, which is a CDS/ISIS or WinISIS concept.
But it is replaced by a more flexible 'proc' (process or procedure) parameter which defines either in-line or by referral to a script which operations need to be done on a record, using the Formatting Language (as in the FST).
Here records but also fields can be deleted, added, reformatted etc.
So according to the current value of your field 611^a that occurrence of the (sub-)field can be either left untouched or deleted and added into v620, which is more or less what you need.
Such a 'proc' (or several of them) is to be passed to mx in a command (terminal), while at the same time in the same run of the command one or more gizmo's can be applied. So the list of possibilities to manipulate fields in records is enormous...
Egbert de Smet
Universiteit Antwerpen
________________________________________
From: isis-users <isis-users-bounces+egbert.desmet=ua.ac.be at iccisis.org> on behalf of Albert LEMORT <albert.lemort at hepl.be>
Sent: Wednesday, December 6, 2017 3:24 PM
To: isis-users at iccisis.org
Subject: Re: [Isis-users] Global Change
Hello Fred,
You could try using a reformatting FST.
If your Keyword field has tag 611 and a subfield ^a and you want to copy some fields to Locations with tag 620, then the following FST should work:
[cid:part1.BFBA7E8E.ED848F5A at hepl.be]
The data will be copied, not moved.
Albert
Le 05-12-17 à 17:36, fred train a écrit :
Hello guru's
We have repeatable field called Keywords.
This field contains for historical reasons also coded location information.
A Keyword field could have entries like
Colored; upside; metal; painted; GLD; LIM; NLD; sale
The semicolons are added by the PFT. Each keyword has its own record.
We have created a new repeatable field called Locations. And the location entries from the keywords should be moved to the new Locations field and also translated into more readable strings.
The end-effect after the operation should look like:
Keyword: Colored; upside; metal; painted; sale
Locations: Gelderland(GLD); Limburg(LIM); Netherlands
The idea was to apply a global change for each of the keywords GLD, LIM and NLD.
I can modify the strings into their target strings (e.g. GLD becomes Gelderland) in the keywords.
But the Move option in Global change moves all entries of Keyword to Locations.
Is there a solution for my problem?
In other words: Is it possible with Global Change or another option to move some entries from the source repeatable field to a target repeatable field?
Regards
Fred
_______________________________________________
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>
[https://ecolevirtuelle.provincedeliege.be/docStatique/images/Logo%20HEPL10ans_RVB_signature.jpg]
More information about the isis-users
mailing list