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
 
RC=12 in executing ICEGENER

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
Author Message
kratos86

New User


Joined: 17 Mar 2008
Posts: 37
Location: Anna NGR

PostPosted: Fri Jul 03, 2009 7:15 pm    Post subject: RC=12 in executing ICEGENER
Reply with quote

Hi,
I have a requirement to use ICEGENER to create a empty file as follows,
Code:

//PSEMPTY  EXEC PGM=ICEGENER                                 
//SYSUT1  DD  DSN=NULLFILE           
//SYSUT2  DD  DSN=XXDD.MAINT,UNIT=SYSALLDA,   
//    SPACE=(TRK,(0,1),RLSE),DCB=XXDD.EARLY,           
//    DISP=(,CATLG)                                           
//SYSIN     DD DSN=NULLFILE                                   
//SYSPRINT  DD SYSOUT=&P                                     
//SYSUDUMP  DD SYSOUT=&I                                     

it gives RC=12 with message
Code:
DATA SET UTILITY - GENERATE       
IEB311I CONFLICTING DCB PARAMETERS     

I thought the Nullfile is creating the problem and tried with dummy but no use.

pls. assist me, your help really appreciated.

Thanks,
Raj
Back to top
View user's profile Send private message
References
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4043
Location: Charlotte,NC USA

PostPosted: Fri Jul 03, 2009 7:25 pm    Post subject: Reply to: RC=12 in executing ICEGENER
Reply with quote

You need to supply the appropriate DCB parameters to SYSUT1 (RECFM and LRECL should do).
Back to top
View user's profile Send private message
kratos86

New User


Joined: 17 Mar 2008
Posts: 37
Location: Anna NGR

PostPosted: Fri Jul 03, 2009 7:32 pm    Post subject:
Reply with quote

Thanks for the help, that works...

But can u pls. elaborate why we need that for a nullfile or dummy.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Jul 03, 2009 7:34 pm    Post subject:
Reply with quote

If the system cannot get the DCB values from the program, you need to supply them in the JCL. NULLFILE or DUMMY is still a file, so must have a complete DCB.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1