Are both the assembler and COBOL version invoked the same way (i.e., regardless 
of which version of the program is chosen, are both either statically linked to 
the main program or are they link-edited as discrete load modules)?

Keven Hall | keh...@informatica.com
Software Operative
Office: 512-795-6959
-----Original Message-----
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On 
Behalf Of Angel Luis DomÃnguez
Sent: Monday, April 04, 2011 13:59
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: CPU: ASSM vs ENTERPRISE COBOL

Hi all,

Due to a requirement by my client, I have developped a module in two
languages: HL-ASSEMBLER and ENTERPRISE-COBOL-4.2. The module has a lot of
mathematic operations and calls a variable number of times to CSF to cipher,
but there is NO ACCESS to FILES. It is coded as RENT in two languages.

I was surprised with CPU consumption: Assm takes DOUBLE CPU than COBOL to
perform the same work.

I have reformatted all (as I know) the assembler eliminating pack operations
and using registers and logical/binary operations as much as possible. I
used a workarea provided by calling program to eliminate OBTAIN STORAGE
.....but at the end... COBOL wins.

has anyone any experience or suggestion about?

Thanks a lot. Regards

angel luis domínguez
z/os system programmer-spain

Reply via email to