Ibm cobol 6 compiler options4/4/2024 When the program is interrupted to give another user a turn to use the program, information about the data area associated with that user is saved. When a user interacts with the program, he only modifies his copy of the variables. Used by subsystems such as CICS or IMS or whatever to support reentrant programs.įor each user the copy of the working storage is dynamically acquired and initialized from the original copy. "įor every user,MVS supplies the GETMAIN and STORAGE macros to support this and they can be "A reentrant Cobol program gives each user their own copy of working storage. This area changes when different user fires the same program. These are set when the program is written, and never change.ģ.Working Storage area – or variables. Program code – the instructions that are executed when a program runs.Ģ. We can divide our program(logically) into three parts:ġ. “How can a program change itself?” Does the word "Multi threading " looks familiar? Reentrant and mutithreading are related but somewhat different topics. For understanding RENT compiler option, we need to know what is a re-entrant program.Ī re-entrant is a program that doesn’t change itself.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |