Skip to content

While running first batch job TRANBKP at first excecution I am getting the error

0

While I am running the first batch job I am getting the below error . I am now to java. Can you please someone explain How can I resolve this error.

2025-06-04T23:37:40.484Z INFO 1416 --- [ Thread-13] c.n.b.g.r.job.support.DefaultJobContext : Stored [.\AWS.M2.CARDDEMO.TRANSACT.BKUP.G0077V00] for key (AWS.M2.CARDDEMO.TRANSACT.BKUP,1) 2025-06-04T23:37:40.487Z INFO 1416 --- [ Thread-13] c.n.b.gapwalk.io.support.FileFactory : Created new file [D:\PhotonUser\Workshop\working-directory..\AWS.M2.CARDDEMO.TRANSACT.BKUP.G0077V00] line 1:0 token recognition error at: '' line 1:1 token recognition error at: 'Š' line 1:2 token recognition error at: '€' line 1:3 token recognition error at: 'ä' line 1:4 token recognition error at: '?' line 1:5 token recognition error at: 'ø' line 1:6 token recognition error at: '`' line 1:7 token recognition error at: 'Ê' line 1:8 token recognition error at: 'Ñ' line 1:9 token recognition error at: 'Å' line 1:10 token recognition error at: 'Ç' line 1:11 token recognition error at: 'È' line 1:12 token recognition error at: '€' line 1:13 token recognition error at: ' ' line 1:17 token recognition error at: '?' line 1:14 mismatched input '_/:' expecting {<EOF>, DELETE, 'BLDINDEX', DEFINE, 'SET', VERIFY, 'REPRO', 'PRINT', 'IF', 'CANCEL', ALLOC, LISTCAT} 2025-06-04T23:37:40.654Z INFO 1416 --- [ Thread-13] c.n.b.g.r.job.support.DefaultJobContext : Returning stored dataset path from job context for key (AWS.M2.CARDDEMO.TRANSACT.BKUP,1) 2025-06-04T23:37:40.654Z INFO 1416 --- [ Thread-13] c.n.b.g.io.support.basic.BuilderHelper : Retrieved path from jobContext : .\AWS.M2.CARDDEMO.TRANSACT.BKUP.G0077V00

asked a year ago160 views

1 Answer
1

The error you're encountering while running the TRANBKP batch job in AWS Blu Age is related to character encoding issues in the IDCAMS utility. This is a common problem in the L3 Workshop environment.

To resolve this issue:

  1. Navigate to the configuration directory of your application
  2. Open the file config/application-utility-pgm.yml
  3. Remove any encoding configurations (specifically CP1047 and CP037) from this file

The error occurs because the IDCAMS parser is encountering unexpected characters that it can't properly interpret. The token recognition errors and the "mismatched input '_/:'" message indicate that there's an encoding mismatch when the IDCAMS utility tries to process the input.

By removing the encoding configurations from the application-utility-pgm.yml file, you allow the system to use default encoding which typically resolves this issue. After making this change, try running the TRANBKP job again, and it should execute successfully.

This is a known issue in the AWS Blu Age L3 Workshop environment that has been encountered by other users as well.
Sources
Blu Age L3 Workshop Automation Execute Batch TRANBKP STEP05R REPROC IDCAMS issue | AWS re:Post
AWS Blu Age L3 Workshop: TRANBKP error - { "exitCode": -1, "stepName": "PRC001", "program": "IDCAMS", "status": "Error" } | AWS re:Post
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

answered a year ago

  • After commenting the encoding from application-utility-pgm also I am getting the same error. Now what should I do?

  • After commenting the encoding from application-utility-pgm also I am getting the same error. Now what should I do?

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.