Arbeiten am Import-FileContentToDB Skript noch laufen
This commit is contained in:
parent
890d87cf6d
commit
eb1baf4357
@ -1,3 +1,3 @@
|
|||||||
Hallo!
|
Hallo Fremder!
|
||||||
|
|
||||||
Willkommen in der Ecke der Skriptentwicklung!
|
Willkommen in der Ecke der Skriptentwicklung!
|
||||||
1
Skriptentwickung
Submodule
1
Skriptentwickung
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 890d87cf6d931a7e49134081138b864f2e91f426
|
||||||
Binary file not shown.
@ -0,0 +1,45 @@
|
|||||||
|
@ECHO OFF
|
||||||
|
TITLE DIGITAL DATA - Run all files in directory with current permissions
|
||||||
|
ECHO -
|
||||||
|
ECHO Batch Script
|
||||||
|
ECHO Run all files in directory with current permissions
|
||||||
|
ECHO -
|
||||||
|
ECHO Digital Data
|
||||||
|
ECHO Ludwig-Rinn-Strasse 16
|
||||||
|
ECHO 35452 Heuchelheim
|
||||||
|
ECHO Tel.: 0641 / 202360
|
||||||
|
ECHO E-Mail: info@didalog.de
|
||||||
|
ECHO -
|
||||||
|
ECHO Version 1.0.0.0
|
||||||
|
ECHO Date: 13.08.2015
|
||||||
|
ECHO -
|
||||||
|
ECHO Program Startup %date% at %time:~0,8% oclock, on %computername%.
|
||||||
|
|
||||||
|
REM --------------------------------------------------------------
|
||||||
|
REM ------------------------set variables-------------------------
|
||||||
|
REM --------------------------------------------------------------
|
||||||
|
|
||||||
|
setlocal enableextensions
|
||||||
|
|
||||||
|
SET DIRECTORY="%cd%"
|
||||||
|
SET FILEEXTENSION=*.ps1
|
||||||
|
SET COUNT=0
|
||||||
|
|
||||||
|
REM --------------------------------------------------------------
|
||||||
|
REM ---------------------Program 1 / Script 1---------------------
|
||||||
|
REM --------------------------------------------------------------
|
||||||
|
|
||||||
|
FOR /F "tokens=*" %%f in ('dir /S /b %FILEEXTENSION%') do (ECHO %%f && set /a count+=1)
|
||||||
|
ECHO -
|
||||||
|
ECHO Found %count% File(s) with File Extension %FILEEXTENSION% in Directory:
|
||||||
|
ECHO %DIRECTORY%.
|
||||||
|
|
||||||
|
ECHO -
|
||||||
|
ECHO Running this/them now, with your permissions!
|
||||||
|
FOR /F "tokens=*" %%f in ('dir /S /b %FILEEXTENSION%') do (PowerShell.exe -Command "& {Start-Process PowerShell.exe -WindowStyle hidden '-ExecutionPolicy Bypass -File "%%f"'}")
|
||||||
|
|
||||||
|
ECHO -
|
||||||
|
ECHO This Window will close in:
|
||||||
|
#timeout /T 10
|
||||||
|
endlocal
|
||||||
|
exit
|
||||||
@ -0,0 +1,144 @@
|
|||||||
|
####################################################################################################
|
||||||
|
# Digital Data Configuration File (Template Date: 30.07.2016) #
|
||||||
|
# UTF-8 Coding required! #
|
||||||
|
# incl. FailSafe functions that are active when information is missing. #
|
||||||
|
####################################################################################################
|
||||||
|
|
||||||
|
#==================================================================================================#
|
||||||
|
########################################## General Setup ###########################################
|
||||||
|
#==================================================================================================#
|
||||||
|
|
||||||
|
####################################################################################################
|
||||||
|
# Path in which the log files will be stored. #
|
||||||
|
# Example: E:\LogFiles\<ScriptName> #
|
||||||
|
# FailSafe Setting is: <ScriptPath>\Logs #
|
||||||
|
####################################################################################################
|
||||||
|
LogPath =
|
||||||
|
|
||||||
|
####################################################################################################
|
||||||
|
# Numerical value how long (in days) log files will be kept. ValidateRange is 0 - 1000 #
|
||||||
|
# Setting the Value to 0 disables this Function. #
|
||||||
|
# FailSafe Setting is: 60 #
|
||||||
|
####################################################################################################
|
||||||
|
LogFileKeepTime = 30
|
||||||
|
|
||||||
|
####################################################################################################
|
||||||
|
# Numerical value how long (in Minutes) a File has to be there, before processing it. #
|
||||||
|
# FailSafe Setting is: 5 #
|
||||||
|
####################################################################################################
|
||||||
|
FileDelayAge = 1
|
||||||
|
|
||||||
|
#==================================================================================================#
|
||||||
|
######################################## Database settings ########################################
|
||||||
|
#==================================================================================================#
|
||||||
|
|
||||||
|
####################################################################################################
|
||||||
|
# Set the type of database Server #
|
||||||
|
# Example: MSSQL #
|
||||||
|
####################################################################################################
|
||||||
|
DBType = MSSQL
|
||||||
|
|
||||||
|
####################################################################################################
|
||||||
|
# Set the database connection string. #
|
||||||
|
# For help, visit https://www.connectionstrings.com/ #
|
||||||
|
# IMPORTANT: mask ";" with a "\" = "\;" #
|
||||||
|
# Example: "Data Source=SERVERNAME\INSTANCE\;Initial Catalog=DD_ECM\;Trusted_Connection=True\; #
|
||||||
|
# TrustServerCertificate=true\;" #
|
||||||
|
# Example: "Data Source=SERVERNAME\INSTANCE\;Initial Catalog=DD_ECM\;User Id=SQLUSERNAME\; #
|
||||||
|
# Password=SQLPASSWORD\;TrustServerCertificate=true\;" #
|
||||||
|
####################################################################################################
|
||||||
|
#DBConnString = "Data Source=S-ZLSDMS-DB1\;Initial Catalog=DD_ECM\;Trusted_Connection=True\;TrustServerCertificate=true\;"
|
||||||
|
DBConnString = "Data Source=SDD-VMP04-SQL17\DD_DEVELOP01\;Initial Catalog=DD_ECM\;Trusted_Connection=True\;TrustServerCertificate=true\;"
|
||||||
|
|
||||||
|
#==================================================================================================#
|
||||||
|
########################################## Profile Setup ###########################################
|
||||||
|
#==================================================================================================#
|
||||||
|
|
||||||
|
####################################################################################################
|
||||||
|
# In the following section(s), it is possible to use multiple variables in File and Folder Paths, #
|
||||||
|
# in SQL Statements as well and other data related specifications. #
|
||||||
|
# #
|
||||||
|
# <VariableName> = <ReplaceWithThisValue> #
|
||||||
|
# %USERNAME% = The current User Name running this Script #
|
||||||
|
# %USERDOMAIN% = The current Domain Name, User is logged on #
|
||||||
|
# %COMPUTERNAME% = The Computername on which this Script is running #
|
||||||
|
# %LOGONSERVER% = The currently connected Domain Controller #
|
||||||
|
# %SCAN%& = Scan Tag for Batch scanning, will be replaced with - nothing #
|
||||||
|
# %DATE% = Get Date in this Format: dd.MM.yyyy #
|
||||||
|
# %TIMESTAMP1% = Get Date in this Format: ddMMyyyy #
|
||||||
|
# %TIMESTAMP2% = Get Date and Time in this Format: ddMMyyyy_HHmmss #
|
||||||
|
# %TIMESTAMP3% = Get Date and Time in this Format: ddMMyyyy_HHmmssffff #
|
||||||
|
# %TIMESTAMP4% = Get Date and Time in this Format: yyyyMMdd HHmmssfff #
|
||||||
|
# %TIMESTAMP5% = Get Date and Time in this Format: yyyyMMdd_HHmmss #
|
||||||
|
# %TIMESTAMP6% = Get Date in this Format: dd.MM.yyyy #
|
||||||
|
# %TIMESTAMP7% = Get Date and Time in this Format: dd.MM.yyyy_HH:mm:ss #
|
||||||
|
# %TIMESTAMP8% = Get Date and Time in this Format: dd.MM.yyyy_HH:mm:ss.ffff #
|
||||||
|
# %TIMESTAMP9% = Get Date and Time in this Format: yyyy/MM/dd HH:mm:ss.fff #
|
||||||
|
# %TIMESTAMP10% = Get Date and Time in this Format: yyyy/MM/dd HH:mm:ss #
|
||||||
|
#--------------------------------------------------------------------------------------------------#
|
||||||
|
# Additional Variables specific for this Script are: #
|
||||||
|
# %SourceFile% = Name of the processed File, including its Extension #
|
||||||
|
# %SourceFilePath% = Directory of the processed File #
|
||||||
|
# %SourceFileFullName% = Directory and Name of the processed File, including its Extension #
|
||||||
|
# #
|
||||||
|
# This dump table is matching with Function: "Update-ReplacePlaceholder-withLogging" #
|
||||||
|
# Version Number: 1.0.0.0 / Version Date: 25.10.2018 #
|
||||||
|
####################################################################################################
|
||||||
|
|
||||||
|
####################################################################################################
|
||||||
|
# Define Profiles in this config file for the executing Script. #
|
||||||
|
# Syntax: #
|
||||||
|
# Profile = <ImportMethode> ; <ImportFormat> ; <SourcePath> ; <FirstLine> ; <LastLine> ; #
|
||||||
|
# <ValueSeperator> ; <ArchivPath> ; <ErrorPath> #
|
||||||
|
# Example: #
|
||||||
|
# Profile = BulkImport ; e:\SourceFile.csv #
|
||||||
|
# Profile = CheckSQLQuery ; SQL Statement (SELECT) #
|
||||||
|
# Profile = InitialSQLQuery ; SQL Statement (SELECT, INSERT, UPDATE) #
|
||||||
|
# Profile = PreparingSQLQuery ; SQL Statement (SELECT, INSERT, UPDATE) #
|
||||||
|
# Profile = MainLoopSQLQuery ; SQL Statement (INSERT, UPDATE) #
|
||||||
|
# Profile = FinalSQLQuery ; SQL Statement (SELECT, INSERT, UPDATE) #
|
||||||
|
#--------------------------------------------------------------------------------------------------#
|
||||||
|
# First Parameter: <ImportMethode> #
|
||||||
|
# Set the way, Script is reading the SourceFile. #
|
||||||
|
# Currently only the BulkImport is available. #
|
||||||
|
# Example: BulkImport #
|
||||||
|
#--------------------------------------------------------------------------------------------------#
|
||||||
|
# Second Parameter: <SourceFile> #
|
||||||
|
# Set the full path and name to the file which includes the list you want to Import. #
|
||||||
|
# Make sure, file is .csv and value separation is done by ";". #
|
||||||
|
# Example: E:\UserList.csv #
|
||||||
|
#--------------------------------------------------------------------------------------------------#
|
||||||
|
# Optional Parameter: %ImportPathAD=<OU=OUName>,<DC=DomainName>,<DC=DomainSuffix> #
|
||||||
|
# Determ the TargetPath in your Active Directory (part of the distinguishedName). #
|
||||||
|
# If you dont use this Parameter, TargetPath will be the "Users" Folder by default. #
|
||||||
|
# Example: OU=Testuser,DC=domainname,DC=local #
|
||||||
|
#--------------------------------------------------------------------------------------------------#
|
||||||
|
# Optional Parameter: %ReportFile=<Path>\<FileName>.csv #
|
||||||
|
# By setting this Parameter, you get a overview file, which includes every created User, #
|
||||||
|
# with all available data (UserName, PreName, Surname, Password ...) #
|
||||||
|
# Example: %ReportFile=E:\ReportFile.csv #
|
||||||
|
#--------------------------------------------------------------------------------------------------#
|
||||||
|
# Argument call: #
|
||||||
|
# If you need to run the Script with dynamic Values, you can do so, by calling it with arguments. #
|
||||||
|
# Even the Special and Optional Parameters are available in this case. #
|
||||||
|
# Example: #
|
||||||
|
# This Function is currently not implement! #
|
||||||
|
####################################################################################################
|
||||||
|
|
||||||
|
Profile = CSVImport ; %CellValue% ; D:\ScriptFiles\Import-FileContentToDB\*.csv ; 4 ; 999999999 ; \^\,\^|\^ ; E:\archiv ; E:\error
|
||||||
|
#Profile = ExcelImport ; %CellValue% ; D:\ScriptFiles\Import-FileContentToDB\Stammdaten.xlsx ; 4 ; 999999999 ; \^\,\^|\^ ; E:\archiv ; E:\error
|
||||||
|
CheckSQL = SELECT 'true'
|
||||||
|
InitialSQL =
|
||||||
|
PreparingSQL = DELETE FROM [DD_ECM].[dbo].[TBCUST_XAP_KUNDENSTAMM_TEST]
|
||||||
|
MainLoopSQL = INSERT INTO [DD_ECM_ZLS].[dbo].[TBCUST_XAP_DOC_EXPORT]([XAP_Beleg_ID],[XAP_Kunden_ID],[XAP_Kundenname],[XAP_Objekt_ID],[XAP_Objektbezeichnung],[XAP_Belegdatum],[XAP_Formular_ID],[XAP_Exportpfad],[ADDED_WHO],[ADDED_WHEN]) SELECT '%column1%','%column2%','%column3%','%column4%','%column5%','%column6%','%column7%','%column8%','DD',getdate()
|
||||||
|
FinalSQL =
|
||||||
|
|
||||||
|
#Example:
|
||||||
|
#Profile = CSVImport ; %ColumnName%|%CellValue% ; P:\Skriptentwickung\development\Import-CSV2DB\test-dateien\AltesFormat\*.txt ; 1 ; 2 ; . ;%SourceFilePath%\Archiv\%Timestamp5% ; %SourceFilePath%\Error
|
||||||
|
#Profile = CheckSQLQuery = SELECT 'true'
|
||||||
|
#Profile = InitialSQLQuery = SELECT (SELECT [u003] FROM [CWLDATEN].[dbo].[t693] WHERE [u000] = 1)+1
|
||||||
|
#Profile = PreparingSQLQuery = INSERT INTO [CWLDATEN].[dbo].[TBDD_BATCHIMPORT_HEAD] (BELEGKEY, Konto, Laufnummer, Auftragsnummer) VALUES (%InitialSQLResult%, '700131', NULL, NULL) UPDATE [CWLDATEN].[dbo].[t693] SET u003 = %InitialSQLResult% WHERE [u000] = 1
|
||||||
|
#Profile = MainLoopSQLQuery = INSERT INTO [CWLDATEN].[dbo].[t699] (u000, u001, u002, u003, u004, u005, u006, u007, u008, u009, u010, u011, u012, u013, u014, u015, u016, u029, u030) Select ISNULL(MAX(u000),0) + 1, %InitialSQLResult%, '%sourcefile%', '%column3%', '%column1%', '%column2%', '%column3%', '%column4%', '%column5%', '%column6%', '%column7%', '%column8%', '%column9%', '%column10%', '%column11%', '%column12%', '%column13%', getdate(), '%username%' FROM [CWLDATEN].[dbo].[t699]
|
||||||
|
#Profile = FinalSQLQuery =
|
||||||
|
|
||||||
|
|
||||||
@ -33,38 +33,22 @@ FileDelayAge = 1
|
|||||||
#==================================================================================================#
|
#==================================================================================================#
|
||||||
|
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
# Name or IP-Adress of the Database Server. #
|
# Set the type of database Server #
|
||||||
# Example: 192.168.0.1 #
|
# Example: MSSQL #
|
||||||
# Example: 192.168.0.1\<SQLInstance> #
|
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
DBSQLConnectServer = 172.24.12.41\tests
|
DBType = MSSQL
|
||||||
|
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
# UserName for the SQL Connection. #
|
# Set the database connection string. #
|
||||||
# This Setting is not neccessary if DBSQLConnectIntegratedSecurity is set to "true". #
|
# For help, visit https://www.connectionstrings.com/ #
|
||||||
# Example: sa #
|
# IMPORTANT: mask ";" with a "\" = "\;" #
|
||||||
|
# Example: "Data Source=SERVERNAME\INSTANCE\;Initial Catalog=DD_ECM\;Trusted_Connection=True\; #
|
||||||
|
# TrustServerCertificate=true\;" #
|
||||||
|
# Example: "Data Source=SERVERNAME\INSTANCE\;Initial Catalog=DD_ECM\;User Id=SQLUSERNAME\; #
|
||||||
|
# Password=SQLPASSWORD\;TrustServerCertificate=true\;" #
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
DBSQLConnectUserName = sa
|
#DBConnString = "Data Source=S-ZLSDMS-DB1\;Initial Catalog=DD_ECM\;Trusted_Connection=True\;TrustServerCertificate=true\;"
|
||||||
|
DBConnString = "Data Source=SDD-VMP04-SQL17\DD_DEVELOP01\;Initial Catalog=DD_ECM\;Trusted_Connection=True\;TrustServerCertificate=true\;"
|
||||||
####################################################################################################
|
|
||||||
# Password for the specified UserName you set before. #
|
|
||||||
# This Setting is not neccessary if DBSQLConnectIntegratedSecurity is set to "true". #
|
|
||||||
####################################################################################################
|
|
||||||
DBSQLConnectUserPassword = dd
|
|
||||||
|
|
||||||
####################################################################################################
|
|
||||||
# Set the Database Name which exists on the Database Server. #
|
|
||||||
# Example: windream60 #
|
|
||||||
####################################################################################################
|
|
||||||
DBSQLConnectDatabase = DD_ECM_WISAG
|
|
||||||
|
|
||||||
####################################################################################################
|
|
||||||
# Set this to "True" if the Windows Login credentials should be used of Database Login. #
|
|
||||||
# In this case DBSQLConnectUserName and DBSQLConnectUserPassword setting will be ignored! #
|
|
||||||
# Example: True #
|
|
||||||
# Example: False #
|
|
||||||
####################################################################################################
|
|
||||||
DBSQLConnectIntegratedSecurity = false
|
|
||||||
|
|
||||||
#==================================================================================================#
|
#==================================================================================================#
|
||||||
########################################## Profile Setup ###########################################
|
########################################## Profile Setup ###########################################
|
||||||
@ -108,11 +92,11 @@ DBSQLConnectIntegratedSecurity = false
|
|||||||
# <ValueSeperator> ; <ArchivPath> ; <ErrorPath> #
|
# <ValueSeperator> ; <ArchivPath> ; <ErrorPath> #
|
||||||
# Example: #
|
# Example: #
|
||||||
# Profile = BulkImport ; e:\SourceFile.csv #
|
# Profile = BulkImport ; e:\SourceFile.csv #
|
||||||
# Profile_CheckSQLQuery = SQL Statements (SELECT)
|
# Profile = CheckSQLQuery ; SQL Statement (SELECT) #
|
||||||
# Profile_InitialSQLQuery = SQL Statements (SELECT, INSERT, UPDATE)
|
# Profile = InitialSQLQuery ; SQL Statement (SELECT, INSERT, UPDATE) #
|
||||||
# Profile_PreparingSQLQuery = SQL Statements (SELECT, INSERT, UPDATE)
|
# Profile = PreparingSQLQuery ; SQL Statement (SELECT, INSERT, UPDATE) #
|
||||||
# Profile_MainLoopSQLQuery = SQL Statements (INSERT, UPDATE)
|
# Profile = MainLoopSQLQuery ; SQL Statement (INSERT, UPDATE) #
|
||||||
# Profile_FinalSQLQuery = SQL Statements (SELECT, INSERT, UPDATE)
|
# Profile = FinalSQLQuery ; SQL Statement (SELECT, INSERT, UPDATE) #
|
||||||
#--------------------------------------------------------------------------------------------------#
|
#--------------------------------------------------------------------------------------------------#
|
||||||
# First Parameter: <ImportMethode> #
|
# First Parameter: <ImportMethode> #
|
||||||
# Set the way, Script is reading the SourceFile. #
|
# Set the way, Script is reading the SourceFile. #
|
||||||
@ -140,25 +124,21 @@ DBSQLConnectIntegratedSecurity = false
|
|||||||
# Example: #
|
# Example: #
|
||||||
# This Function is currently not implement! #
|
# This Function is currently not implement! #
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
#%ColumnName%|
|
|
||||||
Profile = BulkImport ; %CellValue% ; P:\Skriptentwickung\development\Import-FileContent2Database\wisag_test-dateien\AVIAFAK_LFB1.DAT ; 1 ; max ; .
|
Profile = CSVImport ; %CellValue% ; D:\ScriptFiles\Import-FileContentToDB\*.csv ; 4 ; 999999999 ; \^\,\^|\^ ; E:\archiv ; E:\error
|
||||||
#;%SourceFilePath%\Archiv\%Timestamp5% ; %SourceFilePath%\Error
|
#Profile = ExcelImport ; %CellValue% ; D:\ScriptFiles\Import-FileContentToDB\Stammdaten.xlsx ; 4 ; 999999999 ; \^\,\^|\^ ; E:\archiv ; E:\error
|
||||||
Profile_CheckSQLQuery = SELECT 'true'
|
CheckSQL = SELECT 'true'
|
||||||
Profile_InitialSQLQuery =
|
InitialSQL =
|
||||||
Profile_PreparingSQLQuery =
|
PreparingSQL = DELETE FROM [DD_ECM].[dbo].[TBCUST_XAP_KUNDENSTAMM_TEST]
|
||||||
Profile_MainLoopSQLQuery = INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select '%column1%', '%column2%', '%column3%', '%column4%', '%column5%', '%column6%'
|
MainLoopSQL = INSERT INTO [DD_ECM_ZLS].[dbo].[TBCUST_XAP_DOC_EXPORT]([XAP_Beleg_ID],[XAP_Kunden_ID],[XAP_Kundenname],[XAP_Objekt_ID],[XAP_Objektbezeichnung],[XAP_Belegdatum],[XAP_Formular_ID],[XAP_Exportpfad],[ADDED_WHO],[ADDED_WHEN]) SELECT '%column1%','%column2%','%column3%','%column4%','%column5%','%column6%','%column7%','%column8%','DD',getdate()
|
||||||
Profile_FinalSQLQuery =
|
FinalSQL =
|
||||||
|
|
||||||
#Example:
|
#Example:
|
||||||
#Profile = BulkImport ; %ColumnName%|%CellValue% ; P:\Skriptentwickung\development\Import-CSV2DB\test-dateien\AltesFormat\*.txt ; 1 ; 2 ; . ;%SourceFilePath%\Archiv\%Timestamp5% ; %SourceFilePath%\Error
|
#Profile = CSVImport ; %ColumnName%|%CellValue% ; P:\Skriptentwickung\development\Import-CSV2DB\test-dateien\AltesFormat\*.txt ; 1 ; 2 ; . ;%SourceFilePath%\Archiv\%Timestamp5% ; %SourceFilePath%\Error
|
||||||
#Profile_CheckSQLQuery = SELECT 'true'
|
#Profile = CheckSQLQuery = SELECT 'true'
|
||||||
#Profile_InitialSQLQuery = SELECT (SELECT [u003] FROM [CWLDATEN].[dbo].[t693] WHERE [u000] = 1)+1
|
#Profile = InitialSQLQuery = SELECT (SELECT [u003] FROM [CWLDATEN].[dbo].[t693] WHERE [u000] = 1)+1
|
||||||
#Profile_PreparingSQLQuery = INSERT INTO [CWLDATEN].[dbo].[TBDD_BATCHIMPORT_HEAD] (BELEGKEY, Konto, Laufnummer, Auftragsnummer) VALUES (%InitialSQLResult%, '700131', NULL, NULL) UPDATE [CWLDATEN].[dbo].[t693] SET u003 = %InitialSQLResult% WHERE [u000] = 1
|
#Profile = PreparingSQLQuery = INSERT INTO [CWLDATEN].[dbo].[TBDD_BATCHIMPORT_HEAD] (BELEGKEY, Konto, Laufnummer, Auftragsnummer) VALUES (%InitialSQLResult%, '700131', NULL, NULL) UPDATE [CWLDATEN].[dbo].[t693] SET u003 = %InitialSQLResult% WHERE [u000] = 1
|
||||||
#Profile_MainLoopSQLQuery = INSERT INTO [CWLDATEN].[dbo].[t699] (u000, u001, u002, u003, u004, u005, u006, u007, u008, u009, u010, u011, u012, u013, u014, u015, u016, u029, u030) Select ISNULL(MAX(u000),0) + 1, %InitialSQLResult%, '%sourcefile%', '%column3%', '%column1%', '%column2%', '%column3%', '%column4%', '%column5%', '%column6%', '%column7%', '%column8%', '%column9%', '%column10%', '%column11%', '%column12%', '%column13%', getdate(), '%username%' FROM [CWLDATEN].[dbo].[t699]
|
#Profile = MainLoopSQLQuery = INSERT INTO [CWLDATEN].[dbo].[t699] (u000, u001, u002, u003, u004, u005, u006, u007, u008, u009, u010, u011, u012, u013, u014, u015, u016, u029, u030) Select ISNULL(MAX(u000),0) + 1, %InitialSQLResult%, '%sourcefile%', '%column3%', '%column1%', '%column2%', '%column3%', '%column4%', '%column5%', '%column6%', '%column7%', '%column8%', '%column9%', '%column10%', '%column11%', '%column12%', '%column13%', getdate(), '%username%' FROM [CWLDATEN].[dbo].[t699]
|
||||||
#Profile_FinalSQLQuery =
|
#Profile = FinalSQLQuery =
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,376 +0,0 @@
|
|||||||
18.04.2019-14:54:19:
|
|
||||||
18.04.2019-14:54:19: ********************************************************************************
|
|
||||||
18.04.2019-14:54:19: Program Startup: Import-FileContent2Database on DD-PC-STD01,
|
|
||||||
18.04.2019-14:54:19: from Account DIGITALDATA\KammM.
|
|
||||||
18.04.2019-14:54:19: ********************************************************************************
|
|
||||||
18.04.2019-14:54:19:
|
|
||||||
18.04.2019-14:54:19: Found 1 Profile(s) to process.
|
|
||||||
18.04.2019-14:54:19:
|
|
||||||
18.04.2019-14:54:19: --------------------------------------------------------------------------------
|
|
||||||
18.04.2019-14:54:19: This is Profile: 1 of 1
|
|
||||||
18.04.2019-14:54:19: --------------------------------------------------------------------------------
|
|
||||||
18.04.2019-14:54:19: Configured ImportMethode is: BulkImport
|
|
||||||
18.04.2019-14:54:19: Configured ImportFormat is: %ColumnName%|%CellValue%
|
|
||||||
18.04.2019-14:54:19: Configured SourcePath is: P:\Skriptentwickung\development\Import-FileContent2Database\wisag_test-dateien\AVIAFAK_LFB1.DAT
|
|
||||||
18.04.2019-14:54:19: Configured SourceFileStartLine is: 0
|
|
||||||
18.04.2019-14:54:19: Configured SourceFileEndLine is: 1
|
|
||||||
18.04.2019-14:54:19:
|
|
||||||
18.04.2019-14:54:19: Replace Function gets this String: .
|
|
||||||
18.04.2019-14:54:19: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:19: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:19: Removed SpecialCharacters in: .
|
|
||||||
18.04.2019-14:54:19: Replace Function returns this String: .
|
|
||||||
18.04.2019-14:54:19: Configured ArchivPath is:
|
|
||||||
18.04.2019-14:54:20: Configured CheckSQLQuery is: SELECT 'true'
|
|
||||||
|
|
||||||
18.04.2019-14:54:20: Configured InitialSQLQuery is:
|
|
||||||
|
|
||||||
18.04.2019-14:54:20: Configured PreparingSQLQuery is:
|
|
||||||
|
|
||||||
18.04.2019-14:54:20: Configured MainLoopSQLQuery is: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select '%column1%', '%column2%', '%column3%', '%column4%', '%column5%', '%column6%'
|
|
||||||
|
|
||||||
18.04.2019-14:54:20: Configured FinalSQLQuery is:
|
|
||||||
|
|
||||||
18.04.2019-14:54:20:
|
|
||||||
18.04.2019-14:54:20: Replace Function gets this String: P:\Skriptentwickung\development\Import-FileContent2Database\wisag_test-dateien\AVIAFAK_LFB1.DAT
|
|
||||||
18.04.2019-14:54:20: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:20: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:20: Removed SpecialCharacters in: P:\Skriptentwickung\development\Import-FileContent2Database\wisag_test-dateien\AVIAFAK_LFB1.DAT
|
|
||||||
18.04.2019-14:54:20: Replace Function returns this String: P:\Skriptentwickung\development\Import-FileContent2Database\wisag_test-dateien\AVIAFAK_LFB1.DAT
|
|
||||||
18.04.2019-14:54:20:
|
|
||||||
18.04.2019-14:54:20: Found 1 File(s) in SourcePath.
|
|
||||||
18.04.2019-14:54:20:
|
|
||||||
18.04.2019-14:54:20: Checking if file: P:\Skriptentwickung\development\Import-FileContent2Database\wisag_test-dateien\AVIAFAK_LFB1.DAT is locked/readonly...
|
|
||||||
18.04.2019-14:54:20: Checking if file: P:\Skriptentwickung\development\Import-FileContent2Database\wisag_test-dateien\AVIAFAK_LFB1.DAT is readable.
|
|
||||||
18.04.2019-14:54:20: Checking if file: P:\Skriptentwickung\development\Import-FileContent2Database\wisag_test-dateien\AVIAFAK_LFB1.DAT is writeable.
|
|
||||||
18.04.2019-14:54:20: File P:\Skriptentwickung\development\Import-FileContent2Database\wisag_test-dateien\AVIAFAK_LFB1.DAT checked with result: writeable
|
|
||||||
18.04.2019-14:54:20: Trying to get content of P:\Skriptentwickung\development\Import-FileContent2Database\wisag_test-dateien\AVIAFAK_LFB1.DAT
|
|
||||||
18.04.2019-14:54:20: Read 6 column(s) and
|
|
||||||
18.04.2019-14:54:20: 1000 line(s) from the SourceFile.
|
|
||||||
18.04.2019-14:54:20: Should read the SourceFile only until line 1.
|
|
||||||
18.04.2019-14:54:20: File was read until line 1!
|
|
||||||
18.04.2019-14:54:20:
|
|
||||||
18.04.2019-14:54:20: Replace Function gets this String: SELECT 'true'
|
|
||||||
|
|
||||||
18.04.2019-14:54:20: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:20: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:20: Removed SpecialCharacters in: SELECT 'true'
|
|
||||||
18.04.2019-14:54:20: Replace Function returns this String: SELECT 'true'
|
|
||||||
18.04.2019-14:54:20:
|
|
||||||
18.04.2019-14:54:21: Connecting with DB:
|
|
||||||
18.04.2019-14:54:21: Server = 172.24.12.41\tests, uid=sa, pwd=<set in ConfigFile>, Database = DD_ECM_WISAG, Integrated Security = false
|
|
||||||
18.04.2019-14:54:21: Processing SQL Query:
|
|
||||||
18.04.2019-14:54:21: SELECT 'true'
|
|
||||||
18.04.2019-14:54:21: SQL Query result with 1 row(s).
|
|
||||||
18.04.2019-14:54:21: Missing 'Profile_InitialSQLQuery =' block in ConfigFile!
|
|
||||||
18.04.2019-14:54:21: Missing 'Profile_PreparingSQLQuery =' block in ConfigFile!
|
|
||||||
18.04.2019-14:54:21:
|
|
||||||
18.04.2019-14:54:21: Starting processing for each line: Current 0 of 1000
|
|
||||||
18.04.2019-14:54:21:
|
|
||||||
18.04.2019-14:54:21: Starting processing for each column: Current 0 of 6
|
|
||||||
18.04.2019-14:54:21:
|
|
||||||
18.04.2019-14:54:21: Replace Function gets this String: %ColumnName%|%CellValue%
|
|
||||||
18.04.2019-14:54:21: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:21: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:21: Removed SpecialCharacters in: LIFNR%CellValue%
|
|
||||||
18.04.2019-14:54:21: Replace Function returns this String: LIFNR%CellValue%
|
|
||||||
18.04.2019-14:54:21:
|
|
||||||
18.04.2019-14:54:21: Replace Function gets this String: LIFNR%CellValue%
|
|
||||||
18.04.2019-14:54:21: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:21: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:21: Removed SpecialCharacters in: LIFNR0007000001
|
|
||||||
18.04.2019-14:54:21: Replace Function returns this String: LIFNR0007000001
|
|
||||||
18.04.2019-14:54:21: Current value of line: 0, column number: 0 - column name: LIFNR
|
|
||||||
18.04.2019-14:54:21: LIFNR0007000001
|
|
||||||
18.04.2019-14:54:21: Valid Value found in this cell!
|
|
||||||
18.04.2019-14:54:21:
|
|
||||||
18.04.2019-14:54:21: Replace Function gets this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select '%column1%', '%column2%', '%column3%', '%column4%', '%column5%', '%column6%'
|
|
||||||
|
|
||||||
18.04.2019-14:54:21: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:21: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:21: Removed SpecialCharacters in: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', '%column2%', '%column3%', '%column4%', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:21: Replace Function returns this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', '%column2%', '%column3%', '%column4%', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:21:
|
|
||||||
18.04.2019-14:54:21: Starting processing for each column: Current 1 of 6
|
|
||||||
18.04.2019-14:54:21:
|
|
||||||
18.04.2019-14:54:21: Replace Function gets this String: %ColumnName%|%CellValue%
|
|
||||||
18.04.2019-14:54:21: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:21: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:21: Removed SpecialCharacters in: BUKRS%CellValue%
|
|
||||||
18.04.2019-14:54:21: Replace Function returns this String: BUKRS%CellValue%
|
|
||||||
18.04.2019-14:54:21:
|
|
||||||
18.04.2019-14:54:21: Replace Function gets this String: BUKRS%CellValue%
|
|
||||||
18.04.2019-14:54:21: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:21: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:21: Removed SpecialCharacters in: BUKRS0160
|
|
||||||
18.04.2019-14:54:22: Replace Function returns this String: BUKRS0160
|
|
||||||
18.04.2019-14:54:22: Current value of line: 0, column number: 1 - column name: BUKRS
|
|
||||||
18.04.2019-14:54:22: BUKRS0160
|
|
||||||
18.04.2019-14:54:22: Valid Value found in this cell!
|
|
||||||
18.04.2019-14:54:22:
|
|
||||||
18.04.2019-14:54:22: Replace Function gets this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', '%column2%', '%column3%', '%column4%', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:22: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:22: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:22: Removed SpecialCharacters in: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', '%column3%', '%column4%', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:22: Replace Function returns this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', '%column3%', '%column4%', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:22:
|
|
||||||
18.04.2019-14:54:22: Starting processing for each column: Current 2 of 6
|
|
||||||
18.04.2019-14:54:22:
|
|
||||||
18.04.2019-14:54:22: Replace Function gets this String: %ColumnName%|%CellValue%
|
|
||||||
18.04.2019-14:54:22: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:22: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:22: Removed SpecialCharacters in: SPERR%CellValue%
|
|
||||||
18.04.2019-14:54:22: Replace Function returns this String: SPERR%CellValue%
|
|
||||||
18.04.2019-14:54:22: Current value of line: 0, column number: 2 - column name: SPERR
|
|
||||||
18.04.2019-14:54:22: SPERR%CellValue%
|
|
||||||
18.04.2019-14:54:22: No or invalid Value found in this cell!
|
|
||||||
18.04.2019-14:54:22:
|
|
||||||
18.04.2019-14:54:22: Starting processing for each column: Current 3 of 6
|
|
||||||
18.04.2019-14:54:22:
|
|
||||||
18.04.2019-14:54:22: Replace Function gets this String: %ColumnName%|%CellValue%
|
|
||||||
18.04.2019-14:54:22: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:22: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:22: Removed SpecialCharacters in: AKONT%CellValue%
|
|
||||||
18.04.2019-14:54:22: Replace Function returns this String: AKONT%CellValue%
|
|
||||||
18.04.2019-14:54:22:
|
|
||||||
18.04.2019-14:54:22: Replace Function gets this String: AKONT%CellValue%
|
|
||||||
18.04.2019-14:54:22: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:22: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:22: Removed SpecialCharacters in: AKONT0001600000
|
|
||||||
18.04.2019-14:54:22: Replace Function returns this String: AKONT0001600000
|
|
||||||
18.04.2019-14:54:22: Current value of line: 0, column number: 3 - column name: AKONT
|
|
||||||
18.04.2019-14:54:22: AKONT0001600000
|
|
||||||
18.04.2019-14:54:22: Valid Value found in this cell!
|
|
||||||
18.04.2019-14:54:22:
|
|
||||||
18.04.2019-14:54:23: Replace Function gets this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', '%column3%', '%column4%', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:23: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:23: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:23: Removed SpecialCharacters in: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', '%column3%', 'AKONT0001600000', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:23: Replace Function returns this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', '%column3%', 'AKONT0001600000', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:23:
|
|
||||||
18.04.2019-14:54:23: Starting processing for each column: Current 4 of 6
|
|
||||||
18.04.2019-14:54:23:
|
|
||||||
18.04.2019-14:54:23: Replace Function gets this String: %ColumnName%|%CellValue%
|
|
||||||
18.04.2019-14:54:23: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:23: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:23: Removed SpecialCharacters in: ZTERM%CellValue%
|
|
||||||
18.04.2019-14:54:23: Replace Function returns this String: ZTERM%CellValue%
|
|
||||||
18.04.2019-14:54:23:
|
|
||||||
18.04.2019-14:54:23: Replace Function gets this String: ZTERM%CellValue%
|
|
||||||
18.04.2019-14:54:23: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:23: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:23: Removed SpecialCharacters in: ZTERMS999
|
|
||||||
18.04.2019-14:54:23: Replace Function returns this String: ZTERMS999
|
|
||||||
18.04.2019-14:54:23: Current value of line: 0, column number: 4 - column name: ZTERM
|
|
||||||
18.04.2019-14:54:23: ZTERMS999
|
|
||||||
18.04.2019-14:54:23: Valid Value found in this cell!
|
|
||||||
18.04.2019-14:54:23:
|
|
||||||
18.04.2019-14:54:23: Replace Function gets this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', '%column3%', 'AKONT0001600000', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:23: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:23: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:23: Removed SpecialCharacters in: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', '%column3%', 'AKONT0001600000', 'ZTERMS999', '%column6%'
|
|
||||||
18.04.2019-14:54:23: Replace Function returns this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', '%column3%', 'AKONT0001600000', 'ZTERMS999', '%column6%'
|
|
||||||
18.04.2019-14:54:23:
|
|
||||||
18.04.2019-14:54:23: Starting processing for each column: Current 5 of 6
|
|
||||||
18.04.2019-14:54:23:
|
|
||||||
18.04.2019-14:54:23: Replace Function gets this String: %ColumnName%|%CellValue%
|
|
||||||
18.04.2019-14:54:23: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:23: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:23: Removed SpecialCharacters in: BUSAB%CellValue%
|
|
||||||
18.04.2019-14:54:23: Replace Function returns this String: BUSAB%CellValue%
|
|
||||||
18.04.2019-14:54:23:
|
|
||||||
18.04.2019-14:54:23: Replace Function gets this String: BUSAB%CellValue%
|
|
||||||
18.04.2019-14:54:23: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:24: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:24: Removed SpecialCharacters in: BUSAB01
|
|
||||||
18.04.2019-14:54:24: Replace Function returns this String: BUSAB01
|
|
||||||
18.04.2019-14:54:24: Current value of line: 0, column number: 5 - column name: BUSAB
|
|
||||||
18.04.2019-14:54:24: BUSAB01
|
|
||||||
18.04.2019-14:54:24: Valid Value found in this cell!
|
|
||||||
18.04.2019-14:54:24:
|
|
||||||
18.04.2019-14:54:24: Replace Function gets this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', '%column3%', 'AKONT0001600000', 'ZTERMS999', '%column6%'
|
|
||||||
18.04.2019-14:54:24: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:24: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:24: Removed SpecialCharacters in: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', '%column3%', 'AKONT0001600000', 'ZTERMS999', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:24: Replace Function returns this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', '%column3%', 'AKONT0001600000', 'ZTERMS999', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:24: Purging unused Placeholders with NULL
|
|
||||||
18.04.2019-14:54:24:
|
|
||||||
18.04.2019-14:54:24: Replace Function gets this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', '%column3%', 'AKONT0001600000', 'ZTERMS999', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:24: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:24: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:24: Removed SpecialCharacters in: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', 'NULL', 'AKONT0001600000', 'ZTERMS999', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:24: Replace Function returns this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', 'NULL', 'AKONT0001600000', 'ZTERMS999', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:24:
|
|
||||||
18.04.2019-14:54:24: Replace Function gets this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', 'NULL', 'AKONT0001600000', 'ZTERMS999', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:24: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:24: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:24: Removed SpecialCharacters in: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', NULL, 'AKONT0001600000', 'ZTERMS999', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:24: Replace Function returns this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', NULL, 'AKONT0001600000', 'ZTERMS999', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:24:
|
|
||||||
18.04.2019-14:54:24: Connecting with DB:
|
|
||||||
18.04.2019-14:54:24: Server = 172.24.12.41\tests, uid=sa, pwd=<set in ConfigFile>, Database = DD_ECM_WISAG, Integrated Security = false
|
|
||||||
18.04.2019-14:54:24: Processing SQL Query:
|
|
||||||
18.04.2019-14:54:24: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0160', NULL, 'AKONT0001600000', 'ZTERMS999', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:24:
|
|
||||||
18.04.2019-14:54:24: Starting processing for each line: Current 1 of 1000
|
|
||||||
18.04.2019-14:54:24:
|
|
||||||
18.04.2019-14:54:24: Starting processing for each column: Current 0 of 6
|
|
||||||
18.04.2019-14:54:24:
|
|
||||||
18.04.2019-14:54:24: Replace Function gets this String: %ColumnName%|%CellValue%
|
|
||||||
18.04.2019-14:54:24: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:25: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:25: Removed SpecialCharacters in: LIFNR%CellValue%
|
|
||||||
18.04.2019-14:54:25: Replace Function returns this String: LIFNR%CellValue%
|
|
||||||
18.04.2019-14:54:25:
|
|
||||||
18.04.2019-14:54:25: Replace Function gets this String: LIFNR%CellValue%
|
|
||||||
18.04.2019-14:54:25: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:25: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:25: Removed SpecialCharacters in: LIFNR0007000001
|
|
||||||
18.04.2019-14:54:25: Replace Function returns this String: LIFNR0007000001
|
|
||||||
18.04.2019-14:54:25: Current value of line: 1, column number: 0 - column name: LIFNR
|
|
||||||
18.04.2019-14:54:25: LIFNR0007000001
|
|
||||||
18.04.2019-14:54:25: Valid Value found in this cell!
|
|
||||||
18.04.2019-14:54:25:
|
|
||||||
18.04.2019-14:54:25: Replace Function gets this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select '%column1%', '%column2%', '%column3%', '%column4%', '%column5%', '%column6%'
|
|
||||||
|
|
||||||
18.04.2019-14:54:25: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:25: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:25: Removed SpecialCharacters in: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', '%column2%', '%column3%', '%column4%', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:25: Replace Function returns this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', '%column2%', '%column3%', '%column4%', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:25:
|
|
||||||
18.04.2019-14:54:25: Starting processing for each column: Current 1 of 6
|
|
||||||
18.04.2019-14:54:25:
|
|
||||||
18.04.2019-14:54:25: Replace Function gets this String: %ColumnName%|%CellValue%
|
|
||||||
18.04.2019-14:54:25: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:25: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:25: Removed SpecialCharacters in: BUKRS%CellValue%
|
|
||||||
18.04.2019-14:54:25: Replace Function returns this String: BUKRS%CellValue%
|
|
||||||
18.04.2019-14:54:25:
|
|
||||||
18.04.2019-14:54:25: Replace Function gets this String: BUKRS%CellValue%
|
|
||||||
18.04.2019-14:54:25: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:25: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:25: Removed SpecialCharacters in: BUKRS0349
|
|
||||||
18.04.2019-14:54:25: Replace Function returns this String: BUKRS0349
|
|
||||||
18.04.2019-14:54:25: Current value of line: 1, column number: 1 - column name: BUKRS
|
|
||||||
18.04.2019-14:54:25: BUKRS0349
|
|
||||||
18.04.2019-14:54:25: Valid Value found in this cell!
|
|
||||||
18.04.2019-14:54:25:
|
|
||||||
18.04.2019-14:54:25: Replace Function gets this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', '%column2%', '%column3%', '%column4%', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:26: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:26: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:26: Removed SpecialCharacters in: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', '%column3%', '%column4%', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:26: Replace Function returns this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', '%column3%', '%column4%', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:26:
|
|
||||||
18.04.2019-14:54:26: Starting processing for each column: Current 2 of 6
|
|
||||||
18.04.2019-14:54:26:
|
|
||||||
18.04.2019-14:54:26: Replace Function gets this String: %ColumnName%|%CellValue%
|
|
||||||
18.04.2019-14:54:26: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:26: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:26: Removed SpecialCharacters in: SPERR%CellValue%
|
|
||||||
18.04.2019-14:54:26: Replace Function returns this String: SPERR%CellValue%
|
|
||||||
18.04.2019-14:54:26: Current value of line: 1, column number: 2 - column name: SPERR
|
|
||||||
18.04.2019-14:54:26: SPERR%CellValue%
|
|
||||||
18.04.2019-14:54:26: No or invalid Value found in this cell!
|
|
||||||
18.04.2019-14:54:26:
|
|
||||||
18.04.2019-14:54:26: Starting processing for each column: Current 3 of 6
|
|
||||||
18.04.2019-14:54:26:
|
|
||||||
18.04.2019-14:54:26: Replace Function gets this String: %ColumnName%|%CellValue%
|
|
||||||
18.04.2019-14:54:26: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:26: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:26: Removed SpecialCharacters in: AKONT%CellValue%
|
|
||||||
18.04.2019-14:54:26: Replace Function returns this String: AKONT%CellValue%
|
|
||||||
18.04.2019-14:54:26:
|
|
||||||
18.04.2019-14:54:26: Replace Function gets this String: AKONT%CellValue%
|
|
||||||
18.04.2019-14:54:26: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:26: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:26: Removed SpecialCharacters in: AKONT0001600000
|
|
||||||
18.04.2019-14:54:26: Replace Function returns this String: AKONT0001600000
|
|
||||||
18.04.2019-14:54:26: Current value of line: 1, column number: 3 - column name: AKONT
|
|
||||||
18.04.2019-14:54:26: AKONT0001600000
|
|
||||||
18.04.2019-14:54:26: Valid Value found in this cell!
|
|
||||||
18.04.2019-14:54:26:
|
|
||||||
18.04.2019-14:54:26: Replace Function gets this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', '%column3%', '%column4%', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:26: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:27: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:27: Removed SpecialCharacters in: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', '%column3%', 'AKONT0001600000', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:27: Replace Function returns this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', '%column3%', 'AKONT0001600000', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:27:
|
|
||||||
18.04.2019-14:54:27: Starting processing for each column: Current 4 of 6
|
|
||||||
18.04.2019-14:54:27:
|
|
||||||
18.04.2019-14:54:27: Replace Function gets this String: %ColumnName%|%CellValue%
|
|
||||||
18.04.2019-14:54:27: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:27: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:27: Removed SpecialCharacters in: ZTERM%CellValue%
|
|
||||||
18.04.2019-14:54:27: Replace Function returns this String: ZTERM%CellValue%
|
|
||||||
18.04.2019-14:54:27:
|
|
||||||
18.04.2019-14:54:27: Replace Function gets this String: ZTERM%CellValue%
|
|
||||||
18.04.2019-14:54:27: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:27: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:27: Removed SpecialCharacters in: ZTERM0001
|
|
||||||
18.04.2019-14:54:27: Replace Function returns this String: ZTERM0001
|
|
||||||
18.04.2019-14:54:27: Current value of line: 1, column number: 4 - column name: ZTERM
|
|
||||||
18.04.2019-14:54:27: ZTERM0001
|
|
||||||
18.04.2019-14:54:27: Valid Value found in this cell!
|
|
||||||
18.04.2019-14:54:27:
|
|
||||||
18.04.2019-14:54:27: Replace Function gets this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', '%column3%', 'AKONT0001600000', '%column5%', '%column6%'
|
|
||||||
18.04.2019-14:54:27: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:27: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:27: Removed SpecialCharacters in: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', '%column3%', 'AKONT0001600000', 'ZTERM0001', '%column6%'
|
|
||||||
18.04.2019-14:54:27: Replace Function returns this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', '%column3%', 'AKONT0001600000', 'ZTERM0001', '%column6%'
|
|
||||||
18.04.2019-14:54:27:
|
|
||||||
18.04.2019-14:54:27: Starting processing for each column: Current 5 of 6
|
|
||||||
18.04.2019-14:54:27:
|
|
||||||
18.04.2019-14:54:27: Replace Function gets this String: %ColumnName%|%CellValue%
|
|
||||||
18.04.2019-14:54:27: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:27: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:28: Removed SpecialCharacters in: BUSAB%CellValue%
|
|
||||||
18.04.2019-14:54:28: Replace Function returns this String: BUSAB%CellValue%
|
|
||||||
18.04.2019-14:54:28:
|
|
||||||
18.04.2019-14:54:28: Replace Function gets this String: BUSAB%CellValue%
|
|
||||||
18.04.2019-14:54:28: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:28: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:28: Removed SpecialCharacters in: BUSAB01
|
|
||||||
18.04.2019-14:54:28: Replace Function returns this String: BUSAB01
|
|
||||||
18.04.2019-14:54:28: Current value of line: 1, column number: 5 - column name: BUSAB
|
|
||||||
18.04.2019-14:54:28: BUSAB01
|
|
||||||
18.04.2019-14:54:28: Valid Value found in this cell!
|
|
||||||
18.04.2019-14:54:28:
|
|
||||||
18.04.2019-14:54:28: Replace Function gets this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', '%column3%', 'AKONT0001600000', 'ZTERM0001', '%column6%'
|
|
||||||
18.04.2019-14:54:28: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:28: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:28: Removed SpecialCharacters in: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', '%column3%', 'AKONT0001600000', 'ZTERM0001', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:28: Replace Function returns this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', '%column3%', 'AKONT0001600000', 'ZTERM0001', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:28: Purging unused Placeholders with NULL
|
|
||||||
18.04.2019-14:54:28:
|
|
||||||
18.04.2019-14:54:28: Replace Function gets this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', '%column3%', 'AKONT0001600000', 'ZTERM0001', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:28: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:28: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:28: Removed SpecialCharacters in: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', 'NULL', 'AKONT0001600000', 'ZTERM0001', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:28: Replace Function returns this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', 'NULL', 'AKONT0001600000', 'ZTERM0001', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:28:
|
|
||||||
18.04.2019-14:54:28: Replace Function gets this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', 'NULL', 'AKONT0001600000', 'ZTERM0001', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:28: TrimStartandEnd Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:28: RemoveSpecialCharacter Function is enabled and engaging...
|
|
||||||
18.04.2019-14:54:28: Removed SpecialCharacters in: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', NULL, 'AKONT0001600000', 'ZTERM0001', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:28: Replace Function returns this String: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', NULL, 'AKONT0001600000', 'ZTERM0001', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:28:
|
|
||||||
18.04.2019-14:54:28: Connecting with DB:
|
|
||||||
18.04.2019-14:54:29: Server = 172.24.12.41\tests, uid=sa, pwd=<set in ConfigFile>, Database = DD_ECM_WISAG, Integrated Security = false
|
|
||||||
18.04.2019-14:54:29: Processing SQL Query:
|
|
||||||
18.04.2019-14:54:29: INSERT INTO [DD_ECM_WISAG].[dbo].[SAP_IMPORT] (c001, c002, c003, c004, c005, c006) Select 'LIFNR0007000001', 'BUKRS0349', NULL, 'AKONT0001600000', 'ZTERM0001', 'BUSAB01'
|
|
||||||
18.04.2019-14:54:29: Missing 'Profile_FinalSQLQuery =' block in ConfigFile!
|
|
||||||
18.04.2019-14:54:29:
|
|
||||||
18.04.2019-14:54:29: File processing completed!
|
|
||||||
18.04.2019-14:54:29: Error moving File after processing, to:
|
|
||||||
18.04.2019-14:54:29:
|
|
||||||
18.04.2019-14:54:29:
|
|
||||||
18.04.2019-14:54:29: --------------------------------------------------------------------------------
|
|
||||||
18.04.2019-14:54:29: Checking for old LogFiles.
|
|
||||||
18.04.2019-14:54:29: --------------------------------------------------------------------------------
|
|
||||||
18.04.2019-14:54:29: Files should be removed which are older than 30 Day(s).
|
|
||||||
18.04.2019-14:54:29: Found no old Files.
|
|
||||||
18.04.2019-14:54:29:
|
|
||||||
18.04.2019-14:54:29: ********************************************************************************
|
|
||||||
18.04.2019-14:54:29: Program Completed: Import-FileContent2Database on DD-PC-STD01,
|
|
||||||
18.04.2019-14:54:29: from Account DIGITALDATA\KammM.
|
|
||||||
18.04.2019-14:54:29: ********************************************************************************
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user