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
 

 

Clarification on IEB311I CONFLICTING DCB PARAMETERS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sureshmurali
Warnings : 1

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Mon Jan 03, 2011 10:08 pm    Post subject: Clarification on IEB311I CONFLICTING DCB PARAMETERS
Reply with quote

I have a ps dataset. Its DCB is given here :

Record format . . . : FB
Record length . . . : 80
Block size . . . . : 320
1st extent cylinders: 1
Secondary cylinders : 3


I was trying to copy this to a new ps dataset using IEBGENER.
This is the program.

//STEP10 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=ABCDEF.XXXXXXX.SAMPLE1,DISP=SHR
//SYSUT2 DD DSN=XXXXXXX.SURESH.SAMPLE2,DCB=(LRECL=90,BLKSIZE=450,
// RECFM=FB),DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(1,3),RLSE)
//SYSIN DD DUMMY


The new file was created. But it doesnot contain the data in it from the source file.

But ended with the error :

DATA SET UTILITY - GENERATE
IEB311I CONFLICTING DCB PARAMETERS

Why? Then i changed the DCB parameters to

DCB=(LRECL=80,BLKSIZE=400,RECFM=FB)

Then the contents were copied.

My question is, if the LRECL of the source and destination files are same, then only we will be able to copied ? Event the BLKSIZE is different in the above case for both files.


So if the error occurs like...
IEB311I CONFLICTING DCB PARAMETERS

Does it mean only the LRECL needs to get changed? Or Do i need to concentrate any other parameters while copying ps datasets in DCB or other?
Please clarify.


Thanks.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8056
Location: East Dubuque, Illinois, USA

PostPosted: Mon Jan 03, 2011 10:15 pm    Post subject:
Reply with quote

The Messages and Codes manual is quite clear about the causes of an IEB311I message:
Quote:
IEB311I CONFLICTING DCB PARAMETERS

Explanation: The DCB parameters in the SYSUT2 DD statement are not compatible with those specified in the SYSUT1 DD statement. The reason for incompatibility could be one of the following:

1. The I/O blocksize is inconsistent with the I/O logical record length when the record format is FB or F

2. The I/O blocksize is not at least 4 bytes larger than the I/O logical record length when the record format is VB or V

3. The output logical record length is different from the input logic record length or the input record format is variable and the output record format is fixed when editing is not specified. Refer to z/OS DFSMSdfp Utilities, SC26-7414, section ''Changing Logical Record Length'' under IEBGENER

4. The output blocksize is not equal to the input blocksize when the input record format is undefined.

Spend some time in the Utilities manual and you may run across the GENERATE control statement for IEBGENER which allows creation of an output data set with a record length different than the input data set record length.
Back to top
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Mon Jan 03, 2011 10:20 pm    Post subject: Re: Clarification on IEB311I CONFLICTING DCB PARAMETERS
Reply with quote

sureshmurali wrote:
My question is, if the LRECL of the source and destination files are same, then only we will be able to copied ? Event the BLKSIZE is different in the above case for both files.


Yes, if you are using SYSIN DD DUMMY. If you had provided SYSIN statements to "build" a 90 byte output record from an 80 byte input record, then it would have worked.

sureshmurali wrote:
So if the error occurs like...
IEB311I CONFLICTING DCB PARAMETERS

Does it mean only the LRECL needs to get changed? Or Do i need to concentrate any other parameters while copying ps datasets in DCB or other?
Please clarify.

Any change in LRECL requires that you provide the necessary statements in SYSIN to construct the (new) SYSUT2 record at the specified LRECL.
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 LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts Multiple parameters Csongor All Other Mainframe Topics 16 Thu Jun 09, 2016 7:54 pm
No new posts SYSUT2 - CONFLICTING DCB PARAMETERS raulravi7 JCL & VSAM 6 Thu May 19, 2016 9:43 am


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