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.
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
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.
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.