Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Error loading the VSAM file using IDCAMS RC 108

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Error loading the VSAM file using IDCAMS RC 108
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

Moderator Team Head


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

PostPosted: Wed Nov 21, 2007 10:56 am    Post subject: Reply to: Error loading the VSAM file using IDCAMS RC 108
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

Moderator Team Head


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

PostPosted: Wed Nov 21, 2007 11:02 am    Post subject: Reply to: Error loading the VSAM file using IDCAMS RC 108
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    Post subject:
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

Senior Member


Joined: 14 Mar 2007
Posts: 10492
Location: italy

PostPosted: Wed Nov 21, 2007 2:28 pm    Post subject: Reply to: Error loading the VSAM file using IDCAMS RC 108
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    Post subject: Reply to: Error loading the VSAM file using IDCAMS RC 108
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: 1439
Location: Bangalore,India

PostPosted: Thu Nov 22, 2007 9:18 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Join 2 File using a Join Key scorp_rahul23 DFSORT/ICETOOL 6 Tue Aug 14, 2018 7:36 am
No new posts JCL to send email along with formated... wik123 JCL & VSAM 5 Thu Aug 09, 2018 9:48 am
No new posts How can we create a flat file in JAVA... jasorn Java & MQSeries 2 Wed Aug 08, 2018 3:08 pm
No new posts Need Help on sending email by includi... wik123 JCL & VSAM 9 Mon Jul 30, 2018 2:59 pm
No new posts How to manage VSAM file update confli... ocjohnh JCL & VSAM 2 Sat Jul 21, 2018 6:04 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us