Not sure exactly what you are asking for.
If you are counting the number of elements in field or segment, you can try COUNTABS instead of COUNT.
If you are using COUNTSTRING, you can try
COUNTSTRING(element_name, "<CR>")
or
COUNTSTRING(element_name, "<<hex>>"
------------------------------
Rex Chan
------------------------------
Original Message:
Sent: Mon March 15, 2021 08:09 AM
From: Santanu Baral
Subject: COUNTSTRING Function
Hi,
is it possible to count <CR><LF> or <LF> in a file?
I know these are special character and not strings so i think its not possible.
I have tried with symbol function inside countstring function but does not get any output.
my requirement is to make a generic map which will take string dynamically from a DB or B2BI and then count it.
Thanks
Santanu
------------------------------
Santanu Baral
------------------------------
#IBMSterlingTransformationExtender
#DataExchange