Page 1 of 1

JCL ERROR CN(INTERNAL) when trying to submit a job

PostPosted: Sat Nov 22, 2008 1:09 am
by thiagorr
Hi!
I'm trying to SUB a JCL and I'm getting this message as return:

IKJ56250I JOB CREAACTI(JOB09595) SUBMITTED
19.29.28 JOB09595 $HASP165 CREAACTI ENDED AT TSTMVS01 - JCL ERROR CN(INTERNAL)
***


It's a simple JCL with a few SQL commands. Here is an example:
//CREAACTI JOB 'DB2',NOTIFY=&SYSUID,CLASS=A,MSGCLASS=H
// MSGLEVEL=(1,1),REGION=4M
//JOBLIB DD DISP=SHR,DSN=DB2.V8R1.SDSNLOAD
//GRANT EXEC PGM=IKJEFT01,DYNAMNBR=20
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM(DSNB)
RUN PROGRAM(DSNTIAD) PLAN(DSNTIA81) -
LIBRARY('DB2.V8R1.DSNB.RUNLIB.LOAD')
END
//SYSIN DD *
CREATE TABLE ...
and go on frome here with de SQL commands.

What can be wrong?!
The previous JCL with almost the same commands was ok! It ran with no problems...
Now I've just created a new member and changed the table structure... I've revised several times but found nothing wrong...

Please help me!!! I'm a beginner on mainframes!!

Thanks!
Thiago.

Re: JCL ERROR CN(INTERNAL) when trying to submit a job

PostPosted: Sat Nov 22, 2008 2:09 am
by dick scherrer
Hello,

Your JOB statement is incorrect. After this MSGCLASS=H there needs to be a comma.

This // MSGLEVEL=(1,1),REGION=4M is "just hanging there" and the system doesn't know what to do with it.

Re: JCL ERROR CN(INTERNAL) when trying to submit a job

PostPosted: Sat Nov 22, 2008 10:24 pm
by thiagorr
Thanks dick!
That was the problem!!
I was using the wrong draft!!
Thank you very much!!

T.R.R.

Re: JCL ERROR CN(INTERNAL) when trying to submit a job

PostPosted: Sun Nov 23, 2008 1:12 am
by dick scherrer
You're welcome :)

d