Permissions to access the file system

Depending on the functions performed by your program, the CICS Transaction Gateway Java™ APIs might require access to the file system, for example to write trace files.

The following permission statement gives permission for the CICS® Transaction Gateway to access and create an ibm/ctg subdirectory in the users' home directory on the UNIX System Services file system:
permission java.io.FilePermission "${user.home}${file.separator}ibm
${file.separator}ctg${file.separator}-","read,write,delete";
The format of the permission might vary depending on the installation, and you can specify alternative locations, or none at all. CICS Transaction Gateway classes require access to the file system in the following cases:
For example, you can specify the following permission to allow access to the directory /tmp/ibm and all subdirectories:
permission java.io.FilePermission "/tmp/ibm/", 
                                  "read,write,delete";

Information Information

Feedback


Timestamp icon Last updated: Tuesday, 19 November 2013


https://ut-ilnx-r4.hursley.ibm.com/tgzos_latest/help/topic/com.ibm.cics.tg.zos.doc//progdezos/ccl99j2s.html