Author: Bill Woodger
Subject: Reply to: ICETOOL/SYNCSORT - SYSPRINT output
Posted: Thu Oct 06, 2016 1:08 am (GMT 5.5)
If you have two files, with keys that match one-for-one, it is a simple JOINKEYS.
Use OMIT in the JNFnCNTL files for the join to get rid of superfluous lines (if there are some you can't get, you can OMIT them later in the main task). Then, in the same place, you'll have to "normalise" the position of the keys (the JOINKEYS itself needs fixed start/length for the join). Simple with PARSE and ENDBEFR="_" and a second field with the rest of the data, from your examples, then BUILD with the two PARSEd fields.
Subject: Reply to: ICETOOL/SYNCSORT - SYSPRINT output
Posted: Thu Oct 06, 2016 1:08 am (GMT 5.5)
If you have two files, with keys that match one-for-one, it is a simple JOINKEYS.
Use OMIT in the JNFnCNTL files for the join to get rid of superfluous lines (if there are some you can't get, you can OMIT them later in the main task). Then, in the same place, you'll have to "normalise" the position of the keys (the JOINKEYS itself needs fixed start/length for the join). Simple with PARSE and ENDBEFR="_" and a second field with the rest of the data, from your examples, then BUILD with the two PARSEd fields.