how we rectify soc7 and soc4 errors in project?
Answer / ravi paradkar
SOC4 means address exception
when we are trying to move a value into a variable which is having more length than defined
SOC7 - Data Exception.
eg: when we try to move a non-numeric data into a numeric data item.
| Is This Answer Correct ? | 7 Yes | 0 No |
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
Write a program to explain size error.
How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?
what is the coding difference between COBOL and CICS.
What is the difference between SEARCH and SEARCH ALL?
consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.
What is Alternate Index ? How is it different from regular index ?
I want to declare a field with data type Double in my COBOL program. how shall i do that ?
When and how can we use index & subscript ?
Consider the following: 77 A PIC 9(10) 77 B PIC 9(10) 77 C PIC 9(19) MULTIPLY AB BY B GIVING C Which of the following is true ? (a) The execution of the above may result in size error. (b) The execution of the above will result in size error. (c) The definition of C is invalid resulting in compilation error. (d) No error will be thee and the program would proceed correctly.
If a sub program is called from mainprogram.I have opened cursor in main program and Fetch the result in subprogram ,Is it possible ?If yes please tell me the reason.
What are the differences bitween cobol and cobol-2?