Page 1 of 1

Error while using iebgener utility

PostPosted: Thu Apr 30, 2009 3:05 pm
by Naveen@Uppi
Hi All,

I am running a JCl using Iebgener utility to select few feilds from the input file.
 GENERATE MAXFLDS=82
 RECORD FIELD=(2,2,,681),
        FIELD=(20,4,,683),
        FIELD=(20,24,,684),
        FIELD=(20,45,,686),

I am getting an error saying INVALID CONTROL STATEMENT

Please help me to resolve this error.

Thanks and Regadrs,
Naveen N

Re: Error while using iebgener utility

PostPosted: Thu Apr 30, 2009 3:36 pm
by swd
Without looking at the whole job (JCL and IEBGENER control statements), I'd guess it's the comma after the last FIELD statement, as it's expecting more statements, but there are no more.

Re: Error while using iebgener utility

PostPosted: Thu Apr 30, 2009 3:39 pm
by Anuj Dhawan
Hi,

Suggest you post the complete diagnostic information from the failed job.