<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thanks gentlemen,<br>
I found a manual "CISIS-ManualReferencia-en-5.2" with a large
description of MX with a proc<br>
Are more examples present anywhere?<br>
I am trying to change one of the members of a repeating field.<br>
The field is called "Keywords" and contains on each line a keyword.<br>
I am looking for an example how to operate on only one of the
keywords.<br>
<br>
I also tried a gizmo for another option. I found an example in
manual CISIS-ManualReferencia-en-5.2.pdf<br>
<blockquote><font color="#3333ff">Applies a gizmo to the record,
which can apply to a list of specific fields.<br>
echo transpiration~xxx> xxx.lst<br>
mx seq=xxx.lst~ create=xxx now</font><br>
</blockquote>
This code creates xxx.mst and xxx.xrf as expected.<br>
However: the content of this database is empty.<br>
The command "mx xxx" shows no records.<br>
<br>
Any help or examples available?<br>
Regards<br>
Fred<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Op 6-12-2017 om 15:42 schreef De Smet
Egbert:<br>
</div>
<blockquote type="cite"
cite="mid:3f89ac221f0448d298836f58517969ba@uantwerpen.be">
<pre wrap="">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 <a class="moz-txt-link-rfc2396E" href="mailto:isis-users-bounces+egbert.desmet=ua.ac.be@iccisis.org"><isis-users-bounces+egbert.desmet=ua.ac.be@iccisis.org></a> on behalf of Albert LEMORT <a class="moz-txt-link-rfc2396E" href="mailto:albert.lemort@hepl.be"><albert.lemort@hepl.be></a>
Sent: Wednesday, December 6, 2017 3:24 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:isis-users@iccisis.org">isis-users@iccisis.org</a>
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:
[<a class="moz-txt-link-freetext" href="cid:part1.BFBA7E8E.ED848F5A@hepl.be">cid:part1.BFBA7E8E.ED848F5A@hepl.be</a>]
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
<a class="moz-txt-link-abbreviated" href="mailto:isis-users@iccisis.org">isis-users@iccisis.org</a><a class="moz-txt-link-rfc2396E" href="mailto:isis-users@iccisis.org"><mailto:isis-users@iccisis.org></a>
To manage your own subscription options go to: <a class="moz-txt-link-freetext" href="http://lists.iccisis.org/listinfo/isis-users">http://lists.iccisis.org/listinfo/isis-users</a>
Or contact Henk Rutten: <a class="moz-txt-link-abbreviated" href="mailto:hlrutten@xs4all.nl">hlrutten@xs4all.nl</a><a class="moz-txt-link-rfc2396E" href="mailto:hlrutten@xs4all.nl"><mailto:hlrutten@xs4all.nl></a>
[<a class="moz-txt-link-freetext" href="https://ecolevirtuelle.provincedeliege.be/docStatique/images/Logo%20HEPL10ans_RVB_signature.jpg">https://ecolevirtuelle.provincedeliege.be/docStatique/images/Logo%20HEPL10ans_RVB_signature.jpg</a>]
_______________________________________________
isis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:isis-users@iccisis.org">isis-users@iccisis.org</a>
To manage your own subscription options go to: <a class="moz-txt-link-freetext" href="http://lists.iccisis.org/listinfo/isis-users">http://lists.iccisis.org/listinfo/isis-users</a>
Or contact Henk Rutten: <a class="moz-txt-link-abbreviated" href="mailto:hlrutten@xs4all.nl">hlrutten@xs4all.nl</a>
</pre>
</blockquote>
<br>
</body>
</html>