View previous topic :: View next topic
|
Author |
Message |
abirami
New User
Joined: 11 Mar 2005 Posts: 7
|
|
|
|
I have a CICS program.
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? |
|
Back to top |
|
|
UNIVERSE
New User
Joined: 15 Mar 2005 Posts: 11 Location: Mumbai
|
|
|
|
If u dont code RETURN/GOBACK/STOPRUN, the control doent gets back to the CICS.
The program may be executed successfully. It doesnt throw any error.
U cant get the output.
Regards
UNIVERSE
[/quote] |
|
Back to top |
|
|
sarma Kappagantu
New User
Joined: 17 Mar 2005 Posts: 22 Location: Bangalore
|
|
|
|
I believe you should encounter a 4038 error. This is an LE abend. |
|
Back to top |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
|
|
I think control will return to CICS. what is 4038 erro or LE abend...can you plz expalin this.... |
|
Back to top |
|
|
sarma Kappagantu
New User
Joined: 17 Mar 2005 Posts: 22 Location: Bangalore
|
|
|
|
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.
For futher information on 4038 please see, www-1.ibm.com/servers/eserver/ zseries/zos/le/conference/pdf/da8423.pdf |
|
Back to top |
|
|
abirami
New User
Joined: 11 Mar 2005 Posts: 7
|
|
|
|
IS this 4038 error relates to time out error. |
|
Back to top |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
|
|
thanks sarma Kappagantu...for the details u have provided me... |
|
Back to top |
|
|
|