JCL error when submitting



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

JCL error when submitting

Postby apjohn1986 » Wed Jun 18, 2014 1:23 am

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
Thanks,
John
apjohn1986
 
Posts: 16
Joined: Mon Jan 31, 2011 12:26 pm
Has thanked: 3 times
Been thanked: 0 time

Re: JCL error when submitting

Postby prino » Wed Jun 18, 2014 1:27 am

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...
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 635
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times

Re: JCL error when submitting

Postby Robert Sample » Wed Jun 18, 2014 1:34 am

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.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: JCL error when submitting

Postby Terry Heinze » Wed Jun 18, 2014 2:17 am

The error message should be in JESYSMSG and it should point to a JCL statement in JESJCL.
.... Terry
Terry Heinze
 
Posts: 239
Joined: Wed Dec 04, 2013 11:08 pm
Location: Richfield, MN, USA
Has thanked: 12 times
Been thanked: 11 times

Re: JCL error when submitting

Postby Ed Goodman » Wed Jun 18, 2014 5:46 pm

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."
Ed Goodman
 
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times

Re: JCL error when submitting

Postby andyyoung » Mon Sep 22, 2014 7:01 pm

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...
andyyoung
 
Posts: 3
Joined: Mon Sep 22, 2014 6:11 pm
Has thanked: 0 time
Been thanked: 0 time

Re: JCL error when submitting

Postby andyyoung » Mon Sep 22, 2014 11:03 pm

Oh.. looking again... I guess the position 2 for the Proclib statements are probably a JEMCHK thing (sorry.. never used it)...
andyyoung
 
Posts: 3
Joined: Mon Sep 22, 2014 6:11 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post