Hi Glenn

I don't see a "Qualified" keyword on the data structure definition. Don't
you need to specify the keyword if you want to use qualified names in your
program?

Jonathan

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Glenn Gundermann
Sent: 23 August 2007 22:04
To: rpg400-l@xxxxxxxxxxxx
Subject: What's wrong with %trimr(dsname.fieldname)?

Hi everyone,

Why can't I use a qualified name expression for %trimr?
How else would you do this?

I get RNF7591 An operand of a qualified name expression is not valid.

Here are a few snippets to show what I am doing.

// List objects API.
d/copy qsysinc/qrpglesrc,quslobj

d UsrSpcDat ds likeds(QUSL020002)
d based(UsrSpcDatPtr)

File = %trimr(UsrSpcDat.QUSOLNU) + '/' + %trimr(UsrSpcDat.QUSOBJNU)

Glenn Gundermann
ggundermann@xxxxxx
(647) 272-3295

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.