What is the Importance of GLOBAL clause According to new
standards of COBOL?
Answers were Sorted based on User's Feedback
Answer / ms. stanley
A variable delared as GLOBAL can be used by all its
including and included programs. (By all the subprograms and
the main programs)
| Is This Answer Correct ? | 7 Yes | 2 No |
When any data name, file name, condition name or index defined in an including program can be referenced by a directly or indirectly in an included program, provided the said name has been declared to be a global name by GLOBAL.
Format of global clause is 01 DATA-1 PIC 9(05) IS GLOBAL
| Is This Answer Correct ? | 0 Yes | 0 No |
What is an in line PERFORM? When would you use it? Anything else to say about it?
Difference between next and continue clause
How do you define a variable of COMP-1? COMP-2?
Write the code implementing the perform … varying.
how do you reference the variable unblock file formats from cobol programs
What is diff betn PS and ESDS file? What is the diffrent compiler options in cobol and there discription? What is retrive nth maximum salary from salary DB2 table. Can we redefine COM-3 variable with varchar variable?
For rewrite, why is it mandatory that file needs to be opened?
What are some examples of command terminators?
give the examples of strings in cobol
Explain how to differentiate call by context by comparing it to other calls?
Whats the use of Examine command? can someone help me?
where do we use dyanamic call ? and where do we use static call pls give any example pls ?