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

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

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

Postby thiagorr » Sat Nov 22, 2008 1:09 am

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.
thiagorr
 
Posts: 12
Joined: Wed Sep 10, 2008 11:23 pm

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

Postby dick scherrer » Sat Nov 22, 2008 2:09 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6324
Joined: Sat Jun 09, 2007 8:58 am

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

Postby thiagorr » Sat Nov 22, 2008 10:24 pm

Thanks dick!
That was the problem!!
I was using the wrong draft!!
Thank you very much!!

T.R.R.
thiagorr
 
Posts: 12
Joined: Wed Sep 10, 2008 11:23 pm

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

Postby dick scherrer » Sun Nov 23, 2008 1:12 am

You're welcome :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6324
Joined: Sat Jun 09, 2007 8:58 am


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post
cron