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 / veena
************************************************************
************************************************************
************************************************************
It will give compilation error.
| Is This Answer Correct ? | 0 Yes | 11 No |
Post New Answer View All Answers
What is report-item in COBOL?
how do you reference the variable unblock file formats from cobol programs
Differentiate between structured cobol programming and object-oriented cobol programming.
how do you define single dimensional array and multidimensional array in your cobol?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
what is s000 u4087 error? please give the all error codes in cobol,jcl.
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
Define cobol?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is the difference between comp and comp-3?
What is the problem of ordered sequential files access?
What are the different open modes available in cobol?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is the Purpose of POINTER Phrase in STRING command in COBOL?