RMOJCL12 - JCLLIB specification error received running CA Deliver RMOJCL utility
search cancel

RMOJCL12 - JCLLIB specification error received running CA Deliver RMOJCL utility

book

Article ID: 223866

calendar_today

Updated On:

Products

Deliver

Issue/Introduction

Running the following JCL and receiving RMOJCL12, however, a report is produced showing JCLLIB specification error. I believe the job is working as designed and the user only want to delete a few reports. So I am not sure if there is an issue or not.

//JCL1     EXEC PGM=RMOJCL,
//             PARM='your.deliver.dbhlq.EXPRESS'
//SYSPRINT DD  SYSOUT=*
//JOBJCL   DD  DSN=your.hlq.JCLLIB,DISP=SHR
//PROCLIB  DD  DSN=your.hlq.PROCLIB,DISP=SHR
//SYSIN    DD  *
SELECT XXXXXXXX
/*

The output report shows a: RMOJCL12 - JOB xxxxxxxx JCLLIB SPECIFICATION ERROR

Environment

Release : 14.0

Component : CA Deliver

Resolution

The cause for the RMOJCL12 message and the suggested solution was explained as:

****************************************************************************
You're receiving the RMOJCL12 message because there is an error in a JCLLIB statement in a job that is being scanned. You need to correct the JCLLIB statement in job xxxxxxxx. This is the equivalent of a JCL error... It would be best to run program RMOJCS, instead of RMOJCL. Just change "EXEC PGM=RMOJCL" to "EXEC PGM=RMOJCS" and rerun the job.                        
****************************************************************************

Considering the above, I believe that the RMOJCL job is in deed working as designed, and that the RMOJCL12 error is not received because of the RMOJCL that is being executed, but rather because the JCL being scanned (xxxxxxxx) potentially has a JCL problem.

My suggestion would be that if the RMOJCL job is actually failing/terminating because of the RMOJCL12, then perhaps you should try executing the job using PGM=RMOJCS as suggested in previous cases.

Additional Information


The RMOJCL12 message is documented as:

RMOJCL12 - JOB RMOJCL JCLLIB SPECIFICATION ERROR

Reason:
The JCLLIB statement for the specified job contains a syntax or specification error.

Action:
Check the syntax of the JCL statement, and then rerun the RMOJCL utility.