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
What are the pertinent COBOL commands?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is the usage of comp fields in cobol?
HOw can I get the negative sign while deduct high value from low value
Write some characteristics of cobol as means of business language.
What kind of error is trapped by on size error option?
How do you define a variable of comp-1 and comp-2?
Which Search verb is equivalent to PERFORM…VARYING?
What is the difference between Call and a Link?
Write a program to enter and display the names of students in a class using the occurs clause.
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
what happens if parmparameter passes zero bytes to the program
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps