Page 1 of 1

JCL CN (INTERNAL ERROR)

PostPosted: Sat Jun 10, 2023 12:47 pm
by Woot
When try to submit the job i am getting the error as $HASH165 AT MVS - JCL CN(INTERNAL ERROR) Please see the attachment and provide some hints

Re: JCL CN (INTERNAL ERROR)

PostPosted: Sat Jun 10, 2023 4:29 pm
by dneufarth
JESYSMSG should provide clues

Re: JCL CN (INTERNAL ERROR)

PostPosted: Sat Jun 10, 2023 4:52 pm
by Woot
Thank you for reply, How can I see JESYSMSG, I am new to programming, Give some hints if possible

Re: JCL CN (INTERNAL ERROR)

PostPosted: Sat Jun 10, 2023 4:55 pm
by dneufarth
SDSF or EJES

Re: JCL CN (INTERNAL ERROR)

PostPosted: Sat Jun 10, 2023 5:03 pm
by dneufarth
did you try searching before posting your question

search.php?keywords=jcl+internal+error

Re: JCL CN (INTERNAL ERROR)

PostPosted: Sat Jun 10, 2023 5:14 pm
by sergeyken
Woot wrote:When try to submit the job i am getting the error as $HASH165 AT MVS - JCL CN(INTERNAL ERROR) Please see the attachment and provide some hints

When try to launch the starship to Mars i am getting some internal error within my construction. Please see the picture and provide some hints.
Now I can see there was some fire. I am new to rocket science. Give some hints if possible.

Re: JCL CN (INTERNAL ERROR)

PostPosted: Sat Jun 10, 2023 7:30 pm
by enrico-sorichetti
when asking a question you shoulfd post the right message ( not a cofusing one as You did ),
something like

JOB08668 $HASP165 ENRICO1  ENDED AT N1 - JCL ERROR CN(INTERNAL)


the error was JCL ERROR
You should use sdsf to look at your job output to find out the cause of the error

YOU should see something like ...

       1 //ENRICO1  JOB (@),'A',NOTIFY=ENRICO,                                
          //             CLASS=A,MSGCLASS=X,MSGLEVEL=(1,1)                      
          //* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          //*                                                                  
        2 //G       EXEC PGM=IEFBR14                                            
        3 //DD        DD DISP=SHR,DSN=NOT.FOUND                                
...
...
...      
IEF212I ENRICO1 G DD - DATA SET NOT FOUND                                      
IEF272I ENRICO1 G - STEP WAS NOT EXECUTED.  


the IEF212I ( or something similar ) will tell the error found


the CN(INTERNAL) does not mean an internal error
the text goes back to when HASP/JES2 used internal pseudo-consoles to write messages

Re: JCL CN (INTERNAL ERROR)

PostPosted: Tue Jul 25, 2023 11:57 am
by jcdm
I see 2 typing mistakes.

1.- MSSLEVEL doesnt not exist.
2.- I am not sure if use (*) is ok in jobcard.