View previous topic :: View next topic
|
Author |
Message |
praveenbl22 Currently Banned New User
Joined: 26 Sep 2007 Posts: 24 Location: Bangalore
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
praveenbl22 Currently Banned New User
Joined: 26 Sep 2007 Posts: 24 Location: Bangalore
|
|
|
|
What is the Hex value '8408006C' signify? Where I can found description for this? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
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 |
|
|
praveenbl22 Currently Banned New User
Joined: 26 Sep 2007 Posts: 24 Location: Bangalore
|
|
|
|
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 |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
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 |
|
|
|