Skip to content

AWS Blu Age Workshop Execution->Test->Batch, Execute CREASTMT Job { "exitCode": 4, "stepName": "STEP020", "program": "IDCAMS", "status": "Succeeded" }

0

During execution of CREASTMT job am getting below result { "exitCode": 4, "stepName": "STEP020", "program": "IDCAMS", "status": "Succeeded" } Because of exitcode =4 STEP030 is not executing and is stopped at STEP020. I tried deleting all files and retrying but still ends with exitcode 4.

2024-12-29_08-37-22-079 | [STEP] STEP020 - Started 2024-12-29T07:37:22.080Z INFO 3144 --- [ Thread-64] c.n.b.g.r.c.i.ExecutionControllerImpl : Executing program: IDCAMS 2024-12-29T07:37:22.080Z INFO 3144 --- [ Thread-64] c.n.b.g.rt.db.stats.DatabaseStatistics : DATABASE STATISTIC DISABLED 2024-12-29T07:37:22.081Z INFO 3144 --- [ Thread-64] c.n.b.gapwalk.utility.idcams.IdcamsPgm : IDCAMS REPRO : REPRO INFILE(INFILE) OUTFILE(OUTFILE) 2024-12-29T07:37:22.268Z INFO 3144 --- [ Thread-64] c.n.b.g.r.sort.service.AdaptableSort : External sort threshold is 2070209596 bytes 2024-12-29T07:37:22.268Z INFO 3144 --- [ Thread-64] c.n.b.gapwalk.utility.common.FileUtils : .\AWS.M2.CARDDEMO.TRXFL.SEQ - Existing file! - no file creation. 2024-12-29T07:37:22.268Z INFO 3144 --- [ Thread-64] c.n.b.g.u.s.s.e.ExternalSortTasklet : fcOut:BluesamFileConfiguration [bluesamId=, dataset=AWS.M2.CARDDEMO.TRXFL.VSAM.KSDS, cacheCompression=false, warmUp=true, isAnsiCarriageControl=false, disposition=SHR, normal termination=KEEP, abnormal termination=KEEP] 2024-12-29T07:37:22.272Z INFO 3144 --- [ Thread-64] org.ehcache.core.EhcacheManager : Cache 'AWS_M2_CARDDEMO_TRXFL_VSAM_KSDS' created in EhcacheManager. 2024-12-29T07:37:22.274Z INFO 3144 --- [ Thread-64] .b.c.s.r.AbstractRdbmsPersistenceSupport : Dataset AWS_M2_CARDDEMO_TRXFL_VSAM_KSDS is empty. 2024-12-29T07:37:22.274Z INFO 3144 --- [ Thread-64] c.n.b.g.u.s.s.e.io.DataSetRecordWriter : Open dataSet AWS.M2.CARDDEMO.TRXFL.VSAM.KSDS status = OK 2024-12-29_08-37-22-275 | Program return code is 4 2024-12-29_08-37-22-276 | [STEP] STEP020 - Ended

  • The issue was resolved after i reran from the beginning i.e TRANBKP (1st execution)

asked a year ago109 views
1 Answer
2
Accepted Answer

The issue you're experiencing with the CREASTMT job in the AWS Blu Age Workshop is related to the IDCAMS program execution in STEP020. An exit code of 4 from IDCAMS typically indicates a warning condition rather than an error. This warning is preventing the job from proceeding to STEP030.

The log shows that the IDCAMS REPRO command is being executed to copy data from INFILE to OUTFILE. However, it appears that the target dataset (AWS.M2.CARDDEMO.TRXFL.VSAM.KSDS) is empty, which could be the cause of the warning.

To resolve this issue, you can try the following:

  1. Verify that the input file (INFILE) contains the expected data. If it's empty, this could explain the warning.

  2. Check the IDCAMS control statements to ensure they are correctly specified for your REPRO operation.

  3. Review the complete IDCAMS output for any specific warning messages that might provide more details about the exit code 4.

  4. Ensure that the target VSAM file (AWS.M2.CARDDEMO.TRXFL.VSAM.KSDS) is properly defined and accessible.

  5. If possible, try running the IDCAMS step separately to isolate the issue and get more detailed output.

  6. Consider modifying the job control to allow continuation even with a return code of 4, if this aligns with your workshop requirements.

If these steps don't resolve the issue, you may need to consult with the workshop facilitators or AWS Blu Age support for more specific guidance, as there might be workshop-specific configurations or requirements that need to be addressed.
Sources
Data structures for AWS Blu Age user - AWS Mainframe Modernization
Unloading issue during automation process in L3 Workshop | AWS re:Post

answered a year ago
EXPERT
reviewed 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.