Hi,
We have number of CICS test regions. And there are some common files which are allocated to these regions, used by all. We send email to tell everybody for a changing these files, before changing, but, many a times someone just changes it without notification. How can we find who is changing the file for a given CICS region?
Find who is changing the file at CICS region?
- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Find who is changing the file at CICS region?
I think you can not find such an information from any logs....
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- Registered Member
- Posts: 27
- Joined: Tue Aug 20, 2013 11:32 am
Re: Find who is changing the file at CICS region?
We also just send an email to make others aware about such changes.
Re: Find who is changing the file at CICS region?
Thanks all but does not any log capture such a thing which can be communicated automatically, is that possible?
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Find who is changing the file at CICS region?
No, this is not possible. It is not possible because (1) CICS does NOT have any log to capture file changes, and (2) CICS does not capture who is doing what to a file, either. Here are some messages from one of our CICS regions:Thanks all but does not any log capture such a thing which can be communicated automatically, is that possible?
Code: Select all
DFHFC0201 05/29/2019 07:20:11 CICSP2 Non-RLS file EDIOEA has been deallocated. Module DFHFCN.
DFHAP1900 05/29/2019 07:20:11 CICSP2 PRODBTCH CEMT SET FILE(EDIOEA) NOWAIT ENABLESTATUS(DISABLED) OPENSTATUS(CLOSED) RESP(NORMAL)
RESP2(0).
DFHFC0200 05/29/2019 07:25:41 CICSP2 Non-RLS file EDIIEA has been allocated to data set PROD.EDI.V66.VSAM.EDI.EDIIEA. Module DFHFCN.
DFHFC0200 05/29/2019 07:25:41 CICSP2 Non-RLS file EDIOEA has been allocated to data set PROD.EDI.V66.VSAM.EDI.EDIOEA. Module DFHFCN.
Another problem with log parsing on z/OS and CICS in particular is that most file writes are buffered. Hence, depending upon how often the buffer is being flushed, it could be anywhere from a few seconds to many hours between the time CICS writes the log message and the time it can be seen in the log file.
Realistically, there is no way to achieve what you have asked to do on a z/OS CICS system. You either need to figure out an alternative method (such as using your security package to restrict access to just one or a few people) or just accept that the current situation will continue.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute