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 / mr.perfect
i have compiled and run it , it is workign fine.
the output format is
B1:ABCDEFGHIJ
B2:KLMNOPQRES
B3:TUVWXYZ
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write a cobol program making use of the redefine clause.
How do define dynamic array in cobol.
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is amode(31)
What are the different rules of SORT operation?
What are different data types in cobol?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
How to know whether the module is dynamical or statistical?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is the problem of ordered sequential files access?
What is cobol?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
In which area will you utilize 88 level items in cobol?
What is the difference between perform … with test after and perform … with test before?
What are the rules of the move verb?