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 / sandy
It will not show variable mismatch error.
It will display KLMNOPQRES.
| Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
What are 77 levels used for?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Explain how to differentiate call by context by comparing it to other calls?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How arrays can be defined in COBOL?
What are different data types in cobol?
How do define dynamic array in cobol.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What guidelines should be followed to write a structured cobol prgm?
How you can characterize tables in cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there