Tutorial by Examples

COBOL can use static linkage for the following statement. GnuCOBOL uses dynamic linkage by default for all external symbols known at compile time, even when the symbol is a literal: CALL "subprogram" USING a b c *> run a (possibly static linked) sub program ...
CALL is also a way to extend COBOL functionality, and also to allow the reusability of code. It can also give access to "system" functionality. This example illustrates ways to provide "sleep" functionality to IBM Mainframe COBOLs. Bear in mind that the requirement to do so is r...
For Microfocus, it uses the "SleepEx" API. As an example; environment division. special-names. call-convention 74 is winAPI. : : 01 wSleep-time pic 9(8) comp-5. 01 wSleep-ok pic 9(8) comp-5. ...
You can call the CEE3DLY service in 24- 31- or 64- bit mode to delay a task to the nearest second. It is CICS save and will only delay the thread. An example: IDENTIFICATION DIVISION. PROGRAM-ID. SLEEPYTM. ENVIRONMENT DIVISION. DATA DIVISION. WORKING-STORAGE SECTION. ...

Page 1 of 1