|
| hi,
after looking at ur posting i have a suggestion do write a
preprocessor and conert the flat file xml that will save u
a lot of hassles .
rgds
kamal
>-----Original Message-----
>QUESTION: How to add optional (may exists or not) records
or fields to flat
>file specification?
>I have this strange format of issue of orders for
payments:
>--------------------------------------------
>%START01
>NUMBER : 48
>DATEZAP : 05.02.2003
>SENDER : ABC
>SENDBANK: BankA
>SENDCITY: New York
>SENDRKC : XXX
>SENDCODE: 043606952
>SENDKORR: XXXXXXXXXXXXXXXXXXXX
>DEBIT : YYYYYYYYYYYYYYYYYYYY
>SENDINN : 7705222767
>RECEIVER: QWERTY
>RECVBANK: Bank B
>RECVCITY:
>RECVRKC : XXX
>RECVCODE: 043601706
>RECVKORR: ZZZZZZZZZZZZZZZZZZZ
>CREDIT : WWWWWWWWWWWWWWWWWWW
>RECVINN : 7705222767
>AMMOUNT : 1500000.00
>MEMO : Purpose of payment
>%END01
>--------------------------------------------
>
>Record starts with this keyword "%START01" and ends
with "%END01".
>Names of fields of the record starts with the
corresponding identifiers.
>I created specification for such file, but in real life
after the field
>"MEMO"
>can be some blank lines or not.
>
>Thanks,
>Roman
>
>
>.
>
|
|