JCL Error CN(Internal)

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
Posts: 2
Joined: Wed Oct 21, 2015 12:30 am

JCL Error CN(Internal)

Post by capthindsight » Wed Oct 21, 2015 12:39 am

Please don't chastise me as I am a beginner and student learning some JCL. I copied a instructor member and am attempting to submit the job but keep getting JCL error CN (Internal). I don't know what I'm doing wrong and my instructor in unavailable for help. Is there anything in the script that could be causing this error?:

Code: Select all

//KC03F50A  JOB 99999,'CREATE DATASET',         
//            MSGCLASS=H,MSGLEVEL=(1,1),        
//            REGION=4M,NOTIFY=KC03F50          
//STEP1    EXEC PGM=IEFBR14                     
//SYSOUT   DD SYSOUT=*                          
//SYSOUD   DD SYSOUT=*                          
//SYSPRINT DD SYSOUT=*                          
//SYSUDUMP DD SYSOUT=*                          
//FILE01   DD DSN=KC03F50.C2461.NEW.DATA,       
//            DISP=(NEW,CATLG,DELETE),          
//            UNIT=SYSDA,                       
//            SPACE=(CYL,(2,2),RLSE),           
//            DCB=(RECFM=FB,LRECL=143,BLKSIZE=0)
I realize this may be the incorrect way to post codes in the forum as well, but I hope it's acceptable. Again, a beginner in both mainframe coding and using this forum. Any constructive criticism will be noted and used henceforth. Thanks! [/code]

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Wed Oct 21, 2015 1:41 pm

If you can locate your output in the spool, you will see the "converted" JCL that the system is using (there's nothing to convert in yours, it will be the same) with line-numbers associated. Then you may be able to tell what the problem is, or post that JCL and the message here.

Posts: 2
Joined: Wed Oct 21, 2015 12:30 am

Post by capthindsight » Thu Oct 22, 2015 10:23 pm

Figured out the error was being returned because I was trying to rerun the same script (where the data set was already allocated). Also, I needed to run the command PREFIX KC03F50* in the held output panel to see the jobs I had submitted. Thanks for your speedy answer nonetheless William Collins! I have no doubt I will revisit this forum as I work through this course.


Topic deleted by Admin

Post by academyindia4 » Tue Jan 19, 2016 7:26 pm

<< Content deleted By Admin >>

Post Reply


Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Mainframe Interview questions

Other References
Mainframe Tools and others