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
 

 

[Solved]Conflicting DCB Parameters

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
jruiza

New User


Joined: 31 Aug 2005
Posts: 23

PostPosted: Thu Jan 19, 2006 5:39 pm    Post subject: Conflicting DCB Parameters
Reply with quote

I want to reduce record lenght of a file since I only need first 50 positions.
Input file has a LRECL =1500- I am using IEBGENR proc.
Job failed because CONFLICTING DCB PARAMETERS
What am I doing wrong??
Thanks in advance,
JORDI

Code:

****** ***************************** Top of Data ******************************
000001 //MS7901AC JOB (JW9740,JR), JORDI R,PROC(AST),34985124960,
000002 //             MSGCLASS=Q,CLASS=D,PRTY=5,MSGLEVEL=(1,1),NOTIFY=MS7901
000003 //*
000004 //*MAIN CLASS=DBD1
000600 //***************************************************************
000700 //*  CREATE NEW VERSION OF DATASTORE INV COLLECTION FILE
000800 //***************************************************************
000900 //*
001000 //STEP040   EXEC  PGM=IEBGENER
001100 //*
001200 //SYSIN      DD  DUMMY
001300 //SYSPRINT   DD  SYSOUT=*
001400 //*
001500 //SYSUT1     DD  DSN=MS7901.CEDB.ARIBA.ARB,
001600 //            DISP=SHR
001700 //SYSUT2     DD  DSN=MS7901.TEST.DCB(+1),
001800 //            DISP=(NEW,CATLG,DELETE),
001900 //             AVGREC=K,LRECL=50,RECFM=FB,DSORG=PS,
002000 //             SPACE=(50,(10,100),RLSE)
002200 //***************************************************************
002300 //***************************************************************
002400 //*         TEST PRIOR COND CODE
002500 //***************************************************************
002600 //TEST040 EXEC XXXSCCCC,
002700 //             COND=(0,EQ,STEP040)
002800 //***************************************************************
Back to top
View user's profile Send private message

itssreehere
Warnings : 1

New User


Joined: 10 Jan 2006
Posts: 65
Location: chennai

PostPosted: Thu Jan 19, 2006 5:47 pm    Post subject:
Reply with quote

Better use sort/sync sort for this purpose.Will IEBGENR can be used for partially copying a record? I'm not sure.

Sreejith
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Thu Jan 19, 2006 5:58 pm    Post subject: Re: Conflicting DCB Parameters
Reply with quote

Jordi,
Please put error messages from JOBLOG... I dont see any problem in the job...

Sreejith...
Quote:
Will IEBGENR can be used for partially copying a record? I'm not sure.

Yes, it can be.

Regards,

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

New User


Joined: 31 Aug 2005
Posts: 23

PostPosted: Thu Jan 19, 2006 6:03 pm    Post subject: Re: Conflicting DCB Parameters
Reply with quote

Can not be used IEBGENR?
Should I use SORT utility?
Back to top
View user's profile Send private message
Prandip

New User


Joined: 04 Mar 2005
Posts: 85
Location: In my tiny cubicle ...

PostPosted: Thu Jan 19, 2006 6:07 pm    Post subject: Re: Conflicting DCB Parameters
Reply with quote

You neglected to supply some important control parameters:
Code:

//STEP040   EXEC  PGM=IEBGENER
//*
//SYSIN      DD  *
  GENERATE MAXFLDS=1     
  RECORD FIELD=(50,1,,1) 
/*
//SYSPRINT   DD  SYSOUT=*
//*
//SYSUT1     DD  DSN=MS7901.CEDB.ARIBA.ARB,
//            DISP=SHR
//SYSUT2     DD  DSN=MS7901.TEST.DCB(+1),
//            DISP=(NEW,CATLG,DELETE),
//             AVGREC=K,LRECL=50,RECFM=FB,DSORG=PS,
//             SPACE=(50,(10,100),RLSE)


Personally, I would have opted to use either PGM=ICEGENER or PGM=SORT.
Back to top
View user's profile Send private message
jruiza

New User


Joined: 31 Aug 2005
Posts: 23

PostPosted: Thu Jan 19, 2006 7:57 pm    Post subject: Re: Conflicting DCB Parameters
Reply with quote

It works using SYSIN parameters and IEBGENER.

Thanks!!

I will try to use SORT. It will be more powerful
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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
No new posts Number of parameters in Linkage kregen COBOL Programming 4 Wed Jan 27, 2016 5:13 pm


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