What is the Importance of GLOBAL clause According to new
standards of COBOL?

Answers were Sorted based on User's Feedback



What is the Importance of GLOBAL clause According to new standards of COBOL?..

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 ?    6 Yes 2 No

What is the Importance of GLOBAL clause According to new standards of COBOL?..

Answer / maveric

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

Post New Answer

More COBOL Interview Questions

WORKING-STORAGE SECTION. 01 A PIC X(3) VALUE 'ABC' 01 B PIC 9(3). PROCEDURE DIVISION. MOVE A TO B. STOP RUN. OUTPUT IS: AB3 WHY AND HOW THIS IS HAPPENING.

4 Answers   Atos Origin,


) How do u handle errors in BMS macro?

0 Answers   IBM,


How many variables can be declared in w-s section.?

2 Answers  


1.What is the limit of linkage section?

4 Answers  


Consider the following: 77 A PIC 9(10) 77 B PIC 9(10) 77 C PIC 9(19) MULTIPLY AB BY B GIVING C Which of the following is true ? (a) The execution of the above may result in size error. (b) The execution of the above will result in size error. (c) The definition of C is invalid resulting in compilation error. (d) No error will be thee and the program would proceed correctly.

4 Answers   TCS,






i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

5 Answers   HCL,


I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?

3 Answers  


How do you reference the fixed block file formats from cobol programs

0 Answers  


where did you see the information regarding abend codes in jcl?

1 Answers   Hewitt,


What is amode(24)?

0 Answers  


What divisions, sections and paragraphs are mandatory for a COBOL program?

8 Answers   Arigo Infotech,


How to execute a set of JCL statements from a COBOL program?

2 Answers   Patni, Syntel,


Categories