Hi. In general I have seen that most of the problems of performance and consumption of CPU in program Cobol Batchy must to problems with the I/O in archives VSAM. Very good improvements are obtained with adjustment of buffers and sizes of CI in the definition of clusters. Also the performance improves if in the programs the logic is modified to accede the records in sequential mode.
Atte. Alvaro. -----Mensaje original----- De: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] En nombre de McKown, John Enviado el: Jueves, 12 de Octubre de 2006 10:03 Para: IBM-MAIN@BAMA.UA.EDU Asunto: Re: Curiousity: CPU % for COBOL program > -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Staller, Allan > Sent: Thursday, October 12, 2006 8:52 AM > To: IBM-MAIN@BAMA.UA.EDU > Subject: Re: Curiousity: CPU % for COBOL program > > <snip> > > Not unusual at all. Poorly written code in any language can do this. > E.G. In cobol terms, using display fields in computations instead of > the relevant decimal or binary items (PIC 99999 vs pic 99999 comp-3 > vs pic 99999 comp). > See, I am under the weather. I meant other than poor coding. Oh, and perhaps I should add that we don't do anything particularly fancy. This is basically VSAM I/O (no database) and processing records. And I have seen many times where the programmer does exactly as you have said, using a USAGE DISPLAY numeric as an array index value. I really wish that the COBOL compiler would put out "idiot alert!" messages when this happens. And then, as a non-overridable system option, refuse to compile the program. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html