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 do you understand by psb and acb?
What is perform what is varying?
What is the difference between structured cobol programming and object alternativelyiented cobol?
How can you get the ksds file records into your cobol program?
Difference between array and sub-script ?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how to move the records from file to array table. give with code example
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
) what is the difference between AID and HANDLE AID?
what is difference between cobol and cobol/400
how to refer the data field?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What are all the divisions of a COBOL program?
how do you reference the rrds file formats from cobol programs