Buddy,
Don't remember seeing you here before so what's been discussed here before may still be new to you (or others just now finding Midrange). That said, the best tutorial on API's can be found at (drum roll, please):
http://www.scottklement.com/presentations/ . And while Scott's on-line presentations are the clearest to which I have been subjected, even better is attending a conference at which Scott is presenting. He gave a whole day seminar at the Nashville LUG a couple of years ago, and everyone came away stunned (pleasantly). Scott lists on his web site the forums at which he presents.
One of the nice advantages to attending conferences, such as COMMON and SystemiDeveloper, is that you will not only be able to attend Scott's sessions, but you get cross-pollinated (Jon Paris, Susan Gantner, Paul Tuohy, etc.).
Jerry C. Adams
IBM System i Programmer/Analyst
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Buddy McClean
Sent: Friday, October 31, 2008 3:53 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: QWTSETPX - User Profile - and SYS/REQ Exit Point
I works now, there is so much I never found in the book. Pages and pages.
The 2nd is a ref to the first. I just put an entry for all 8 and specified (-1) (no action) for the entries
I didn't want to change.
chris.pando@xxxxxxxxx 10/31/2008 3:43 PM >>>
On Fri, Oct 31, 2008 at 2:43 PM, Buddy McClean
<Buddy.McClean@xxxxxxxxxxxx> wrote:
Running the program below - I get CPF1666 Number of Entries not in Valid Range (Field name 'ENTRIES')
Am I defining the parameters correctly for QWTSETPX to read them?
I think the second parameter is supposed to be the
address of an array (i.e. a pointer to the first
array element).
=====================================
Exit program flags
INPUT; ARRAY(*) of BINARY(4)
An array of a number of elements. The number of array elements
must match the number of entries.
=========================================\
Chris
--
www.brilligware.com
--
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.
--
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.
As an Amazon Associate we earn from qualifying purchases.