Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Missing records randomly in cics

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Missing records randomly in cics
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: 7932
Location: Bellevue, IA

PostPosted: Thu Aug 18, 2011 3:04 am    Post subject:
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

Site Director


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

PostPosted: Thu Aug 18, 2011 9:13 am    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 991
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Aug 18, 2011 11:49 am    Post subject:
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    Post subject: Reply to: Missing records randomly in cics
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    Post subject: Missing records randomly in cics
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 2 Thu Jan 19, 2017 1:31 am
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us