[Isis-users] Splitting a Field

spinaker spinaker at adinet.com.uy
Tue Oct 26 16:18:55 CEST 2021


Question

I see (correct me if I'm wrong) that there is a ';' for each subfield, 
including the missing fields
so in the example
  Source -->*v10 = ^m256;12;103;;^i10242020
*

Target -->*v10 = ^m256^v12^d103^p^k^i10242020*

If this pattern is keep, then it is possible to correct the problem

Please, confirm this question

Regards,
Ernesto Spinak





El 26/10/2021 a las 10:44, Egbert De Smet escribió:
>
> Hi,
>
>
> the problem I see is how to do this if the sequence of subfields is 
> not fixed : how do we know which ';' to replace by which subfield 'vdpk' ?
>
> I can imagine it is possible if the sequence is fixed, but if it is 
> not no way to do it. In principle in ISIS the sequence of subfields is 
> not by definition fixed, e.g. ^b can come before ^a etc.
>
> In ABCD there is in the FDT a column 'pre-literals' which is meant to 
> match a separator in some input string to subfields. But again the 
> sequence will need to be fixed.
>
> Egbert de Smet
> Universiteit Antwerpen
>
>
> ------------------------------------------------------------------------
> *From:* isis-users 
> <isis-users-bounces+egbert.desmet=ua.ac.be at iccisis.org> on behalf of 
> Amjad Ali Malik <amjadalimalik66 at hotmail.com>
> *Sent:* Tuesday, October 26, 2021 3:25 PM
> *To:* isis-users at iccisis.org
> *Subject:* [Isis-users] Splitting a Field
> CAUTION: This email originated from outside of the organization. Do 
> not click links or open attachments unless you recognize the sender 
> and know the content is safe.
>
> Dear Experts,
>
> I want to split a field into subfields having data stored as
>
>  Source -->*v10 = ^m256;12;103;;^i10242020*
>
> Target -->*v10 = ^m256^v12^d103^p^k^i10242020*
>
> How it will be accomplished.
>
> Regards
> Amjad Ali Malik
>
> _______________________________________________
> 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/20211026/ad434884/attachment.html>


More information about the isis-users mailing list