
  Doumentation zu: JobServer
  Stand vom      : 18.03.2010


  Inhalt:
  Liste der #Variablen die zur ersetzung von Variablen in Scripten verwendet werden können.

  '-- Job Steuerungen -------------------------------------------------------------------------
  #JobName#                           = JobName
  #JobParameter#                      = JobParameter
  #JobScriptParametersExtended#       = erweiterte JobScript Parameter um z.B.
                                        set JobMgr_Debug=ON
                                        set UGII_LOAD_OPTIONS_NE=load_options_refile_load_ALL_comp.def
                                        set UGII_LOAD_OPTIONS_NE=load_options_refile_load_NO_comp.def
  #TceSiteId#                         = TceSiteId
  #TceUser#                           = TceUser
  #TceUserPassword#                   = TceUserPassword
  #RefilePaket_NE#                    = RefilePaket_NE
  #JobPacket_NE#                      = JobPacket_NE
  #JobObjectsPacket_NE#               = JobObjectsPacket_NE
  #JobObjectsPacketAllDetails_NE#     = JobObjectsPacketAllDetails_NE
  
  #JobRule.ProcStateCol#              = JobDef.JobRule.ProcStateCol
  #ProcStateCol#                      = JobDef.JobRule.ProcStateCol

  '---- Neu / Angepasst: 18.03.2010 --
  #JobRule.SelObjectsBy_Group#         = JobDef.JobRule.SelObjectsBy_Group
  #JobRule.SelObjectsBy_MaxApLevels#   = JobDef.JobRule.SelObjectsBy_MaxApLevels
  #JobRule.SelObjectsBy_MaxComponents# = JobDef.JobRule.SelObjectsBy_MaxComponents

  #JobRule.SelObjectsBy_MinApLevels#   = JobDef.JobRule.SelObjectsBy_MinApLevels
  #JobRule.SelObjectsBy_MinComponents# = JobDef.JobRule.SelObjectsBy_MinComponents

  #JobRule.SelObjectsBy_MultiSiteObjects#
                                       = JobDef.JobRule.SelObjectsBy_MultiSiteObjects
  #JobRule.SelObjectsBy_Name#          = JobDef.JobRule.SelObjectsBy_Name
  #JobRule.SelObjectsBy_ObjectLastModDateAfter#
                                       = JobDef.JobRule.SelObjectsBy_ObjectLastModDateAfter
  #JobRule.SelObjectsBy_ObjectLastModDateBefor#
                                       = JobDef.JobRule.SelObjectsBy_ObjectLastModDateBefor

  #JobRule.SelObjectsBy_ObjectType#    = JobDef.JobRule.SelObjectsBy_ObjectType
  #ObjectType#                         = JobDef.JobRule.SelObjectsBy_ObjectType

  #JobRule.SelObjectsBy_Owner#         = JobDef.JobRule.SelObjectsBy_Owner
  #JobRule.SelObjectsBy_PFM#           = JobDef.JobRule.SelObjectsBy_PFM
  #JobRule.SelObjectsBy_ProcStateJobControlButton_N_or_M#
                                       = JobDef.JobRule.SelObjectsBy_ProcStateJobControlButton_N_or_M

  #JobRule.SelObjectsBy_ProcStateVal#  = JobDef.JobRule.SelObjectsBy_ProcStateVal
  #ProcStateVal#                       = JobDef.JobRule.SelObjectsBy_ProcStateVal

  #JobRule.SelObjectsBy_SQLScript_PPNE#= JobDef.JobRule.SelObjectsBy_SQLScript_PPNE
  #JobRule.SelObjectsBy_SQLScript_YN#  = JobDef.JobRule.SelObjectsBy_SQLScript_YN
  #JobRule.SelObjectsBy_UgMasterType#  = JobDef.JobRule.SelObjectsBy_UgMasterType
  #JobRule.SelObjectsBy_Volume#        = JobDef.JobRule.SelObjectsBy_Volume
  #JobRule.TimeSchedule#               = JobDef.JobRule.TimeSchedule
  #JobRule.validForComputer#           = JobDef.JobRule.validForComputer

  #JobRule.SelObjectsBy_ObjectClass#   = JobDef.JobRule.SelObjectsBy_ObjectClass_Enum_AsString
  #ObjectClass#                        = JobDef.JobRule.SelObjectsBy_ObjectClass_Enum_AsString


  '-- Neu 25.06.2009 - - - -
  #JobScriptTemplate_DPNE#      : Quelle der Scriptvorlage                  [Example: S:\JobManagerV2\90-DATA\JF_SettingsGlobal\10-JobScripts\NXCheckBox\ClientScripts\NXCheckBox.Cmd]
  #JobScriptTemplate_DP#        : Verz. in dem die Scriptvorlage liegt      [Example: S:\JobManagerV2\90-DATA\JF_SettingsGlobal\10-JobScripts\NXCheckBox\ClientScripts]
  #JobScriptTemplateMinus1_DP#  : 1 Verz. tiefer als #JobScriptTemplate_DP# [Example: S:\JobManagerV2\90-DATA\JF_SettingsGlobal\10-JobScripts\NXCheckBox]


  '-- Job Angaben der Site des aktubezogene Site Info ------------------------------------------
  #TceSite.Id#                                            .JobDef.Site_cls_Using.Id
  #TceSite.DBNetworkAlias#                                .JobDef.Site_cls_Using.DBNetworkAlias

  #TceSite.Id#                                            .JobDef.Site_cls_Using.Id
  #TceSite.DBNetworkAlias#                                .JobDef.Site_cls_Using.DBNetworkAlias
  #TceSite.DBProvider#                                    .JobDef.Site_cls_Using.DBProvider
  #TceSite.OracleBin#                                     .JobDef.Site_cls_Using.OracleBin
  #TceSite.OracleHome#                                    .JobDef.Site_cls_Using.OracleHome
  #TceSite.pName#                                         .JobDef.Site_cls_Using.pName
  #TceSite.Tns_Admin#                                     .JobDef.Site_cls_Using.Tns_Admin
  #TceSite.UserName#                                      .JobDef.Site_cls_Using.UserName
  #TceSite.SiteAktive_bol#                                .JobDef.Site_cls_Using.SiteAktive_bol.ToString
  #TceSite.pSite_ID#                                      .JobDef.Site_cls_Using.pSite_ID
  #TceSite.pName#                                         .JobDef.Site_cls_Using.pName
  #TceSite.ImportItemLastModifyDateBegin#                 .JobDef.Site_cls_Using.ImportItemLastModifyDateBegin.ToString
  #TceSite.ImportItemLastModifyDateEnd#                   .JobDef.Site_cls_Using.ImportItemLastModifyDateEnd.ToString

  #TceSite.NativeRoot_DP#                                 .JobDef.Site_cls_Using.NativeRoot_DP
  #TceSite.NativeMaskAp#                                  .JobDef.Site_cls_Using.NativeMaskAp
  #TceSite.NativeFileSysUsing_bol#                        .JobDef.Site_cls_Using.NativeFileSysUsing_bol.ToString
  #TceSite.NativeFileMaskExclude#                         .JobDef.Site_cls_Using.NativeFileMaskExclude
  #TceSite.NativeFileMaskInclude#                         .JobDef.Site_cls_Using.NativeFileMaskInclude
  #TceSite.SiteInfoWith_SiteId_and_pName#                 .JobDef.Site_cls_Using.SiteInfoWith_SiteId_and_pName


  '-- Angaben zu den JobServer Basisverzeichnissen  --------------------------------------------
  ' siehe Perl TCP Client ..\02-VB.NET\Resources\Perl\JobManager_Client_template.ini
  #TcpPeerAddr#                                           .JobServer_TcpPeerAddr
  #JobServerComputerName#                                 .JobServer_ComputerName
  #TcpPeerPort#                                           .JobServer_TcpPeerPort
  #JobClientWaitTimeForNextServerConnection#              .JobServer_JobClientWaitTimeForNextServerConnection
  #FileTrans_1MBTimeOut#                                  .JobServer_TcpServerFileTrans_1MBTimeOut
  #TcpServer_BaseComTimeOut#                              .JobServer_TcpServer_BaseComTimeOut


  '-- Angaben zu den JobServer Basisverzeichnissen  --------------------------------------------
  ' siehe auch Verteilscripte ..\01-BinServer\Client_Distribute.cmd.txt

  #MyApplName_TP#                                          MyApplBase_TP
  #DataRoot_CustomWorkInst_DP#                            .Dir_DataRoot_DP_CustomWorkInst

  #00-ApplRoot_DP#                                        .Dir_RootUsed_DP
  #01-BinServer_DP#                                       .Dir_01_BinServer_DP
  #02-BinClient_DP#                                       .Dir_02_BinClient_DP
  #03-BinPublic_DP#                                       .Dir_03_BinPublic_DP
  #03-BinPublic_Custom_DP#                                .Dir_03_BinPublic_Custom_DP

  #10-JobLogArchiv#                                       .Dir_DataRoot_DP_10JobLogArchiv
  #11-ServerSysLog#                                       .Dir_DataRoot_DP_11ServerSysLog
  #12-Data#                                               .Dir_DataRoot_DP_12Data.ToString

  #11-Doku_DP#                                            .Dir_11_DocumentationCustom_DP
  #90-Data_DP#                                            .Dir_DataRoot_DP_DATA

  #DataRoot_CustomWorkInst_DP#                            .Dir_DataRoot_DP_CustomWorkInst

  #20-JobComputerScripts_DP#                              .Dir_DataRoot_DP_Customer_SettingsGlobal_20JobComputerScripts
  #20-JobComputerScripts_Template_DP#                     .Dir_DataRoot_DP_Customer_SettingsGlobal_20JobComputerScripts_Template
  #30-TSQLComputerScripts_DP#                             .Dir_DataRoot_DP_Customer_SettingsGlobal_30TSQLScripts

  #10-JobScripts_DP#                                      .Dir_DataRoot_DP_Customer_SettingsGlobal_10JobScripts
  #10-JobScripts_Template_DP#                             .Dir_DataRoot_DP_Customer_SettingsGlobal_10JobScripts_Templates



  '-- Angaben zum JobComputer Client ----------------------------------------------
  #JobComputers_tbl.ComputerName#                         .ComputerName
  #JobComputers_tbl.ComputerFQDN#                         .ComputerFQDN (new 09.07.2010)
  #JobComputers_tbl.ComputerAktiv#                        .ComputerAktiv
  #JobComputers_tbl.TceUser#                              .TceUser
  #JobComputers_tbl.TcePassword#                          .TcePassword

  #JobComputers_tbl.TimeSchedule#                         .TimeSchedule
  #JobComputers_tbl.LastConnectionDateTimeLocal#          .LastConnectionDateTimeLocal
  #JobComputers_tbl.LastConnectionDateTimeGMT#            .LastConnectionDateTimeGMT

  #JobComputers_tbl.Memory#                               .Memory
  #JobComputers_tbl.CpuMhz#                               .CpuMhz

  #JobComputers_tbl.Os#                                   .OS
  #JobComputers_tbl.OsUser#                               .OsUser
  #JobComputers_tbl.OsPassword#                           .OsPassword
  #JobComputers_tbl.OSDestrib_DP#                         .OSDestrib_DP

  #JobComputers_tbl.ComputerDescription#                  .ComputerDescription
  #JobComputers_tbl.ComputerAssignment#                   .ComputerAssignment

  #JobComputers_tbl.NxVersion#                            .NxVersion
  #JobComputers_tbl.TceVersion#                           .TceVersion

  #JobComputers_tbl.Place#                                .Place
  #JobComputers_tbl.Notice#                               .Notice
  #JobComputers_tbl.IP#                                   .IP

  #JobComputers_tbl.Custom01#                             .Custom01  (new 09.07.2010)
  #JobComputers_tbl.Custom02#                             .Custom02  (new 09.07.2010)
  #JobComputers_tbl.Custom03#                             .Custom03  (new 09.07.2010)
  #JobComputers_tbl.Custom04#                             .Custom04  (new 09.07.2010)


  '-- Angaben zur Job Server Software  --------------------------------------------
  #MyApplVer#                                             MyApplVer
  #MyApplBase_TP#                                         MyApplBase_TP
  #MyApplTitle#                                           MyApplTitle
  #MyApplTitleShort#                                      MyApplTitleShort


  '-- Angaben zu dem SQL Server   --------------------------------------------
  ' SQL Server -> siehe auch TSQL Scripts
  #DB_N#                                                  .MSSQL_DATABASE_Name
  #DB_DP#                                                 .MSSQL_DATABASE_DataMdf_DP
  #DB_mdf_NE#                                             .MSSQL_DATABASE_DataMdf_NE
  #DB_mdf_DPNE#                                           .MSSQL_DATABASE_DataMdf_DPNE
  #DB_ldf_NE#                                             .MSSQL_DATABASE_DataLdf_NE
  #DB_ldf_DPNE#                                           .MSSQL_DATABASE_DataLdf_DPNE

  '-- JobPlaner Variablen ---------------------------------------------------
   rem JobPlanerValues Info alle Variablen beginen mit JobPlaner_
  #JobPlaner_Owner#                                       UserName des Users der den JobPlaner Task erzeugt hat
  #JobPlaner_Param#                                       Parameter die beim erzeugen des JobPlaner Task ausgewählt wurden

  #JobPlaner_ProcessStepControl#                          Aktueller Process Step .. UGMaster .. UGNonMaster .. Done
  #JobPlaner_TimeSchedule#                                Schedule Time [DA=28.04.2009 TP=15:40]
  #JobPlaner_Name#                                        Name des Task
  #JobPlaner_NameDescription#                             Name + Description
  #JobPlaner_Description#                                 Description des Task
  #JobPlaner_Note#                                        Note die dem task Datensatz hinterlegt wurde
  #JobPlaner_Order#                                       Reihenfolge des Task
  #JobPlaner_ProcessLastMsg#                              Aktuelle letzte Meldung
  #JobPlaner_ProcessLastRunStart#                         Task Last Run Start
  #JobPlaner_ProcessLastRunEnd#                           Task Last Run Ende
  #JobPlaner_ProcessObjectsProcStateCol#                  Task bezieht sich auf Process Group Nummer
  #JobPlaner_ProcessState#                                Task State N .. P .. W .. D
  #JobPlaner_ProcessStepControl#                          StepControl UGMaster .. UGNonMaster .. Done
  #JobPlaner_ProcessType#                                 JPJob=JobPlaner.Job  TaskJob=Task.Job
  #JobPlaner_ReDo#                                        ist Redo Aktive ?

  '-- JobPlaner Umgebungsvariable ------------------------------------------- 
  Info alle Umgebungsvariablen die beim erzeugen eines JobPlanerTask's gesetzt sind können über die
  #JobPlanerEnv_UMGEBUNGSVARNAME# in das Script uebernommen werden. Hinweis: die Umgebungsvariable muss Gross geschrieben werden!!
  Beispiel:
  #JobPlanerEnv_PATH#                                    Wert der Path Variaben die gesetzt war in der Umgebung des JobPlaners
  #JobPlanerEnv_COMPUTERNAME#                            ComputerName des Rechners auf dem der JobPlanerTask erzeugt wurde
