IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Error in running IEBGENER Utility


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sudheer_kumar

New User


Joined: 27 Dec 2005
Posts: 16

PostPosted: Wed Dec 28, 2005 3:58 pm
Reply with quote

I want to convert a sequential data set to PDS. I am using IEBGENER utility....
Code:

//STEP050  EXEC PGM=IEBGENER                               
//SYSUT1   DD DSN=XX2.INPUT.FILE.DT1227,DISP=SHR       
//SYSUT2   DD DSN=XX2.OUTOUTI.FILE1.DT1227,             
//         DISP=(NEW,CATLG,DELETE),                       
//         UNIT=SYSDA,                                     
//         SPACE=(CYL,(2,2),RLSE),                         
//         DCB=(LRECL=80,BLKSIZE=0,RECFM=FB,DSORG=PS)     
//SYSPRINT DD SYSOUT=*                                     
//SYSOUT   DD SYSOUT=*                                     
//SYSIN    DD *                                           
         GENERATE MAXNAME=1,MAXGPS=1                       
           MEMBER NAME=MEMBER1                             
    GROUP1 RECORD IDENT=(8,'FIRSTMEM',1)                   
//

XX2.INPUT.FILE.DT1227 is the input file. The file contents are shown below
===============================================
FIRSTMEM
FIRSTMEM
FIRSTMEM
FIRSTMEM
FIRSTMEM
FIRSTMEM
FIRSTMEM
FIRSTMEM

When I run this Job. I will get an error(MAXCC=12 CN(INTERNAL)). Why this error occurs?
Is there any error in the input file layout or JCL ?
Back to top
View user's profile Send private message
Gautam512

Active User


Joined: 05 Oct 2005
Posts: 308
Location: Vizag / US

PostPosted: Wed Dec 28, 2005 4:43 pm
Reply with quote

try giving the member name in braces where you're creating the output dataset.

Not sure but try this once........

thanx,
Gau
Back to top
View user's profile Send private message
jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Wed Dec 28, 2005 4:56 pm
Reply with quote

The output file must be partioned when the GENERATE staement is used.
for more information go to:
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT1U110/CCONTENTS?DT=20000719170227
Back to top
View user's profile Send private message
bhaskar_157

New User


Joined: 27 Dec 2005
Posts: 3

PostPosted: Wed Dec 28, 2005 5:24 pm
Reply with quote

Code:

//STEP050  EXEC PGM=IEBGENER                         
//SYSUT1   DD DSN=H0019AJ.SEQ.DATA,DISP=SHR         
//SYSUT2   DD DSN=H0019AJ.SEQ.OUTDATA2,             
//         DISP=(NEW,CATLG,DELETE),                 
//         UNIT=SMS,                                 
//         SPACE=(CYL,(2,2,5),RLSE),                 
//         DCB=(LRECL=80,BLKSIZE=800,RECFM=FB)       
//SYSPRINT DD SYSOUT=*                               
//SYSOUT   DD SYSOUT=*                               
//SYSIN    DD *                                     
GEN1  GENERATE MAXNAME=1,MAXGPS=1                   
MEM1  MEMBER  NAME=MEMBER1                           
GRP1  RECORD   IDENT=(8,'FIRSTMEM',1)               
/*                                                   
//*1   GENERATE MAXNAME=1,MAXGPS=1                   
//*1   MEMBER NAME=MEMBER1                           
//*1   GROUP1 RECORD IDENT=(8,'FIRSTMEM',1) 
//
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts REASON 00D70014 in load utility DB2 6
Search our Forums:

Back to Top