JCL Error Syntax



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

JCL Error Syntax

Postby jtascio » Wed Oct 06, 2010 8:32 pm

I'm new but I'm desperate for help. I keep getting a JCL error when I run this.

000100 //BJCL0201 JOB 1,NOTIFY=&SYSUID
000200 //TSOBATCH EXEC PROGRAM=IKJEFT01
000300 //SYSEXEC DD DSN=ZOS.CONTEST.REXX,DISP=SHR
000400 //SYSPRINT DD SYSOUT=*
000500 //SYSTSPRT DD SYSOUT=*
000600 //SYSTSIN DD *
000700 %RUNME


This is what the ST Output looks like

09.58.52 JOB08852 ---- WEDNESDAY, 06 OCT 2010 ----
09.58.52 JOB08852 IRR010I USERID IBM0201 IS ASSIGNED
09.58.52 JOB08852 IEFC452I BJCL0201 - JOB NOT RUN - JC
------ JES2 JOB STATISTICS ------
7 CARDS READ
21 SYSOUT PRINT RECORDS
0 SYSOUT PUNCH RECORDS
1 SYSOUT SPOOL KBYTES
0.00 MINUTES EXECUTION TIME
1 //BJCL0201 JOB 1,NOTIFY=&SYSUID
IEFC653I SUBSTITUTION JCL - 1,NOTIFY=IBM0201
2 //TSOBATCH EXEC PROGRAM=IKJEFT01
3 //SYSEXEC DD DSN=ZOS.CONTEST.REXX,DISP=SHR
4 //SYSPRINT DD SYSOUT=*
5 //SYSTSPRT DD SYSOUT=*
6 //SYSTSIN DD *

STMT NO. MESSAGE
2 IEFC032I REQUIRED PARAMETER PROC OR PGM MUST PRECEDE ALL OTHER PARAMETERS ON THE EXEC STATEMENT


I know its a simple fix, but I'm new to learning this and I'd really appreciate the help
jtascio
 
Posts: 2
Joined: Wed Oct 06, 2010 8:23 pm
Has thanked: 0 time
Been thanked: 0 time

Re: JCL Error Syntax

Postby Robert Sample » Wed Oct 06, 2010 8:36 pm

EXEC PROGRAM
must be either
EXEC PROC=
or
EXEC PGM=
as the error message is quite plainly and clearly telling you.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: JCL Error Syntax

Postby jtascio » Wed Oct 06, 2010 8:38 pm

Thank you so much. The job submitted and didn't return any errors
jtascio
 
Posts: 2
Joined: Wed Oct 06, 2010 8:23 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post