Skip to content

Getting the exit code -1 error while executing TRANBKP job

0

2025-10-15_13-36-19-135 | [JOB] TRANBKP - Started 2025-10-15_13-36-19-297 | [STEP] STEP05R - Started 2025-10-15_13-36-19-468 | [EXEC GROOVY FILE] D:\PhotonUser\AppData\Local\Temp\2\blu_age_rt_temp_dir\TRANBKP_STEP05R_REPROC_2025-10-15_13-36-19-400.groovy - Started 2025-10-15_13-36-20-004 | [PROC] REPROC - Started 2025-10-15_13-36-20-019 | [STEP] PRC001 - Started 2025-10-15T11:36:20.051Z INFO 32 --- [ Thread-13] 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-10-15T11:36:20.051Z INFO 32 --- [ Thread-13] 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@40bb448, rdw=false, bdw=false, isFixed=false, isLF=false, isCRLF=false, isMicroFocusCompatible=false, order=LIFO] 2025-10-15T11:36:20.057Z INFO 32 --- [ Thread-13] c.n.b.g.r.c.i.ExecutionControllerImpl : Executing program: IDCAMS 2025-10-15T11:36:20.077Z INFO 32 --- [ Thread-13] c.n.b.g.rt.db.stats.DatabaseStatistics : DATABASE STATISTIC DISABLED 2025-10-15T11:36:20.196Z INFO 32 --- [ Thread-13] 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-10-15T11:36:20.197Z INFO 32 --- [ 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-10-15T11:36:20.198Z INFO 32 --- [ 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-10-15T11:36:20.375Z INFO 32 --- [ 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-10-15T11:36:20.375Z INFO 32 --- [ Thread-13] c.n.b.g.io.support.basic.BuilderHelper : Retrieved path from jobContext : .\AWS.M2.CARDDEMO.TRANSACT.BKUP.G0077V00 2025-10-15T11:36:20.375Z INFO 32 --- [ Thread-13] c.n.b.gapwalk.io.support.FileFactory : File ..\AWS.M2.CARDDEMO.TRANSACT.BKUP.G0077V00 deleted 2025-10-15T11:36:20.382Z INFO 32 --- [ 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-10-15T11:36:20.382Z INFO 32 --- [ Thread-13] c.n.b.g.io.support.basic.BuilderHelper : Retrieved path from jobContext : .\AWS.M2.CARDDEMO.TRANSACT.BKUP.G0077V00 2025-10-15T11:36:20.387Z INFO 32 --- [ 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-10-15T11:36:20.388Z INFO 32 --- [ Thread-13] c.n.b.g.io.support.basic.BuilderHelper : Retrieved path from jobContext : .\AWS.M2.CARDDEMO.TRANSACT.BKUP.G0077V00 2025-10-15T11:36:20.398Z INFO 32 --- [ Thread-13] b.g.r.i.s.i.DefaultGDGEventsQueueHandler : [545252738] - 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-13] 2025-10-15T11:36:20.398Z INFO 32 --- [ Thread-13] c.n.b.gapwalk.io.support.FileFactory : FileUtils : stack new generation event 2025-10-15T11:36:20.440Z INFO 32 --- [ Thread-13] c.n.b.g.r.job.support.GroovyJobExecutor : Groovy script TRANBKP failed [step PRC001] [pgm IDCAMS] [exit code -1] 2025-10-15T11:36:20.442Z ERROR 32 --- [ Thread-13] 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-10-15_13-36-19-400$_stepPRC001_closure2$_closure3.doCall(TRANBKP_STEP05R_REPROC_2025-10-15_13-36-19-400.groovy:61) at TRANBKP_STEP05R_REPROC_2025-10-15_13-36-19-400$_stepPRC001_closure2$_closure3.doCall(TRANBKP_STEP05R_REPROC_2025-10-15_13-36-19-400.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-10-15_13-36-19-400$_stepPRC001_closure2.doCall(TRANBKP_STEP05R_REPROC_2025-10-15_13-36-19-400.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-10-15_13-36-19-400.stepPRC001(TRANBKP_STEP05R_REPROC_2025-10-15_13-36-19-400.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-10-15_13-36-19-400$_run_closure1.doCall(TRANBKP_STEP05R_REPROC_2025-10-15_13-36-19-400.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-10-15_13-36-19-400.run(TRANBKP_STEP05R_REPROC_2025-10-15_13-36-19-400.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.DelegatingMethodAccessorImpl.invoke(DelegatingMe

asked a year ago199 views

2 Answers
0

The error you're encountering in the TRANBKP job is related to character encoding issues in the IDCAMS program. The error message shows token recognition errors and a "mismatched input '_/:'" error, which indicates that the parser is encountering unexpected characters that it cannot interpret correctly.

This is a common issue in the AWS Blu Age L3 Workshop when working with the IDCAMS utility. The problem is likely caused by encoding configurations in your application settings.

To resolve this issue:

  1. Check the config/application-utility-pgm.yml file in your project.
  2. Remove any encoding configurations (such as CP1047, CP037) from this file.
  3. Save the changes and restart your application if necessary.
  4. Try running the TRANBKP job again.

This solution has worked for others experiencing the same issue in the AWS Blu Age L3 Workshop. The encoding settings can cause the IDCAMS parser to misinterpret characters, leading to the syntax errors you're seeing.
Sources
AWS Blu Age L3 Workshop: TRANBKP error - { "exitCode": -1, "stepName": "PRC001", "program": "IDCAMS", "status": "Error" } | AWS re:Post
Blu Age L3 Workshop Automation Execute Batch TRANBKP STEP05R REPROC IDCAMS issue | AWS re:Post

answered a year ago

0

I resolved the issue by removing encoding configurations (CP1047, CP037) from application-utility-pgm.yml

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.