user2381130
user2381130

Reputation: 193

ESQL convert to binary

just wondering how to convert integers from XML to Binary PIC 9(4) BINARY

Currently I have

SET OutputRoot.DFDL.ORDERS.NUMBER_OF_ITEMS = CARDINALITY(InputRoot.XMLNSC.p:Order.p:Order_Items.p:Item[]);

Cobol CopyBook

NUMBER-OF-ITEMS PIC 9(4) BINARY

is there any way I can do to convert to Binary in that line. Much Appreciated.

Upvotes: 0

Views: 678

Answers (1)

user2381130
user2381130

Reputation: 193

problem resolved. No esql does the convertion, the dfdl parse does it. all good

Upvotes: 0

Related Questions