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 is a SSRANGE and NOSSRANGE?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What are declaratives and what are their uses in cobol?
Name the sections present in data division.
What are the different rules to perform a Search?
What are 77 levels used for?
Name some of the examples of COBOl 11?
What is the LINKAGE SECTION used in COBOL?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is the difference between Global and External Variables?
How do get the result of your program directly on your pc?
Which is not true about evaluate statement
Differentiate between structured cobol programming and object-oriented cobol programming.
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is the difference between goback, stop run and exit program in cobol?