|
Lars, you may want to post this to midrange-l as you'll probably get a broader reply.... Don in DC On Wed, 5 Sep 2001, Lars Villadsen wrote: > Hi all > > I am having some trouble adding to a "list" in a cl-program. > > The job is : > Add an entry to the exsisting Supplemental groups (SUPGRPPRF) on > a user profile. > > First I retrieve the exsisting entries from the user profile in to a field > : > RTVUSRPRF USRPRF(&USR) SUPGRPPRF(&SUPGRPPRF) > > Then I try to change the profile using this statement : > CHGUSRPRF USRPRF(&USR) SUPGRPPRF(&SUPGRPPRF &NEWENTRY) > but I get this error message : > 700 - CHGUSRPRF USRPRF(xxx) SUPGRPPRF('ENTRY1 ENTRY2' NEWENTRY) > Value 'ENTRY1 ' for parameter SUPGRPPRF not a valid name. > > the problem, as I see it, is that the program sees the exsisting 2 entries > as one entry. > > can anyone help. > > thanks in advance. > > Lars Villadsen > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > 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.
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.