home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 1999 April / APC443.iso / features / grpware / notes / 50lbwis.exe / DATA1.CAB / CommonDataDominoAdmin / decomsrv.ntf (.txt) < prev    next >
Encoding:
Lotus Notes Storage Facility  |  1999-01-28  |  114.5 KB  |  738 lines

  1. Decommission Server Reports
  2. #1StdNotesDecommissionServer
  3. $DesignVersion$Version$Formula$FormulaClass$Collation$UpdatedBy$NameIconBitmap$TITLE$Flags$FlagsNoRefresh$ACLDigest$Signature$Fonts$Background$Info$WindowTitle$Script$$Script_O$$ScriptName$$FormScript$$$FormScript_OTypeRDTypeReportNumberReportCategoryReportTitleReportDateSourceServerTargetServerReportErrorsReportDescriptionReportDetailsReportDescription1ReportDetails1$Fields$Body$Index$ViewFormat$Comment$ImagesWide$ImagesHigh$ImagesColorize$ImageData$ImageNames
  4. \JHz9
  5. CN=Lotus Notes Template Development/O=Lotus Notes
  6. \JHz9
  7. $Modified
  8.     1S2S3S
  9. $TITLE$FormPrivs$FormUsers$Body$Flags$Class$Modified$Comment$AssistTrigger$AssistType$AssistFlags$UpdatedBy$$FormScript_O$LANGUAGE
  10. $Flags
  11.     0SL1S4S5S3724
  12. $TITLE
  13. CN=Rob Slapikoff/O=Iris##############
  14. CN=Rob Slapikoff/O=Iris
  15. Decommission Server Reports
  16. #1StdNotesDecommissionServert############################################
  17. CN=Rob Slapikoff/O=IrisCN=Lotus Notes Template Development/O=Lotus Notes######################################################
  18. ?Report
  19. ReportDetails1ReportDescription1ReportDetailsReportDescriptionReportErrorsTargetServerSourceServerReportDateReportTitleReportCategoryReportNumberRDTypeType
  20. CN=Rob Slapikoff/O=IrisCN=Lotus Notes Template Development/O=Lotus Notes#
  21. ReportsD
  22. Report Number: 
  23. ReportNumberV
  24. ReportNumberV
  25. ReportNumber
  26.     0S0E
  27. ErrorFlag
  28. ErrorFlag
  29. $2ReportCategory$1ReportTitle$Conflict$REF
  30. $2ReportCategory
  31. Report Number: 
  32. ReportNumberV
  33. ReportNumberV
  34. ReportNumber
  35.     0S0E
  36. ReportCategory$1t
  37. ErrorFlag
  38. ErrorFlag
  39.     12SReportTitleReport Title&
  40. CN=Rob Slapikoff/O=IrisCN=Lotus Notes Template Development/O=Lotus Notes##############
  41. servers.gif
  42. servers.gifservers
  43. CN=Rob Slapikoff/O=IrisCN=Lotus Notes Template Development/O=Lotus Notes#####################
  44. ##########################################################
  45. ##########################################################
  46. ##########################################################
  47. ##########################################################
  48. ##########################################################
  49. ##########################################################
  50. ##########################################################
  51. ##########################################################
  52. ##########################################################
  53. ##########################################################
  54. ##########################################################
  55. ##########################################################
  56. ##########################################################
  57. ##########################################################
  58. ##########################################################
  59. ##########################################################
  60. ##########################################################
  61. ##########################################################
  62. ##########################################################
  63. ##########################################################
  64. ##########################################################
  65. ##########################################################
  66. ##########################################################
  67. ##########################################################
  68. ##########################################################
  69. ##########################################################
  70. ##########################################################
  71. ##########################################################
  72. ##########################################################
  73. ##########################################################
  74. ##########################################################
  75. ##########################################################
  76. ##########################################################
  77. ##########################################################
  78. ##########################################################
  79. ##########################################################
  80. ##########################################################
  81. ##########################################################
  82. ##########################################################
  83. ##########################################################
  84. ##########################################################
  85. ##########################################################
  86. ##########################################################
  87. ##########################################################
  88. ##########################################################
  89. ##########################################################
  90. ##########################################################
  91. ##########################################################
  92. ##########################################################
  93. ##########################################################
  94. ##########################################################
  95. ##########################################################
  96. ##########################################################
  97. ##########################################################
  98. ##########################################################
  99. ##########################################################
  100. ##########################################################
  101. ##########################################################
  102. ##########################################################
  103. ##########################################################
  104. ##########################################################
  105. ##########################################################
  106. ##########################################################
  107. ##########################################################
  108. ##########################################################
  109. ##########################################################
  110. ##########################################################
  111. ##########################################################
  112. ##########################################################
  113. ##########################################################
  114. ##########################################################
  115. ##########################################################
  116. ##########################################################
  117. ##########################################################
  118. ##########################################################
  119. ##########################################################
  120. ##########################################################
  121. ##########################################################
  122. ##########################################################
  123. ##########################################################
  124. ##########################################################
  125. ##########################################################
  126. ##########################################################
  127. ##########################################################
  128. ##########################################################
  129. ##########################################################
  130. ##########################################################
  131. ##########################################################
  132. ##########################################################
  133. ##########################################################
  134. ##########################################################
  135. ##########################################################
  136. ##########################################################
  137. ##########################################################
  138. ##########################################################
  139. ##########################################################
  140. ##########################################################
  141. ##########################################################
  142. ##########################################################
  143. ##########################################################
  144. ##########################################################
  145. ##########################################################
  146. ##########################################################
  147. ##########################################################
  148. ##########################################################
  149. ##########################################################
  150. ##########################################################
  151. ##########################################################
  152. ##########################################################
  153. ##########################################################
  154. ##########################################################
  155. ##########################################################
  156. ##########################################################
  157. ##########################################################
  158. ##########################################################
  159. ##########################################################
  160. ##########################################################
  161. ##########################################################
  162. ##########################################################
  163. ##########################################################
  164. ##########################################################
  165. ##########################################################
  166. ##########################################################
  167. ##########################################################
  168. ##########################################################
  169. ##########################################################
  170. ##########################################################
  171. ##########################################################
  172. ##########################################################
  173. ##########################################################
  174. ##########################################################
  175. ##########################################################
  176. ##########################################################
  177. ##########################################################
  178. ##########################################################
  179. ##########################################################
  180. ##########################################################
  181. ##########################################################
  182. ##########################################################
  183. ##########################################################
  184. ##########################################################
  185. ##########################################################
  186. ##########################################################
  187. ##########################################################
  188. ##########################################################
  189. ##########################################################
  190. ##########################################################
  191. ##########################################################
  192. ##########################################################
  193. ##########################################################
  194. ##########################################################
  195. ##########################################################
  196. ##########################################################
  197. ##########################################################
  198. ##########################################################
  199. ##########################################################
  200. ##########################################################
  201. ##########################################################
  202. ##########################################################
  203. ##########################################################
  204. ##########################################################
  205. ##########################################################
  206. ##########################################################
  207. ##########################################################
  208. ##########################################################
  209. ##########################################################
  210. ##########################################################
  211. ##########################################################
  212. ##########################################################
  213. ##########################################################
  214. ##########################################################
  215. ##########################################################
  216. ##########################################################
  217. ##########################################################
  218. ##########################################################
  219. ##########################################################
  220. ##########################################################
  221. ##########################################################
  222. ##########################################################
  223. ##########################################################
  224. ##########################################################
  225. ##########################################################
  226. ##########################################################
  227. ##########################################################
  228. ##########################################################
  229. ##########################################################
  230. ##########################################################
  231. ##########################################################
  232. ##########################################################
  233. ##########################################################
  234. ##########################################################
  235. ##########################################################
  236. ##########################################################
  237. ##########################################################
  238. ##########################################################
  239. O=Lotus Notes
  240. O=Lotus Notes
  241. PURSAFO
  242. |.:#U
  243. O=Lotus Notes
  244. CN=Lotus Notes Template Development/O=Lotus Notes
  245. PURSAFO
  246. Fz&ZTV
  247. *iI    x;
  248. $ACLDigest
  249. Times New Roman
  250. servers.gif|servers
  251. Report Title: 
  252. ReportTitle
  253.   (Report #
  254. ReportNumberV
  255.     1S3S4S
  256. '++LotusScript Development Environment:2:5:(Options):0:74
  257. Option Public
  258. Option Explicit
  259. '++LotusScript Development Environment:2:5:(Forward):0:1
  260. Declare Function PickReportDescription (StrField As String) As String
  261. '++LotusScript Development Environment:2:5:(Declarations):0:10
  262. Dim w As NotesUIWorkspace
  263. Dim s As NotesSession
  264. Dim db As NotesDatabase
  265. Dim doc As NotesDocument
  266. Dim uidoc As notesuidocument
  267. Dim StrFieldv As Variant
  268. Dim Str_ReportDescription As String
  269. Dim StrField As String
  270. Const STR_EMPTYSTRING= " " 
  271. Const STR_FIELDSAME= "%F is the same for both servers."
  272. Const STR_FIELDNOTSAME= "%F are NOT the same:"
  273. Const STR_FIELDSAMEORSUBSET= "%F is the same (or Source Server's value is a subset) for both servers." 
  274. Const STR_FIELDISDIFFERENT= "There are differences for %F:"
  275. Const STR_FIELDNOTSETSOURCE= "%F is not set for %S (None allows all).  %F for %T is:"
  276. Const STR_FIELDNOTSETTARGET= "%F is not set for %T (None allows no one).  %F for %S is:"
  277. Const STR_DIFFNAMEDNETWORKS= "The following Name Networks available on source server %S are NOT available on target server %T:"
  278. Const STR_SAMENAMEDNETWORKS= "The Name Networks available on source server %S are available on target server %T."
  279. Const STR_NAMEDNETWORKTABLE= "The following is the Name Network table for source server %S and target server %T: %N%N%S:    %T:"
  280. Const STR_DIFFPORTS= "The following configured port/protocols available on source server %S are NOT available on target server %T:"
  281. Const STR_PORTTABLE= "The following is the configured Port/Protocol table for source server %S and target server %T: %N%N%S:     %T:"
  282. Const STR_NOREPLICAS= "The following files on source server %S do NOT have replicas on the target server %T:"
  283. Const STR_ALLREPLICAS= "All files on the source server %S have replicas on the target server %T."
  284. Const STR_FILENAMECONFLICT= "The following files on source server %S have name conflicts with files on the target server %T:"
  285. Const STR_NOFILENAMECONFLICT= "No files on the source server %S have name conflicts with files on the target server %T."
  286. Const STR_SOURCEISMAILSERVER= "The following  %F have the source server %S specified as the mail server:"
  287. Const STR_NOSOURCEISMAILSERVER= "There were no %F with the source server %S specified as the mail server."
  288. Const STR_DIFFCONNECTIONS= "The following connection sources available on source server %S are NOT available on target server %T:"
  289. Const STR_SAMECONNECTIONS= "The connections (source) available on source server %S are available on target server %T."
  290. Const STR_SOURCEASDESTINATION= "The following servers list the server to be decommissioned, %S, as a destination in their connection records:"
  291. Const STR_NOSOURCEASDESTINATION= "There were no servers that listed the server to be decommissioned %S, as a destination in their connection records."
  292. Const STR_SOURCEINPROGRAM= "The following programs are listed for the server to be decommissioned"
  293. Const STR_NOSOURCEINPROGRAM= "There were no programs listed for the server to be decommissioned."
  294. Const STR_SOURCEASFOREIGNDOMAIN= "The following foreign domains have the server to be decommissioned, %S, specified as the foreign domain mail server:"
  295. Const STR_NOSOURCEASFOREIGNDOMAIN= "There were no foreign domains that listed the server to be decommissioned as the foreign domain mail server."
  296. Const STR_SOURCEXCERTISSUEDBY= "The following cross certificates were issued by the server to be decommissioned, %S:"
  297. Const STR_NOSOURCEXCERT= "There were no cross certificates issued by the server to be decommissioned."
  298. Const STR_SAMECLUSTER= "The server to be decommissioned %S and the target server %T both belong to the same cluster:"
  299. Const STR_DIFFCLUSTER= "The server to be decommissioned %S and the target server %T do NOT belong to the same cluster:"
  300. Const STR_TARGETNOTINCLUSTER= "The target server %T is NOT a member of a cluster. The server to be decommissioned %S belongs to cluster:"
  301. Const STR_SOURCENOTINCLUSTER= "The server to be decommissioned %S is not part of a cluster."
  302. Const STR_FIELDGREATERONSOURCE="%F is greater on the source server %S than the target server %T."
  303. Const STR_FIELDGREATERONTARGET="%F is greater on the target server %T than the source server %S."
  304. '++LotusScript Development Environment:2:1:PickReportDescription:1:8
  305. Function PickReportDescription (StrField As String) As String
  306.     If doc.GetItemValue("ErrorFlag")(0) = "2" Then
  307.         Str_ReportDescription=STR_EMPTYSTRING
  308.         'exit function
  309.     Elseif StrField = "Name Network" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  310.         Str_ReportDescription=STR_DIFFNAMEDNETWORKS
  311.         'exit function
  312.     Elseif StrField = "Name Network" And doc.HasItem("ErrorFlag") = False Then
  313.         Str_ReportDescription=STR_SAMENAMEDNETWORKS
  314.         'exit function
  315.     Elseif StrField = "Port/Protocol" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  316.         Str_ReportDescription=STR_DIFFPORTS
  317.         'exit function
  318.     Elseif StrField = "No Matching Replica" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  319.         Str_ReportDescription=STR_NOREPLICAS
  320.         'exit function
  321.     Elseif StrField = "No Matching Replica" And doc.HasItem("ErrorFlag") = False Then
  322.         Str_ReportDescription=STR_ALLREPLICAS
  323.         'exit function
  324.     Elseif StrField = "Name Conflict" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  325.         Str_ReportDescription=STR_FILENAMECONFLICT
  326.         'exit function
  327.     Elseif StrField = "Name Conflict" And doc.HasItem("ErrorFlag") = False Then
  328.         Str_ReportDescription=STR_NOFILENAMECONFLICT
  329.         'exit function
  330.     Elseif (StrField = "Mail Users" Or StrField = "Mail-In Databases" Or StrField="Certifiers" Or StrField="Rooms" Or StrField="Resources") And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  331.         Str_ReportDescription=STR_SOURCEISMAILSERVER
  332.         'exit function
  333.     Elseif (StrField = "Mail Users" Or StrField = "Mail-In Databases" Or StrField="Certifiers" Or StrField="Rooms" Or StrField="Resources") And doc.HasItem("ErrorFlag") = False Then
  334.         Str_ReportDescription=STR_NOSOURCEISMAILSERVER
  335.         'exit function
  336.     Elseif StrField = "Source" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  337.         Str_ReportDescription=STR_DIFFCONNECTIONS
  338.         'exit function
  339.     Elseif StrField = "Source" And doc.HasItem("ErrorFlag") = False Then
  340.         Str_ReportDescription=STR_SAMECONNECTIONS
  341.         'exit function
  342.     Elseif StrField = "Destination" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  343.         Str_ReportDescription=STR_SOURCEASDESTINATION
  344.         'exit function
  345.     Elseif StrField = "Destination" And doc.HasItem("ErrorFlag") = False Then
  346.         Str_ReportDescription=STR_NOSOURCEASDESTINATION
  347.         'exit function
  348.     Elseif StrField = "Program" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  349.         Str_ReportDescription=STR_SOURCEINPROGRAM
  350.         'exit function
  351.     Elseif StrField = "Program" And doc.HasItem("ErrorFlag") = False Then
  352.         Str_ReportDescription=STR_NOSOURCEINPROGRAM
  353.         'exit function
  354.     Elseif StrField = "Foreign Domains" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  355.         Str_ReportDescription=STR_SOURCEASFOREIGNDOMAIN
  356.         'exit function
  357.     Elseif StrField = "Foreign Domains" And doc.HasItem("ErrorFlag") = False Then
  358.         Str_ReportDescription=STR_NOSOURCEASFOREIGNDOMAIN
  359.         'exit function
  360.     Elseif StrField = "Cross Certificates" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  361.         Str_ReportDescription=STR_SOURCEXCERTISSUEDBY
  362.         'exit function
  363.     Elseif StrField = "Cross Certificates" And doc.HasItem("ErrorFlag") = False Then
  364.         Str_ReportDescription=STR_NOSOURCEXCERT
  365.         'exit function
  366.     Elseif StrField = "ClusterName" And doc.GetItemValue("RDType")(0) = "C" And doc.HasItem("ErrorFlag") = False Then
  367.         Str_ReportDescription = STR_SAMECLUSTER
  368.         'exit function
  369.     Elseif StrField = "ClusterName" And doc.GetItemValue("RDType")(0) = "C" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  370.         Str_ReportDescription = STR_DIFFCLUSTER
  371.         'exit function    
  372.     Elseif StrField = "ClusterName" And doc.HasItem("RDType") = False And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  373.         Str_ReportDescription = STR_TARGETNOTINCLUSTER
  374.         'exit function
  375.     Elseif StrField = "ClusterName" And doc.HasItem("RDType") = False And doc.HasItem("ErrorFlag") = False Then
  376.         Str_ReportDescription = STR_SOURCENOTINCLUSTER
  377.         'exit function    
  378.     Elseif doc.GetItemValue("RDType")(0) = "B" And doc.HasItem("ErrorFlag") = False Then
  379.         Str_ReportDescription=STR_FIELDSAME
  380.         'exit function
  381.     Elseif doc.GetItemValue("RDType")(0) = "B" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  382.         Str_ReportDescription=STR_FIELDNOTSAME
  383.         'exit function
  384.     Elseif doc.GetItemValue("RDType")(0)="S" And doc.HasItem("ErrorFlag") = False Then
  385.         Str_ReportDescription=STR_FIELDSAMEORSUBSET
  386.         'exit function
  387.     Elseif doc.GetItemValue("RDType")(0) = "N" Then
  388.         Str_ReportDescription=STR_FIELDSAME
  389.         'exit function
  390.     Elseif doc.GetItemValue("RDType")(0) = "NS" Then
  391.         Str_ReportDescription=STR_FIELDGREATERONSOURCE
  392.         'exit function
  393.     Elseif doc.GetItemValue("RDType")(0) = "NT" Then
  394.         Str_ReportDescription=STR_FIELDGREATERONTARGET
  395.         'exit function
  396.     Elseif doc.GetItemValue("ErrorFlag")(0)="1" And doc.HasItem("RDType") = False And doc.HasItem("RDErrorStatus") = False Then
  397.         Str_ReportDescription=STR_FIELDISDIFFERENT
  398.         'exit function
  399.     Elseif doc.GetItemValue("ErrorFlag")(0) = "1" And doc.GetItemValue("RDErrorStatus")(0) = "A" And doc.HasItem("RDType") = False Then
  400.         Str_ReportDescription=STR_FIELDNOTSETSOURCE
  401.         'exit function
  402.     Elseif doc.GetItemValue("ErrorFlag")(0) = "1" And doc.GetItemValue("RDErrorStatus")(0) = "N" And doc.HasItem("RDType") = False Then
  403.         Str_ReportDescription=STR_FIELDNOTSETTARGET
  404.         'exit function
  405.     End If
  406.     PickReportDescription = str_reportdescription
  407. End Function
  408. Lotus Product
  409. OBJECT
  410. ,\    }P #
  411. ,,    }P #
  412. ,,    }P #
  413. Report'++LotusScript Development Environment:2:5:(Options):0:66
  414. '++LotusScript Development Environment:2:5:(Forward):0:1
  415. Declare Function ReportDescription (StrField As String) As String
  416. Declare Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant)
  417. '++LotusScript Development Environment:2:5:(Declarations):0:2
  418. '++LotusScript Development Environment:2:2:BindEvents:1:129
  419. Private Sub BindEvents(Byval Objectname_ As String)
  420.     Static Source As NOTESUIDOCUMENT
  421.     Set Source = Bind(Objectname_)
  422.     On Event Queryopen From Source Call Queryopen
  423. End Sub
  424. '++LotusScript Development Environment:2:1:ReportDescription:1:8
  425. Function ReportDescription (StrField As String) As String
  426.     If doc.GetItemValue("ErrorFlag")(0) = "2"  Or doc.GetItemValue("ReportErrors")(0) <> "" Then
  427.         Str_ReportDescription=STR_EMPTYSTRING
  428.         Exit Function
  429.     Elseif StrField = "Name Network" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  430.         Str_ReportDescritption=STR_DIFFNAMEDNETWORKS
  431.         Exit Function
  432.     Elseif StrField = "Name Network" And doc.HasItem("ErrorFlag") = False Then
  433.         Str_ReportDescritption=STR_SAMENAMEDNETWORKS
  434.         Exit Function
  435.     Elseif StrField = "Port/Protocol" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  436.         Str_ReportDescritption=STR_DIFFPORTS
  437.         Exit Function
  438.     Elseif StrField = "No Matching Replica" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  439.         Str_ReportDescritption=STR_NOREPLICAS
  440.         Exit Function
  441.     Elseif StrField = "No Matching Replica" And doc.HasItem("ErrorFlag") = False Then
  442.         Str_ReportDescritption=STR_ALLREPLICAS
  443.         Exit Function
  444.     Elseif StrField = "Name Conflict" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  445.         Str_ReportDescritption=STR_FILENAMECONFLICT
  446.         Exit Function
  447.     Elseif StrField = "Name Conflict" And doc.HasItem("ErrorFlag") = False Then
  448.         Str_ReportDescritption=STR_NOFILENAMECONFLICT
  449.         Exit Function
  450.     Elseif (StrField = "Mail Users" Or StrField = "Mail-In Databaes" Or StrField="Certifiers" Or StrField="Rooms" Or StrField="Resources") And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  451.         Str_ReportDescritption=STR_SOURCEISMAILSERVER
  452.         Exit Function
  453.     Elseif (StrField = "Mail Users" Or StrField = "Mail-In Databaes" Or StrField="Certifiers" Or StrField="Rooms" Or StrField="Resources") And doc.HasItem("ErrorFlag") = False Then
  454.         Str_ReportDescritption=STR_NOSOURCEISMAILSERVER
  455.         Exit Function
  456.     Elseif StrField = "Source" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  457.         Str_ReportDescritption=STR_DIFFCONNECTIONS
  458.         Exit Function
  459.     Elseif StrField = "Source" And doc.HasItem("ErrorFlag") = False Then
  460.         Str_ReportDescritption=STR_SAMECONNECTIONS
  461.         Exit Function
  462.     Elseif StrField = "Destination" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  463.         Str_ReportDescritption=STR_SOURCEASDESTINATION
  464.         Exit Function
  465.     Elseif StrField = "Destination" And doc.HasItem("ErrorFlag") = False Then
  466.         Str_ReportDescritption=STR_NOSOURCEASDESTINATION
  467.         Exit Function
  468.     Elseif StrField = "Program" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  469.         Str_ReportDescritption=STR_SOURCEINPROGRAM
  470.         Exit Function
  471.     Elseif StrField = "Program" And doc.HasItem("ErrorFlag") = False Then
  472.         Str_ReportDescritption=STR_NOSOURCEINPROGRAM
  473.         Exit Function
  474.     Elseif StrField = "Foreign Domains" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  475.         Str_ReportDescritption=STR_SOURCEASFOREIGNDOMAIN
  476.         Exit Function
  477.     Elseif StrField = "Foreign Domains" And doc.HasItem("ErrorFlag") = False Then
  478.         Str_ReportDescritption=STR_NOSOURCEASFOREIGNDOMAIN
  479.         Exit Function
  480.     Elseif StrField = "Cross Certificates" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  481.         Str_ReportDescritption=STR_SOURCEXCERTISSUEDBY
  482.         Exit Function
  483.     Elseif StrField = "Cross Certificates" And doc.HasItem("ErrorFlag") = False Then
  484.         Str_ReportDescritption=STR_NOSOURCEXCERT
  485.         Exit Function
  486.     Elseif StrField = "ClusterName" And doc.GetItemValue("RDType")(0) = "C" And doc.HasItem("ErrorFlag") = False Then
  487.         Str_ReportDescription = STR_SAMECLUSTER
  488.         Exit Function
  489.     Elseif StrField = "ClusterName" And doc.GetItemValue("RDType")(0) = "C" And doc.GetItemValue("ErrorFlag") = "1" Then
  490.         Str_ReportDescription = STR_DIFFCLUSTER
  491.         Exit Function    
  492.     Elseif StrField = "ClusterName" And doc.HasItem("RDType") = False And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  493.         Str_ReportDescription = STR_TARGETNOTINCLUSTER
  494.         Exit Function
  495.     Elseif StrField = "ClusterName" And doc.HasItem("RDType") = False And doc.HasItem("ErrorFlag") = False Then
  496.         Str_ReportDescription = STR_SOURCENOTINCLUSTER
  497.         Exit Function        
  498.     Elseif doc.GetItemValue("RDType")(0) = "B" And doc.HasItem("ErrorFlag") = False Then
  499.         Str_ReportDescription=STR_FIELDSAME
  500.         Exit Function
  501.     Elseif doc.GetItemValue("RDType")(0) = "B" And doc.GetItemValue("ErrorFlag")(0) = "1" Then
  502.         Str_ReportDescription=STR_FIELDNOTSAME
  503.         Exit Function
  504.     Elseif doc.GetItemValue("RDType")(0)="S" And doc.HasItem("ErrorFlag") = False Then
  505.         Str_ReportDescription=STR_FIELDSAMEORSUBSET
  506.         Exit Function
  507.     Elseif doc.GetItemValue("ErrorFlag")(0)="1" And doc.HasItem("RDType") = False And doc.HasItem("RDErrorStatus") = False Then
  508.         Str_ReportDescritption=STR_FIELDISDIFFERENT
  509.         Exit Function
  510.     Elseif doc.GetItemValue("ErrorFlag")(0) = "1" And doc.GetItemValue("RDErrorStatus")(0) = "A" And doc.HasItem("RDType") = False Then
  511.         Str_ReportDescritption=STR_FIELDNOTSETSOURCE
  512.         Exit Function
  513.     Elseif doc.GetItemValue("ErrorFlag")(0) = "1" And doc.GetItemValue("RDErrorStatus")(0) = "N" And doc.HasItem("RDType") = False Then
  514.         Str_ReportDescritption=STR_FIELDNOTSETTARGET
  515.         Exit Function
  516.     Elseif doc.GetItemValue("RDType")(0) = "NS" Then
  517.         Str_ReportDescription=STR_FIELDGREATERONSOURCE
  518.         Exit Function
  519.     Elseif doc.GetItemValue("RDType")(0) = "NT" Then
  520.         Str_ReportDescription=STR_FIELDGREATERONTARGET
  521.         Exit Function
  522.     Elseif doc.GetItemValue("RDType")(0) = "N" Then
  523.         Str_ReportDescription=STR_FIELDSAME
  524.         Exit Function        
  525.     End If
  526. End Function
  527. '++LotusScript Development Environment:2:2:Queryopen:1:12
  528. Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant)
  529.     Set doc = source.document
  530.     Dim strResult As String, strFormula As String
  531.     StrFieldv = Evaluate(|@Right(ReportTitle;"- ")|,doc)
  532.     StrField = StrFieldv(0)
  533.     If doc.GetItemValue("RD1")(0) = "1" And StrField = "Name Network" Then
  534.         strResult = STR_NAMEDNETWORKTABLE
  535.         strFormula = |@ReplaceSubstring("| & strResult & |";"%F":"%S":"%T":"%C":"%N";@Right(ReportTitle;"- "):SourceServer:TargetServer:ReportCategory:@NewLine)|
  536.         Call doc.ReplaceItemValue("ReportDescription1",Evaluate(strFormula,doc))
  537.     Elseif doc.GetItemValue("RD1")(0) = "1" And StrField = "Port/Protocol" Then
  538.         strResult = STR_PORTTABLE
  539.         strFormula = |@ReplaceSubstring("| & strResult & |";"%F":"%S":"%T":"%C":"%N";@Right(ReportTitle;"- "):SourceServer:TargetServer:ReportCategory:@NewLine)|
  540.         Call doc.ReplaceItemValue("ReportDescription1", Evaluate(strFormula,doc))
  541.     End If
  542.     strResult = PickReportDescription(StrField)
  543.     Call doc.ReplaceItemValue("ReportDescription", StrResult)
  544.     strFormula = |@ReplaceSubstring("| & strResult & |";"%F":"%S":"%T":"%C":"%N";@Right(ReportTitle;"- "):SourceServer:TargetServer:ReportCategory:@NewLine)|
  545.     Call doc.ReplaceItemValue("ReportDescription", Evaluate(strFormula,doc))
  546. End Sub
  547. Lotus Product
  548. ReportTitle
  549.     0S0E
  550. Report
  551. RDType
  552. DECOMMISSION SERVER REPORT
  553. /    Report Number:
  554. ReportNumber
  555. ReportNumber
  556.     Report category:
  557. ReportCategory
  558.     Report title:
  559. ReportTitle
  560.     Report date:
  561. ReportDate
  562.     Server to be decommisioned:
  563. SourceServer
  564.     Server to accept responsibility:
  565. TargetServer
  566. ReportErrors
  567.     0S0E
  568.     Errors:
  569. ReportErrors
  570.     Report details:
  571. ReportDescription
  572. ReportDetails
  573. ReportDescription1
  574. ReportDetails1
  575. Details
  576. O=Lotus Notes
  577. O=Lotus Notes
  578. PURSAFO
  579. |.:#U
  580. O=Lotus Notes
  581. CN=Lotus Notes Template Development/O=Lotus Notes
  582. PURSAFO
  583. $Background
  584. $Info
  585. $WindowTitle
  586. $Script
  587. $$Script_O
  588. $$ScriptName
  589. $$FormScript
  590. $$$FormScript_O
  591. ReportNumber
  592. ReportDate
  593. $Body
  594. O=Lotus Notes
  595. O=Lotus Notes
  596. PURSAFO
  597. |.:#U
  598. O=Lotus Notes
  599. CN=Lotus Notes Template Development/O=Lotus Notes
  600. PURSAFO
  601. h|bi]
  602. $TITLE
  603. $Index
  604. $Formula
  605. $FormulaClass
  606. $ViewFormat
  607. $Comment
  608. (GIF89a
  609. KK]UUhaav77Crr
  610.     ~ts+xj
  611. ^=<G<E
  612. t    q*C
  613. P4mCR
  614. /hTLg:k
  615. N^(AG?
  616. 8fG0$
  617. !^IaC
  618. $GfUy"h
  619. Ts>[#up%
  620. c=Qi~
  621. C*Cv+7x,
  622. Vd @F
  623. /CO0DS.v
  624. SDRzxR
  625. -/wUV
  626. 7sS6*R
  627.     ]#(wU
  628.     YdQW
  629. &B$ld
  630. x\,Dc
  631. ;LR+n
  632. Y|r[nr
  633. u=hm=
  634. 2b8~!
  635. &psbKJ
  636. L&u0E
  637. Pq;*(L%C
  638. D;m5    h
  639. 5Xa    K
  640. vD<qT
  641. k"Qb_
  642. g)rZZ
  643. )l L#
  644. 8xp=I\
  645. Wwq/p
  646. \0ckJ
  647. @g>^1
  648. ](BYo
  649. 9si:Uh    
  650. oj5=L<x
  651. I-F80
  652. aT)Z<
  653. %=R`    'rjR
  654. 2N-r[
  655. cf(\`
  656. x9xiO
  657. 1Yd}d
  658. bO^eg
  659. 1coy=;
  660. qvG\u_wt
  661. @@PQg/
  662. "Ij4}z
  663. (PC@*
  664. XW5eD
  665. gS8-UTF)    
  666. d1@yZ
  667. zV(8$
  668. p%C]b    
  669. 5I]IDp
  670. Q.2T3
  671. Guepy
  672. J)M/v
  673.     NhY)$
  674. -4G 0
  675. 6(P5u
  676. AR3wo
  677. '8EE(a
  678. HhUf    
  679. fpVco
  680. eXr*'(\
  681. z  Pk
  682. !ataX
  683. 2E?uY
  684. qUqB}:
  685. Cdyl-
  686. i/:7jz65
  687. *#3519)?CEG3
  688. 2=+IAG/Q[QWUC/OiA_#
  689. WP^<h
  690. (HJ/9
  691. zs`7|2
  692. JWSBS
  693.     !D!gdhC
  694. NS*I"
  695. mK[id#
  696. u13@H
  697. D11Bg
  698. 6VK$&
  699. x6KvR
  700. 6A_&M
  701. *B}Nf
  702. tD$I2
  703. 6=A@*G|
  704. `%][Q
  705. Qx0$$u|@
  706. (BEWK
  707. Va Tv
  708. ozDFlk
  709. MO}mO
  710. lC%Ll
  711. YT@Tt
  712. FKQ,M
  713. 36XKFX*R
  714. vAOU&
  715. aE67sF/
  716. rCgR?
  717. O=Lotus Notes
  718. O=Lotus Notes
  719. PURSAFO
  720. |.:#U
  721. O=Lotus Notes
  722. CN=Lotus Notes Template Development/O=Lotus Notes
  723. PURSAFO
  724. $ImagesWide
  725. $ImagesHigh
  726. $ImagesColorize
  727. $ImageData
  728. $ImageNames
  729. $TITLE
  730. 12/30/97 04:26:26 PM Rob Slapikoff/Iris added OtherDomainServers
  731. 12/30/97 04:26:26 PM Rob Slapikoff/Iris added LocalDomainServers
  732. 12/30/97 04:26:26 PM Rob Slapikoff/Iris updated Rob Slapikoff/Iris
  733. 12/30/97 04:26:26 PM Rob Slapikoff/Iris added Rob Slapikoff/Iris
  734. -Default-
  735. CN=Rob Slapikoff/O=Iris
  736. LocalDomainServers
  737. OtherDomainServers
  738.