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
 

 

Having a JCL error: CONFLICTING DCB PARAMETERS
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Mon Oct 08, 2007 1:59 pm    Post subject: Having a JCL error: CONFLICTING DCB PARAMETERS
Reply with quote

Hi,

I want to download from a db2 based table. For the same I am providing the file name with the following parameters.
Code:

//UTIL     EXEC DSNUTDH1,SYSTEM=TDH1,UID='PV5240A',UTPROC=''
//DSNUTDH1.SYSREC DD DSN=PV5240A.DB2.CARR.MKT.DTL,           
//    DISP=(NEW,CATLG,DELETE),                             
//    DCB=(RECFM=FB,LRECL=108),                             
//    SPACE=(CYL,(20,20),,,ROUND)                           
//*                                                         
//*                                                         
//DSNUTDH1.SYSLISTD DD DSN=PV5240A.DB2.CARR.DEFENIT,         
//    DCB=(RECFM=FB,LRECL=108,BLKSIZE=0,DSORG=PS),         
//    DISP=(NEW,CATLG,DELETE),UNIT=DISK,                   
//    SPACE=(CYL,(10,10),RLSE)                             
//*                                                         


After the downloading is complete, I am trying to copy the data file into the GDG base whose definition is as follow:
Code:

//STEP02   EXEC PGM=IEBGENER,COND=(0,LT)                         
//SYSPRINT DD SYSOUT=*                                           
//SYSOUT   DD SYSOUT=*                                           
//SYSIN    DD DUMMY                                               
//SYSUT1   DD DSN=PV5240A.DB2.CARR.MKT.DTL,DISP=(SHR,CATLG,DELETE)
//SYSUT2   DD DSN=PV5240A.DB2.CARR.MKT.BKUP(+1),                   
//            DISP=(NEW,CATLG,DELETE),                           
//            SPACE=(CYL,(20,20),,,ROUND),                       
//            DCB=(RECFM=FB,LRECL=108)                           
/*                                         
                       

But when I try to execute the above job, the job abends with a MAXCC=12. In the spool I am getting the following error display:

Code:

DATA SET UTILITY - GENERATE       
IEB311I CONFLICTING DCB PARAMETERS


When i checked out the data file's parameters, I found that to be of VB instead of FB and its LRECL is 113 instead of 108.
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Oct 08, 2007 2:24 pm    Post subject:
Reply with quote

Swapnadeep,

One of the possibel reasons for your error-

Quote:
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


Verify your IP and OP file attributes.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Mon Oct 08, 2007 2:29 pm    Post subject:
Reply with quote

Hi Murali,

Can you please be a bit more ellaborative?

I have already specified that the type of data file(PV5240A.DB2.CARR.MKT.DTL) that I am creating is of the VB type with LRECL of 113.
But I mentioned it in my JCL to be of FB type with a LRECL of 108.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Oct 08, 2007 2:32 pm    Post subject:
Reply with quote

Swapnadeep,

You cannot SIMPLY convert FB to VB or vice-versa.

If you need to do this, search DFSORT forum.... you will get info on conversion.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Oct 08, 2007 2:35 pm    Post subject:
Reply with quote

DSNUTDH1 will generate its own dcb parms, regardless of what you put in your jcl..............
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Mon Oct 08, 2007 2:39 pm    Post subject:
Reply with quote

Then the best method is to change the file into FB format with my required LRECL using the DFSORT.

Then shall i proceed to copy this changed file into my GDG?
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Oct 08, 2007 2:42 pm    Post subject:
Reply with quote

Swapnadeep,
Quote:
Then shall i proceed to copy this changed file into my GDG?


Why do you need one more step? You can directly copy the data into GDG GENERATION using the SORT (during conversion itself).
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Mon Oct 08, 2007 2:49 pm    Post subject:
Reply with quote

Please correct me if I am going wrong any where in the following piece of code:
Code:

//STEP01   EXEC PGM=DFSORT,COND=(0,LT)                   
//SYSIN    DD *                                           
SORT FIELDS=(1,4,CH,A)                                   
OUTFIL FNAMES=PV5240A.DB2.CARR.MKT.BKUP(+1),VTOF,OUTREC=(1,108)
//
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Oct 08, 2007 2:51 pm    Post subject:
Reply with quote

Swapnadeep,

Quote:
OUTFIL FNAMES=PV5240A.DB2.CARR.MKT.BKUP(+1),VTOF,OUTREC=(1,108)


Wrong. Go thru the outfil syntax.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Mon Oct 08, 2007 2:55 pm    Post subject:
Reply with quote

The synatx is:

SORT FIELDS=(7,8,CH,A)
OUTFIL FNAMES=FB1,VTOF,OUTREC=(5,76)

Now as per my understanding, FB1 stands for the output file name. Outrec specifies the LRECL.

Please correct me if i am wrong in my understanding.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Oct 08, 2007 2:57 pm    Post subject:
Reply with quote

Ok.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Mon Oct 08, 2007 3:01 pm    Post subject:
Reply with quote

So I have done the above piece of code correctly

i.e OUTFIL FNAMES=PV5240A.DB2.CARR.MKT.BKUP(+1),VTOF,OUTREC=(1,108) part is correct in syntax???
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Oct 08, 2007 3:04 pm    Post subject:
Reply with quote

I belive so.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Mon Oct 08, 2007 3:05 pm    Post subject:
Reply with quote

I am getting a system abend of 806. The details as obtained from spool is:
Code:

CSV003I REQUESTED MODULE DFSORT   NOT FOUND           
CSV028I ABEND806-04  JOBNAME=Pv5240AA  STEPNAME=STEP01
IEA995I SYMPTOM DUMP OUTPUT                           
SYSTEM COMPLETION CODE=806  REASON CODE=00000004
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Oct 08, 2007 3:10 pm    Post subject:
Reply with quote

Swapnadeep,

Quote:
CSV003I REQUESTED MODULE DFSORT NOT FOUND

Probably this might give some idea about the error.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Mon Oct 08, 2007 3:13 pm    Post subject:
Reply with quote

I am getting the idea that the module DFSORT is not available. So how can I proceed next?

Is this a system utility defined by IBM?
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Oct 08, 2007 3:19 pm    Post subject:
Reply with quote

Quote:
So how can I proceed next?


Check this link -
http://ibmmainframes.com/post-13099.html&highlight=
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Mon Oct 08, 2007 3:21 pm    Post subject:
Reply with quote

swapnadeep.ganguly wrote:
I am getting the idea that the module DFSORT is not available. So how can I proceed next?

Is this a system utility defined by IBM?
Your shop may not have IBM's DFSORT, use the standard name of SORT and it should point to the availible version.....
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Mon Oct 08, 2007 3:55 pm    Post subject:
Reply with quote

Hi,

I am using the following piece of code as per the forum
Code:

//STEP01   EXEC PGM=SORT,COND=(0,LT)                         
//SORTIN   DD DSN=N48FF9.DB2.CARR.MKT.DTL,DISP=SHR           
//SORTOUT1 DD DSN=N48FF9.DB2.CARR.MKT.BKUP(+1),               
//            DISP=(NEW,CATLG,DELETE),                       
//            RECFM=FB,LRECL=108,                             
//            SPACE=(CYL,(20,20),,,ROUND)                     
//SYSIN    DD *                                               
SORT FIELDS=COPY                                             
OUTFIL FNAMES=N48FF9.DB2.CARR.MKT.BKUP(+1),VTOF,OUTREC=(1,108)
/*                                                           
//SYSOUT   DD SYSOUT=*                                       
//SYSDUMP  DD SYSOUT=*                                       


But I am getting an abend. The error as described in the spool is:

Code:

SYSIN :                                                       
SORT FIELDS=COPY                                             
     *                                                       
OUTFIL FNAMES=N48FF9.DB2.CARR.MKT.BKUP(+1),VTOF,OUTREC=(1,108)
       *                                                     
WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT               
WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT               
WER211B  SYNCSMF  CALLED BY SYNCSORT; RC=0000
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Oct 08, 2007 3:58 pm    Post subject:
Reply with quote

Swapnadeep,

Dont you think you are repeating the OUTFIL syntax error again and again?
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
Goto page 1, 2, 3  Next
Page 1 of 3

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm


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