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



Question about MVR operation how should the Div Result be Defined with
or without decimals

Same for Remainder Field

I have come up with various results with different formatting and want
to know best/Common practices

Example 60/84 = .714 on a calculator but one of programmers was not
getting this result with the move remainder when Both Fields were
defined with 3 decimal Places

Should the DIV Be 0 Decimal and The remainder Be of x Decimals depending
on how precise you want the remainder to be

Thank You

Michael Ala
EDI Service Line Leader
BP Lubricants USA Inc.
Phone: (973) 633-2353 Fax: (973) 686-4053





-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
rpg400-l-request@xxxxxxxxxxxx
Sent: Wednesday, January 30, 2008 1:00 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: RPG400-L Digest, Vol 7, Issue 80

Send RPG400-L mailing list submissions to
rpg400-l@xxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.midrange.com/mailman/listinfo/rpg400-l
or, via email, send a message with subject or body 'help' to
rpg400-l-request@xxxxxxxxxxxx

You can reach the person managing the list at
rpg400-l-owner@xxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific than
"Re: Contents of RPG400-L digest..."


*** NOTE: When replying to this digest message, PLEASE remove all text
unrelated to your reply and change the subject line so it is meaningful.

Today's Topics:

1. Re: Solutions for producing pretty letters (jfranz@xxxxxxxxxxxx)
2. RE: Solutions for producing pretty letters (Richard Schoen)
3. losing the negative sign? (Mike Berman)
4. Re: losing the negative sign? (J M Plank)


----------------------------------------------------------------------

message: 1
date: Tue, 29 Jan 2008 13:04:17 -0500
from: <jfranz@xxxxxxxxxxxx>
subject: Re: Solutions for producing pretty letters

One customer had a vb programmer write a generic tool to read iSeries
files of which docs (can be multiple), then parse the docs looking for
substitution markers like <CUSNAME> and call my pgm to get the cusname.
It produces a final merged doc the user can email, print, save, etc. Has
worked well for years.
Using the substitution names, I can add as many as needed, its all table
driven.
This replaced Officevision merge docs.
With Word, user can set up shell docs, any font, underline, bold, etc.
Jim Franz

---- David FOXWELL <David.FOXWELL@xxxxxxxxx> wrote:
Hi,

We have an application that is used to generate letters to clients
automatically.

The header depends upon client information, date, type of letter etc.

The user types the body of the text in to a 5250 screen and each line
is saved in a PF on the i5. He is aided by function keys to insert many
repetitive clauses.

The finished letter is composed from client/contract information, type
of job, text saved by user, etc.

The user wants to be able to type in text as he would in a word
processor, with as much of that functionnality as possible ( bold text,
images, etc). With the 5250 screen, he has to justify each line
manually.

I've thought about using Word with macros to replace the function
keys, and saving this as an XML file instead of each line in a PF. The
RPG program would have to wait until Word was exited again.

I'd like to hear about ways others of you may have used to evolve this
kind of system.

Thanks.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/rpg400-l.



------------------------------

message: 2
date: Tue, 29 Jan 2008 16:55:40 -0600
from: "Richard Schoen" <richard@xxxxxxxxxxx>
subject: RE: Solutions for producing pretty letters

Hello David,

If you are looking for free options, you could write your own VB mail
merging application.

Another option is a commercial product such as our iSeries Office
Integrator that can be used to mail merge letters using MS Word. You
simply create a merge data file on the iSeries and let the iSeries
Integrator do the merging and printing.

If you would like to further discussion your needs, please feel free to
contact me directly or check out our web site and request a FREE demo
version.

Regards,
Richard Schoen
RJS Software Systems Inc.
"Get the information you need. Now!"
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 898-3038
Fax: (952) 898-1781
Toll Free: (888) RJSSOFT


-----Original Message-----

------------------------------

message: 3
date: Tue, 29 Jan 2008 16:40:10 +0100
from: David FOXWELL <David.FOXWELL@xxxxxxxxx>
subject: Solutions for producing pretty letters

Hi,

We have an application that is used to generate letters to clients
automatically.

The header depends upon client information, date, type of letter etc.

The user types the body of the text in to a 5250 screen and each line is
saved in a PF on the i5. He is aided by function keys to insert many
repetitive clauses.

The finished letter is composed from client/contract information, type
of job, text saved by user, etc.

The user wants to be able to type in text as he would in a word
processor, with as much of that functionnality as possible ( bold text,
images, etc). With the 5250 screen, he has to justify each line
manually.

I've thought about using Word with macros to replace the function keys,
and saving this as an XML file instead of each line in a PF. The RPG
program would have to wait until Word was exited again.

I'd like to hear about ways others of you may have used to evolve this
kind of system.

Thanks.





------------------------------

message: 3
date: Wed, 30 Jan 2008 09:57:34 -0800 (PST)
from: Mike Berman <mikeba777@xxxxxxxxx>
subject: losing the negative sign?

HI, would this RPG statement lose the neg. sign? PS43 is in fact coming
in as a neg. amt. but is not printing as such.

C MOVE PS43 QNUM 80



---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo!
Search.

------------------------------

message: 4
date: Wed, 30 Jan 2008 12:59:37 -0500
from: "J M Plank" <plank.computer@xxxxxxxxx>
subject: Re: losing the negative sign?

What edit code or edit word is on QNUM?

Mark Plank

On Jan 30, 2008 12:57 PM, Mike Berman <mikeba777@xxxxxxxxx> wrote:

HI, would this RPG statement lose the neg. sign? PS43 is in fact
coming in as a neg. amt. but is not printing as such.

C MOVE PS43 QNUM 80


------------------------------

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) digest
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.



End of RPG400-L Digest, Vol 7, Issue 80
***************************************

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.