Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

4038 ABEND when Calling a CICS/DB2 program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
hipatnaik
Warnings : 1

New User


Joined: 16 Aug 2005
Posts: 7
Location: NewJersey

PostPosted: Mon Oct 10, 2005 8:02 pm    Post subject: 4038 ABEND when Calling a CICS/DB2 program
Reply with quote

Getting 4038 abend

i have a cics-cobol-db2 as a main program. My main program is calling a subprogram which is a cobol-db2 program. can i use link/xctl for the subprogram though it doesn't have any cics statements in it. when i m using 'call' for the subprogram i m getting 4038 abend. plz help.
Back to top
View user's profile Send private message

priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Wed Nov 02, 2005 3:03 am    Post subject:
Reply with quote

Fortunately, there is a place to find exactly what caused a 4038 abend. Just look at where ever you have the CESE transient data queue pointing (a lot of shops have it pointing to SYSOUT, so you may have to browse CICS output in SDSF or similar product). There will be a message that pretty much spells out the cause of the abend (in most cases, it is something simple, like a resource not defined).
Back to top
View user's profile Send private message
yogesh

New User


Joined: 27 May 2005
Posts: 21

PostPosted: Fri Nov 11, 2005 6:08 pm    Post subject: Re: 4038 ABEND when Calling a CICS/DB2 program
Reply with quote

u must have missed the stop run statement
or may be stop run is coded in the calling program
Back to top
View user's profile Send private message
venkat.c
Warnings : 1

New User


Joined: 11 Dec 2005
Posts: 6

PostPosted: Fri Dec 16, 2005 1:49 pm    Post subject: Re: 4038 ABEND when Calling a CICS/DB2 program
Reply with quote

hi dude

1.u wud have missed a stop run in the program

2.If u want the control to return back to the main program use Link else u can use xctl which wont return the control back to the calling prog...

3.no problem in using xctl or link if u dont have cics in the program to be called ....
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Fri Dec 16, 2005 2:45 pm    Post subject: 4038
Reply with quote

Hi frnd,

Ur PDS/PS file may be used/altered by some other job while the calling job uses that for some other purpose... so check it out... it's is also a possibility not a solution
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us