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: 6966
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: 6966
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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am


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