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


Please Help Members By Posting Answers For Below Questions

I have a File that has duplicate records. I need only those records that occur more than thrice.?

8595


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2090


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

663


What are the pertinent COBOL

2035


Write some characteristics of cobol as means of business language.

609






what are decleratives in cobol?

1816


What is amode(31)

712


What is the difference between goback, stop run and exit program in cobol?

914


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?

1794


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6784


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1942


what is search and searchall?what is the diffrence between them?give an best example?

5522


What is comp-1 and comp-2?

753


What are literals?

622


Why did you choose to work with ibm mainframe cobol programming?

621