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
 
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: 6970
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: 6970
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: 6970
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 Linkage editor is part of COBOL, z/OS... ankit.jain COBOL Programming 4 Fri Apr 20, 2018 4:17 pm
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts 3270 Data stream error Benchwarmer CICS 4 Tue Apr 17, 2018 12:06 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm

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