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
 

 

COBOL DB2 program error -805

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

New User


Joined: 25 Apr 2009
Posts: 25
Location: chennai

PostPosted: Fri Nov 06, 2009 10:04 pm    Post subject: COBOL DB2 program error -805
Reply with quote

hai,
can any one help me i have executed cobol-db2 program
but at the run time its giving -805 (package not found in plan)

but when i searched system catalog tables

i can see this package for the particular plan from sysibm.syspacklist

why its is giving this error

how can i solve it?
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Nov 06, 2009 10:32 pm    Post subject:
Reply with quote

Hello,

Quote:
how can i solve it?
Make sure that the problem process is using the same catalog you looked at manually. . .?

If db2 returns "package not found" it is not there (at least not as specified).

Have you talked with the dba?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Fri Nov 06, 2009 10:52 pm    Post subject:
Reply with quote

you looked in the catalogue, which leads me to believe you looked up the sqlcode in the messages and codes manual.

there is more than one suggestion....try looking at the last - concerning the dbrm.

have you recently recompiled your program and failed to bind?
or
is this in a cics environment and have you failed to do a newcopy?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Fri Nov 06, 2009 11:06 pm    Post subject:
Reply with quote

if batch have you allocated the proper loadlib with joblib or steplib statement?
Back to top
View user's profile Send private message
arunshan04

New User


Joined: 25 Apr 2009
Posts: 25
Location: chennai

PostPosted: Sat Nov 07, 2009 10:54 pm    Post subject:
Reply with quote

Hi dbzTHEdinosauer,

yes i recompiled and bind into package,

i am working in cics environment only, i didn't do load the new copy of that program.

that program is called from one of my subprogram

so should i need to take the new copy of all programs in the package list?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Sun Nov 08, 2009 12:44 am    Post subject:
Reply with quote

you only need to newcopy new loads.
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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm


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