× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Everyone who responded:

Thanks for the help.  I'll be reading up on commitment and journalizing 
this afternoon to understand it more.



Part of the reason I wanted to do this in RPG was because I didn't know 
how to.  I could already do it in STRSQL.  Another reason is because I was 
required to write a program to do this (using standard I/O, but what's the 
saying I've heard on here... It's easier to ask for forgiveness than 
permission? :)  )

Mike


rpg400-l-bounces@xxxxxxxxxxxx wrote on 09/19/2005 10:41:40 AM:

> 
> Any reason why you are doing this in embedded SQL and not an SQL session
> (STRSQL)?
> Anyway, to answer your question, insert the following before your SQL
> statements
> 
> C/EXEC SQL
> C+ SET OPTION COMMIT = *NONE
> C/END-EXEC
> 
> By inserting this command, you are telling the system to make the 
changes
> permanent as soon as the Commit statement is completed.
> 
> Alan

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.