Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us