Discussion:
'Previous Day' system symbols (was: how to calculate previous day using REXX)
(too old to reply)
Sean Gleann
2018-08-06 10:15:16 UTC
Permalink
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 set suitably-named system
symbols with new values each day,

I've tracked down details regarding the IEASYMU2 program, but no matter
what I do, the result is always RC288 (or '120'x). As far as I can see,
this is caused by some sort of RACF restriction, but there's no diagnostic
info appearing in the console log, so I don't know what to do to correct
the situation.

Has anyone successfully used this program & would be prepared to share
their experience, please?

Regards
Sean

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Gadi Ben-Avi
2018-08-06 10:36:37 UTC
Permalink
You need UPDATE access to IEASYMUP.symbolname in FACILITY.

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-***@LISTSERV.UA.EDU> On Behalf Of Sean Gleann
Sent: Monday, August 6, 2018 1:15 PM
To: IBM-***@LISTSERV.UA.EDU
Subject: 'Previous Day' system symbols (was: how to calculate previous day using REXX)

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 set suitably-named system symbols with new values each day,

I've tracked down details regarding the IEASYMU2 program, but no matter what I do, the result is always RC288 (or '120'x). As far as I can see, this is caused by some sort of RACF restriction, but there's no diagnostic info appearing in the console log, so I don't know what to do to correct the situation.

Has anyone successfully used this program & would be prepared to share their experience, please?

Regards
Sean

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN

.
הודעה זו נשלחה אליך מטעם חברה בקבוצת מלם תים וייתכן שהיא מוגנת תחת סודיות מסחרית. כל הצעה, התחייבות או מצג מטעם החברה, מחייבים מסמך נפרד וחתום על ידי מורשה החתימה של החברה. החברה רשאית לנטר כל תכתובת העוברת בשרתיה והיא לא תישא באחריות לכל נזק, ו/או אובדן, שיבוש או פגיעה במידע כלשהו שנגרם מסיבות של תקיפה חיצונית ו/או זדונית על הארגון.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Richards, Robert B.
2018-08-06 10:43:05 UTC
Permalink
And you may want to make it SYSTEM Rexx.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-***@LISTSERV.UA.EDU] On Behalf Of Gadi Ben-Avi
Sent: Monday, August 06, 2018 6:37 AM
To: IBM-***@LISTSERV.UA.EDU
Subject: Re: 'Previous Day' system symbols (was: how to calculate previous day using REXX)

You need UPDATE access to IEASYMUP.symbolname in FACILITY.

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-***@LISTSERV.UA.EDU> On Behalf Of Sean Gleann
Sent: Monday, August 6, 2018 1:15 PM
To: IBM-***@LISTSERV.UA.EDU
Subject: 'Previous Day' system symbols (was: how to calculate previous day using REXX)

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 set suitably-named system symbols with new values each day,

I've tracked down details regarding the IEASYMU2 program, but no matter what I do, the result is always RC288 (or '120'x). As far as I can see, this is caused by some sort of RACF restriction, but there's no diagnostic info appearing in the console log, so I don't know what to do to correct the situation.

Has anyone successfully used this program & would be prepared to share their experience, please?

Regards
Sean


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Elardus Engelbrecht
2018-08-06 10:47:07 UTC
Permalink
Post by Gadi Ben-Avi
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 set suitably-named system symbols with new values each day,
I've tracked down details regarding the IEASYMU2 program, but no matter hat I do, the result is always RC288 (or '120'x). As far as I can see, this is caused by some sort of RACF restriction, but there's no diagnostic info appearing in the console log, so I don't know what to do to correct the situation.
Please post your job and parameters used.

Also post the FULL messages(s) you received. If you can, can you extract the RACF SMF records for those failures?

As documented: "All updates by IEASYMU2 are controlled by RACF facility class entity IEASYMUP.symbolname".

Check that profile and ensure you did a proper SETROPTS REFRESH.

Look at for descriptions and warnings/notes about IEASYMU2:

https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieae200/ChangingSystemSymbols.htm
Post by Gadi Ben-Avi
Has anyone successfully used this program & would be prepared to share their experience, please?
Not me for that program, we rather use automation (mostly) to get previous date (day, month, year) as well today (system day) and scheduling date/time/period.

Of course, as posted a while back, I have a REXX program to write days as accepted by IFASMFDP program.

Alternatively, just use REXX and place your dates in a datasets to be read by other jobs.

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Sean Gleann
2018-08-06 11:08:11 UTC
Permalink
Thank you, Gadi - that cracked the problem.
All is working as required now

Sean

On 6 August 2018 at 11:46, Elardus Engelbrecht <
Post by Gadi Ben-Avi
Post by Sean Gleann
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.
Post by Sean Gleann
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,
Post by Sean Gleann
I've tracked down details regarding the IEASYMU2 program, but no matter
hat I do, the result is always RC288 (or '120'x). As far as I can see, this
is caused by some sort of RACF restriction, but there's no diagnostic info
appearing in the console log, so I don't know what to do to correct the
situation.
Please post your job and parameters used.
Also post the FULL messages(s) you received. If you can, can you extract
the RACF SMF records for those failures?
As documented: "All updates by IEASYMU2 are controlled by RACF facility
class entity IEASYMUP.symbolname".
Check that profile and ensure you did a proper SETROPTS REFRESH.
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.
0/com.ibm.zos.v2r1.ieae200/ChangingSystemSymbols.htm
Post by Sean Gleann
Has anyone successfully used this program & would be prepared to share
their experience, please?
Not me for that program, we rather use automation (mostly) to get previous
date (day, month, year) as well today (system day) and scheduling
date/time/period.
Of course, as posted a while back, I have a REXX program to write days as
accepted by IFASMFDP program.
Alternatively, just use REXX and place your dates in a datasets to be read by other jobs.
Groete / Greetings
Elardus Engelbrecht
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Samuel Armas
2018-08-06 14:04:24 UTC
Permalink
How do I unscribe?



Sam Armas

***@jascybersecurity.com<mailto:***@jascybersecurity.com>

573-823-2909



Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10



________________________________
From: IBM Mainframe Discussion List <IBM-***@LISTSERV.UA.EDU> on behalf of Sean Gleann <***@GMAIL.COM>
Sent: Monday, August 6, 2018 4:08:02 AM
To: IBM-***@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:46, Elardus Engelbrecht <
Post by Gadi Ben-Avi
Post by Sean Gleann
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.
Post by Sean Gleann
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,
Post by Sean Gleann
I've tracked down details regarding the IEASYMU2 program, but no matter
hat I do, the result is always RC288 (or '120'x). As far as I can see, this
is caused by some sort of RACF restriction, but there's no diagnostic info
appearing in the console log, so I don't know what to do to correct the
situation.
Please post your job and parameters used.
Also post the FULL messages(s) you received. If you can, can you extract
the RACF SMF records for those failures?
As documented: "All updates by IEASYMU2 are controlled by RACF facility
class entity IEASYMUP.symbolname".
Check that profile and ensure you did a proper SETROPTS REFRESH.
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.
0/com.ibm.zos.v2r1.ieae200/ChangingSystemSymbols.htm
Post by Sean Gleann
Has anyone successfully used this program & would be prepared to share
their experience, please?
Not me for that program, we rather use automation (mostly) to get previous
date (day, month, year) as well today (system day) and scheduling
date/time/period.
Of course, as posted a while back, I have a REXX program to write days as
accepted by IFASMFDP program.
Alternatively, just use REXX and place your dates in a datasets to be read
by other jobs.
Groete / Greetings
Elardus Engelbrecht
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Paul Gilmartin
2018-08-06 14:28:40 UTC
Permalink
Post by Sean Gleann
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, but no matter
what I do, the result is always RC288 (or '120'x). As far as I can see,
this is caused by some sort of RACF restriction, but there's no diagnostic
info appearing in the console log, so I don't know what to do to correct
the situation.
o Are you running your Rexx under TSO (IKJEFT01)?
o Are you invoking the utility (specify?) with ADDRESS TSO CALL?
o Is that utility in the list of programs authorized to CALL from TSO?

(There's also a TSOEXEC that I don't understand.)

(You might try using Rexx to submit batch JCL to update the system symbols.)

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
Loading...