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: 6968
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: 6968
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: 6968
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 XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm


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