× 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: Calling RPGIV from Java
  • From: Alan Addison <ahaddison@xxxxxxxx>
  • Date: Mon, 26 Jun 2000 11:03:57 -0400
  • Organization: @Home Network

Ever thought of a data area and using a CL to bump it up?

Rob Berendt wrote:

> We have an Notes application from a vendor.  They have the
> flexibility to use a sequential number.  They store the next
> number in a separate document in the Notes database.  Works
> fine.  Simple technique.
>
> jpcarr@tredegar.com on 06/22/2000 10:13:19 PM
> Please respond to RPG400-L@midrange.com@Internet
> To:     RPG400-L@midrange.com@Internet
> cc:
> Fax to:
> Subject:        Re: Calling RPGIV from Java
>
> I'll try to shed some light on why I asked this question.     We are
> running Notes on the AS/400,   In one Notes app we are developing I need a
> "Next Number to be assigned"  function(Next Project Number in this case).
> Where as this is a commonly needed function in RPG applications,  it seems
> Notes has a very hard time assiging "a Next Sequential Number"  type thing.
> In RPG I would chain to a control file,  add one to the next number and
> update the record and then pass back to the program that called me the
> number I just got.
>
> Well this ain't so easy in Notes  so............
>
> Notes can Call   Java,    Java (I asked)  can call RPG,      The RPG
> program will assign the number,  pass it back to Java,  who passes it back
> to Notes.
>
> Programming used to be easier it seems.
>
> John Carr
>
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---
>
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| 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.