Page 1 of 1

JCL ERROR CN(INTERNAL)

PostPosted: Sat Feb 27, 2016 5:09 am
by Suzi
Hi,
I got 'JCL ERROR CN(INTERNAL)' after I submitted my job.
When I checked the log, I didn't see any message about errors.

Below is the JCL steps :
//MAXPGM  JOB 666123,'FOOI',NOTIFY=&SYSUID,CLASS=1                              
//    SET HLQ=MBCNRGPA.SBP                                                      
//    SET HLQ1=MBCNRGPA.SBP                                                    
//    SET STDATE=D160226                                                        
//STEPA EXEC PGM=IEFBR14                                                      
//MAXCNE DD DSN=&HLQ1..MAXCNE.SASDATA.&STDATE,                                
//        DISP=(MOD,DELETE,DELETE),                                            
//        UNIT=(3390,5),                                                        
//        SPACE=(TRK,(1,1),RLSE)                                                
//REG    EXEC SASPROD,                                                          
//          REGION=6M,TIME=1200                                                    
//SASAUTOS DD DSN=SHP.MIS.ODSDD.SASAUTOS,DISP=SHR                              
//         DD                                                                  
//         DD DSN=MBCNRGPA.SBP.SAS.INC,DISP=SHR                                
//MAXCNE  DD DSN=&HLQ1..MAXCNE.SASDATA.&STDATE,                                
//        DISP=(NEW,CATLG,DELETE),                                              
//        UNIT=(3390,5),                                                        
//        SPACE=(CYL,(10,10),RLSE)                                              
//*       DISP=SHR                                                              
//WORK   DD UNIT=SYSWRK,SPACE=(CYL,(800,50)),STORCLAS=SCWK1GAR                  
//FMT    DD DISP=SHR,DSN=HPS.MIS.FORMATS                                        
//PASSFILE DD DSN=P332211.SAS.PASSWORD.SASDATA,DISP=SHR                        
//EPIC     DD DSN=MBCNRGPA.SBP.SAS.PICE.FORMATS,DISP=SHR                        
//FOOIFMT  DD DSN=MBCNRGPA.SBP.SAS.FORMATS,DISP=SHR                            
//SYSIN  DD *  


Thanks in advance for the help

Re: JCL ERROR CN(INTERNAL)

PostPosted: Sat Feb 27, 2016 5:44 am
by NicC
Plese use the code tags to present code and data - they help preserve alignment (although, in this case, hardly anything aligns even when coded). You should have an error message somewhere in your job output - sometimes you have to look hard and in more than one place. As it is, I cannot see a symbolic parameter HLQ: HLQ1 - yes, but HLQ - no.

Re: JCL ERROR CN(INTERNAL)

PostPosted: Mon Feb 29, 2016 8:36 pm
by Terry Heinze
JCL errors are usually in the 'JESYSMSG' dataset and reference JCL line numbers in the 'JESJCL' dataset.

Re: JCL ERROR CN(INTERNAL)

PostPosted: Tue Mar 01, 2016 12:21 am
by Suzi
Thank you all for your help. I'm sorry I'm not too family with how to use code tags. thx for adding those in.
I'm checking in the JESYSMSG dataset and do see some error messages now, thx for the tip.
Appreciate all your help.

Re: JCL ERROR CN(INTERNAL)

PostPosted: Tue Mar 01, 2016 4:05 pm
by NicC
Code (and other) tags are easy - simply search the forum. Use the "POSTREPLY" button to reply because then they're only a click away but once you know what to type you can insert them manually. Also, they are available as a button in the NEW TOPIC editor.