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
 

 

-927 while debugging a program which call a cobol program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
veeruspi

New User


Joined: 29 Dec 2005
Posts: 16
Location: mysore

PostPosted: Wed Feb 06, 2008 5:17 pm    Post subject: -927 while debugging a program which call a cobol program
Reply with quote

Hi All,
I am getting -927 while debugging a program which call a cobol program having an SQL. I can only debug the main program. Whne the control goes to sub program i am getting this error. can any one guide me in resolving this ?
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Wed Feb 06, 2008 5:26 pm    Post subject:
Reply with quote

you say debugging..... under xpeditor?

did you tell xpeditor that this was a db2 execution and provide the plan name.

at any event...............if you had bothered to look up the description of the -927 you would have seen that you are not connected to DB2.

in batch, that requires executing via ikjeft.. and providing the necessary dsn and plan info.

suggest that you ask some of your peers how they go about executing and debugging db2 programs.
Back to top
View user's profile Send private message
veeruspi

New User


Joined: 29 Dec 2005
Posts: 16
Location: mysore

PostPosted: Wed Feb 06, 2008 5:39 pm    Post subject:
Reply with quote

hi,
I am doing trace for a cool gen program. this cool gen program calls an external action block where it calls the cobol program. for tracing(debuggigng) we create CLIST and execute that. When it returned from External Action lock i got this error. When i manually checked the code of the program, it had a simple SQL. Under successful CC it throws -927.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Wed Feb 06, 2008 5:46 pm    Post subject:
Reply with quote

?????????????????? you are not making a connect with db2.

find out how your site executes batch jobs with db2 inorder to make a connect with db2 prior to invoking you primary module.

ASK YOU PEERS how to make a batch db2 connect.

nobody but you and your peers knows how this stuff is executed at your site.
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm


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