IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Missing records randomly in cics


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rkarthke

New User


Joined: 23 Feb 2010
Posts: 3
Location: India

PostPosted: Thu Aug 18, 2011 2:04 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 18, 2011 3:04 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Aug 18, 2011 9:13 am
Reply with quote

Hello,

Does the code check for a successful operation after every vsam action?
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Thu Aug 18, 2011 11:49 am
Reply with quote

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
View user's profile Send private message
rkarthke

New User


Joined: 23 Feb 2010
Posts: 3
Location: India

PostPosted: Thu Aug 18, 2011 12:17 pm
Reply with quote

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
View user's profile Send private message
rkarthke

New User


Joined: 23 Feb 2010
Posts: 3
Location: India

PostPosted: Mon Aug 22, 2011 1:26 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Aug 22, 2011 1:56 pm
Reply with quote

i imagine either Program-A or Program-B has a bug.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Using API Gateway from CICS program CICS 0
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Calling an Open C library function in... CICS 1
Search our Forums:

Back to Top