Note: all the information is not much, there are few optional fileds ew mandatory fields. So they may or may not send us all the optional fields.
We should be handling in moving that to corresponding COBOL copybook field.
I would do this with XML PARSE and with EVALUATE WHEN. But here the field id's are not unique and the number of fields are about 1600 to be formatted.
Pls suggest me is there any simpler way to do this task, also let me know for any further information required.
Adding to the above, I can even get the level count and string the field ids to one string, say
after concatinating all the above group levels, I would be having like below in to working storage field
NAME OF SENDERINFO OF PAYMENT DETAILS
ADD1 OF ADDRESS OF SENDERINFO OF PAYMENT
like wise we can even construct the field to be moved in, but that concatinated string will be in a field, but I'm not sure how could we be make a MOVE statement to the value of the concatinated string..
I might be confusing here.. but the requirement is very clear in the above msg, here is of one of the thought I got in my mind...