Page 1 of 1

IEFC605I UNIDENTIFIED OPERATION FIELD

PostPosted: Sat Nov 10, 2012 12:29 pm
by xboss
000001 // IF RC = 0 THEN                                   
000002 //MYSORT    EXEC PGM=ICETOOL                         
000003 //TOOLMSG  DD SYSOUT=*                               
000004 //DFSMSG   DD SYSOUT=*                               
000005 //OUTPUT1   DD DSN=&SYSUID..Z3.OUTPUT(OUTPUT1),DISP=SHR
000006 //MSGOUT   DD DSN=&&TMP,DISP=(NEW,PASS)             
000007 //  UNIT=SYSALLDA,SPACE=(CYL,(1,1))                 
000008 //TOOLIN   DD DSN=&SYSUID..Z3.CARDIN(CARD1),DISP=SHR 
000009 //PARMCNTL DD DSN=&SYSUID..Z3.CARDIN(CARD2),DISP=SHR 
000010 // ENDIF                                                                                     

I am getting error,
STMT NO. MESSAGE                             
      5 IEFC605I UNIDENTIFIED OPERATION FIELD

Am I missing something obvious? My eyes are getting tired but could not find the issue. Your help will be appreciated. Thank you.

Re: IEFC605I UNIDENTIFIED OPERATION FIELD

PostPosted: Sat Nov 10, 2012 1:14 pm
by enrico-sorichetti
the data posted has a missing comma on the MSGOUT statement,
so You should get a message for statement 7, not 5 :?

        2 //S1      EXEC PGM=IDCAMS
        3 //SYSPRINT  DD SYSOUT=*
        4 //SYSIN     DD *
        5 // IF RC = 0 THEN
        6 //S2      EXEC PGM=IDCAMS
        7 //SYSPRINT  DD SYSOUT=*
        8 //SYSIN     DD *
        9 //SOMEDD    DD DISP=(,PASS),DSN=&&TEMP
       10 // SPACE=(CYL,(2,2))
       11 // ENDIF
 STMT NO. MESSAGE
       10 IEFC605I UNIDENTIFIED OPERATION FIELD

Re: IEFC605I UNIDENTIFIED OPERATION FIELD

PostPosted: Sat Nov 10, 2012 3:04 pm
by NicC
The mimatch is probably because the jJCL is an extract otherwise there would have been a lot more errors - no jobcard for starters (unless the default supplied jobcard is valid - never has been in my experience!).

And I wonder what a JCL error has to do with the DFsort forum when there is a perfectly good JCL forum immediately above.

Re: IEFC605I UNIDENTIFIED OPERATION FIELD

PostPosted: Sat Nov 10, 2012 4:54 pm
by BillyBoyo
We are not being shown the processed JCL which the message number relates to, so anything could be wrong. Certainly the comma is missing from what is shown.

Re: IEFC605I UNIDENTIFIED OPERATION FIELD

PostPosted: Sun Nov 11, 2012 1:31 am
by xboss
Thanks guys for looking into this. I found the issue which was way down from my rexx code which as taking MSGOUT as input. Sorry for missing comma, Billy. I missed it while copying my code here.

Re: IEFC605I UNIDENTIFIED OPERATION FIELD

PostPosted: Sun Nov 11, 2012 1:34 am
by BillyBoyo
Well, enrico spotted the missing comma first. Please be careful, always use your emulator's copy and then paste here, to avoid people spending time on what turn out to be typos.

Glad you got it.

Re: IEFC605I UNIDENTIFIED OPERATION FIELD

PostPosted: Sun Nov 11, 2012 5:55 am
by NicC
What rexx code? You have shown some JCL and a JCL error message.