IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IDCAMS Error: MAXIMUM ERROR LIMIT REACHED


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
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
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
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: 2146
Location: At my coffee table

PostPosted: Wed Sep 19, 2007 2:57 pm
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: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Sep 19, 2007 2:59 pm
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
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: 2146
Location: At my coffee table

PostPosted: Wed Sep 19, 2007 4:30 pm
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: 8797
Location: Welsh Wales

PostPosted: Wed Sep 19, 2007 9:59 pm
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

Superior Member


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

PostPosted: Wed Sep 19, 2007 10:40 pm
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: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu Sep 20, 2007 12:35 am
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: 3156
Location: Tucson AZ

PostPosted: Thu Sep 20, 2007 1:08 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top