On Mon, 6 Aug 2018 11:15:06 +0100, Sean Gleann wrote:
>
>However, I wanted to go further. Having created a working REXX, I want to
>then automatically run it on a daily basis to set suitably-named system
>symbols with new values each day,
>
>I've tracked down details regarding the IEASYMU2 program,
alf of
Sean Gleann
Sent: Monday, August 6, 2018 4:08:02 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: 'Previous Day' system symbols (was: how to calculate previous day
using REXX)
Thank you, Gadi - that cracked the problem.
All is working as required now
Sean
On 6 August 2018 at 11:4
Thank you, Gadi - that cracked the problem.
All is working as required now
Sean
On 6 August 2018 at 11:46, Elardus Engelbrecht <
elardus.engelbre...@sita.co.za> wrote:
> Sean Gleann wrote:
>
> >Very recently, I too went down the path of developing a REXX to figure
> out yesterday's date, and my
Sean Gleann wrote:
>Very recently, I too went down the path of developing a REXX to figure out
>yesterday's date, and my solution pretty much matches ones that have been
>proposed in that mail-trail.
>However, I wanted to go further. Having created a working REXX, I want to then
>automatically
calculate previous day
using REXX)
You need UPDATE access to IEASYMUP.symbolname in FACILITY.
-Original Message-
From: IBM Mainframe Discussion List On Behalf Of
Sean Gleann
Sent: Monday, August 6, 2018 1:15 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: 'Previous Day' system
You need UPDATE access to IEASYMUP.symbolname in FACILITY.
-Original Message-
From: IBM Mainframe Discussion List On Behalf Of
Sean Gleann
Sent: Monday, August 6, 2018 1:15 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: 'Previous Day' system symbols (was: how to calculate previous
Very recently, I too went down the path of developing a REXX to figure out
yesterday's date, and my solution pretty much matches ones that have been
proposed in that mail-trail.
However, I wanted to go further. Having created a working REXX, I want to
then automatically run it on a daily basis to
Nims,Alva John wrote:
>Please take this with ALL it's implied humor: "OMG! Do you normally program
>in APL?" :-)
While appreciating the humor, I'd point out that nested function calls like
that are entirely natural and accepted in Rexx. With good tracing options like
TRACE ?I
(Intermedia
Sent: Thursday, August 2, 2018 5:52 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: how to calculate previous day using REXX
I know it boils down to preference or requirements, but something I have a
hard time grasping: why declare so many variables
: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf
Of Steve Horein
Sent: Thursday, August 02, 2018 8:52 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: how to calculate previous day using REXX
I know it boils down to preference or requirements, but something I have a hard
tim
DATEX=DATE('N',DATEB,'B')
> SAY DATEX
>
>
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of ITschak Mugzach
> Sent: Thursday, August 02, 2018 4:44 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
LISTSERV.UA.EDU] On Behalf
Of ITschak Mugzach
Sent: Thursday, August 02, 2018 4:44 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: how to calculate previous day using REXX
Try this logic:
- Get the Julian date of today (YYXXX)
- Deduct 1 from Julian date (xxx)
- Last 3 digits zero? (xxx)
> z/Series System Programmer
>
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of ITschak Mugzach
> Sent: 02 August 2018 09:44
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: how to calculate previous d
Brian Fraser wrote:
>If you use 'Base' then maths works without needing to worry about 0 or
>negatives.
Indeed. And also no worries at all about Leap Year!
I use 'Base' to feed my SMF jobs the date of today+yesterday for dumping
purposes.
Groete / Greetings
Elardus Engelbrecht
-
If you use 'Base' then maths works without needing to worry about 0 or
negatives.
/* REXX */
TODAY = DATE('BASE')
YESTERDAY = TODAY-1
DAYB4 = TODAY-2
ISODATE = DATE('STANDARD',TODAY,'BASE')
SAY ISODATE
ISODATE = DATE('STANDARD',YESTERDAY,'BASE')
SAY ISODATE
ISODATE = DAT
Yes, I forgot to mention last step: covert Julian date to the date format
you use.
ITschak
On Thu, Aug 2, 2018 at 10:56 AM saurabh khandelwal <
sourabhkhandelwal...@gmail.com> wrote:
> Thanks for reply. But in our rexx automation, we basically need all three
> Year , month and date. So, not sur
Thanks for reply. But in our rexx automation, we basically need all three
Year , month and date. So, not sure, if I can achieve it from the logic you
suggested before.
On Thu, Aug 2, 2018 at 11:43 AM, ITschak Mugzach wrote:
> Try this logic:
>
>- Get the Julian date of today (YYXXX)
>
STSERV.UA.EDU
Subject: Re: how to calculate previous day using REXX
-- This email has reached the Bank via an external source --
Try this logic:
- Get the Julian date of today (YYXXX)
- Deduct 1 from Julian date (xxx)
- Last 3 digits zero? (xxx)
- Deduct one from first two cha
unction to convert our result
to a human readable format.
Gadi
-Original Message-
From: IBM Mainframe Discussion List On Behalf Of
saurabh khandelwal
Sent: Thursday, August 2, 2018 11:39 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: how to calculate previous day using REXX
Hello Group,
In
Try this logic:
- Get the Julian date of today (YYXXX)
- Deduct 1 from Julian date (xxx)
- Last 3 digits zero? (xxx)
- Deduct one from first two chars (year) (YY)
- Decide the Julian date (365 or 366 based on year/4) (xxx)
ITschak
On Thu, Aug 2, 2018 at 10:38 AM saurabh khandelwa
Hello Group,
In REXX , we have Date function to calculate today's date but do we have
any separate function to calculate yesterday's date.
currently, we used
TODAY= DATE('S')
YESTERDAY = TODAY - 1
this code work whole month but, starting of the month where we have date
ex :
TODAY - '20180801
21 matches
Mail list logo