JCL Error CN(Internal) Error

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...
zeldabluess
Posts: 2
Joined: Mon Sep 16, 2019 6:07 am
Skillset: beginner
Referer: google

JCL Error CN(Internal) Error

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

Code: Select all

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?

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

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.

zeldabluess
Posts: 2
Joined: Mon Sep 16, 2019 6:07 am
Skillset: beginner
Referer: google

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.

NicC
Global moderator
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
Referer: Google
Location: Pushing up the daisies (almost)

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

willy jensen
Posts: 474
Joined: Thu Mar 10, 2016 5:03 pm
Skillset: assembler rexx zOS ispf racf smf
Referer: saw it in the experts foprum thought I could help here

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.

enrico-sorichetti
Global moderator
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
Referer: www.ibmmainframes.com

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


  • Similar Topics
    Replies
    Views
    Last post