× 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.


  • Subject: Re: Embedded SQL does not work
  • From: Dave Mahadevan <mahadevan@xxxxxxxx>
  • Date: Mon, 18 Jan 1999 12:28:47 -0500
  • Organization: Stoner and Associates

Mark:

Was the file journaled for which you were doing the delete?  Most of the times
the error is not generated but joblog will have some inane sql return code.
The bottom line is it will not do what you tell it to do if you do not have the
file journaled and the compile with commit(*chg) which is the default option.
HTH

Mark Lazarus wrote:

> Dave,
>
> At 01:42 PM 1/15/99 -0500, you wrote:
>
> >I think it has to do with journaling.  Since, commitment control requires
> >journaling and if you do not have journaling on a file, update fails.  I
> >usually compile with Commit(*none) on non-journaled file for
> >update/delete/insert.   Of course, this has no impact on a select.  I hope
> >others in the list will confirm or deny?
>
>  I found it interesting that no error was generated and when I tried
> running COMMIT on the command line after the program finished the DELETEs
> were not applied.
>
>  -mark
>
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> * This is the RPG/400 Discussion Mailing List!  To submit a new         *
> * message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
> * from this list send email to MAJORDOMO@midrange.com and specify       *
> * 'unsubscribe RPG400-L' in the body of your message.  Questions should *
> * be directed to the list owner / operator: david@midrange.com          *
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

--
Thank You.

Regards

Dave Mahadevan.. mailto:mahadevan@fuse.net


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.