I worked on a cobol program which only had constants in working storage- For all other storage an LE GETMAIN/FREEMAIN was issued - I suspect You are working on something a bit more complicated - ---------- Original Message ---------- From: Binyamin Dissen <[email protected]> To: [email protected] Subject: COBOL and multithreading Date: Mon, 9 Mar 2026 17:02:09 +0200
I am looking at a GTF trace of a multiuthreading system calling COBOL programs compiled with THREAD. I am seeing task switching to support the LOAD of a called program, i.e., the calling program is running on TCB A but when it issues a call the LOAD SVC comes from a different TCB. Also, if I understand the manuals correctly, the WORKING-STORAGE section outlives the TCB that originally invoked the program. I am not finding a manual that describes the processing or possible gotchas. Can someone supply a pointer? -- Binyamin Dissen <[email protected]> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
