WebApr 4, 2014 · INREC IFTHEN=(WHEN=INIT,BUILD=(5,4,3,2,1,2)), IFTHEN=(WHEN=INIT,BUILD=(1,8,Y4T,SUBDAYS,+1034,TOGREG=Y4T)), * IFTHEN=(WHEN=INIT ... Which release of Syncsort are you currently running? Regards, Alissa Margulies Syncsort Mainframe Product Services 201-930-8260 … WebMay 18, 2024 · Here is a possible solution using SYNCSORT. It may work with DFSORT as well. Solution modified to check for values containing non-numeric characters or embedded blanks.
Overlay with IFTHEN= (WHEN=GROUP) and PUSH from 2 records
WebApr 21, 2024 · INREC BUILD= (1,2,2X,SEQNUM,2,ZD ... * Reformat the output record depending on the sequence number OUTREC IFTHEN=(WHEN=GROUP,BEGIN=(5,2,CH,EQ,C'00'), PUSH=(7:1,2)), IFTHEN=(WHEN=GROUP,BEGIN ... This has been verified with AHLSORT for Windows … godfall artstation
IF THEN in JCL Sort Card to Format Records – Srinimf
WebThe OUTREC logic used with SORT/MERGE replaces OUTFIL and takes advantage of new capabilities (IFTHEN, WHEN and OVERLAY) in Syncsort 1.3 that I didn't realize existed. It pays to have current documentation available! WebDec 9, 2024 · 1. I need to combine multiple records into one single record. Each block of records to be merged (transposed) are marked by a numeric key. The delimiter can also be the record with the string CHG. I've tried resize but it mixes different 'blocks' of records. The number of 'tables' can be between 1 and 50. The LRECL of the input file is 60 So ... WebNov 17, 2016 · INREC runs before a SORT, so to make any changes to the data before a SORT, you use INREC. OUTREC runs after SORT, and OUTFIL after OUTREC. For now, the BUILD is just to show that the PARSEd fields contain the output you want (don't worry about the case, if you used mixed-case it will be like that). godfall all weapons