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

Error loading the VSAM file using IDCAMS RC 108


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
praveenbl22
Currently Banned

New User


Joined: 26 Sep 2007
Posts: 24
Location: Bangalore

PostPosted: Wed Nov 21, 2007 9:29 am
Reply with quote

HI,

I was not able to load the VSAM file. I could not find out what was the error.


JCl to create the VSAM file
Code:

//USERIDAB JOB CLASS=A,MSGLEVEL=(1,1),NOTIFY=&SYSUID         
//STEP01 EXEC PGM=IDCAMS                                     
//SYSOUT DD  SYSOUT=*                                       
//SYSPRINT DD SYSOUT=*                                       
//SYSIN DD *                                                 
  DELETE (USERID.XXXXX.VSAM)  CLUSTER               
  DEFINE CLUSTER (NAME(USERID.XXXXX.VSAM)  -       
                  KEYS(5 0)                  -               
                  RECORDSIZE(31 31)          -               
                  VOLUMES(VPWRKE)            -               
                  INDEXED                    -               
                  CYLINDERS(10 100))         -               
           DATA (NAME(USERID.XXXXX.VSAMDATA)  -   
                 CONTROLINTERVALSIZE(1024)) -               
           INDEX (NAME(USERID.XXXXX.VSAM.INDEX))   



Below is the JCL to laod the VSAM file. The Record length is 31
Code:

//USERIDAB  JOB CLASS=A,MSGLEVEL=(1,1)
//STEP01 EXEC PGM=IDCAMS                                               
//SYSOUT DD  SYSOUT=*                                                 
//SYSPRINT DD SYSOUT=*                                                 
//OUTDD  DD DSN=IDCL01.PRAVEEN.VSAM,DISP=SHR                           
//SYSIN DD *                                                           
 REPRO INFILE(INDD) OUTFILE(OUTDD)                                     
/*                                                                     
//INDD  DD *                                                           
00001DONALD DUCK              5                                       
00002MINNIE MOUSE             2                                       
00003HUEY                     1                                       
00004DEWEY                    1                                       
00005LOUIE                    1                                       
00006MICKEY MOUSE             7                                       
/*                                                                     
//                                                           
 



Error message
-----------------

Code:

 REPRO INFILE(INDD) OUTFILE(OUTDD)                               
IDC3302I  ACTION ERROR ON IDCL01.PRAVEEN.VSAM                   
IDC3351I ** VSAM I/O RETURN CODE IS 108 - RPLFDBWD = X'8408006C'
IDC31467I MAXIMUM ERROR LIMIT REACHED.     


Does anybody know what is the error the line RPLFDBWD = X'8408006C'
signifys too. I searched for the message in MVS Macro instruction for dataset. I did not found this message. Can anybody tell where the description for the error codes exts. What is RPLFDBWD?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Nov 21, 2007 10:56 am
Reply with quote

IDC3351I ** VSAM {OPEN|CLOSE|I/O} RETURN CODE IS return-code {RPLFDBWD=nnnnnnnn} description.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Nov 21, 2007 11:02 am
Reply with quote

Quote:

108 The RECLEN specified was larger than the maximum allowed, equal to 0, or smaller than the sum of the length and the displacement of the key field of the base cluster or related alternate index (AIX). The RECLEN was not equal to the slot size specified for a relative record data set
Back to top
View user's profile Send private message
praveenbl22
Currently Banned

New User


Joined: 26 Sep 2007
Posts: 24
Location: Bangalore

PostPosted: Wed Nov 21, 2007 2:17 pm
Reply with quote

What is the Hex value '8408006C' signify? Where I can found description for this?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10886
Location: italy

PostPosted: Wed Nov 21, 2007 2:28 pm
Reply with quote

Your last post is asking an irrelevant question ...
in this case the 108 is enough...

Superk gave You the RIGHT info to solve Your problem

/EXPLANATION ON
your cluster defines a fixed record lenght of 31...
the data sets provided by SYSIN dd statements have a record lenght of 80..
/EXPLANATION OFF

if it was homework given by a teacher..
the homework was badly described
(usually at the first stages of VSAM teaching the clusters are defined whith a reclength of 80 )
that teacher should be retrained for better ..
1) teaching skills ( not to forget to tell things )
2) technical skill on the subject he teaches

But if looking at Your notes, You find out that all this was said...........
Back to top
View user's profile Send private message
praveenbl22
Currently Banned

New User


Joined: 26 Sep 2007
Posts: 24
Location: Bangalore

PostPosted: Thu Nov 22, 2007 9:15 am
Reply with quote

Hi,


Quote:

the data sets provided by SYSIN dd statements have a record lenght of 80..


I am not in training. I have been asked to code simple program. For which I need to use th VSAM file. I was able to create the VSAM file. But the JCL I found in some example to load the vsam was giving error 108.
I really did not know that the instream data wil have the records length 80 and because of that the logical record length error is obatined.



Buy how do we load to VSAM file with record length 31
through the instream data.
Back to top
View user's profile Send private message
murmohk1

Senior Member


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

PostPosted: Thu Nov 22, 2007 9:18 am
Reply with quote

Praveen,
Quote:
really did not know that the instream data wil have the records
length 80 and

Say you are not serious on this.

Quote:
Buy how do we load to VSAM file with record length 31

Create one flat file with 31 length and use it for repro purpose.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Unable to interpret a hex value to De... COBOL Programming 4
No new posts Help on IMS -API URL migrating from P... IMS DB/DC 1
No new posts JES datasets IO Error ABENDS & Debugging 3
No new posts Error to invoke MPP program through B... IMS DB/DC 3
No new posts how to eliminate null indicator value... DB2 7
Search our Forums:

Back to Top