What is the difference between external and global variables in COBOL?
Answer / Munish Kumar
In COBOL, both external and global variables are used to store data that can be accessed by multiple procedures. However, there is a subtle difference: Global variables are visible to all procedures within the program, while external variables are visible to other programs as well.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why do we use COMP-3 variables for computation, when we know that they are non displayable fields and require additional MOVE to numeric field before we populate it in output Reports?
what is dynamic array in cobol? what is the difference b/w array and table in cobol?
Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be
suppose there is one PF having two members PF1 PF2.PF has one unique key Emp ID.could you tell me uniqueness in PF will be effective across members as well ? assume emp iD 3333 is in member PF1 would same Emp id be exist also in member PF2 ?
How do you set a return code to the JCL from a COBOL program?
The maximum number of dimensions that an array can have in COBOL-85 is ?
Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb
what is amode(24), amode(31), rmode(24) and rmode(any)?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How does IDMS insure data integrity?
which certifications r 4 cobol,jcl,db2,cics what is format of xam n what is importance of these certifications... plz post answer only if u r sure... thanks
How to code fscode 10 in cobol program? Where yoy code in your pgm?give ans for the question.