View previous topic :: View next topic
|
Author |
Message |
veeruspi
New User
Joined: 29 Dec 2005 Posts: 16 Location: mysore
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
veeruspi
New User
Joined: 29 Dec 2005 Posts: 16 Location: mysore
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
?????????????????? 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 |
|
|
|