- Newest
- Most votes
- Most comments
The issue you're experiencing with the IDCAMS parsing error during the TRANBKP batch execution in automation testing is likely related to character encoding or syntax problems in the IDCAMS commands.
Even though you've removed the encoding configurations from the application-utility-pgm.yml file, there might still be encoding-related issues in the automation environment. The error message suggests that the parser is encountering unexpected characters ('_/:') where it's expecting specific IDCAMS commands.
To resolve this issue, you can try the following steps:
-
Double-check the IDCAMS commands in the TRANBKP script, particularly in the PRC001 step. Ensure there are no unexpected characters or syntax errors.
-
Verify that the encoding of the script files in the automation environment matches the expected encoding. Even if you've removed specific encoding configurations, there might be a mismatch between the file encoding and the system's default encoding.
-
Review the entire IDCAMS command set in your automation scripts for any syntax errors or unexpected characters. Pay special attention to line breaks and spaces, as these can sometimes cause parsing issues.
-
If possible, try to replicate the exact environment and configurations from your successful manual tests in the automation environment. This includes checking Tomcat versions, Java versions, and any other relevant settings.
-
Consider adding debug logging or outputting the IDCAMS commands before execution in the automation process. This can help you identify any differences between the commands being executed in manual testing versus automation.
-
If the issue persists, you may need to review the Blu Age runtime configuration for the automation environment to ensure it's correctly set up to handle the IDCAMS commands.
Remember that automation environments can sometimes behave differently from manual testing environments due to subtle differences in configuration or execution context. If these steps don't resolve the issue, you may need to consult with AWS Blu Age support or your workshop facilitators for more specific guidance tailored to your automation setup.
Sources
Unloading issue during automation process in L3 Workshop | AWS re:Post
L3 Workshop - CREASTMT - Batch Job - Failing in the very first step - { "exitCode": -1, "stepName": "DELDEF01", "program": "IDCAMS", "status": "Error" } | AWS re:Post
AWS Blu Age FAQ - AWS Mainframe Modernization
Added some debug println before the execute of IDCAMS, not sure it if provide additional hints :
Debug: CNTLLIB value = AWS.M2.CARDDEMO.CNTL Debug: Job Context = TRANBKP Debug: File Configurations: 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] 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@5b428702, rdw=false, bdw=false, isFixed=false, isLF=false, isCRLF=false, isMicroFocusCompatible=false, order=LIFO] Debug: SYSIN path = AWS.M2.CARDDEMO.CNTL(REPROCT) Debug: Parameters: MapTransfo: [:] -->(MapTransfo is empty)
No encoding configurations (NO CP1047, No CP037) in application-utility-pgm.yml
Relevant content
- asked 6 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 4 months ago

Have you removed the encoding from automation project also ? Full path [D:\PhotonUser\Workshop\workspace\carddemo-automation\tests-cases\00-default\working-directory\config\application-utility-pgm.yml]
Rupesh, Thanks. It works. I was wrongly updating the D:\PhotonUser\Workshop\workspace\carddemo-automation\tomcat\webapps\gapwalk-utility-pgm\WEB-INF\classes\application-utility-pgm.yml (deployed/compiled version). You are right. I should update the source version in the test-cases directory D:\PhotonUser\Workshop\workspace\carddemo-automation\tests-cases\00-default\working-directory\config. Thank you for your help.