IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Coding XCTL Statement without RETURN


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abirami

New User


Joined: 11 Mar 2005
Posts: 7

PostPosted: Fri Mar 18, 2005 4:50 pm
Reply with quote

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
View user's profile Send private message
UNIVERSE

New User


Joined: 15 Mar 2005
Posts: 11
Location: Mumbai

PostPosted: Fri Mar 18, 2005 5:38 pm
Reply with quote

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
View user's profile Send private message
sarma Kappagantu

New User


Joined: 17 Mar 2005
Posts: 22
Location: Bangalore

PostPosted: Fri Mar 18, 2005 7:03 pm
Reply with quote

I believe you should encounter a 4038 error. This is an LE abend.
Back to top
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Sat Mar 19, 2005 3:02 pm
Reply with quote

I think control will return to CICS. what is 4038 erro or LE abend...can you plz expalin this....
Back to top
View user's profile Send private message
sarma Kappagantu

New User


Joined: 17 Mar 2005
Posts: 22
Location: Bangalore

PostPosted: Mon Mar 21, 2005 9:40 am
Reply with quote

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
View user's profile Send private message
abirami

New User


Joined: 11 Mar 2005
Posts: 7

PostPosted: Mon Mar 21, 2005 9:43 am
Reply with quote

IS this 4038 error relates to time out error.
Back to top
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Mon Mar 21, 2005 1:08 pm
Reply with quote

thanks sarma Kappagantu...for the details u have provided me...
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts executing XCTL command in COBOL witho... CICS 10
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
Search our Forums:

Back to Top