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

DB2 Load error on missing resource that I can't identify


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
John Poulakos

Active User


Joined: 13 Jun 2012
Posts: 178
Location: United States

PostPosted: Sat Aug 04, 2012 2:38 am
Reply with quote

I am getting this message:

DSNUGBAC - RESOURCE UNAVAILABLE

REASON 00C9008A
TYPE 00000240
NAME TAPIVP03

TAPIVP03 is defined as:

VALIDPROC TAPIVP03

in the table definition.

Where would it exist?
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Sat Aug 04, 2012 3:26 am
Reply with quote

I have never used one, or even seen one in the wild, but a VALIDPROC is a program. I suggest you ask your DBA where the TAPIVP03 load module lives.
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Sat Aug 04, 2012 11:07 am
Reply with quote

Is your tablespace in RW ?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Sat Aug 04, 2012 12:00 pm
Reply with quote

Coding Rules for Validation Procedures can be found here.

you will notice that this is a db2 vsn7 reference.

if you are working in an environment with WLM, who knows where the stuff is.

since these libraries are not 'accessable' to programmers,
follow Don's advise and talk to your DBA.

This has nothing to do with the Table Status.
If the Table Status was RW
(or anything else that would preclude access of the table)
the processing would not have made it to the invocation of the VALIDPROC,
as VALIDPROC's are exit routines to executing SQL.
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Sat Aug 04, 2012 12:04 pm
Reply with quote

Thanks Dick for correcting my understanding

Apologies to all
Back to top
View user's profile Send private message
John Poulakos

Active User


Joined: 13 Jun 2012
Posts: 178
Location: United States

PostPosted: Sun Aug 05, 2012 1:35 am
Reply with quote

Thanks guys. Let me ask if I could live without this module by dropping and recreating the table? My problem is I am trying to recreate a database to use for testing on another machine. The table definitions and unloads are all I have.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Sun Aug 05, 2012 2:16 am
Reply with quote

DSNUGBAC should have been accompanied with DSNT500I. Said that, I'll vote in for dropping and recreating the tables.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Sun Aug 05, 2012 2:38 am
Reply with quote

DSNUGBAC is the module reporting the error - so, I imagine that it is there.

HLASM TAPIVP03 is a validation procedure that enabled
the business to implement ?
that went beyond the capabilities of Triggers and Restrictions.
most often EDITPROCs/VALIDPROCs are written,
because the implementation of business rules in the application code are
beyond the capabilities of application programmers - or it is just too hard
e.g. many many modules doing INSERTs/UPDATEs
and like triggers EDITPROCs/VALIDPROCs are invoked based on the action of the SQL on the table.

triggers are bypassed during loads. don't know about E/V-procs.

If the results of your testing on the other machine
are supposed to duplicate that of your existing machine,
you may not achieve your goal.

you can always find the HLASM source, port it to the new machine,
and create the VALIDPROC there,
but then you would have to drop/create/load your table.

sounds as if you are at the mercy of a very poor analysis and implementation plan.
Back to top
View user's profile Send private message
John Poulakos

Active User


Joined: 13 Jun 2012
Posts: 178
Location: United States

PostPosted: Mon Aug 06, 2012 8:57 pm
Reply with quote

I blame marketing for trying to rush something through, but that's another story. I was able to contact the person responsible for the original database and he told me TAPIVP03 was used to link to a statistics package and I didn't need it any more. So, thank you gentlemen and on to the next exciting "discovery".
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Tue Aug 07, 2012 1:32 pm
Reply with quote

Thanks for the feedback. However, what is the next step you take to get out of this mess?
Back to top
View user's profile Send private message
John Poulakos

Active User


Joined: 13 Jun 2012
Posts: 178
Location: United States

PostPosted: Tue Aug 07, 2012 9:36 pm
Reply with quote

I dropped and redefined the tablespace and table without the VALIDPROC TAPIVP03 clause in the create table step.

Before doing this, I had to end the outstanding Load utility (it was still hanging from the error that started this problem).

-TERM UTIL(TEMP)
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Tue Aug 07, 2012 10:28 pm
Reply with quote

welcome to the world of dba ojl (on-the-job-self-learning)
you have done well, good performance and
thx for continually getting back to us. learned a lot.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Tue Aug 07, 2012 11:19 pm
Reply with quote

Yes, Thanks for the feedback, this helps. icon_smile.gif
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 IEW2315E 1369 Link error All Other Mainframe Topics 3
No new posts Help on IMS -API URL migrating from P... IMS DB/DC 1
No new posts JES datasets IO Error ABENDS & Debugging 3
No new posts Error to invoke MPP program through B... IMS DB/DC 3
No new posts PKZIP error ZPFM121E and ZPCE009E JCL & VSAM 6
Search our Forums:

Back to Top