|
Gang, Anyone do .asp against DB2 on the iSeries? I'm working on a set of .asp programs that access the iSeries and I need to find a reference manual or listing or something that shows me what all the possible commands are. If I have things like: AS400File_rs.EOF AS400File_rs.Close AS400File_rs AS400Command What are all the other commands I can use? I need a command that will detect an IBMDA400 error where a Duplicate key attempt has been made during an INSERT command and then "softly" display a screen that says what the user is to do now rather than the harsh "The page cannot be displayed" MS Windoz message with the error message for techies. I can create the "soft" screen but don't know how to "trap" the SQL0803 error coming back from DB2. I'd expect a command like "AS400File_rs.DupKey" = "True" or something like that. Thanks, Dave Arizona
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.