- Newest
- Most votes
- Most comments
The error you're encountering is related to character encoding issues in your TRANBKP batch job. This is a common problem when running Blu Age modernized applications, particularly with IDCAMS utility programs that are part of the batch job.
The specific error shows token recognition errors at various positions, indicating that the parser is encountering characters it cannot properly interpret. The key issue appears to be at line 1:14 with a mismatched input '_/:' that the parser doesn't recognize.
Here are steps to resolve this issue:
-
Check the content of your IDCAMS control statements in the TRANBKP job. The error suggests there might be a comment starting with '/*' or a line starting with '_/:' that the parser cannot handle.
-
Review the Groovy script for the TRANBKP job, particularly around line 59 where the error might be occurring (based on similar issues).
-
If you're using IDCAMS in your job, ensure that any control statements are properly formatted according to the expected syntax.
-
You've already tried changing encoding configurations and data types (from ZD to CH), which is a good step, but the issue might be with the actual content of the script or control statements.
-
Download and compare your Groovy scripts with reference scripts if available to identify any discrepancies.
-
Ensure that the Groovy scripts for TRANBKP are present in the correct directory (usually under WEB-INF/classes/scripts/) and are named correctly.
-
Check that your application configuration (application.yml or application-utility-pgm.yml) has the proper script locations configured.
This appears to be a syntax issue in the IDCAMS control statements rather than an encoding problem, despite your attempts to fix it by changing encoding configurations.
Sources
Getting below exception while running go-live batch TRANBKP.groovy job. java.lang.RuntimeException: org.antlr.v4.runtime.misc.ParseCancellationException: line 1:0 mismatched input '/*' expecting. | AWS re:Post
Go Live - Post Deployment and Started Application, While trying to submit Batch job, getting as Groovy script unknown/unable to execute. | AWS re:Post
answered a year ago
Relevant content
- AWS OFFICIALUpdated 2 years ago
