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 IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


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