i have the following varibles in the working storage
05 ws-A PIC X(30)
VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ '
05 WS-B REDEFINES WS-A
10 WS-B1 PIC X(10).
10 WS-B2 PIC 9(10).
10 WS-B3 PIC X(10).
If I Display B1, B2 and B3 respectively, what is the value
displayed in B2
Answer Posted / kk
Hi,
klmnopqrst will displayed no compilation error and runtime
error it will work normally.
Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
Can we redefine the field of x(200) to less than 200?
What is a report item?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
In COBOL programming, what is PERFORM? What is VARYING?
State the various causes of s0c1, s0c5 and s0c7.
What is link edit in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Name the sections present in data division.
Why occurs cannot be used in 01 level in COBOL?
What are the access modes of START statement?
i want a program using by if, evaluate , string, unstring, perform, occurs?
what is the difference between COBOL2 AND COBOL390?
how to access the file from prodution from changeman tool and to submit a file to production
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?