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

In COBOL programming, what is PERFORM? What is VARYING?

876


What are all the divisions of a COBOL program?

907


Explain how you can characterize tables in cobol?

826


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

976


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2219


what is amode(24), amode(31), rmode(24) and rmode(any)?

901


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1902


What is static and dynamic call in cobol?

793


What are 77 levels used for?

858


What are the different rules to perform a Search?

830


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

875


What is the difference between external and global variables in COBOL?

1055


What is the difference between a binary search and a sequential search what are the pertinent cobol?

941


what are decleratives in cobol?

2011


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

1028