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
 

 

IDCAMS Error: MAXIMUM ERROR LIMIT REACHED

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

New User


Joined: 06 Jan 2006
Posts: 5

PostPosted: Wed Sep 19, 2007 2:16 pm    Post subject: IDCAMS Error: MAXIMUM ERROR LIMIT REACHED
Reply with quote

IDC3313I ** ,XDA1FNDA,REPROD ,0563,T,INPUT ,
READ ,WRNG.LEN.RECORD,0000000001,BSAM
IDC31467I MAXIMUM ERROR LIMIT REACHED.
IDC0005I NUMBER OF RECORDS PROCESSED WAS 242846
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12
Back to top
View user's profile Send private message

k.kunalan

New User


Joined: 06 Jan 2006
Posts: 5

PostPosted: Wed Sep 19, 2007 2:20 pm    Post subject: IDCAMS Error
Reply with quote

Can anyone please help me in this...

DEFINE CLUSTER -
(NAME(CTRG.543) -
CYLINDERS(100 10) -
RECORDSIZE(4088 4088) -
NUMBERED -
VOL(* * * * * * * * * * ) -
UNIQUE -
SPEED -
SHAREOPTIONS(3) -
CISZ(28672)) -
DATA (NAME(CTRG.543.DATA))
LISTCAT ENTRY(CTRG.543) ALL
//INPUT DD DSN=CTRG123.DATAFILE,DISP=(OLD,PASS),
// UNIT=&UNIT,
// DCB=(LRECL=4088,BLKSIZE=32704,RECFM=FB),
//** FOR 3480 MEDIA ****
// LABEL=(01,&LBL,EXPDT=98000),
// VOL=(,RETAIN,,5,
// SER=(2FD896,2FD892,2FD893,2FD894,2FD895,2FD891))
//OUTPUT DD DISP=SHR,DSN=CTRG.543
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
REPRO IFILE(INPUT) OFILE(OUTPUT)
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: Wed Sep 19, 2007 2:57 pm    Post subject:
Reply with quote

You do see that the error is for a wrong length record on your input file, don't you?
Is the DCB lrecl and recfm correct and matching the data on the tape?
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Sep 19, 2007 2:59 pm    Post subject:
Reply with quote

Why is there a DCB-parameter at INPUT? Did you verify the DCB of the file for recordlength?
Back to top
View user's profile Send private message
k.kunalan

New User


Joined: 06 Jan 2006
Posts: 5

PostPosted: Wed Sep 19, 2007 3:54 pm    Post subject:
Reply with quote

I couldn't get the DCB for the INPUT file..But I used the same parameters to create another file ..It got created Succsessfully
DEFINE CLUSTER -
(NAME(C2345.f23417692) -
CYLINDERS(50 10) -
RECORDSIZE(4088 4088) -
UNIQUE -
NUMBERED -
VOL(* * * * * * * * * * ) -
SPEED -
SHAREOPTIONS(3) -
CISZ(28672)) -
DATA (NAME(C2345.f23417692.DATA))
//REPROC EXEC PGM=IDCAMS
//INPUT DD DSN=C65758.CITYFILE,DISP=(OLD,PASS),
// UNIT=&UNIT,
// DCB=(LRECL=4088,BLKSIZE=32704,RECFM=FB),
// LABEL=(03,&LBL,EXPDT=98000),
// VOL=(,,,1,SER=(2FD891,2FD892,2FD893,2FD894,2FD895,
// 2FD896))
//OUTPUT DD DISP=SHR,DSN=C2345.f23417692
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
REPRO IFILE(INPUT) OFILE(OUTPUT)
/*
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: Wed Sep 19, 2007 4:30 pm    Post subject:
Reply with quote

k.kunalan wrote:
I couldn't get the DCB for the INPUT file..But I used the same parameters to create another file ..It got created Succsessfully
Tough luck, this time it didn't...."INPUT , READ ,WRNG.LEN.RECORD"....
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Sep 19, 2007 9:59 pm    Post subject:
Reply with quote

For getting the input DCB take a look at your Tape Management Software which should hold that information.

ELSE the following code will read the DCB info from the tape label

Code:

//IEBGENER EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN    DD DUMMY
//SYSUT1   DD DSN=whatever,UNIT=whatever,
//            LABEL=(1,BLP),RECFM=FB,LRECL=80
//SYSUT2   DD SYSOUT=*
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Sep 19, 2007 10:40 pm    Post subject:
Reply with quote

Or this, if your shop uses SyncSort

Code:
//*                                                         
//STEP010  EXEC PGM=SYNCTOOL                               
//TOOLMSG  DD  SYSOUT=*                                     
//DFSMSG   DD  SYSOUT=*                                     
//DD01     DD  DSN=TAPE_FILENAME
//             DISP=SHR                                     
//TOOLIN   DD  *                                           
   COUNT FROM(DD01)                                         
/*                                                         
//*                                                         


Look TOOLIN/TOOLMSG after completion of JOB.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Thu Sep 20, 2007 12:35 am    Post subject:
Reply with quote

Seems to have used the wrong volume numbers and therefore the wrong datasets icon_exclaim.gif
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Thu Sep 20, 2007 1:08 am    Post subject:
Reply with quote

Different DSNs?
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 Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am


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