Receiving the following message in CAIQD2E task log when trying to convert AFP file in Web Viewer into a PDF and transformation is failing:
ESF4336 File 1 UNKNOWN (UNKNOWN /UNKNOWN ) - Job Control file open failed - EDC5111I Permission denied.
ESF4332 File 1 UNKNOWN (UNKNOWN /UNKNOWN ) - A2PD transformation failed with RC=8
OM VIEW, OM Webviewer 14, Standalone Java Transformers
This error can be caused by the user ID of the Java Transformers not having appropriate access to the Java Transformer USS directories and the files within.
The following steps confirms the cause and lists the subsequent resolution for this issue:
In OMVS:
Navigate to the folder that holds the input, output, and queue folders for the Java Transformers.
- This location can be found in the STDENV environment variable dataset referenced in the CAIQD2E started task.
Once in this folder, issue the following command in OMVS: "ls -alF"
This will bring up the list of folders, along with their permission settings In the following format:drwxrwxrwx 2 USERNAME GROUPNAME 8192 DATE TIME FILENAME
The first value dictates the permissions of the folder or file listed, in three groups, Owner permissions, Group permissions, and Other permissions.
If these are not all set to rwx or rw- (read write execute), and the userid running the Java Transformers is neither the owner, or in the group the folder is assigned to, it will need to be added to the group listed.
If they are all set to rwx or rw-, check the files inside of the queue folder and the input folder. If the userid for the Java Transformers is not the owner or in the group of the files generated within these folders, it will need to be added to the group the file references.
To check the groups a userid is part of, in OMVS issue the command: "id -Gn USERID"