home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.development      Operating system development chatter      4,255 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,800 of 4,255   
   James Harris to Joe Monk   
   Re: PDOS/86   
   22 Aug 21 10:39:33   
   
   From: james.harris.1@gmail.com   
      
   On 22/08/2021 03:14, Joe Monk wrote:   
   >   
   >>> I think in my career as a mainframe programmer, i've used DSECTs less than   
   20 times in 30+ years.   
   >> That's surprising. My mainframe experience was much more limited and so   
   >> long ago that I cannot remember the details but I remember DSECTS   
   >> reasonably clearly, I think. Besides, I'd have thought that using a   
   >> template to define storage was a frequent operation.   
   >   
   > Mostly, we put record definitions as the last variables in the CSECT. That's   
   pretty common practice.   
      
   I am not sure what that means. Is it that the CSECT contains code,   
   variables, and records (i.e. memory set aside for records rather than   
   declarations which don't in themselves occupy memory)?   
      
   If so, it sounds as though such programs would not be re-entrant. Nor   
   could you have multiple copies of records other than what you'd   
   pre-arranged space for. That all sounds a bit limiting so I guess you   
   mean something else.   
      
   BTW, in IBM Assembler how do you request memory dynamically? Is there   
   some equivalent of malloc?   
      
      
   --   
   James Harris   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca