I need to insert headers into a Report using SYNCSORT. Here is my Code and Control Cards:
Control cards are attached. What I need it to look like is attached. Can you tell me how to do this?
Thanks!----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
********************************* Top of Data **********************************
1BACKORDERED PARTS WITH NO SDI 11:05 Friday, May 15, 2020
EMER
PART NUMBER B/O DATE ORDERS LINES
------------------ -------- ------ -----
5M6Z 8501A 2020/01/14 Y 9
KK4Z 17F774CD 2020/02/03 Y 2
KS7Z 54021A46A 2020/02/17 1
1S7Z 8125E 2020/02/17 1
FL1Z 2001E 2020/03/03 198
//*
SORT FIELDS=(1,80,CH,A)
//*
OUTFIL OUTREC=(2:18, UNPACKED PART NUMBER
20:5X, FILLER
25:25,10, PDT_YMD
35:5X, FILLER
40:37,1, EMERGENCY ORDER FLAG
41:7X, FILLER
48:45,5, P_LINES
53:29,X), FILLER
HEADER1=(1/30:'1BACKORDERED PARTS WITH NO SDI',/,
2/38:'EMER',/,
5:'PART NUMBER',25:'B/O DATE',38:'ORDERS',48:'LINES',/,
2:'------------------',25:'----------',38:'------',
48:'-----'),
*;