I have a XCTL call, For this call we can not expect the control to come back to the calling program.
My questions is if i do not have any return statement in my program, will the program will come out without any harm or whether it will abend after the successful execution of the statements in the program?
In OS/390 and z/OS environments, all programs that we compile are compiled to a common, intermediate language. This is called as Language enviroment. It is because of this LE, one can write a C program and call it from a COBOL program.
About 4038 abend. Write a simple 'Hello World' program without a RETURN and see, what your mainframe says.