What will happen if we move SPACES to numeric field and
ZEROES to alphabetic field?
Answer Posted / ram.g
ans to last ans
anything you can move to alpha...provided ..ur input is w/n
quotes...
ans to ur qn...
its quite possible by using redefine command...
the field will be sharing same memorylocation..
eg: 05 ws-num pic 99
10 ws-char redefines ws-num pic x(2)
move 12 to ws-num
move 'ab' to ws-char
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What are the different open modes available in cobol?
How arrays can be defined in COBOL?
What is the compute verb? How is it used?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
What are the different rules of SORT operation?
What are the different types of condition in cobol and write their forms.
What is the difference between binary search and sequential search?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
How many sections are there in data division in COBOL?
How many bytes S(8) comp field occupy and its maximum value?
how do you reference the rrds file formats from cobol programs
) how do u code after getting data?
What is the problem of ordered sequential files access?
how do you define single dimensional array and multidimensional array in your cobol?