IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

JCL Error: positional parameters must be before Keyword parm


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Lord.of.Wind

New User


Joined: 17 Nov 2005
Posts: 60

PostPosted: Wed Nov 12, 2008 8:49 am
Reply with quote

Why does this error come out?
JCL ERROR:
IEFC006I POSITIONAL PARAMETERS MUST BE SPECIFIED BEFORE KEYWORD PARAMETERS

Code:

//CDC024S  JOB (ACCT#),'CCC023',MSGCLASS=X,MSGLEVEL=(1,1),
//         CLASS=A,NOTIFY=&SYSUID
//*
//STEP101   EXEC PGM=SORT
//SORTIN    DD DSN=CCC024.TEST.INFILE1,DISP=SHR
//SORTOUT   DD DSN=CCC024.TEST.OUTFILE1,
//             DISP=(,CATLG,CATLG),
//             SPACE(TRK,(5,5),RLSE)
//SYSIN    DD *
   SORT FIELDS=(1,2,CH,A)
//SYSOUT   DD SYSOUT=*
//*
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Wed Nov 12, 2008 8:52 am
Reply with quote

SPACE requires an equals sign before the left parenthesis.
Back to top
View user's profile Send private message
Lord.of.Wind

New User


Joined: 17 Nov 2005
Posts: 60

PostPosted: Wed Nov 12, 2008 8:58 am
Reply with quote

thank you so much!
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Wed Nov 12, 2008 9:16 am
Reply with quote

Hi,

I used to think that if that "=" is not coded then in JCL scan I should get
Code:
.JAAB     8 DSS6090E - "SPACE " NOT DELIMITED BY EQUAL SIGN


Was the JCL submitted without checking the JCL for syntax errors?
Back to top
View user's profile Send private message
Lord.of.Wind

New User


Joined: 17 Nov 2005
Posts: 60

PostPosted: Wed Nov 12, 2008 9:22 am
Reply with quote

Release . : ISPF 5.9
z/OS R09

The version is too old?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Wed Nov 12, 2008 10:31 am
Reply with quote

Anuj,

Quote:
Was the JCL submitted without checking the JCL for syntax errors?


They would not have had anything in their shop for syntax checking.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Wed Nov 12, 2008 10:41 am
Reply with quote

Hello,

TYPRUN=SCAN should work. . .
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Wed Nov 12, 2008 10:45 am
Reply with quote

Aaru wrote:
They would not have had anything in their shop for syntax checking.
Are we in 21st century ?
Back to top
View user's profile Send private message
Lord.of.Wind

New User


Joined: 17 Nov 2005
Posts: 60

PostPosted: Wed Nov 12, 2008 11:04 am
Reply with quote

TYPRUN=SCAN did not work.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Wed Nov 12, 2008 11:25 am
Reply with quote

Hello,

Quote:
TYPRUN=SCAN did not work.
And this tells us. . .what icon_confused.gif

What did you expect the scan to do?

What did the scan do?

If you describe what happened, someone here can tell you why it happened.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts U0016 error in JCL JCL & VSAM 4
No new posts python on z/OS error no encoding decl... Testing & Performance 0
No new posts IEW2315E 1369 Link error All Other Mainframe Topics 3
No new posts Help on IMS -API URL migrating from P... IMS DB/DC 1
No new posts Starting a PROC with parameters from ... CLIST & REXX 6
Search our Forums:


Back to Top