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 |
Write a program to explain size error.
can i give 9(10) in comp 3 instead of s9(10) ? if i can give wht would be ths ans
I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?
can u plz expain me how to declare dynamic array? what is the meaning of depending on clause in dynamic array?
What the difference is between continue and next sentence?
What are the pertinent COBOL
How to read records from flat file in reverse order through COBOL program?
14 Answers Accenture, Broadridge, IBM, MAT, Polaris, SPIC, Syntel, TCS, Wipro,
i need a small 3d program using inline and outline.
What is IMPACT analysis?
can we read records in a file from botom to top. if possible how can we read
What are subroutines ? and how do we pass data to the sub routines?
can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.