Article View: bit.listserv.asm370
Article #209Re: Linkage convention
From: Victor Gil
Date: Tue, 18 Oct 2005 15:30
Date: Tue, 18 Oct 2005 15:30
33 lines
2877 bytes
2877 bytes
In my opinion a properly designed software stack can have drastic _functional_ advantages over the straight Getmain/Freemain approach. For example, it may enable "persistent" working storage, i.e. such working storage that survives accross the calls. Isn't it handy? And oh, by the way, the CPU time goes down too, especially for the subroutines called in a loop. By replacing DFHEISTG [the standard working storage obtained/released by the CICS prolog/epilog] with the above "persistent" working storage chained off the TWA, we had a sizable CPU reduction in our CICS transactions that, by the business necessity call the same module up to 1000 times per task. We are now exploring the same method to enable "persistent" LINKAGE SECTION items for the COBOL subroutines. -Victor- On Mon, 17 Oct 2005 12:12:23 EDT, Bill Fairchild <DASDBill2@aol.com> wrote: >In a message dated 10/1/2005 9:30:17 A.M. Central Daylight Time, >bob.shannon@rocketsoftware.com writes: > >... establishing a software stack for saveareas/workareas that will eliminate the need >for Getmains... I think this is a solution in search of a problem. 22 years ago I wrote an ASM program that used GETMAIN to build a very large number of fairly small control blocks. Thinking that there was too much overhead using the ancient SVC form of GETMAIN (this was before the PC form was invented), I changed the code to do a single huge GETMAIN at the beginning and then do my own suballocation. I ran some benchmarks and found a negligible difference in CPU time. <snipped> Bill Fairchild
Technical Details
Message-ID:
<200510181530.j9IEdR0W014623@malibu.cc.uga.edu>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!logbridge.uoregon.edu!canoe.uoregon.edu!newsfeed.news.ucla.edu!newsfeed.berkeley.edu!ucberkeley!sn-xit-02!sn-xit-06!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!ADP.COM!Victor_GilShow Full Headers
Complete Article Headers
X-Google-Thread: fcdcb,91cbe6b24531a1d8
X-Google-Attributes: gidfcdcb,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!logbridge.uoregon.edu!canoe.uoregon.edu!newsfeed.news.ucla.edu!newsfeed.berkeley.edu!ucberkeley!sn-xit-02!sn-xit-06!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!ADP.COM!Victor_Gil
From: Victor Gil <Victor_Gil@ADP.COM>
Newsgroups: bit.listserv.asm370
Subject: Re: Linkage convention
Date: Tue, 18 Oct 2005 11:30:12 -0400
Organization: SAS Inc.
Lines: 33
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <200510181530.j9IEdR0W014623@malibu.cc.uga.edu>
NNTP-Posting-Host: mozart.unx.sas.com
Mime-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Trace: foggy.unx.sas.com 1129649681 4462 10.19.150.41 (18 Oct 2005 15:34:41 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Tue, 18 Oct 2005 15:34:41 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-OriginalArrivalTime: 18 Oct 2005 15:34:39.0477 (UTC)
FILETIME=[73E71A50:01C5D3F9]
Originator: daemon@mozart.unx.sas.com