Page 1 of 1

JCL Error CN(Internal) Error

PostPosted: Mon Sep 16, 2019 6:08 am
by zeldabluess
000001 //GRDAVG JOB 'IBMMFS','STUDENT',CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID,
000002 //   PAGES=100,TIME=(0,10)                                        
000003 //STEP1 EXEC IGYWCLG,                                            
000004 //PARM.COBOL='XREF,MAP,SSRANGE,OFFSET'                            
000005 //COBOL.STEPLIB DD DSN=IGY420.SIGYCOMP,DISP=SHR                  
000006 //COBOL.SYSIN DD DISP=SHR,DSN=KC03EF0.SOURCE.LIB(GRDAVG)          
000007 //GO.STUDAT DD DISP=SHR,DSN=KC03EF0.DATA.LIB(STUDAT)              
000008 //GO.GRDRPT DD SYSOUT=*                                          
000009 //  


Anyone help me out on what I might be overlooking by chance?

Re: JCL Error CN(Internal) Error

PostPosted: Mon Sep 16, 2019 6:55 am
by Robert Sample
I coded your JCL for you -- when posting JCL, or parameters, use the Code button so the spaces are preserved since spaces can be CRITICAL in JCL.

Your first (maybe not the last, but certainly the first) error is that //PARM.COBOL has to have a space between the // and the PARM.COBOL since PARM.COBOL is a continuation to the previous line and not a JCL statement.

Re: JCL Error CN(Internal) Error

PostPosted: Mon Sep 16, 2019 7:01 am
by zeldabluess
Ah thanks for the hint on posting, but parm.cobol does a have a space, not sure why the copy paste didn't show it correctly. Regardless just did a double take and it was not an issue on the console.

Re: JCL Error CN(Internal) Error

PostPosted: Mon Sep 16, 2019 1:14 pm
by NicC
How about letting us know what the computer thought. All messages please - and in the code tags

Re: JCL Error CN(Internal) Error

PostPosted: Mon Sep 16, 2019 1:41 pm
by willy jensen
You have 2 comment fields. I've never used the PAGE stmt in an the job stmt, I would drop that too.

Re: JCL Error CN(Internal) Error

PostPosted: Mon Sep 16, 2019 2:05 pm
by enrico-sorichetti
it is not an internal error,

the CN(INTERNAL) is a residual from old times where HASP/JES2 used <internal> dummy consoles for issuing messages