Page 1 of 1

JCL error when submitting

PostPosted: Wed Jun 18, 2014 1:23 am
by apjohn1986
Hi,

When i JEMCHk below JCL it didn;t show any error. But when submitting it errored and i couldn't find any error message but job failed with JCL error. please help me to fix this issue.

//JITPTT1O JOB (XMIT),'PROD',CLASS=H,                               
//         MSGCLASS=J,COND=(0,NE)                                   
//    JCLLIB ORDER=(TSHRPD.P10386.PROCLIB)                         
//INCLUDE   INCLUDE MEMBER=JOBLIBP                                 
//JS00    EXEC PROC=PITPF02A,SN=000,PSHRCI=PSHRCI,JOBNAME=JITPFTAD 
//*                                                                 
//PS05.SYSIN DD DISP=SHR,DSN=PCNTL.FTP.CNTL.LIB(CMSSFT2A)           
//           DD DISP=SHR,DSN=TSHRCI.JITPFTAD.PROD.CFTP000O



Proc:

//PITPF02A PROC                                             
 //*                                                         
 //********************************************************* 
 //PS05   EXEC PGM=EZACFSM1,COND=(0,LT)                       
 //SYSOUT DD DSN=TSHRCI.TEST.FTP.FILE,                       
 //          DISP=(NEW,CATLG,DELETE),UNIT=3390,               
 //          DCB=(LRECL=80,RECFM=FB,BLKSIZE=0),               
 //          SPACE=(TRK,(1))                                 
 //SYSIN  DD DISP=SHR,DSN=PCNTL.FTP.CNTL.LIB(CMSSFT2A)       
 //       DD DISP=SHR,DSN=&PSHRCI..&JOBNAME..PROD.CFTP&SN.O

Re: JCL error when submitting

PostPosted: Wed Jun 18, 2014 1:27 am
by prino
The problem is in line 666 of the proc, which is another way of telling you that pigs can fly. Psychic day is on 30 February 2042...

Re: JCL error when submitting

PostPosted: Wed Jun 18, 2014 1:34 am
by Robert Sample
If you got a JCL error, there is a message telling you what the problem was -- somewhere. If you cannot find it, you need to consult with your site support group.

Re: JCL error when submitting

PostPosted: Wed Jun 18, 2014 2:17 am
by Terry Heinze
The error message should be in JESYSMSG and it should point to a JCL statement in JESJCL.

Re: JCL error when submitting

PostPosted: Wed Jun 18, 2014 5:46 pm
by Ed Goodman
When this happens to me, it's usually a problem with the JOB card itself, like I have a bad job name or accounting number or job class. The JLC checker doesn't have enough information to check for this, so it doesn't flag the error. BUt when the JCL handler gets a hold on it, the job gets thrown out.

Some of our checks at this site have no error messages except something general like "Job startup failed."

Re: JCL error when submitting

PostPosted: Mon Sep 22, 2014 7:01 pm
by andyyoung
Are all the statements following //PITPF02A PROC in your Proclib member REALLY starting in column 2 or is this just some strange copy and paste you've used to ask your question?
If not, this WILL give you a JCL error - but one which I would have thought would be picked up by your JCL checker...

Re: JCL error when submitting

PostPosted: Mon Sep 22, 2014 11:03 pm
by andyyoung
Oh.. looking again... I guess the position 2 for the Proclib statements are probably a JEMCHK thing (sorry.. never used it)...