At 21:08 -0600 on 08/11/2014, Steve Comstock wrote about Re: INITILAIZE COST:
Well, of course, we don't really know what the OP wanted. In terms of performance, you want to code a VALUE clause on each elementary item. This results in the whole table being initialized (assuming COBOL 4.2 (I think) or later) in the load module / program object so the table is initialized at the time the program is loaded.
The disadvantage is that the LM/PO size is larger and includes the already initialized table. OTOH: The load time for the large module is much smaller than the execute time it would take to fill in the table at execute time.
---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN