Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

JCL Error: positional parameters must be before Keyword parm

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: JCL Error: positional parameters must be before Keyword parm
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Wed Nov 12, 2008 8:52 am    Post subject:
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    Post subject:
Reply with quote

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

Senior Member


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

PostPosted: Wed Nov 12, 2008 9:16 am    Post subject:
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    Post subject:
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: 1288
Location: Chennai, India

PostPosted: Wed Nov 12, 2008 10:31 am    Post subject: Reply to: POSITIONAL PARAMETERS MUST BE SPECIFIED BEFORE KEY
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

Site Director


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

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

Hello,

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

Senior Member


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

PostPosted: Wed Nov 12, 2008 10:45 am    Post subject: Re: Reply to: POSITIONAL PARAMETERS MUST BE SPECIFIED BEFORE
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    Post subject:
Reply with quote

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

Site Director


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

PostPosted: Wed Nov 12, 2008 11:25 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us