There is a business requirement that all users within a certain department be logged off the production CICS system if there is no activity after a certain period of time. We have setup the OPTIME parameter for a user in our test environment and it does what we want by doing a force logoff of the user after the specified time. We tried the same thing with a department ACID but it does not work, the users under that department are not forced logoff after the specified time.
Can OPTIME be used at the department level or is there another way of doing this?
You cannot add OPTIME to a DEPT to make it work for users of that DEPT, there is no direct relationship between the DEPT acid and the users who are part of that DEPT. You will need to use a common profile for users of that DEPT, to have everyone in the DEPT time out after the same time period.
You could add the OPTIME value to the DFLTUSER acid for the CICS region if you want the same timeout value for everyone that has access to this region.