Page 1 of 1

JCL internal error

PostPosted: Tue Apr 03, 2018 11:07 am
by Nandhu
File  Edit  Edit_Settings  Menu  Utilities  Compilers  Test  Help            
 sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
 EDIT       TRGD22.NEWDS1                                   Columns 00001 00072
 Command ===>                                                  Scroll ===> PAGE
 ****** ***************************** Top of Data ******************************
 000100  //IND220C JOB (123),'INDUS',CLASS=A,MSGCLASS=A,MSGLEVEL=(1,1),        
 000200  //             NOTIFY=&SYSUID,REGION=6M                                
 000300  //STEP10   EXEC PGM=IEFBR14                                            
 000700  //DD1      DD DSN=IND220.INDUS.COBPGMS,                                
 000800  //            DISP=(NEW,CATLG,DELETE),                                
 000900  //            SPACE=(TRK,(10,10,10),RLSE),                            
 001000  //            UNIT=SYSDA,                                              
 001100  //            DCB=(DSORG=PO,RECFM=FB,LRECL=80,BLKSIZE=800)            
 ****** **************************** Bottom of Data ****************************


after submitting , following things happened

IKJ56700A ENTER JOBNAME CHARACTER(S) -   ------->this command occured ....i gave 1 and enter
IKJ56250I JOB TRGD221(JOB20870) SUBMITTED
***                                       ------------------------------->this message shown

Finally............after giving enter following error occured
11.07.13 JOB20870 $HASP165 TRGD221  ENDED AT N1 - JCL ERROR CN(INTERNAL)      
 ***                                                                            


Please help me on this.... :roll:

Re: JCL internal error

PostPosted: Tue Apr 03, 2018 11:53 am
by expat
No other output ?

Re: JCL internal error

PostPosted: Tue Apr 03, 2018 4:45 pm
by NicC
1 - do not tailgate old topics - the one you tailgated was 8 years old. Your topic - new topic.
2 - use the code tags to present your code/data/messages
3 - So that is what happened in your TSO/ISPF session - what does your spool output show?
4 - as shown, that is a valid jobcard as long as you are authorized to submit jobs beginning IND22. However, the message relates to an invalid/missing jobcard so show the actual job as it was when you pressed enter to submit it.

Re: JCL internal error

PostPosted: Tue Apr 03, 2018 7:12 pm
by Terry Heinze
In the future, please post ALL output.
JESYSMSG should point you to the stmt no in error in JESJCL.

Re: JCL internal error

PostPosted: Tue Apr 03, 2018 10:18 pm
by steve-myers
Nandhu wrote:
File  Edit  Edit_Settings  Menu  Utilities  Compilers  Test  Help            
 sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
 EDIT       TRGD22.NEWDS1                                   Columns 00001 00072
 Command ===>                                                  Scroll ===> PAGE
 ****** ***************************** Top of Data ******************************
 000100  //IND220C JOB (123),'INDUS',CLASS=A,MSGCLASS=A,MSGLEVEL=(1,1),        
 000200  //             NOTIFY=&SYSUID,REGION=6M                                
 000300  //STEP10   EXEC PGM=IEFBR14                                            
 000700  //DD1      DD DSN=IND220.INDUS.COBPGMS,                                
 000800  //            DISP=(NEW,CATLG,DELETE),                                
 000900  //            SPACE=(TRK,(10,10,10),RLSE),                            
 001000  //            UNIT=SYSDA,                                              
 001100  //            DCB=(DSORG=PO,RECFM=FB,LRECL=80,BLKSIZE=800)            
 ****** **************************** Bottom of Data ****************************


after submitting , following things happened

IKJ56700A ENTER JOBNAME CHARACTER(S) -   ------->this command occured ....i gave 1 and enter
IKJ56250I JOB TRGD221(JOB20870) SUBMITTED
***                                       ------------------------------->this message shown

Finally............after giving enter following error occured
11.07.13 JOB20870 $HASP165 TRGD221  ENDED AT N1 - JCL ERROR CN(INTERNAL)      
 ***                                                                            


Please help me on this.... :roll:


//IND220C JOB (123),'INDUS',CLASS=A,MSGCLASS=A,MSGLEVEL=(1,1),

but

$HASP165 TRGD221  ENDED AT N1 - JCL ERROR CN

I'm confused. Are we talking the same job?

Re: JCL internal error

PostPosted: Tue Apr 10, 2018 9:31 pm
by NicC
I am told by Garry Carroll that your JCL appears to start in column 2 and further inspection re-inforces that. JCL MUST start in column 1. Some utilities, eg sort, require the control statements to start AFTER column 1 (because column 1 is where statement labels go).

Re: JCL internal error

PostPosted: Wed Apr 11, 2018 6:44 pm
by Terry Heinze
Nandhu,
It would have helped if you'd turned "columns" on before posting your JCL. Someone would probably have spotted the error sooner.