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

if a>b continue display x. dispaly y. end-if display 1 display 2. display 3. what should be my output ?

3 Answers  


what is the difference between PA & PF keys?

1 Answers   IBM,


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

0 Answers  


where did you see the information regarding abend codes in jcl?

1 Answers   Hewitt,


How to use the same COBOL program in Batch and CICS on lines? explain with an example

0 Answers   IBM,


The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?

6 Answers   Cognizant,


input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.

1 Answers  


what is the purpose of linkage section?

10 Answers  


What is the difference between CONTINUE & NEXT SENTENCE ?

2 Answers  


CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?

1 Answers  


What is difference between COBOL and VS COBOL II?.

1 Answers   Winsol Solutions,


Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.

1 Answers  


Categories