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 / ashok
in x1 & x2 is haveing same value "abcd" and also memory
location also is same. thats why if u chang any values of
these atomatically chang both values.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
how do you reference the rrds file formats from cobol programs
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?
Which Search verb is equivalent to PERFORM…VARYING?
How to print 10 to 1 if the input have only 10 digit number?
What is the LINKAGE SECTION used in COBOL?
Are you comfortable in cobol or jcl?
What are all the divisions of a COBOL program?
State the various causes of s0c1, s0c5 and s0c7.
What is the utilization of copybook in cobol?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is rmode(any) ?