COBOL SESSION TIME

5 pts.
Tags:
COBOL
Open-COBOL 1.0
Session time
Hi Friends, I am very new to cobol programming. Here i want to share my doubt with expertise. My problem is i had 2 gb data file and that should be read and write in to different file based on some conditions, So every thing was done by me. Problem is when i was running writing the the data into file the session terminates after every 13 minitues. So i not getting the exact data. Well I am using Open-Cobol 1.0. Can anyone can sort out my issue and i would be very great full to you guys.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Is your program finishing correctly, or is it ending on some type of error (return-code or error-code not = zero). You might want to add some audit trail elements into your program (such as start date/time, number of input records read, number of records written out to each file, processing errors?, bypassed records, etc.).

I don’t know if you are reading the input file sequentially or non-sequentially (although I suspect you are processing most records based on the input file size). You might have sequence errors in your input file which could cause your processing logic to be incorrect (the key sequence of the 2300 record is lower than the key sequence of record 2299).

If you are always terminating at about the same time, I would suspect it’s the same problem each time.

You mentioned your session terminates – perhaps you need to increase your session idle time or put parameters on your program to extend the CPU time, or increase the program’s CPU priority.

Perhaps your program logic is in a loop and the system is cancelling your application because it no longer is using CPU cycles, or using too many of them?

There are many possible errors that may be causing your problem. Look at some of the common ones or those that you think might be the culprits and build into your application, information to help solve this issues.

I have used techniques like this to solve difficult and ‘stupid” programming errors.

Good Luck

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following