Error while using iebgener utility



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

Error while using iebgener utility

Postby Naveen@Uppi » Thu Apr 30, 2009 3:05 pm

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
Naveen@Uppi
 
Posts: 36
Joined: Wed Jul 23, 2008 6:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Error while using iebgener utility

Postby swd » Thu Apr 30, 2009 3:36 pm

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.
User avatar
swd
 
Posts: 109
Joined: Wed Feb 18, 2009 9:18 pm
Location: UK
Has thanked: 0 time
Been thanked: 0 time

Re: Error while using iebgener utility

Postby Anuj Dhawan » Thu Apr 30, 2009 3:39 pm

Hi,

Suggest you post the complete diagnostic information from the failed job.
Anuj
Anuj Dhawan
 
Posts: 273
Joined: Mon Feb 25, 2008 3:53 am
Location: Mumbai, India
Has thanked: 6 times
Been thanked: 4 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post