[Isis-users] Global Change

spinaker spinaker at adinet.com.uy
Fri Jan 5 16:23:22 CET 2018


Dear Fred

I've just seen your message
Have you received any response?
If not, please send a concrete example that you need help
regards
Ernesto Spinak



El 06/12/2017 a las 18:17, Fred Hommersom escribió:
> Thanks gentlemen,
> I found a manual "CISIS-ManualReferencia-en-5.2" with a large 
> description of MX with a proc
> Are more examples present anywhere?
> I am trying to change one of the members of a repeating field.
> The field is called "Keywords" and contains on each line a keyword.
> I am looking for an example how to operate on only one of the keywords.
>
> I also tried a gizmo for another option. I found an example in manual 
> CISIS-ManualReferencia-en-5.2.pdf
>
>     Applies a gizmo to the record, which can apply to a list of
>     specific fields.
>     echo transpiration~xxx> xxx.lst
>     mx seq=xxx.lst~ create=xxx now
>
> This code creates  xxx.mst and xxx.xrf as expected.
> However: the content of this database is empty.
> The command "mx xxx" shows no records.
>
> Any help or examples available?
> Regards
> Fred
>
>
>
> Op 6-12-2017 om 15:42 schreef De Smet Egbert:
>> 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]
>> _______________________________________________
>> isis-users mailing list
>> 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
>
>
>
> _______________________________________________
> isis-users mailing list
> 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


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20180105/e027de0e/attachment.html>


More information about the isis-users mailing list