I have a field with data type X(10). I want to perform
arithmetic operation on this field? I tried doing it by
moving the value into a numeric field. but it didn't work
out. I am getting a S0C7 abend. Pls let me know if there is
any way of getting this done?
Answer Posted / anonymous
You cant perform any arithmetic operationon alphabetic and
alphanumeric data items . If u try to perform u ll get SOC7.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Name the sections present in data division.
how do you reference the ksds vsam file formats from cobol programs
What is the difference between Call and a Link?
example for sub strings ? and refernce modifications whit output pls
How can you get the ksds file records into your cobol program?
What are different data types in cobol?
Explain how to differentiate call by context by comparing it to other calls?
What is the difference between perform … with test after and perform … with test before?
i want a program using by if, evaluate , string, unstring, perform, occurs?
How do you reference the fixed block file formats from cobol programs
What kind of error is trapped by on size error option?
In COBOL, what is the different between index and subscript?
Whats the difference between search & search ALL?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
what is s000 u4087 error? please give the all error codes in cobol,jcl.