Re: C program for QDFRTVFD API

Frank Kolmann <[email protected]>
Newsgroups gmane.comp.lang.as400.c
Message-ID <CAB-SQvidv-RzkTEZaB8PMCjxNCgT1cQATR2_Zc5KpNfDJMxEpA@mail.gmail.com>
Hi

Thanks Gary and Charles for your suggestions.
FWIW I have updated the site with 2 additional versions, one using User
Space the other as  C module.

The module was a bit harder to code because the C code remained in the
ACTGRP so I needed to have a CLLE to do a RCLACTGRP.


Regards
Frank

 >From: "Monnier, Gary" <Gary.Monnier@xxxxxxxxx>
>Date: Wed, 10 Sep 2014 15:55:39 +0000
>Stick the data in a user space and obtain a pointer to the space.
>You can then spin through the space as often as you like. Replace the data
as you desire.
>>-----Original Message-----
>>From: C400-L [mailto:c400-l-bounces@xxxxxxxxxxxx] On Behalf Of Frank
Kolmann
>>Sent: Wednesday, September 10, 2014 2:54 AM
>>To: c400-l
>>Subject: [C400-L] C program for QDFRTVFD API
>>
>>Hi
>>I have coded a C program to get info from the QDFRTVFD API.
>>It works and successfully retrieves Fields (incl posn and atr) and
Constants from a DSPF.
>>It is here. http://wiki.midrange.com/index.php/CQDFRTVFD
>>However the way it is coded is very inefficient because I invoke the API
for every field/constant in the DSPF.
-- 
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: C400-L-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.