what is the difference between external and global
variables?

Answer Posted / guest

Global variables are accessible only to the batch program
whereas external variables can be referenced from any batch
program residing in the same system library.

Is This Answer Correct ?    19 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What rules are to be followed while using the corresponding options?

627


What is Pic 9v99 Indicates in COBOL?

713


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

919


How are the next sentence and continue different from each other?

753


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5049






How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

724


What guidelines should be followed to write a structured cobol prgm?

661


In COBOL, what is the different between index and subscript?

749


What are the different rules for performing sort operation?

751


What are the different rules to perform a Search?

610


how can i see junk values in dclgen or in hostvariable of comp ?

2532


Why did you choose to work with ibm mainframe cobol programming?

622


how do you define single dimensional array and multidimensional array in your cobol?

662


Write a program to enter and display the names of students in a class using the occurs clause.

640


Write a cobol program making use of the redefine clause.

719