|
DSPFD output can be directed to a database file: DSPFD FILE(library/file) TYPE(*ATR) OUTPUT(*OUTFILE) FILEATR(*DDMF) OUTFILE(QTEMP/DDMFATTR) Running the above created DDMFATTR with the information you are looking for. uucp@UUCP1.MCS.NET on 02/18/99 09:33:48 Please respond to MIDRANGE-L@midrange.com To: cc: (bcc: Brian Johnson/HelpSystems) Subject: DDM remote system, remote library, remote file - Asking again I posted this message a few days ago and still can't find the solution. For a DDM file, we want to retrieve its remote system name, remote library and remote file name programmically within an RPG or CL program. It appears that the "Retrieve Database File Description (QDBRTVFD)" api does not return that information. Is there an API or system table that will give us this information? The only way we've found so far is to do a DSPFD to a spool file, convert it to a DB file, then read the DB file and parse through it. This technique is slow and tedious, so we would prefer a quicker way. Thanks in advance, Bob Luebbe CONNECTIONS 2000
I posted this message a few
days ago and still can't find the solution.
For a DDM file, we want to retrieve its remote system name,
remote library and remote file name programmically within an RPG or CL
program. It appears that the "Retrieve Database File Description
(QDBRTVFD)" api does not return that information. Is there an API or
system table that will give us this information?
The only way we've found so far is to do a DSPFD
to a spool file, convert it to a DB file, then read the DB file and parse
through it. This technique is slow and tedious, so we would prefer a
quicker way.
Thanks in advance,
Bob Luebbe
CONNECTIONS 2000
|
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.