MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » November 2012

Re: Reply list entry handling?



fixed

Hi, David:

Not quite an "API": but it should do the job ...

In a CL program, (or using the system() API or QCMDEXC, from other HLLs) issue:

CRTPF FILE(QTEMP/.QPRTRPYL) RCDLEN(133)
OVRPRTF FILE(QPRTRPYL) TOFILE(QTEMP/QPRTRPYL)
WRKRPYLE OUTPUT(*PRINT)

Then you can read the file and issue ADDRPYLE, CHGRPYLE, etc. as needed.

When done, issue:

DLTOVR FILE(QPRTRPYL)
DLTF FILE(QTEMP/QPRTRPYL)

(This technique avoids creating extraneous spool files, then using CPYSPLF, etc.)

Hope that helps,

Mark S. Waterbury

> On 11/28/2012 10:28 AM, David Gibbs wrote:
Anyone know if there is an API to get a list of entries in the system reply list table?

Thanks!

david







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact