Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
IEBGENER fails with MAXXCC 12

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
Mariraj

New User


Joined: 09 Jul 2007
Posts: 25
Location: Chennai

PostPosted: Thu Sep 04, 2008 8:15 pm    Post subject: IEBGENER fails with MAXXCC 12
Reply with quote

Hi,

I am executing the following code to edit & copy a seq. dataset with LRECL=80 to another seq. dataset with LRECL=100.

Code:
//STEP1    EXEC PGM=IEBGENER                         
//SYSPRINT DD  SYSOUT=*                             
//SYSUT1   DD  DISP=SHR,DSN=XXXX.IEBGENER.INPUT5   
//SYSUT2   DD  DSN=XXXX.IEBGENER.OUTPUT5,         
//             DISP=(NEW,CATLG,DELETE),             
//             DCB=(RECFM=FB,LRECL=100,BLKSIZE=10000),
//             SPACE=(TRK,(10,10),RLSE),UNIT=SYSALLDA
//SYSIN    DD  *                                     
     GENERATE MAXFLDS=4,MAXGPS=1,MAXLITS=20         
GRP1 RECORD IDENT=(6,'GROUP1',1),FIELD=(80,1,,1),   
            FIELD=(20,'    FIRST GROUP     ',,81)   
GRP2 RECORD FIELD=(80,1,,1),                         
            FIELD=(20,'    SECOND GROUP    ',,81)   
/*


But the job ends with MAXCC 12 and the follwoing error message is displayed.

Code:
1DATA SET UTILITY - GENERATE                     
-     GENERATE MAXFLDS=4,MAXGPS=1,MAXLITS=20     
 GRP1 RECORD IDENT=(6,'GROUP1',1),FIELD=(80,1,,1),
             FIELD=(20,'    FIRST GROUP     ',,81)
 GRP2 RECORD FIELD=(80,1,,1),                   
             FIELD=(20,'    SECOND GROUP    ',,81)
 IEB342I INVALID SPACE ALLOCATION               
 IEB346I MISSING PARENTHESIS OR QUOTE           


Please let me know what is wrong with the code.
Back to top
View user's profile Send private message
References
Robert Sample

Senior Member


Joined: 06 Jun 2008
Posts: 943
Location: Atlanta, GA

PostPosted: Thu Sep 04, 2008 8:34 pm    Post subject:
Reply with quote

The error messages explain your problem ... you merely need to understand them; check the manual.
Back to top
View user's profile Send private message
rpuhlman

Active User


Joined: 11 Jun 2007
Posts: 75
Location: Columbus, Ohio

PostPosted: Thu Sep 04, 2008 9:56 pm    Post subject:
Reply with quote

Mariraj,

Here is a head start:

http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.ieam700/iea2m78020.htm

Rick
Back to top
View user's profile Send private message
Mariraj

New User


Joined: 09 Jul 2007
Posts: 25
Location: Chennai

PostPosted: Fri Sep 05, 2008 9:58 am    Post subject:
Reply with quote

Thanks for that link Rick.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1