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 / jaganmohanreddy
var1 will be abcde
var2 will be 0000000000
| Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Write a program that uses move corresponding.
What is the usage of comp fields in cobol?
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?
example for sub strings ? and refernce modifications whit output pls
How you can read the file from bottom?
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
Which mode is used to operate the sequential file?
What is the LINKAGE SECTION used in COBOL?
what is the use of outrecord?
Name some of the examples of COBOl 11?
What is inspect in cobol ?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What type of SDLC u followed? Why?
Explain what you understand by passing by value.