View previous topic :: View next topic |
Author |
Message |
ravikumar_sri2001 Beginner
Joined: 06 Dec 2002 Posts: 117 Topics: 44 Location: Chennai,India
|
Posted: Mon Mar 01, 2004 5:43 am Post subject: AFCY abend while writing to a KSDS file |
|
|
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 |
|
|
Himesh CICS Forum Moderator
Joined: 20 Dec 2002 Posts: 80 Topics: 21 Location: Chicago
|
Posted: Mon Mar 01, 2004 10:14 am Post subject: |
|
|
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 |
|
|
ravikumar_sri2001 Beginner
Joined: 06 Dec 2002 Posts: 117 Topics: 44 Location: Chennai,India
|
Posted: Thu Mar 04, 2004 3:02 am Post subject: |
|
|
Himesh,
Thanks your explanation. I reduced CISIZE. Abend got solved.
Thanks,
Ravikumar. |
|
Back to top |
|
|
|
|