A batch job is run to close some CICS files and the acid the batch job is running under is authorized to close the files (ie has SET access to SPI(FILE) ), but the job fails because the CICS default user acid does not have SET access to SPI(FILE).
Preset terminal security needs to be setup for the console(s). To do this, in the OPERATOR-DEFAULTSPRESET-SECURITY section of the CICS CSD entry for the console, specify USERID(acid) where 'acid' is the ACID NAME to be associated with the console.
For example CNSA - csd defintiion :
TERMINAL(CNSA) GROUP(CONSNAMN) DESCRIPTION() AUTINSTMODEL(NO) AUTINSTNAME() 08.270 14:44
TYPETERM(CONSL000) NETNAME(CNSA) CONSNAME(name)
REMOTESYSTEM() REMOTENAME() REMOTESYSNET()
PRINTER() PRINTERCOPY(NO) ALTPRINTER()
USERID() NATLANG(E) <=========================================== need to specify the ACID NAME
To have ACID 'CONSA' be associated with console CNSA, modify the CSD entry under the 'OPERATOR-DEFAULTSPRESET-SECURITY ' section
to stated 'USERID(CONSA ). This must been done for the other consoles with their associated ACID NAME. The CICS region needs to be refreshed with these