Hi, By now, after more trial and errors and reading several bits of the DFSORT manual, I have been able to get the report that I wanted. But now I need something else. I want to produce a report with only the data sets that have not been referenced for over a year. The DCOLLECT record "D" "DATE LAST REFERENCED (yyyyddd F)" is on position 113 (117 for a SORT field), with a length of four bytes. I think that this makes it format PD for SORT, and not CH as the manual states. If I use 117,4,CH,LE,X'2021202F', it works as expected. But I do not want to have a hard coded date. I have used on a different report "118,10,BI,LE,DATE1(-)-90)" for dates with the "yyyy-mm-dd" format. My interpretation of the DFSORT manual for a date on the "yyyyddd" format, is that I should use the DATE3 symbol, but it is not working. I will keep reading the manual and I will keep trying on but, in the meantime, does anyone has a suggestion? Thank you, Regards, Jack
On Wed, 20 Jul 2022 at 15:53, Jack Zukt <[email protected]> wrote: > Thanks Kolusu > Jack > > On Wed, 20 Jul 2022 at 15:53, Sri h Kolusu <[email protected]> wrote: > >> Jack, >> >> The link that nigel pointed out is an old one and does not have the >> updated the macros (encryption and other enhancements). Moreover the FTP >> link also does not work. I will fix the website not to refer to the FTP >> site. >> >> I will respond to you offline about the updated macros and JCL. >> >> >> Thanks, >> Kolusu >> DFSORT Development >> IBM Corporation >> >> >> >> ---------------------------------------------------------------------- >> For IBM-MAIN subscribe / signoff / archive access instructions, >> send email to [email protected] with the message: INFO IBM-MAIN >> > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
