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



And a page on that particular code is
https://www.ibm.com/support/knowledgecenter/en/SSAE4W_9.0.0/com.ibm.etoo
ls.iseries.langref.doc/evfrilsh806.htm#precudf




Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
j.beckeringh@xxxxxxxxxxxxxxxxxxxxxxxxxx
Sent: Tuesday, February 20, 2018 8:19 AM
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: Re: Simple RPG question (because the docs are worthless)

ILE RPG Reference page 6-1:

The following table shows the free-form syntax for each operation
code.
v Extenders
(A) Always perform a dump, even if DEBUG(*NO) is specified
(A) Sort ascending
(D) Pass operational descriptors on bound call
(D) Date field
(D) Sort descending
(E) Error handling
(H) Half adjust (round the numeric result)
(M) Default precision rules
(N) Do not lock record
(N) Set pointer to *NULL after successful DEALLOC
(N) Do not force data to non-volatile storage
(P) Pad the result with blanks or zeros
(R) "Result Decimal Position" precision rules
(T) Time field
(Z) Timestamp field

If you think the RPG Reference is bad, try the SQL Reference. After
that the
RPG Reference is not so bad :-)

Joep Beckeringh
Software architect
Pantheon Automatisering B.V.
Heerenveen


john erps <jacobus.erps@xxxxxxxxx>

20-02-2018 15:10

Subject:

Simple RPG question (because the docs are worthless)

Hi,

What does the "operation extender" M means I know R and H, but not
M.

I tried to look into the RPG docs, at opcode "eval" which seems to
me
a logical place to document this, but no. The extenders are
mentioned
but
i
can't find the doc for M (or R or H). When i click "precision rules"
i
get
to see doc about "operation extender" R.

Man how bad is the RPG documentation on IBM's site. It's terrible.
How on earth is somebody not already having 20+ years of experience
in
RPG
ever going to find some info. A simple function like "half adjust"
is
buried as some "operation extender" (instead of a normal half-adjust
function or BIF or whatever), and the doc on this "operation
extender"
H
is
almost impossible to find.

Pff, the only thing worse would be no doc at all. Terrible.


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

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

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.