View previous topic :: View next topic
|
Author |
Message |
rkarthke
New User
Joined: 23 Feb 2010 Posts: 3 Location: India
|
|
|
|
Hi,
Exact problem is given records are missing randomly in cics
I am processing some transaction in cics screen then its passed to program-A
through DFHCOMM then its write into TSQ, program-B will read the TSQ and
store it into working storage and then delete the TSQ, stored working storage values has been put into VSAM file.
problem is when i checked the Vsam file, some records are missing which is processed in CICS screen. this problem happening randomly, we have log to confirm whether program -A receive the details from Cics map or not. when i checked the log the processed transaction presents.
could any one help me out on this ??
thanks |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
There has to be some common factor to the records that aren't added. You need to find the common factor which will help solve the problem. Most likely this will have to be done at your site since we do not have the code available to us.
How are you checking the VSAM file? Is the file closed to CICS when you check it? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Does the code check for a successful operation after every vsam action? |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Any possibility the working storage is (improperly) shared, resulting in another task overwriting the record data in storage before it gets written?
Garry. |
|
Back to top |
|
|
rkarthke
New User
Joined: 23 Feb 2010 Posts: 3 Location: India
|
|
|
|
Hi Robert/dick/Garry,
Thank you so much for the response,
@Robert: when checked the VSAM file it was open enabled status. in Program-B i am using HANDLE CONDITIONS. I looked into common factors i couldn't get anything everything works as per the flow, Missing records happen randomly. I will look once again.
@Dick Scherrer: Yes i am using Flag to set status is Sucessful or Failed and write the same into report log file. When i checked the report log file i couldn't find missing record.
@Garry: I agree with your point but here only one task. Here i am just dumping the records to TSQ from program-A then program-B will pick active TSQ and read the TSQ then store the value in Working storage Delete TSQ then Write the value into VSAM file, Check the status whether sucessful or failed and write the same into report log file. Could please let me know if i dint clear your question.
My doubt: I missed the transaction either before writing TSQ itself (i checked with more possibilities but all negative. Is that possible TSQ missing transaction while writing due DFHTEMP dataset. Please correct if i am wrong.
Thanks,
rkarthk |
|
Back to top |
|
|
rkarthke
New User
Joined: 23 Feb 2010 Posts: 3 Location: India
|
|
|
|
Hi all,
Could you please help me out on this... any idea why records are missing ??
Missing records due to TSQ or DFHCOMM or should i need to look some other factors Kindly suggest me
Thanks,
rkarthk
[/b] |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
i imagine either Program-A or Program-B has a bug. |
|
Back to top |
|
|
|