EACSOPEN exit program is called, if it exists in the client job LIBL, each time a file open is requested by the client job, or a SQL statement is prepared or immediately executed.
The exit program can refuse the file operation, or it can change file name or SQL statement.
See source example in EACSYSSRC file, Easycom library.