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 / merguadithya111
var1 is abcde
var2 is also abcde
Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
Which Search verb is equivalent to PERFORM…VARYING?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
what is amode(24), amode(31), rmode(24) and rmode(any)?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
example for sub strings ? and refernce modifications whit output pls
What is Pic 9v99 Indicates in COBOL?
What are different data types in cobol?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What kind of error is trapped by on size error option?
What is the difference between next sentence and continue in cobol programing language?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue