Author: uday kiran
Subject: Change date (DD/MM/YY) in 2nd record of a file using DFSORT
Posted: Wed Sep 07, 2016 10:57 pm (GMT 5.5)
Hi All,
I have 20 report files (133 LRECL, RECFM=FBA).
As an example they all have header as shown below,
My requirement is, I will have to update EXECUTION DATE in all files with a day minus. i.e it should now become 06/09/16. Its just one time request.
I wanted to achieve this using DFSORT not through COBOL program. Can some one help me on how the sort card should be like?
Since I have 20 files to be changed (at later point of time it can be more), Can I execute SORT on all 20 files in one step instead of executing same sort for 20 times?
Please let me know if you require more details.
Code'd for you.
_________________
Thank You.
Subject: Change date (DD/MM/YY) in 2nd record of a file using DFSORT
Posted: Wed Sep 07, 2016 10:57 pm (GMT 5.5)
Hi All,
I have 20 report files (133 LRECL, RECFM=FBA).
As an example they all have header as shown below,
Code: |
------------------MEDICARE REPORT---------------------------------- PART A ------------------------------ EXECUTION DATE: 07/09/16 ------------------------------------------------------------------------- |
My requirement is, I will have to update EXECUTION DATE in all files with a day minus. i.e it should now become 06/09/16. Its just one time request.
I wanted to achieve this using DFSORT not through COBOL program. Can some one help me on how the sort card should be like?
Since I have 20 files to be changed (at later point of time it can be more), Can I execute SORT on all 20 files in one step instead of executing same sort for 20 times?
Please let me know if you require more details.
Code'd for you.
_________________
Thank You.