Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

Describe the difference between subscripting and indexing ?

2 Answers  


I have a sequential file of 100 records. How do I load the records into a two dimensional array ?

3 Answers   IBM, Xansa,


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

2 Answers  


What is the difference between CONTINUE & NEXT SENTENCE ?

2 Answers  


How To move a value to an array using move verb?

3 Answers   IBM,






9(2).99 how many bytes take? Why . consider as a byte?

2 Answers  


Following questions were asked in Capegemini on 8th sep,2012 mainframe test 1.)Condition code for dul recors in VSAM- 2.) Is NULL or =NULL in Select statement 3.)max size of CI 4.)What happens after CI is full 5.)Ques on COND parameter 6.)which among following can not be rolled back a)delete table b.)droptable c)Update d.)insert 7.)groupby and orderby sql querries 8.)Max extents in VSAM file 9.)quesn on DPRTY=(1,10) 10.)range of condition codes in COBOL 11.)occurs clase can not be used at which level? 12.)delimiter in jcl 13.)sort card for file in PGM=SORT 14.)PIC(6) value 120056 possible? 15)question on BLKSIZE Is (20,20) and (20,10) possible? 16.)number of bytes in RDF 17.)Can we use index in WS-section or LK-section 18.)Verify command in IDCAMS used for? 19.)question on Alternate Index 20.)Return code of file attribute mismatch 21.)In which format COBOL variables stored? 22.)what is Alternate of HANDLE? 23.)can SUM,AVG,MIN,ROUND used in numeric and char variable data types? 24.)What is the datatype of FILE STATUS codes in WS-section?

2 Answers   Cap Gemini,


How do we get current date from system with century?

2 Answers  


what is the difference between Normal vaiable and comp variable.

5 Answers   DELL,


What is the difference between CALL BY VALUE and CALL BY CONTENT?

7 Answers  


01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?

2 Answers   IBM,


What was removed from COBOL in the COBOL II implementation?

0 Answers  


Categories