Hi,
Could someone help me with this please?
Input:
----+----1----+----2----+----3----+----4----+----5----+----6----+----7--
14 Feb 00:43:51.7967 => ****GI Identifier= 20111111111111111111
14 Feb 00:43:51.7967 => SORTWORKSFORUAAAAAAAAAAAAAAAAccountKey/Output Validation error
14 Feb 00:43:51.7967 => XXXXXXXXXXXXXXXXXXXXXXXXXNo Data XXXXXXXXXXXXXXXXXXXXXXXXXXX
14 Feb 00:43:51.7967 => SIMPLECHARLIE
14 Feb 00:43:52.3124 => ****GI Identifier= 20112222222222222222
14 Feb 00:43:52.3124 => B1234567890AAAAAAAAAAAAAAAAccountKey/Output Validation error
14 Feb 00:43:52.3124 => XXXXXXXXXXXXXXXXXXNo Data XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
14 Feb 00:43:52.3124 => SIMPLECHARLIE
Expected Output:
----+----1----+----2----+----3----+----4----+----5----+----6----+----7--
20111111111111111111 SORTWORKSFORU
20112222222222222222 B1234567890AA
Important Points:
1. The length of the Input file is 251 and it's a FB file.
2. The number in the input (Eg.. 20111111111111111111 always starts with "2011" and starts from the 44th position.LENGTH = 20
3. The text in the input (Eg.. SORTWORKSFORU) always starts from the 25th position in the line next to the number (2011..).
LENGTH=13
4. The text in the output should start from 22nd position after the number.
Query:
I know I need to use IFTHEN(WHEN=GROUP).
Not sure how to do it?