View previous topic :: View next topic
|
Author |
Message |
sureshmurali Warnings : 1 New User
Joined: 25 Nov 2010 Posts: 70 Location: Sivakasi, India
|
|
|
|
I was trying to copy two VB input files to a FB output file using IDCAMS.
I am getting the SYSPRINT message IEB311I CONFLICTING DCB PARAMETERS
Code: |
//STEP040 EXEC PGM=IEBGENER
//SYSOUT DD SYSOUT=*
//SYSUT1 DD DSN=A931.VARI.BLOC,DISP=SHR
// DD DSN=A931.VARI.BLOC1,DISP=SHR
//SYSUT2 DD DSN=A931.VARI.FIX.OUT,DISP=NEW,
// DCB=(RECFM=FB,LRECL=60,BLKSIZE=6000)
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
/* |
First input file is 27 chars LRECL and second one is 35 chars. SYSUT2 file is 60 characters but FB. Can some one tell why DCB parameters are conflicting. Thanks in advance. |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
Back to top |
|
|
sureshmurali Warnings : 1 New User
Joined: 25 Nov 2010 Posts: 70 Location: Sivakasi, India
|
|
|
|
Hi Prem
Thanks. So this means that IEBGENER can only be used to copy datasets with same DCB parameters of SYSUT1 and SYSUT2 ? ie., VB to VB only and FB to FB only copy can be done.... VB to FB cannot be done using IEBGENER ? |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Why not read the IEBGENER section of the utilities manual and look at the examples? |
|
Back to top |
|
|
Chiranjeevi9
New User
Joined: 14 Dec 2011 Posts: 11 Location: India
|
|
|
|
The solution for this is, you have to use SORT, converting the VB to FB. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
You DON'T have to use sort, however it probably is the most efficient method. |
|
Back to top |
|
|
|