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 

AFCY abend while writing to a KSDS file

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
ravikumar_sri2001
Beginner


Joined: 06 Dec 2002
Posts: 117
Topics: 44
Location: Chennai,India

PostPosted: Mon Mar 01, 2004 5:43 am    Post subject: AFCY abend while writing to a KSDS file Reply with quote

Experts,

I am reading file X (KSDS file) sequentially (using STARTBR, READNEXT) and writing records to file Y (KSDS file) until some condition is satisfied for the record read in file X.

Before writing record to file Y, i am reading (EXEC CICS READ) the file Y with new key to make sure that new record is not available in file Y already.

In a particular situation, i need to read 904 records from file X and write it into file Y. Till 752th record every write operation in file Y is successfull.
But while writing 752th record, the program abends with abend 'AFCY'.
In expeditor, i got message "AFCY (TRANS PRGD WHI WAIT ON FILE CNTL)".

Can you please help me in solving this problem ?.

Thanks,
Ravikumar.
Back to top
View user's profile Send private message
Himesh
CICS Forum Moderator
CICS Forum Moderator


Joined: 20 Dec 2002
Posts: 80
Topics: 21
Location: Chicago

PostPosted: Mon Mar 01, 2004 10:14 am    Post subject: Reply with quote

Hi Ravi,

Some pointers that could help.

Problem 1

Problem 2

The problem looks like something to do with the Control Interval (CI) of the VSAM.

Pls refer to the available IBM manual for more info on deciding on appropriate CI.
VSAM programmer's Reference

regards,
himesh
Back to top
View user's profile Send private message Yahoo Messenger
ravikumar_sri2001
Beginner


Joined: 06 Dec 2002
Posts: 117
Topics: 44
Location: Chennai,India

PostPosted: Thu Mar 04, 2004 3:02 am    Post subject: Reply with quote

Himesh,

Thanks your explanation. I reduced CISIZE. Abend got solved.

Thanks,
Ravikumar.
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 -> CICS and Middleware 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