SORT help needed for date manipulation.
Posted: Wed Sep 14, 2016 2:36 pm
Hello,
I need help in manipulating a date present in the header. For a file I have the header is in the form:
Pos-13 to 20-Date= `YYYYMMDD' which i'm intrested in.
I want to reformat only the date from YYYYMMDD to DDMMYYYY in a single sort card, without changing the existing detail and footer records. Can you please help me out to do this. I failed to get it working with OVERLAY,OUTREC and INREC combinations.
But it did not work.
I need help in manipulating a date present in the header. For a file I have the header is in the form:
Code: Select all
ZHEDRFGG6500 YYYYMMDD
Code: Select all
RECORD-ID(1)-HEADERID(2-5)-Dataset ID(6-12)-YYYYMMDD(13-20)
I want to reformat only the date from YYYYMMDD to DDMMYYYY in a single sort card, without changing the existing detail and footer records. Can you please help me out to do this. I failed to get it working with OVERLAY,OUTREC and INREC combinations.
But it did not work.