×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Type of COBOL? ILE or OPM?

If ILE what Activation group is the COBOL running in?

How do the COBOL programs return?

Any chance that there is a record lock involved?


On 2014-05-19, at 10:57 AM, Imad Moukaddam <Imad-Moukaddam@xxxxxxxxx> wrote:

Hi

Well this is a difficult one to explain :
We have developed a web application (JAVA) that launches COBOL programs through SOCKET programs. Everything is working just fine.
When we started to increase number of users through a performance tool, we have noticed a strange behavior on the COBOL programs, as they were running very slow (for some transactions, average time was in the range of 10-15 sec.). Upon drilling down, we found that a simple READ statement (COBOL side) is consuming about 110 ms, which is huge comparing to the normal status (average time was less than 1 ms normally)!

We have checked the following:
CPU is OK
Memory is ok
No locks (we are reading PF in OPEN OUTPUT mode)
The hard disk is a data center, known to support heavy usage

Any ideas?
Thanks

Imad


[http://www.sab2i.com/fichiers/20130204105607_ecologie.png] Pensez ? l'environnement, n'imprimez ce message que si n?cessaire ! Please, consider the environment before printing this email.
--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.