What is the Importance of GLOBAL clause According to new
standards of COBOL?
Answer Posted / 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 View All Answers
Discuss about changing dataset name in proc.
Explain what you understand by passing by value.
What is the difference between perform … with test after and perform … with test before?
What are 77 levels used for?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
Write the code to count the sum of n natural numbers.
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What kind of error is trapped by on size error option?
Name the divisions, which are available in a cobol program?
how to move the records from file to array table. give with code example
How do get the result of your program directly on your pc?
How do we get current date from system with century in COBOL?
What is the local-storage section?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Can we change the password using ALTER? anyone tried and changed?