MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VALIDPROC could not be loaded. Why ?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Tue Oct 11, 2005 10:48 am    Post subject: VALIDPROC could not be loaded. Why ? Reply with quote

Hi,
I have coded a VALIDPROC, called V1. When this is not present in SDSNLOAD, I get a proper -904 message. When I put it in there and try to do an INSERT, I get this message in JESMSGLG:
Code:

DSN3201I  @ ABNORMAL EOT IN PROGRESS FOR USER=XXXXYY
CONNECTION-ID=TSO CORRELATION-ID=XXXXYY JOBNAME=XXXXYY TCB=005A96A0

There is no specific message/SQLCODE that explains exactly what is the
problem.

Somewhere above in JESMSGLG, I also see
Code:

DSNI008I  @ DATA BASE VALIDATION PROCEDURE V1 COULD NOT BE LOADED


What is failing? Where do I start my search from to fix this ?
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12368
Topics: 75
Location: San Jose

PostPosted: Tue Oct 11, 2005 11:02 am    Post subject: Reply with quote

Cogito-Ergo-Sum,

what is the language used to code the validproc ?

Check this link which might help you

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNAGH10/APPENDIX1.2.4?DT=20010212102121

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Tue Oct 11, 2005 11:06 am    Post subject: Reply with quote

Kolusu,
I was referring to the same link as posted by you. I have the PDF itself.

The manual is clear about the language being Assembler. So, it is in Assembler. But, since I am not good enough in Assembler, I am receiving the parameter list from DB2 and then simply passing the R1 to a PL/I program called via LINK macro. The PL/1 program does the real validation.
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group