Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DFSORT/ICETOOL :: RE: Change date (DD/MM/YY) in 2nd record of a file using DFSORT

$
0
0
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:

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.


Viewing all articles
Browse latest Browse all 8500

Trending Articles