View previous topic :: View next topic
|
Author |
Message |
Alex Alvarez
New User
Joined: 25 May 2021 Posts: 1 Location: United States
|
|
|
|
Hi. I'd like to save our syslog in USS prior to an ipl and create a new one after the IPL. Do anyone know how I can accomplish this?
Thank you so much. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
Are you using SYSLOG or OPERLOG?
If SYSLOG, do you or can you switch it before ipl? Then use the external writer to write it to a USS file.
In case of OPERLOG I expect that you can use the IEAMDBLG program to copy to a USS file.
Basic question, what do you do today to save SYS/OPERLOG? |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1255 Location: Bamberg, Germany
|
|
|
|
Willy Jensen wrote: |
Are you using SYSLOG or OPERLOG? |
OPERLOG can be used as an addition to SYSLOG so it would be AND, right? However, access to OPERLOG LS needs to be restricted or the IBM provided ASM needs to be modified to remove the existing DELETE option. |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
There are two parts to this query.
The first part is "starting a new SYSLOG with an IPL." At one level this query is moot: an IPL always starts a new SYSLOG data set within JES.
The second part: transferring the SYSLOG to a USS data set is potentially more complex. As Mr. Jensen mentioned, what do you use today to save SYSLOG? If you are already saving SYSLOG then this process would have to be altered to both save it to your USS file AND save it to your current standard. If you are not saving SYSLOG you can prepare and run an external writer to save the SYSLOG to your USS file.
HTH |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
Quote: |
OPERLOG can be used as an addition to SYSLOG so it would be AND, right |
Yes, at least the manual says so, though personally I would go for OPERLOG only. Simple to set up, even for a single-system sysplex. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
Maybe you can use the SDSF REXX API? See section 'Browsing the system log with ISFLOG' in the 'SDSF User's Guide' manual.
I just realized that we haven't really addressed the USS part, but writing to a USS file should be common knowledge by now, something like:
Quote: |
//OUT DD PATH='/tmp/LOGOUT.OUT',PATHOPTS=(OWRONLY,OCREAT),
// PATHMODE=SIRWXU |
And I must admit to be curious, why specifically before an ipl? Syslog is typically hardened after midnight, if at all. And why USS only in this case? |
|
Back to top |
|
|
|