Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Error in running IEBGENER Utility

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Error in running IEBGENER Utility
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: 309
Location: Vizag / US

PostPosted: Wed Dec 28, 2005 4:43 pm    Post subject: Re: Error in running IEBGENER Utility
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    Post subject:
Reply with quote

The output file must be partioned when the GENERATE staement is used.
for more information go to:
http://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    Post subject: Try this one
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Use DebugTool CodeCoverage Uti... neo4u IBM Tools 0 Thu Jun 22, 2017 6:38 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts EMAIL using IEBGENER - SMTP parasmalik20 JCL & VSAM 4 Tue May 23, 2017 12:19 am
No new posts DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us