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 / satish

It will shows variable miss match error

Is This Answer Correct ?    7 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When is inspect verb is used in cobol?

666


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

763


what happens if parmparameter passes zero bytes to the program

1650


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

984


How do you differentiate between cobol and cobol-ii?

644






What is a scope terminator give example?

648


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

621


What are the pertinent COBOL commands?

2617


What is the problem of ordered sequential files access?

690


What is difference between static and dynamic call in cobol?

766


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


What is comp-1 and comp-2?

753


how to refer the data field?

1793


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1861


Explain how you can characterize tables in cobol?

634