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

How to determine my program is in a infinite loop?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vin12pr
Warnings : 1

New User


Joined: 14 Jun 2006
Posts: 56

PostPosted: Tue Sep 12, 2006 11:23 am
Reply with quote

Lets say due to some data problem ,my program is in a infinite loop in production .How to determine my program is in a infinte loop? Is there any method to check this out quickly?
Back to top
View user's profile Send private message
vijayakumar.yellala

New User


Joined: 19 Apr 2006
Posts: 63
Location: Chennai

PostPosted: Tue Sep 12, 2006 11:48 am
Reply with quote

Hi Vin,

U can easly find that the program is in infinate loop r not, through spool...

In the spool, columns like job name, job id,......cfs, efs,.....


when ever u submit the job, go to the spool, and see the values are changing at the field EFS, if the values are changing, program is exceuting..if not program in infinate loop......

i think it may help you....

if i am worng please correct me...

Regards,
Vijay
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Tue Sep 12, 2006 4:38 pm
Reply with quote

Hi,

I wonder if a welwritten program can go in an infinite loop because of data problem.

Still, you can look at the spool to find this out.
You can optionally include some display statements and check it.
you can use expeditor as well.
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
This topic is locked: you cannot edit posts or make replies. REXX - Do - Not able to LOOP CLIST & REXX 10
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top