Page 1 of 1

Trying to REPRO VSAM DB to flat file.

PostPosted: Wed Apr 30, 2008 12:00 am
by rev1976
Hi everyone,

I'm trying to REPRO a VSAM db to a flat file. But i'm getting the following error message:

REPRO INFILE(REPROIN) OUTFILE(REPROOUT)
IDC3302I ACTION ERROR ON IMSVS.KY.DB
IDC3309I ** RECORD X'2007356F21' NOT WRITTEN. LENGTH INVALID
IDC3302I ACTION ERROR ON IMSVS.KY.DB
IDC3309I ** RECORD X'0000000100' NOT WRITTEN. LENGTH INVALID
IDC3302I ACTION ERROR ON IMSVS.KY.DB
IDC3309I ** RECORD X'0BDA000001' NOT WRITTEN. LENGTH INVALID
IDC3302I ACTION ERROR ON IMSVS.KY.DB
IDC3309I ** RECORD X'0614000002' NOT WRITTEN. LENGTH INVALID
IDC31467I MAXIMUM ERROR LIMIT REACHED.
IDC0005I NUMBER OF RECORDS PROCESSED WAS 0
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12

Here's my JCL:

//STEP20 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD DISP=SHR,DSN=CBA285.VSAM.CNTL(REPRODUP)
//REPROIN DD DISP=SHR,DSN=VSAM.DB,
// AMP=('BUFND=250','BUFNI=250')
//REPROOUT DD DISP=(,CATLG,DELETE),DSN=IMSVS.KY.DB,
// SPACE=(CYL,(3500,550),RLSE),
// VOL=SER=HALDB4,
// DCB=(LRECL=80,RECFM=FB)
//PLIDUMP DD SYSOUT=0
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=0

I tried changing the LRECL with no success. Any help would be greatly appreciated. Thank you.

Re: Trying to REPRO VSAM DB to flat file.

PostPosted: Wed Apr 30, 2008 12:02 am
by dick scherrer
Hello rev1976 and welcome to the forums,

Please post the definition of the vsam dataset you are trying to repro.

Re: Trying to REPRO VSAM DB to flat file.

PostPosted: Wed Apr 30, 2008 12:18 am
by rev1976
I want to convert the contents in my database into a flat file. The database is a vsam database:

General Data Current Allocation
Management class . . : IMSDB Allocated tracks . : 0
Storage class . . . : DSFAST Allocated extents . : 0
Volume serial . . . : IMSM07
Device type . . . . : 3390
Data class . . . . . : IMSMED Current Utilization
Organization . . . : VS Used tracks . . . . : ?
Record format . . . : ? Used extents . . . : ?
Record length . . . : ?
Block size . . . . : ?
1st extent tracks . : 0
Secondary tracks . : 0
Data set name type :

Re: Trying to REPRO VSAM DB to flat file.

PostPosted: Wed Apr 30, 2008 12:42 am
by William Thompson
dick scherrer wrote:Please post the definition of the vsam dataset you are trying to repro.
Or better yet, a listcat o this VSAM (why in the IMS DB/DC Fourum?) dataset......

Re: Trying to REPRO VSAM DB to flat file.

PostPosted: Wed Apr 30, 2008 1:02 am
by dick scherrer
Hello,

What you posted is the info about the dataset allocation.

We need the definition of the vsam file (either the delete/define or the listcat).

Re: Trying to REPRO VSAM DB to flat file.

PostPosted: Wed Apr 30, 2008 1:58 am
by MrSpock
Organization . . . : VS??

Re: Trying to REPRO VSAM DB to flat file.

PostPosted: Wed Apr 30, 2008 2:09 am
by dick scherrer
Hello,

Organization . . . : VS??
VSAM. This is what i get for the cluster, the index, and the data from an "S" off of 3.4.