You can use DDM.
1. Create a DDM file.
CRTDDMF FILE(QTEMP/yourfilename) RMTFILE(rmtlibraryName/rmtfileName) RMTLOCNAME(yourrmtlocation *IP)
2. Submit a remote remote command to an output file.
SBMRMTCMD CMD('DSPDBR FILE(yourrmtlib/yourrmtfile) OUTPUT(*OUTFILE) OUTFILE(nonqtemplib/DBRRESULTS) OUTMBR(*FIRST *REPLACE)') DDMFILE(QTEMP/yourfilename)
3. Create another DDM file or change the one created in step 1.
CRTDDMF FILE(QTEMP/DBRRESULTS) RMTFILE(rmtlibraryName/DBRRESULTS) RMTLOCNAME(yourrmtlocation *IP)
4. Read through QTEMP/DBRRESULTS.
Will this work for you?
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Stone, Joel
Sent: Wednesday, September 04, 2013 7:48 AM
To: Midrange Systems Technical Discussion
Subject: DSPDBR: can I perform from one iseries to another?
We run an iseries TEST box and a PROD box.
In PROD, LFs and members are added and removed from physical files ad hoc.
From the TEST box, I would like to find out which PROD LF's and members exist for a given physical file.
Apparently DSPDBR doesn't cross over to another iseries.
Any ideas how to accomplish this? Hopefully simple?
API's? DDM? APPC?
This outbound email has been scanned for all viruses by the MessageLabs Skyscan service.
For more information please visit http://www.symanteccloud.com