Author: Bill Woodger
Subject: Reply to: Change date (DD/MM/YY) in 2nd record of a file using DFSORT
Posted: Thu Sep 08, 2016 2:39 am (GMT 5.5)
You state that the formats are the same and it is a once-off, so very simple:
You can concatenate all the inputs, but remember you will just get one output unless you include code to identify the different outputs and have one OUTFIL for each report.
If you don't mind the output all being in one file, go with concatenation. From what you have said, it will work.
Subject: Reply to: Change date (DD/MM/YY) in 2nd record of a file using DFSORT
Posted: Thu Sep 08, 2016 2:39 am (GMT 5.5)
You state that the formats are the same and it is a once-off, so very simple:
Code: |
COPY COPY INREC IFTHEN=(WHEN=(identify uniquely the lines you want to change), OVERLAY=(columnnumberofsevenindate:C'6') |
You can concatenate all the inputs, but remember you will just get one output unless you include code to identify the different outputs and have one OUTFIL for each report.
If you don't mind the output all being in one file, go with concatenation. From what you have said, it will work.