JCL Error CN(Internal) Error



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

JCL Error CN(Internal) Error

Postby zeldabluess » Mon Sep 16, 2019 6:08 am

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?
zeldabluess
 
Posts: 2
Joined: Mon Sep 16, 2019 6:07 am
Has thanked: 0 time
Been thanked: 0 time

Re: JCL Error CN(Internal) Error

Postby Robert Sample » Mon Sep 16, 2019 6:55 am

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.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: JCL Error CN(Internal) Error

Postby zeldabluess » Mon Sep 16, 2019 7:01 am

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.
zeldabluess
 
Posts: 2
Joined: Mon Sep 16, 2019 6:07 am
Has thanked: 0 time
Been thanked: 0 time

Re: JCL Error CN(Internal) Error

Postby NicC » Mon Sep 16, 2019 1:14 pm

How about letting us know what the computer thought. All messages please - and in the code tags
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: JCL Error CN(Internal) Error

Postby willy jensen » Mon Sep 16, 2019 1:41 pm

You have 2 comment fields. I've never used the PAGE stmt in an the job stmt, I would drop that too.
willy jensen
 
Posts: 455
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 69 times

Re: JCL Error CN(Internal) Error

Postby enrico-sorichetti » Mon Sep 16, 2019 2:05 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post