That's how I currently do it.  Using CPYFRMIMPF.  Haven't written any RPG 
yet to access the IFS directly.
However I am having an issue with CPYFRMIMPF that I am not allowed to 
discuss.  Please don't ask me what, offlist or otherwise, unless your 
email ends with @us.ibm.com.

If I do get the urge to try to use IFS access from RPG, then does anyone 
know if there is a release of Domino that may move that file to another 
location?  I just want to make sure that I am not delaying the inevitable. 
 I am running 6.0.3 and I consider that a good sign that the file may be 
somewhat stable.  Since that is a multirelease capable version.  Any 6.5 
folks out there?  Does that file stay there for you?

Rob Berendt
-- 
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





Robert Laing <rlaing@xxxxxxxxx> 
Sent by: domino400-bounces@xxxxxxxxxxxx
01/28/2004 02:32 PM
Please respond to
Lotus Domino on the iSeries / AS400 <domino400@xxxxxxxxxxxx>


To
Lotus Domino on the iSeries / AS400 <domino400@xxxxxxxxxxxx>
cc

Fax to

Subject
Re: How to get a list of Domino Servers











Take a look at the following file in the IFS:
/QIBM/UserData/LOTUS/LOTUS_SERVERS

This is a STMF but stream files can be read in CL programs.

Bob




 
             rob@xxxxxxxxx 
             Sent by: 
             domino400-bounces                                          To 

             @midrange.com             Lotus Domino on the iSeries / AS400 

                                       <domino400@xxxxxxxxxxxx> 
                                                                        cc 

             01/28/2004 01:49 
             PM                                                     Fax to 

 
                                                                   Subject 

             Please respond to         How to get a list of Domino Servers 

              Lotus Domino on 
               the iSeries / 
                   AS400 
             <domino400@midran 
                  ge.com> 
 
 




Is there an official way to get a list of Domino servers, from a program,
on your iSeries?  I know I can do WRKDOMSVR for interactive purposes.  But
that's not any good from a nightly unattended backup.

I found some domino api's at:
http://www-12.lotus.com/ldd/doc/AS400/5.0.10
/readas4.nsf/1f573324685cf98d8525647c00605493/1ed3e57c17e6473986256b72005ab608?OpenDocument


However the List Domino Servers API is misleading at best:
1)  It looks like it lists only 1 Domino server, not servers
2)  Required parameter 3 is the server name.  I take it *ALL is not
supported?
3)  Required parameter 3 fails to say how to format the server name.
Canonical, hierarchical, simple name.  Could I have two partitions with
the same name, but different domains?  For example DEKKO/LDAP and
MYOUTSOURCINGCLIENT/LDAP?
4)  Required parameter 5 is the format name.  However no possible formats
were listed.
5)  The data buffer does not contain an offset to the next server, thus a
strong hint that plural is not supported.
6)  Honestly I think they are listing the wrong data buffer, because one
of the "Field Descriptions" underneath the data buffer displayed is
"Number of server entries returned", but you'd be hardpressed to find that
field in the buffer description.

I did find a sample CL program at
http://www-1.ibm.com/servers/eserver/iseries/domino/devtools/dominoapi/testsapi.txt


But I'd like some real documentation.

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com

_______________________________________________
This is the Lotus Domino on the iSeries / AS400 (Domino400) mailing list
To post a message email: Domino400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/domino400
or email: Domino400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/domino400.




_______________________________________________
This is the Lotus Domino on the iSeries / AS400 (Domino400) mailing list
To post a message email: Domino400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/domino400
or email: Domino400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/domino400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.