COMPUTE X = A * B - C * D and
COMPUTE X = (A * B) - (C * D)
(a) Are not the same
(b) Are same
(c) Syntactically wrong
(d) Will yield a run time error
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I am going to Display the WS-VARX and WS- VARN?
How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.
i want a program using by if, evaluate , string, unstring, perform, occurs?
Write the syntax of a two dimensional array?
wht is load module and object module ?
plz,could any one tell me? what about EBCDIC in cobol?briefly?
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 amode(24)?
how to access the file from prodution from changeman tool and to submit a file to production
What guidelines should be followed to write a structured Cobol program?
level number 77 is used to define a)group data b)elementary data c)redefine d)none
I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?