I want to write a CL program that will calculate 31 days less than the system date. If a journal receiver is 31 days older than the system date I want to delete it. I already have the logic in another program to also test on whether or not commands SAVCHGOBJ and SAVLIB were used. I normally use query to test out my logic and produce a report so I know that what I want to delete is valid before I go into the code and add the delete process. Can you provide a code example that could help me? Thank you!