01 var1 pic x(10)
01 var2 redefines var1 pic 9(10).

then in procedure division

move 'abcde' to var1 then waht is the value of var1 and var2

Answer Posted / vishal

DATA EXCEPTION ERROR

Is This Answer Correct ?    1 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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...)

2135


How do define dynamic array in cobol.

853


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1950


how do you reference the fixed unblock file formats from cobol programs

916


What are all the divisions of a COBOL program?

879


Differentiate between structured cobol programming and object-oriented cobol programming.

830


What do you understand by psb and acb?

842


How do get the result of your program directly on your pc?

2062


How do you reference the fixed block file formats from cobol programs

905


What is the difference between Global and External Variables?

913


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?

7282


what happens if parmparameter passes zero bytes to the program

1864


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1817


How to know whether the module is dynamical or statistical?

860


what is the difference between COBOL2 AND COBOL390?

2711