Groups | Search | Server Info | Login | Register


Groups > comp.lang.cobol > #12862

Re: Need an example CALL USING RETURNING

From R Daneel Olivaw <Danny@hyperspace.vogon.gov>
Newsgroups comp.lang.cobol
Subject Re: Need an example CALL USING RETURNING
Date 2024-04-06 22:06 +0200
Organization To protect and to server
Message-ID <uusa0a$2oiji$1@paganini.bofh.team> (permalink)
References <uuq9i9$1n5b8$1@dont-email.me> <uurf6i$22csg$1@dont-email.me> <uurh91$smv$1@reader1.panix.com>

Show all headers | View raw


docdwarf@panix.com wrote:
> In article <uurf6i$22csg$1@dont-email.me>,
> Bruce Axtens  <snetxa@hotmail.com> wrote:
> 
> [snip]
> 
>> What???s the usual deal out there
>> in the ???real world???? Do people write standalones or do they learn early
>> how to write callables? What should we be teaching?
> 
> You should be teaching what the language is capable of using.  I'm not
> sure where this 'real world' is but im my experience every shop has its
> standards - or waves of standards, and just like each wave leaves its own
> bit of jetsam on the shore each wave of New Standard leaves... stuff in
> the code - and it's up to a Senior Programmer to tell the New Guy 'sure,
> it can be done that way... but the Way We Do It Here is...'
> 
> I've sorked in shops where the SEARCH verb was forbidden, spit out by
> pre-compiling tools, because 'people get confused by it' (or Chief Senior
> Programmer didn't understand it).  Same with SORT.  Same with INSPECT
> REPLACING because 'you Never Know when the subroutine will be wanted in
> the Online region and that's a Bad Thing.'
> 
> It's frustrating but... their shop, their rules.  Find where they keep
> their skels ('templates'), read the code and learn their songs.'
> 
> DD
> 

I have never worked on a site where SEARCH or INSPECT REPLACING were 
forbidden, that's ludicrous.
SORT is a bit different, some of the programs I wrote ran in Transaction 
environments, and there were memory constraints.  These programs did not 
normally perform any sorting anyway, but in one case - sorting a table 
in memory - I actually managed to get a C sorting library to work for me.
"Transaction environments" could be "Online" in your terminology.

Back to comp.lang.cobol | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Need an example CALL USING RETURNING Bruce Axtens <snetxa@hotmail.com> - 2024-04-06 09:46 +0800
  Re: Need an example CALL USING RETURNING Arnold Trembley <arnold.trembley@att.net> - 2024-04-06 04:38 -0500
  Re: Need an example CALL USING RETURNING R Daneel Olivaw <Danny@hyperspace.vogon.gov> - 2024-04-06 13:47 +0200
  Re: Need an example CALL USING RETURNING Bruce Axtens <snetxa@hotmail.com> - 2024-04-06 20:29 +0800
    Re: Need an example CALL USING RETURNING docdwarf@panix.com () - 2024-04-06 13:04 +0000
      Re: Need an example CALL USING RETURNING Bruce Axtens <snetxa@hotmail.com> - 2024-04-06 21:11 +0800
        Re: Need an example CALL USING RETURNING docdwarf@panix.com () - 2024-04-06 17:04 +0000
      Re: Need an example CALL USING RETURNING R Daneel Olivaw <Danny@hyperspace.vogon.gov> - 2024-04-06 22:06 +0200
        Re: Need an example CALL USING RETURNING docdwarf@panix.com () - 2024-04-07 01:42 +0000
  Re: Need an example CALL USING RETURNING "Vincent Coen" <VBCoen@gmail.com> - 2024-04-06 23:27 +0100

csiph-web