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 / anand
isn't this a compilation error? A value clause cannot be
associated with a variable that is redefined.
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
what is the difference between COBOL2 AND COBOL390?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
In which area will you utilize 88 level items in cobol?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What rules are to be followed while using the corresponding options?
What are the different data types in cobol?
Write the code to count the sum of n natural numbers.
Explain how to differentiate call by context by comparing it to other calls?
how to move the records from file to array table. give with code example
What are the rules of the move verb?
What is the compute verb? How is it used?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there