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 access modes of START statement?
What is amode(31)
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is the difference between goback, stop run and exit program in cobol?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is redefines clause in COBOL?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Name the divisions, which are available in a cobol program?
How to know whether the module is dynamical or statistical?
explain sorting techniques in cobol program?
example for sub strings ? and refernce modifications whit output pls
how do you reference the printer file formats from cobol programs
how to move the records from file to array table. give with code example