× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Perhaps this will be better on the RPG list, but I'm not sure if it's truly
an RPG question.

I found Scott Klement's exit point in the archives (
http://archive.midrange.com/midrange-l/200103/msg00068.html ) and basically
used it as my starting point so I wouldn't have to figure out all the data
structures.

I added on the new fields to get SSL and certificate info.  I got it to
work, but I have some questions.

This does not work (server port and SSL fields do not contain valid
information)

D dsCnnDscInfo    DS                  based(p_CnnDscInfo)
D  dsCnnLen                     10I 0
D  dsCnnAddr                    20A
D  dsCnnPWvalid                  1A
D  dsCnnWStype                  12A
D  dsCnnSSL                      1A
D  dsCnnSvrAddr                 20A
D  dsCnnClAut                    1A
D  dsCnnRsvd                     3A
D  dsCnnCertVld                 10I 0
D  dsCnnCertOff                 10I 0
D  dsCnnCertLen                 10I 0


But this does work (only changing the SSL field):

D dsCnnDscInfo    DS                  based(p_CnnDscInfo)
D  dsCnnLen                     10I 0
D  dsCnnAddr                    20A
D  dsCnnPWvalid                  1A
D  dsCnnWStype                  12A
D  dsCnnSSL              40     40A
D  dsCnnSvrAddr                 20A
D  dsCnnClAut                    1A
D  dsCnnRsvd                     3A
D  dsCnnCertVld                 10I 0
D  dsCnnCertOff                 10I 0
D  dsCnnCertLen                 10I 0



I'm logging all connections to a file.  The records only show in the file if
I end with *LR on or use FEOD.  Obviously, both of those cause a performance
impact (I ran each possibility 10,000 times and *LR on was by far the worst
performer.)  I thought there was a recent discussion on this somewhere, but
I didn't find it.  When I go to production, I don't think I'll care about
the records showing up right away.  Daily should suffice (we bring the
system down for backup, so that should force the records into the file.)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.