Search code examples
cobolmainframezos

How to "sleep" in mainframe COBOL?


I think I'm using Enterprise COBOL for z/OS.

What's a technique to emulate the functionality of, for example, the standard C library's sleep() function?


Solution

  • Probably the easiest method is to use the Language Environment callable service CEE3DLY or CEEDLYM.