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



Carsten,

Id love a copy too please

Cheers
Colin.W

-----Original Message-----
From: Carsten Flensburg [mailto:flensburg@xxxxxxxxxx] 
Sent: 16 September 2003 08:49
To: RPG programming on the AS400 / iSeries
Subject: Re: %fieldvalue BIF (follow-up to "User space, outfile or
workfile")


Hello Peter,

You could use the QUSLFLD API and a couple of Edit APIs to retrieve most
field data types from a record buffer. The C record I/O functions would also
give you an easy and flexible access to retrieve the record buffer of any
file specified at runtime. 

I've written a sample procedure that outlines the process and also
examplifies the record retrieval by key. You could possible use that as a
starting point for your XML tool - let me know if you want a copy.

Best regards,
Carsten Flensburg

   

----- Original Message ----- 
From: "Peter Colpaert" <Peter.Colpaert@xxxxxxxxxxxx>
To: <RPG400-L@xxxxxxxxxxxx>
Sent: Tuesday, September 16, 2003 9:04 AM
Subject: %fieldvalue BIF (follow-up to "User space, outfile or workfile")




Dear all,

I need some further help in my quest for the "universal PF to XLS" tool.

What I want to do is assign a value to a variable, whereby the value comes
from a field name which is in another variable.

This example sort of shows what I want to do:

/free
Field2 = %fieldvalue(field1);
/end-free

whereby field1 contains "FIELD3".





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

For the latest on Bertram Books products and services and for up-to-the-minute 
book news visit www.bertrams.com


This e-mail and any attachments may contain information that is confidential 
and privileged and is solely for the use of the intended recipient. If you are 
not the intended recipient please notify the sender and delete this e-mail and 
any attachments immediately







As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.