|
ADO: ActiveX Data Objects http://www.devguru.com/Technologies/ado/quickref/ado_intro.html ASP: Active Server Pages http://www.devguru.com/Technologies/asp/quickref/asp_intro.html John Brandt iStudio400.com (903) 523-0708 Home of iS/ODBC - MSSQL access from iSeries and RPG. -----Original Message----- From: Dave Odom [mailto:Dave.Odom@xxxxxxxxxxxx] Sent: Monday, February 07, 2005 6:18 PM To: midrange-l@xxxxxxxxxxxx Subject: iSeries/AS/400 and .asp commands 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 -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.849 / Virus Database: 577 - Release Date: 1/27/05 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 2/3/05 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 2/3/05
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.