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
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Explain how to differentiate call by context by comparing it to other calls?
Why would you use find and get rather than to obtain?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Which is not true about evaluate statement
What rules are to be followed while using the corresponding options?
Define static linking and dynamic linking.
What is the difference between external and global variables in COBOL?
What are the different types of condition in cobol and write their forms.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
In COBOL programming, what is PERFORM? What is VARYING?
What is the usage of comp fields in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is the difference between comp and comp-3 usage?
What is redefines clause in COBOL?