Re: DFSORT SUBDAYS function

2024-04-09 Thread rpinion865
You are correct about the record format and length. Thank you for the control statements! Sent with Proton Mail secure email. On Tuesday, April 9th, 2024 at 12:12 PM, Sri Hari Kolusu wrote: > > > The date begins in column 1 and is 10 characters long. I know I want to > > > use the SUBDAY

Re: DFSORT SUBDAYS function

2024-04-09 Thread Sri Hari Kolusu
>> The date begins in column 1 and is 10 characters long. I know I want to use >> the SUBDAYS function. I am looking at the DFSORT Programmer Guide. But I >> learn best by example. Richard, Your input date has separators and DFSORT date arithmetic functions works on date without separators. S

DFSORT SUBDAYS function

2024-04-09 Thread rpinion865
I have the following field in a dataset, that I want to subtract days from, leaving the date in the original format. The date begins in column 1 and is 10 characters long. I know I want to use the SUBDAYS function. I am looking at the DFSORT Programmer Guide. But I learn best by example. 2024/04