Skip to content

I am getting the same error after changing to No encoding configurations (NO CP1047, No CP037) in application-utility-pgm.yml and Changed from ZD to CH in TRANREPT STEP05R sort while runnning TRANBKP.

0

2025-06-05_02-39-09-973 | [JOB] TRANBKP - Started 2025-06-05_02-39-09-980 | [STEP] STEP05R - Started 2025-06-05_02-39-10-004 | [EXEC GROOVY FILE] D:\PhotonUser\AppData\Local\Temp\2\blu_age_rt_temp_dir\TRANBKP_STEP05R_REPROC_2025-06-05_02-39-09-991.groovy - Started 2025-06-05_02-39-10-296 | [PROC] REPROC - Started 2025-06-05_02-39-10-309 | [STEP] PRC001 - Started 2025-06-05T00:39:10.320Z INFO 1416 --- [ Thread-16] c.n.b.g.i.s.FileConfigurationUtils : PRC001.FILEIN : BluesamFileConfiguration [bluesamId=, dataset=AWS.M2.CARDDEMO.TRANSACT.VSAM.KSDS, cacheCompression=false, warmUp=true, isAnsiCarriageControl=false, disposition=SHR, normal termination=KEEP, abnormal termination=KEEP] 2025-06-05T00:39:10.320Z INFO 1416 --- [ Thread-16] c.n.b.g.i.s.FileConfigurationUtils : PRC001.FILEOUT : GDGSupportConfiguration [relativeGeneration=1, name=AWS.M2.CARDDEMO.TRANSACT.BKUP, ownerPath=., cacheCompression=false, warmUp=true, storageProvider=filesystem, recordSize=350, jobContext=com.netfective.bluage.gapwalk.rt.job.support.DefaultJobContext@5db8bcee, rdw=false, bdw=false, isFixed=false, isLF=false, isCRLF=false, isMicroFocusCompatible=false, order=LIFO] 2025-06-05T00:39:10.324Z INFO 1416 --- [ Thread-16] c.n.b.g.r.c.i.ExecutionControllerImpl : Executing program: IDCAMS 2025-06-05T00:39:10.324Z INFO 1416 --- [ Thread-16] c.n.b.g.rt.db.stats.DatabaseStatistics : DATABASE STATISTIC DISABLED 2025-06-05T00:39:10.331Z INFO 1416 --- [ Thread-16] c.n.b.g.io.support.basic.BuilderHelper : Using path =[.\AWS.M2.CARDDEMO.TRANSACT.BKUP.G0077V00] for FileSystem GDG named AWS.M2.CARDDEMO.TRANSACT.BKUP generation 77 2025-06-05T00:39:10.331Z INFO 1416 --- [ Thread-16] 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-05T00:39:10.333Z INFO 1416 --- [ Thread-16] 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-05T00:39:10.339Z INFO 1416 --- [ Thread-16] 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-05T00:39:10.339Z INFO 1416 --- [ Thread-16] c.n.b.g.io.support.basic.BuilderHelper : Retrieved path from jobContext : .\AWS.M2.CARDDEMO.TRANSACT.BKUP.G0077V00 2025-06-05T00:39:10.339Z INFO 1416 --- [ Thread-16] c.n.b.gapwalk.io.support.FileFactory : File ..\AWS.M2.CARDDEMO.TRANSACT.BKUP.G0077V00 deleted 2025-06-05T00:39:10.341Z INFO 1416 --- [ Thread-16] 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-05T00:39:10.341Z INFO 1416 --- [ Thread-16] c.n.b.g.io.support.basic.BuilderHelper : Retrieved path from jobContext : .\AWS.M2.CARDDEMO.TRANSACT.BKUP.G0077V00 2025-06-05T00:39:10.344Z INFO 1416 --- [ Thread-16] 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-05T00:39:10.344Z INFO 1416 --- [ Thread-16] c.n.b.g.io.support.basic.BuilderHelper : Retrieved path from jobContext : .\AWS.M2.CARDDEMO.TRANSACT.BKUP.G0077V00 2025-06-05T00:39:10.344Z INFO 1416 --- [ Thread-16] b.g.r.i.s.i.DefaultGDGEventsQueueHandler : [75356309] - Stacked GDG Event :GDGEvent [provider=filesystem, fsPath=./.\AWS.M2.CARDDEMO.TRANSACT.BKUP.G0077V00, gdgName=AWS.M2.CARDDEMO.TRANSACT.BKUP, type=DELETE_GENERATION, relativeGeneration=1, absoluteGeneration=77, ] for [Thread-16] 2025-06-05T00:39:10.344Z INFO 1416 --- [ Thread-16] c.n.b.gapwalk.io.support.FileFactory : FileUtils : stack new generation event 2025-06-05T00:39:10.351Z INFO 1416 --- [ Thread-16] c.n.b.g.r.job.support.GroovyJobExecutor : Groovy script TRANBKP failed [step PRC001] [pgm IDCAMS] [exit code -1] 2025-06-05T00:39:10.351Z ERROR 1416 --- [ Thread-16] c.n.b.g.r.job.support.GroovyJobExecutor : Failure cause :

java.lang.RuntimeException: org.antlr.v4.runtime.misc.ParseCancellationException: line 1:14 mismatched input '_/:' expecting {<EOF>, DELETE, 'BLDINDEX', DEFINE, 'SET', VERIFY, 'REPRO', 'PRINT', 'IF', 'CANCEL', ALLOC, LISTCAT} at com.netfective.bluage.gapwalk.program.UtilityPgm.run(UtilityPgm.java:268) at com.netfective.bluage.gapwalk.rt.call.internal.ExecutionControllerImpl.xaa(Unknown Source) at com.netfective.bluage.gapwalk.rt.call.internal.ExecutionControllerImpl.xaa(Unknown Source) at com.netfective.bluage.gapwalk.rt.call.internal.ExecutionControllerImpl.xaa(Unknown Source) at com.netfective.bluage.gapwalk.rt.call.internal.ExecutionControllerImpl.lambda$runProgram$3(Unknown Source) at com.netfective.bluage.gapwalk.rt.call.internal.ExecutionControllerImpl.xaa(Unknown Source) at com.netfective.bluage.gapwalk.rt.call.internal.ExecutionControllerImpl.runProgram(Unknown Source) at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) at TRANBKP_STEP05R_REPROC_2025-06-05_02-39-09-991$_stepPRC001_closure2$_closure3.doCall(TRANBKP_STEP05R_REPROC_2025-06-05_02-39-09-991.groovy:61) at TRANBKP_STEP05R_REPROC_2025-06-05_02-39-09-991$_stepPRC001_closure2$_closure3.doCall(TRANBKP_STEP05R_REPROC_2025-06-05_02-39-09-991.groovy) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:279) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1008) at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) at functions.execStep(functions.groovy:232) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:342) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1008) at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) at TRANBKP_STEP05R_REPROC_2025-06-05_02-39-09-991$_stepPRC001_closure2.doCall(TRANBKP_STEP05R_REPROC_2025-06-05_02-39-09-991.groovy:59) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:279) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1008) at groovy.lang.Closure.call(Closure.java:433) at groovy.lang.Closure.call(Closure.java:422) at org.codehaus.groovy.runtime.DefaultGroovyMethods.with(DefaultGroovyMethods.java:369) at org.codehaus.groovy.runtime.DefaultGroovyMethods.with(DefaultGroovyMethods.java:314) at org.codehaus.groovy.runtime.dgm$914.doMethodInvoke(Unknown Source) at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) at TRANBKP_STEP05R_REPROC_2025-06-05_02-39-09-991.stepPRC001(TRANBKP_STEP05R_REPROC_2025-06-05_02-39-09-991.groovy:57) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328) at groovy.lang.MetaClassImpl.doInvokeMethod(MetaClassImpl.java:1334) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1089) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1008) at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:645) at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:628) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:405) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:330) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1008) at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) at TRANBKP_STEP05R_REPROC_2025-06-05_02-39-09-991$_run_closure1.doCall(TRANBKP_STEP05R_REPROC_2025-06-05_02-39-09-991.groovy:48) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:279) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1008) at groovy.lang.Closure.call(Closure.java:433) at groovy.lang.Closure.call(Closure.java:422) at org.codehaus.groovy.runtime.DefaultGroovyMethods.with(DefaultGroovyMethods.java:369) at org.codehaus.groovy.runtime.DefaultGroovyMethods.with(DefaultGroovyMethods.java:314) at org.codehaus.groovy.runtime.dgm$914.doMethodInvoke(Unknown Source) at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) at TRANBKP_STEP05R_REPROC_2025-06-05_02-39-09-991.run(TRANBKP_STEP05R_REPROC_2025-06-05_02-39-09-991.groovy:22) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:460) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:504) at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) at functions.execGroovy(functions.groovy:158) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:342) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1008) at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:645) at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:628) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:391) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:328) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1008) at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) at TRANBKP$_stepSTEP05R_closure2$_closure5.doCall(TRANBKP.groovy:72) at TRANBKP$_stepSTEP05R_closure2$_closure5.doCall(TRANBKP.groovy) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:279) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1008) at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) at functions.execStepSimple(functions.groovy:280) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:343) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:328) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:342) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1008) at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) at TRANBKP$_stepSTEP05R_closure2.doCall(TRANBKP.groovy:52) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.Delegati

asked a year ago122 views

1 Answer
0

The error you're encountering is related to character encoding issues in your IDCAMS utility program execution within the TRANBKP batch job. The specific error message "mismatched input '_/:' expecting" indicates that the parser is encountering unexpected characters that it cannot interpret correctly.

This is a common issue when working with AWS Blu Age modernized applications, particularly when dealing with encoding configurations. The error occurs because the input file contains characters that are not properly recognized by the parser due to encoding mismatches.

To resolve this issue, try the following solutions:

  1. Check the Groovy scripts for the TRANBKP job. You may need to download the reference Groovy scripts from the AWS Blu Age L3 certification workshop and compare them with your current scripts to identify any discrepancies.

  2. Verify the version consistency between your transformation and runtime environment. If you used a specific version (like 3.2.0) during transformation, make sure you're using the same version when creating the runtime environment.

  3. Examine the input file encoding. The error shows token recognition errors for special characters, which suggests encoding issues. You might need to ensure the input files are using the correct encoding format.

  4. Review your application-utility-pgm.yml configuration. While you've already changed the encoding configurations, you might need to make additional adjustments or revert some changes to ensure compatibility.

  5. Check for any syntax errors in your IDCAMS control statements. The parser is expecting specific keywords like DELETE, DEFINE, SET, etc., but is encountering '_/:' instead, which suggests there might be malformed control statements.

These encoding and parsing issues are common when working with modernized mainframe applications, especially during the transition from EBCDIC to ASCII encoding systems.
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
AWS Blu Age L3 Certification - Test - Batch Execution Fails at step 5. Execute COMBTRAN job | AWS re:Post

answered a year ago

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.