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 |
COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.
If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value
can any one give good example for cond 88 level number and for renames pls urgent dudes ?
When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these
In COBOL "BEFORE" advancing is there or not ?
What is the difference between comp and comp-3?
what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.
Write a cobol program making use of the redefine clause.
What are the pertinent COBOL commands?
How do u know what version of cobol u are using?
How do you differentiate between cobol and cobol-ii?
how can i see junk values in dclgen or in hostvariable of comp ?