Posted: Fri Nov 01, 2024 6:56 am Post subject: DFSort/ICETOOL PARSE on optional fields in variable position
Hi, I have the following code and data that I am trying to extract 3 fields that may/may not be there and are not in fixed positions: Looking on the internet there are many forums saying to use the IFTHEN(WHEN=INIT command but it doesn't work for me - it finds the first field but no more after that - any ideas please.
JCL:
NWBDM2I78742122 PROPAY 2024-02-01 GBPUBNINPI02584368;0117;E;0118;2024-02-01;0119;9999-12-31;0120;SHA;0121;N;0122; ;0377;N;0378; ;0379;CODEWORD /RETN/ RECEIVED GO TO PAGE 4 ;0380;/RETN/ ;0381;N;0382;2433;0383;Same account number used for credit and debit
The field 0118 is found but none of the others.
If I swap theme around so it looks for filed 0378 first it finds that but none of the others. So it seems to not parse after the first successful parse.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum