IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

COBOL DB2 program error -805


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Fri Nov 06, 2009 10:32 pm
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts Error to read log with rexx CLIST & REXX 11
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Error when install DB2 DB2 2
Search our Forums:

Back to Top