How to retrieve yesterdays date in rexx code?



IBM's Command List programming language & Restructured Extended Executor

Re: How to retrieve yesterdays date in rexx code?

Postby expat » Wed May 08, 2019 5:29 pm

Yes, you can. You need to read the documentation again.

Why not break it down into simple steps so that it is easier to understand, and then when you do understand condense it into a single expression.

1) Set a variable as a date
2) Subtract your choice of value from said variable
3) Convert said variable into a date format

So basically, exactly as Enrico has said above :mrgreen:
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times

Re: How to retrieve yesterdays date in rexx code?

Postby NicC » Wed May 08, 2019 7:14 pm

Step 1a) convert date in variable to Basedate form (spoon-feeding)
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post