what is the difference between external and global
variables?



what is the difference between external and global variables?..

Answer / 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

More COBOL Interview Questions

.How to add one input & one Out file in existing cobol program. how approach tell me step by step.

2 Answers   Syntel,


What is different between variable length and fixed length?

2 Answers   TCS,


Read filea And file b write the same records in both files? Records in a but not in b record in b but not in a

3 Answers   TCS,


What are declaratives and what are their uses in cobol?

0 Answers  


consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayedafter the PERFORM is over?assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above since there is a syntex error

4 Answers   TCS,






In an EVALUTE statement is the order of the WHEN clauses significant?

4 Answers  


What is the difference between PIC 9.99 and 9v99?

7 Answers  


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

0 Answers   EDS,


where do u use low-value and high value in cobol

3 Answers   CGI,


What is the default value of DISP for temp datasets

5 Answers   IBM,


How to declare if emp-name = AAAAA""BBB in working-storage section. After display emp-name should print like AAAAA""BB

6 Answers   Polaris,


88 level entry is used for (a) data items in WORKING-STORAGE SECTION (b) items with RENAMES clause (c) condition-names (d) None of the above

5 Answers   TCS,


Categories