Does anyone know of a method to retrieve the remote location name from a
DDM file?
Display Details of DDM File
Local file:
File . . . . . . . . . . . . . . . . . . . . . . : CPICN1
Library . . . . . . . . . . . . . . . . . . . : FTPOBJ
Remote file . . . . . . . . . . . . . . . . . . : LIBR/CPICANC
Remote location:
Name or address . . . . . . . . . . . . . . . : systemd
I have a simple command that checks the DDM connection to a specific
system. It tries to open a generic file on the remote system and if it
fails, returns an error message. I would like to be able to extract the
system name from an existing DDM file then call the CHKDDMCON command
passing that system name.
It looks like I could to a DSPFD on the DDM file then extract the remote
location name from the output, but am looking for something that already
does it. I looked at the QDBRTVFD api, but it doesn't look like that
information is returned.
Any ideas?
Thanks,
Matt Hopkins
Sr. Programmer/Analyst
Web: www.pdpgroupinc.com
Email: MWHopkins@xxxxxxxxxxxxxxx
Office: 410-584-0330
Fax: 410-584-0336
Cell: 410-258-8845
The information contained in this communication may be confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message and any copy of it from your computer system. Thank you.
For more information please visit:
http://www.pdpgroupinc.com
As an Amazon Associate we earn from qualifying purchases.