Skip to content

AWS BluAge L3 Workshop -Go Live - Facing issue with TRANBKP Job

0

Facing issue with batch test post go live. TRANBKP job is giving the following error logs in cloudwatch. Verified previous posts about the GDG file path setup and other script level issues. Fixed them , but still getting the below. Tried multiple times the same job, but never success.

2025-10-20T15:16:28.213Z ERROR ??? --- [ Thread-21] c.n.b.gapwalk.rt.shared.GDGStateHandler : Unable to serialize gdg state because of IOException

java.nio.file.AccessDeniedException: /m2/mount/efs/files-directory/AWS.M2.CARDDEMO.TRANSACT.BKUP.json

asked a year ago174 views

1 Answer
0

The error you're encountering with the TRANBKP job in the AWS BluAge L3 Workshop appears to be related to file access permissions. The specific error "AccessDeniedException" for the GDG state file indicates that the application doesn't have the necessary permissions to write to the specified directory.

To resolve this issue, you should:

  1. Check the permissions on the directory /m2/mount/efs/files-directory/ and ensure that the user running the application has write access to this location.

  2. Verify that the EFS mount is properly configured and accessible from your application instance.

  3. If you're running in a containerized environment, make sure the container has the appropriate permissions to access the mounted EFS volume.

  4. Consider temporarily modifying the GDG configuration to use a different directory where you know the application has write permissions.

  5. Check if there are any file ownership issues that might be preventing the application from writing to the GDG state file.

This error is specifically related to the application's inability to serialize the GDG (Generation Data Group) state, which is crucial for tracking versions of your data files in the modernized mainframe application. Once the permission issue is resolved, the TRANBKP job should be able to execute successfully.
Sources
AWS Blu Age L3 Workshop: TRANBKP error - { "exitCode": -1, "stepName": "PRC001", "program": "IDCAMS", "status": "Error" } | AWS re:Post
AWS Blu Age L3 Workshop -> Execution -> Test -> Batch. TRANBKP_STEP05_REPROC file created in wrong location | AWS re:Post

answered a year ago

  • There is no way to review the permisisons for the EFS system, i suspected there might have been some miss at the EC2 EFS mounting step. To handle the issue, I deleted the EFS file , terminated the EC2 instance, and redid the EFS, EC2 creation and EC2 group id setup. Then again, recreated the Mainframe environment, application, deployed and completed both the batch and online tests.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.