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 ?    7 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

What are the different rules for performing sort operation?

0 Answers  


how will u find out 3rd week's 2nd day using occurs ?

3 Answers   L&T,


i have a requrement in A as viswa!@#$%&^**reddy i need to move viswareddy in B without junk values pls say how to do ths reply fast

4 Answers   L&T,


Whats the use of Examine command? can someone help me?

1 Answers   IBM,


SUPPOSE I HAVE 60 CHARACTERS STING. IN THAT I WANT FIND OUT HOW MANY TIMES 'A'(ASSUME)WILL REPEATED AND I HAVE TO PASS 'E' IN PLACE OF 'A'ALONG THAT STRING.

2 Answers   Wipro,






How to open and see copy book ?

3 Answers  


period is missing in the cobol program which error we getting

5 Answers   TCS, Tesco,


what are the isolation levels and where we use it in the db2 program

3 Answers   TCS,


How do u initialize an array?

2 Answers   CTS,


what is scope terminator

2 Answers   IBM,


what happens when a copybook variables are declared using include statement ?

3 Answers   IBM,


I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?

5 Answers   RBS,


Categories