MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Trying to repro DB into a flat file

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
rev1976
Beginner


Joined: 08 Apr 2008
Posts: 1
Topics: 1

PostPosted: Tue Apr 29, 2008 1:07 pm    Post subject: Trying to repro DB into a flat file Reply with quote

Hi everyone,

New here and kind of a newbie to IMS. I'm trying to repro a vsam database into a flat file but i'm getting an invalid length error. Here's the 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

I tried changing the LRECL with no luck. 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=18,RECFM=FB)
//PLIDUMP DD SYSOUT=0
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=0

Any help would be greatly appreciated. Thanks.
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed Apr 30, 2008 1:12 pm    Post subject: Reply with quote

Try removing the line DCB=: a) you do not need to specify DCB= when you are specifying LRECL, RECFM etc and b) IDCAMS works it all out for itself

You also do not need a PLIDUMP - IDCAMS is not written in PL/1
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group