# run_log

finished_at: 2026-05-15 18:36:08
status: error
watermark_values_json: {"dex_row_id": "9944808"}
error:
  JrunnerError: Picked up JAVA_TOOL_OPTIONS: -Djava.awt.headless=true -Dcom.ibm.as400.access.AS400.guiAvailable=false
  Traceback (most recent call last):
    File "/opt/pipekit/pipekit/engine/runner.py", line 112, in run_module
      migrate_result = jrunner.migrate(
    File "/opt/pipekit/pipekit/jrunner.py", line 209, in migrate
      raise JrunnerError(stderr.strip() or stdout.strip(),
  pipekit.jrunner.JrunnerError: Picked up JAVA_TOOL_OPTIONS: -Djava.awt.headless=true -Dcom.ibm.as400.access.AS400.guiAvailable=false

resolved_source_sql:
  SELECT
    [HSTYEAR] AS hstyear,
    [JRNENTRY] AS jrnentry,
    [RCTRXSEQ] AS rctrxseq,
    RTRIM([SOURCDOC]) AS sourcdoc,
    RTRIM([REFRENCE]) AS refrence,
    RTRIM([DSCRIPTN]) AS dscriptn,
    [TRXDATE] AS trxdate,
    [ACTINDX] AS actindx,
    RTRIM([TRXSORCE]) AS trxsorce,
    [POLLDTRX] AS polldtrx,
    RTRIM([LASTUSER]) AS lastuser,
    [LSTDTEDT] AS lstdtedt,
    RTRIM([USWHPSTD]) AS uswhpstd,
    RTRIM([ORGNTSRC]) AS orgntsrc,
    [ORGNATYP] AS orgnatyp,
    [QKOFSET] AS qkofset,
    [SERIES] AS series,
    [ORTRXTYP] AS ortrxtyp,
    RTRIM([ORCTRNUM]) AS orctrnum,
    RTRIM([ORMSTRID]) AS ormstrid,
    RTRIM([ORMSTRNM]) AS ormstrnm,
    RTRIM([ORDOCNUM]) AS ordocnum,
    [ORPSTDDT] AS orpstddt,
    RTRIM([ORTRXSRC]) AS ortrxsrc,
    [OrigDTASeries] AS origdtaseries,
    [OrigSeqNum] AS origseqnum,
    [SEQNUMBR] AS seqnumbr,
    [DTA_GL_Status] AS dta_gl_status,
    [DTA_Index] AS dta_index,
    RTRIM([CURNCYID]) AS curncyid,
    [CURRNIDX] AS currnidx,
    RTRIM([RATETPID]) AS ratetpid,
    RTRIM([EXGTBLID]) AS exgtblid,
    [XCHGRATE] AS xchgrate,
    [EXCHDATE] AS exchdate,
    [TIME1] AS time1,
    [RTCLCMTD] AS rtclcmtd,
    [NOTEINDX] AS noteindx,
    [ICTRX] AS ictrx,
    RTRIM([ORCOMID]) AS orcomid,
    [ORIGINJE] AS originje,
    [PERIODID] AS periodid,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [ORDBTAMT] AS ordbtamt,
    [ORCRDAMT] AS orcrdamt,
    [DOCDATE] AS docdate,
    [PSTGNMBR] AS pstgnmbr,
    [PPSGNMBR] AS ppsgnmbr,
    [DENXRATE] AS denxrate,
    [MCTRXSTT] AS mctrxstt,
    RTRIM([CorrespondingUnit]) AS correspondingunit,
    [VOIDED] AS voided,
    [Back_Out_JE] AS back_out_je,
    [Back_Out_JE_Year] AS back_out_je_year,
    [Correcting_JE] AS correcting_je,
    [Correcting_JE_Year] AS correcting_je_year,
    [Original_JE] AS original_je,
    [Original_JE_Seq_Num] AS original_je_seq_num,
    [Original_JE_Year] AS original_je_year,
    [Ledger_ID] AS ledger_id,
    [Adjustment_Transaction] AS adjustment_transaction,
    RTRIM([APRVLUSERID]) AS aprvluserid,
    [APPRVLDT] AS apprvldt,
    [DEX_ROW_TS] AS dex_row_ts,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL30000]

merge_sql:
[cell repeats an earlier one in this file: 162 characters]

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    [HSTYEAR] AS hstyear,
    [JRNENTRY] AS jrnentry,
    [RCTRXSEQ] AS rctrxseq,
    RTRIM([SOURCDOC]) AS sourcdoc,
    RTRIM([REFRENCE]) AS refrence,
    RTRIM([DSCRIPTN]) AS dscriptn,
    [TRXDATE] AS trxdate,
    [ACTINDX] AS actindx,
    RTRIM([TRXSORCE]) AS trxsorce,
    [POLLDTRX] AS polldtrx,
    RTRIM([LASTUSER]) AS lastuser,
    [LSTDTEDT] AS lstdtedt,
    RTRIM([USWHPSTD]) AS uswhpstd,
    RTRIM([ORGNTSRC]) AS orgntsrc,
    [ORGNATYP] AS orgnatyp,
    [QKOFSET] AS qkofset,
    [SERIES] AS series,
    [ORTRXTYP] AS ortrxtyp,
    RTRIM([ORCTRNUM]) AS orctrnum,
    RTRIM([ORMSTRID]) AS ormstrid,
    RTRIM([ORMSTRNM]) AS ormstrnm,
    RTRIM([ORDOCNUM]) AS ordocnum,
    [ORPSTDDT] AS orpstddt,
    RTRIM([ORTRXSRC]) AS ortrxsrc,
    [OrigDTASeries] AS origdtaseries,
    [OrigSeqNum] AS origseqnum,
    [SEQNUMBR] AS seqnumbr,
    [DTA_GL_Status] AS dta_gl_status,
    [DTA_Index] AS dta_index,
    RTRIM([CURNCYID]) AS curncyid,
    [CURRNIDX] AS currnidx,
    RTRIM([RATETPID]) AS ratetpid,
    RTRIM([EXGTBLID]) AS exgtblid,
    [XCHGRATE] AS xchgrate,
    [EXCHDATE] AS exchdate,
    [TIME1] AS time1,
    [RTCLCMTD] AS rtclcmtd,
    [NOTEINDX] AS noteindx,
    [ICTRX] AS ictrx,
    RTRIM([ORCOMID]) AS orcomid,
    [ORIGINJE] AS originje,
    [PERIODID] AS periodid,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [ORDBTAMT] AS ordbtamt,
    [ORCRDAMT] AS orcrdamt,
    [DOCDATE] AS docdate,
    [PSTGNMBR] AS pstgnmbr,
    [PPSGNMBR] AS ppsgnmbr,
    [DENXRATE] AS denxrate,
    [MCTRXSTT] AS mctrxstt,
    RTRIM([CorrespondingUnit]) AS correspondingunit,
    [VOIDED] AS voided,
    [Back_Out_JE] AS back_out_je,
    [Back_Out_JE_Year] AS back_out_je_year,
    [Correcting_JE] AS correcting_je,
    [Correcting_JE_Year] AS correcting_je_year,
    [Original_JE] AS original_je,
    [Original_JE_Seq_Num] AS original_je_seq_num,
    [Original_JE_Year] AS original_je_year,
    [Ledger_ID] AS ledger_id,
    [Adjustment_Transaction] AS adjustment_transaction,
    RTRIM([APRVLUSERID]) AS aprvluserid,
    [APPRVLDT] AS apprvldt,
    [DEX_ROW_TS] AS dex_row_ts,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL30000]
  ------------destination table-----------------------------
  pipekit_staging.dbo_gl30000
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-15 14:34:30.846029829
  ------------source metadata-------------------------------
  number of cols: 66
    * hstyear: smallint
    * jrnentry: int
    * rctrxseq: numeric
    * sourcdoc: varchar
    * refrence: varchar
    * dscriptn: varchar
    * trxdate: datetime
    * actindx: int
    * trxsorce: varchar
    * polldtrx: tinyint
    * lastuser: varchar
    * lstdtedt: datetime
    * uswhpstd: varchar
    * orgntsrc: varchar
    * orgnatyp: smallint
    * qkofset: smallint
    * series: smallint
    * ortrxtyp: smallint
    * orctrnum: varchar
    * ormstrid: varchar
    * ormstrnm: varchar
    * ordocnum: varchar
    * orpstddt: datetime
    * ortrxsrc: varchar
    * origdtaseries: smallint
    * origseqnum: int
    * seqnumbr: int
    * dta_gl_status: smallint
    * dta_index: numeric
    * curncyid: varchar
    * currnidx: smallint
    * ratetpid: varchar
    * exgtblid: varchar
    * xchgrate: numeric
    * exchdate: datetime
    * time1: datetime
    * rtclcmtd: smallint
    * noteindx: numeric
    * ictrx: tinyint
    * orcomid: varchar
    * originje: int
    * periodid: smallint
    * debitamt: numeric
    * crdtamnt: numeric
    * ordbtamt: numeric
    * orcrdamt: numeric
    * docdate: datetime
    * pstgnmbr: int
    * ppsgnmbr: int
    * denxrate: numeric
    * mctrxstt: smallint
    * correspondingunit: varchar
    * voided: tinyint
    * back_out_je: int
    * back_out_je_year: smallint
    * correcting_je: int
    * correcting_je_year: smallint
    * original_je: int
    * original_je_seq_num: numeric
    * original_je_year: smallint
    * ledger_id: smallint
    * adjustment_transaction: tinyint
    * aprvluserid: varchar
    * apprvldt: datetime
    * dex_row_ts: datetime
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.dbo_gl30000
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47250
  47500
  47750
  48000
  48250
  48500
  48750
  49000
  49250
  49500
  49750
  50000
  50250
  50500
  50750
  51000
  51250
  51500
  51750
  52000
  52250
  52500
  52750
  53000
  53250
  53500
  53750
  54000
  54250
  54500
  54750
  55000
  55250
  55500
  55750
  56000
  56250
  56500
  56750
  57000
  57250
  57500
  57750
  58000
  58250
  58500
  58750
  59000
  59250
  59500
  59750
  60000
  60250
  60500
  60750
  61000
  61250
  61500
  61750
  62000
  62250
  62500
  62750
  63000
  63250
  63500
  63750
  64000
  64250
  64500
  64750
  65000
  65250
  65500
  65750
  66000
  66250
  66500
  66750

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    [HSTYEAR] AS hstyear,
    [JRNENTRY] AS jrnentry,
    [RCTRXSEQ] AS rctrxseq,
    RTRIM([SOURCDOC]) AS sourcdoc,
    RTRIM([REFRENCE]) AS refrence,
    RTRIM([DSCRIPTN]) AS dscriptn,
    [TRXDATE] AS trxdate,
    [ACTINDX] AS actindx,
    RTRIM([TRXSORCE]) AS trxsorce,
    [POLLDTRX] AS polldtrx,
    RTRIM([LASTUSER]) AS lastuser,
    [LSTDTEDT] AS lstdtedt,
    RTRIM([USWHPSTD]) AS uswhpstd,
    RTRIM([ORGNTSRC]) AS orgntsrc,
    [ORGNATYP] AS orgnatyp,
    [QKOFSET] AS qkofset,
    [SERIES] AS series,
    [ORTRXTYP] AS ortrxtyp,
    RTRIM([ORCTRNUM]) AS orctrnum,
    RTRIM([ORMSTRID]) AS ormstrid,
    RTRIM([ORMSTRNM]) AS ormstrnm,
    RTRIM([ORDOCNUM]) AS ordocnum,
    [ORPSTDDT] AS orpstddt,
    RTRIM([ORTRXSRC]) AS ortrxsrc,
    [OrigDTASeries] AS origdtaseries,
    [OrigSeqNum] AS origseqnum,
    [SEQNUMBR] AS seqnumbr,
    [DTA_GL_Status] AS dta_gl_status,
    [DTA_Index] AS dta_index,
    RTRIM([CURNCYID]) AS curncyid,
    [CURRNIDX] AS currnidx,
    RTRIM([RATETPID]) AS ratetpid,
    RTRIM([EXGTBLID]) AS exgtblid,
    [XCHGRATE] AS xchgrate,
    [EXCHDATE] AS exchdate,
    [TIME1] AS time1,
    [RTCLCMTD] AS rtclcmtd,
    [NOTEINDX] AS noteindx,
    [ICTRX] AS ictrx,
    RTRIM([ORCOMID]) AS orcomid,
    [ORIGINJE] AS originje,
    [PERIODID] AS periodid,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [ORDBTAMT] AS ordbtamt,
    [ORCRDAMT] AS orcrdamt,
    [DOCDATE] AS docdate,
    [PSTGNMBR] AS pstgnmbr,
    [PPSGNMBR] AS ppsgnmbr,
    [DENXRATE] AS denxrate,
    [MCTRXSTT] AS mctrxstt,
    RTRIM([CorrespondingUnit]) AS correspondingunit,
    [VOIDED] AS voided,
    [Back_Out_JE] AS back_out_je,
    [Back_Out_JE_Year] AS back_out_je_year,
    [Correcting_JE] AS correcting_je,
    [Correcting_JE_Year] AS correcting_je_year,
    [Original_JE] AS original_je,
    [Original_JE_Seq_Num] AS original_je_seq_num,
    [Original_JE_Year] AS original_je_year,
    [Ledger_ID] AS ledger_id,
    [Adjustment_Transaction] AS adjustment_transaction,
    RTRIM([APRVLUSERID]) AS aprvluserid,
    [APPRVLDT] AS apprvldt,
    [DEX_ROW_TS] AS dex_row_ts,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL30000]
  ------------destination table-----------------------------
  pipekit_staging.dbo_gl30000
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-15 14:34:30.846029829
  ------------source metadata-------------------------------
  number of cols: 66
    * hstyear: smallint
    * jrnentry: int
    * rctrxseq: numeric
    * sourcdoc: varchar
    * refrence: varchar
    * dscriptn: varchar
    * trxdate: datetime
    * actindx: int
    * trxsorce: varchar
    * polldtrx: tinyint
    * lastuser: varchar
    * lstdtedt: datetime
    * uswhpstd: varchar
    * orgntsrc: varchar
    * orgnatyp: smallint
    * qkofset: smallint
    * series: smallint
    * ortrxtyp: smallint
    * orctrnum: varchar
    * ormstrid: varchar
    * ormstrnm: varchar
    * ordocnum: varchar
    * orpstddt: datetime
    * ortrxsrc: varchar
    * origdtaseries: smallint
    * origseqnum: int
    * seqnumbr: int
    * dta_gl_status: smallint
    * dta_index: numeric
    * curncyid: varchar
    * currnidx: smallint
    * ratetpid: varchar
    * exgtblid: varchar
    * xchgrate: numeric
    * exchdate: datetime
    * time1: datetime
    * rtclcmtd: smallint
    * noteindx: numeric
    * ictrx: tinyint
    * orcomid: varchar
    * originje: int
    * periodid: smallint
    * debitamt: numeric
    * crdtamnt: numeric
    * ordbtamt: numeric
    * orcrdamt: numeric
    * docdate: datetime
    * pstgnmbr: int
    * ppsgnmbr: int
    * denxrate: numeric
    * mctrxstt: smallint
    * correspondingunit: varchar
    * voided: tinyint
    * back_out_je: int
    * back_out_je_year: smallint
    * correcting_je: int
    * correcting_je_year: smallint
    * original_je: int
    * original_je_seq_num: numeric
    * original_je_year: smallint
    * ledger_id: smallint
    * adjustment_transaction: tinyint
    * aprvluserid: varchar
    * apprvldt: datetime
    * dex_row_ts: datetime
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.dbo_gl30000
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47250
  47500
  47750
  48000
  48250
  48500
  48750
  49000
  49250
  49500
  49750
  50000
  50250
  50500
  50750
  51000
  51250
  51500
  51750
  52000
  52250
  52500
  52750
  53000
  53250
  53500
  53750
  54000
  54250
  54500
  54750
  55000
  55250
  55500
  55750
  56000
  56250
  56500
  56750
  57000
  57250
  57500
  57750
  58000
  58250
  58500
  58750
  59000
  59250
  59500
  59750
  60000
  60250
  60500
  60750
  61000
  61250
  61500
  61750
  62000
  62250
  62500
  62750
  63000
  63250
  63500
  63750
  64000
  64250
  64500
  64750
  65000
  65250
  65500
  65750
  66000
  66250
  66500
  66750


finished_at: 2026-05-18 18:33:06
status: success
watermark_values_json: {"dex_row_id": "9944808"}
resolved_source_sql:
  SELECT
    [HSTYEAR] AS hstyear,
    [JRNENTRY] AS jrnentry,
    [RCTRXSEQ] AS rctrxseq,
    RTRIM([SOURCDOC]) AS sourcdoc,
    RTRIM([REFRENCE]) AS refrence,
    RTRIM([DSCRIPTN]) AS dscriptn,
    [TRXDATE] AS trxdate,
    [ACTINDX] AS actindx,
    RTRIM([TRXSORCE]) AS trxsorce,
    [POLLDTRX] AS polldtrx,
    RTRIM([LASTUSER]) AS lastuser,
    [LSTDTEDT] AS lstdtedt,
    RTRIM([USWHPSTD]) AS uswhpstd,
    RTRIM([ORGNTSRC]) AS orgntsrc,
    [ORGNATYP] AS orgnatyp,
    [QKOFSET] AS qkofset,
    [SERIES] AS series,
    [ORTRXTYP] AS ortrxtyp,
    RTRIM([ORCTRNUM]) AS orctrnum,
    RTRIM([ORMSTRID]) AS ormstrid,
    RTRIM([ORMSTRNM]) AS ormstrnm,
    RTRIM([ORDOCNUM]) AS ordocnum,
    [ORPSTDDT] AS orpstddt,
    RTRIM([ORTRXSRC]) AS ortrxsrc,
    [OrigDTASeries] AS origdtaseries,
    [OrigSeqNum] AS origseqnum,
    [SEQNUMBR] AS seqnumbr,
    [DTA_GL_Status] AS dta_gl_status,
    [DTA_Index] AS dta_index,
    RTRIM([CURNCYID]) AS curncyid,
    [CURRNIDX] AS currnidx,
    RTRIM([RATETPID]) AS ratetpid,
    RTRIM([EXGTBLID]) AS exgtblid,
    [XCHGRATE] AS xchgrate,
    [EXCHDATE] AS exchdate,
    [TIME1] AS time1,
    [RTCLCMTD] AS rtclcmtd,
    [NOTEINDX] AS noteindx,
    [ICTRX] AS ictrx,
    RTRIM([ORCOMID]) AS orcomid,
    [ORIGINJE] AS originje,
    [PERIODID] AS periodid,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [ORDBTAMT] AS ordbtamt,
    [ORCRDAMT] AS orcrdamt,
    [DOCDATE] AS docdate,
    [PSTGNMBR] AS pstgnmbr,
    [PPSGNMBR] AS ppsgnmbr,
    [DENXRATE] AS denxrate,
    [MCTRXSTT] AS mctrxstt,
    RTRIM([CorrespondingUnit]) AS correspondingunit,
    [VOIDED] AS voided,
    [Back_Out_JE] AS back_out_je,
    [Back_Out_JE_Year] AS back_out_je_year,
    [Correcting_JE] AS correcting_je,
    [Correcting_JE_Year] AS correcting_je_year,
    [Original_JE] AS original_je,
    [Original_JE_Seq_Num] AS original_je_seq_num,
    [Original_JE_Year] AS original_je_year,
    [Ledger_ID] AS ledger_id,
    [Adjustment_Transaction] AS adjustment_transaction,
    RTRIM([APRVLUSERID]) AS aprvluserid,
    [APPRVLDT] AS apprvldt,
    [DEX_ROW_TS] AS dex_row_ts,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL30000]
  WHERE 
      [DEX_ROW_ID] >= 9944808

merge_sql:
[cell repeats an earlier one in this file: 162 characters]

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    [HSTYEAR] AS hstyear,
    [JRNENTRY] AS jrnentry,
    [RCTRXSEQ] AS rctrxseq,
    RTRIM([SOURCDOC]) AS sourcdoc,
    RTRIM([REFRENCE]) AS refrence,
    RTRIM([DSCRIPTN]) AS dscriptn,
    [TRXDATE] AS trxdate,
    [ACTINDX] AS actindx,
    RTRIM([TRXSORCE]) AS trxsorce,
    [POLLDTRX] AS polldtrx,
    RTRIM([LASTUSER]) AS lastuser,
    [LSTDTEDT] AS lstdtedt,
    RTRIM([USWHPSTD]) AS uswhpstd,
    RTRIM([ORGNTSRC]) AS orgntsrc,
    [ORGNATYP] AS orgnatyp,
    [QKOFSET] AS qkofset,
    [SERIES] AS series,
    [ORTRXTYP] AS ortrxtyp,
    RTRIM([ORCTRNUM]) AS orctrnum,
    RTRIM([ORMSTRID]) AS ormstrid,
    RTRIM([ORMSTRNM]) AS ormstrnm,
    RTRIM([ORDOCNUM]) AS ordocnum,
    [ORPSTDDT] AS orpstddt,
    RTRIM([ORTRXSRC]) AS ortrxsrc,
    [OrigDTASeries] AS origdtaseries,
    [OrigSeqNum] AS origseqnum,
    [SEQNUMBR] AS seqnumbr,
    [DTA_GL_Status] AS dta_gl_status,
    [DTA_Index] AS dta_index,
    RTRIM([CURNCYID]) AS curncyid,
    [CURRNIDX] AS currnidx,
    RTRIM([RATETPID]) AS ratetpid,
    RTRIM([EXGTBLID]) AS exgtblid,
    [XCHGRATE] AS xchgrate,
    [EXCHDATE] AS exchdate,
    [TIME1] AS time1,
    [RTCLCMTD] AS rtclcmtd,
    [NOTEINDX] AS noteindx,
    [ICTRX] AS ictrx,
    RTRIM([ORCOMID]) AS orcomid,
    [ORIGINJE] AS originje,
    [PERIODID] AS periodid,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [ORDBTAMT] AS ordbtamt,
    [ORCRDAMT] AS orcrdamt,
    [DOCDATE] AS docdate,
    [PSTGNMBR] AS pstgnmbr,
    [PPSGNMBR] AS ppsgnmbr,
    [DENXRATE] AS denxrate,
    [MCTRXSTT] AS mctrxstt,
    RTRIM([CorrespondingUnit]) AS correspondingunit,
    [VOIDED] AS voided,
    [Back_Out_JE] AS back_out_je,
    [Back_Out_JE_Year] AS back_out_je_year,
    [Correcting_JE] AS correcting_je,
    [Correcting_JE_Year] AS correcting_je_year,
    [Original_JE] AS original_je,
    [Original_JE_Seq_Num] AS original_je_seq_num,
    [Original_JE_Year] AS original_je_year,
    [Ledger_ID] AS ledger_id,
    [Adjustment_Transaction] AS adjustment_transaction,
    RTRIM([APRVLUSERID]) AS aprvluserid,
    [APPRVLDT] AS apprvldt,
    [DEX_ROW_TS] AS dex_row_ts,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL30000]
  WHERE 
      [DEX_ROW_ID] >= 9944808
  ------------destination table-----------------------------
  pipekit_staging.dbo_gl30000
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-18 14:33:00.478840085
  ------------source metadata-------------------------------
  number of cols: 66
    * hstyear: smallint
    * jrnentry: int
    * rctrxseq: numeric
    * sourcdoc: varchar
    * refrence: varchar
    * dscriptn: varchar
    * trxdate: datetime
    * actindx: int
    * trxsorce: varchar
    * polldtrx: tinyint
    * lastuser: varchar
    * lstdtedt: datetime
    * uswhpstd: varchar
    * orgntsrc: varchar
    * orgnatyp: smallint
    * qkofset: smallint
    * series: smallint
    * ortrxtyp: smallint
    * orctrnum: varchar
    * ormstrid: varchar
    * ormstrnm: varchar
    * ordocnum: varchar
    * orpstddt: datetime
    * ortrxsrc: varchar
    * origdtaseries: smallint
    * origseqnum: int
    * seqnumbr: int
    * dta_gl_status: smallint
    * dta_index: numeric
    * curncyid: varchar
    * currnidx: smallint
    * ratetpid: varchar
    * exgtblid: varchar
    * xchgrate: numeric
    * exchdate: datetime
    * time1: datetime
    * rtclcmtd: smallint
    * noteindx: numeric
    * ictrx: tinyint
    * orcomid: varchar
    * originje: int
    * periodid: smallint
    * debitamt: numeric
    * crdtamnt: numeric
    * ordbtamt: numeric
    * orcrdamt: numeric
    * docdate: datetime
    * pstgnmbr: int
    * ppsgnmbr: int
    * denxrate: numeric
    * mctrxstt: smallint
    * correspondingunit: varchar
    * voided: tinyint
    * back_out_je: int
    * back_out_je_year: smallint
    * correcting_je: int
    * correcting_je_year: smallint
    * original_je: int
    * original_je_seq_num: numeric
    * original_je_year: smallint
    * ledger_id: smallint
    * adjustment_transaction: tinyint
    * aprvluserid: varchar
    * apprvldt: datetime
    * dex_row_ts: datetime
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.dbo_gl30000
  ------------row count-------------------------------------

  1 rows written
  2026-05-18 14:33:00.478840085
  2026-05-18 14:33:02.513690989

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    [HSTYEAR] AS hstyear,
    [JRNENTRY] AS jrnentry,
    [RCTRXSEQ] AS rctrxseq,
    RTRIM([SOURCDOC]) AS sourcdoc,
    RTRIM([REFRENCE]) AS refrence,
    RTRIM([DSCRIPTN]) AS dscriptn,
    [TRXDATE] AS trxdate,
    [ACTINDX] AS actindx,
    RTRIM([TRXSORCE]) AS trxsorce,
    [POLLDTRX] AS polldtrx,
    RTRIM([LASTUSER]) AS lastuser,
    [LSTDTEDT] AS lstdtedt,
    RTRIM([USWHPSTD]) AS uswhpstd,
    RTRIM([ORGNTSRC]) AS orgntsrc,
    [ORGNATYP] AS orgnatyp,
    [QKOFSET] AS qkofset,
    [SERIES] AS series,
    [ORTRXTYP] AS ortrxtyp,
    RTRIM([ORCTRNUM]) AS orctrnum,
    RTRIM([ORMSTRID]) AS ormstrid,
    RTRIM([ORMSTRNM]) AS ormstrnm,
    RTRIM([ORDOCNUM]) AS ordocnum,
    [ORPSTDDT] AS orpstddt,
    RTRIM([ORTRXSRC]) AS ortrxsrc,
    [OrigDTASeries] AS origdtaseries,
    [OrigSeqNum] AS origseqnum,
    [SEQNUMBR] AS seqnumbr,
    [DTA_GL_Status] AS dta_gl_status,
    [DTA_Index] AS dta_index,
    RTRIM([CURNCYID]) AS curncyid,
    [CURRNIDX] AS currnidx,
    RTRIM([RATETPID]) AS ratetpid,
    RTRIM([EXGTBLID]) AS exgtblid,
    [XCHGRATE] AS xchgrate,
    [EXCHDATE] AS exchdate,
    [TIME1] AS time1,
    [RTCLCMTD] AS rtclcmtd,
    [NOTEINDX] AS noteindx,
    [ICTRX] AS ictrx,
    RTRIM([ORCOMID]) AS orcomid,
    [ORIGINJE] AS originje,
    [PERIODID] AS periodid,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [ORDBTAMT] AS ordbtamt,
    [ORCRDAMT] AS orcrdamt,
    [DOCDATE] AS docdate,
    [PSTGNMBR] AS pstgnmbr,
    [PPSGNMBR] AS ppsgnmbr,
    [DENXRATE] AS denxrate,
    [MCTRXSTT] AS mctrxstt,
    RTRIM([CorrespondingUnit]) AS correspondingunit,
    [VOIDED] AS voided,
    [Back_Out_JE] AS back_out_je,
    [Back_Out_JE_Year] AS back_out_je_year,
    [Correcting_JE] AS correcting_je,
    [Correcting_JE_Year] AS correcting_je_year,
    [Original_JE] AS original_je,
    [Original_JE_Seq_Num] AS original_je_seq_num,
    [Original_JE_Year] AS original_je_year,
    [Ledger_ID] AS ledger_id,
    [Adjustment_Transaction] AS adjustment_transaction,
    RTRIM([APRVLUSERID]) AS aprvluserid,
    [APPRVLDT] AS apprvldt,
    [DEX_ROW_TS] AS dex_row_ts,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL30000]
  WHERE
      [DEX_ROW_ID] >= 9944808
  ------------destination table-----------------------------
  pipekit_staging.dbo_gl30000
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-18 14:33:00.478840085
  ------------source metadata-------------------------------
  number of cols: 66
    * hstyear: smallint
    * jrnentry: int
    * rctrxseq: numeric
    * sourcdoc: varchar
    * refrence: varchar
    * dscriptn: varchar
    * trxdate: datetime
    * actindx: int
    * trxsorce: varchar
    * polldtrx: tinyint
    * lastuser: varchar
    * lstdtedt: datetime
    * uswhpstd: varchar
    * orgntsrc: varchar
    * orgnatyp: smallint
    * qkofset: smallint
    * series: smallint
    * ortrxtyp: smallint
    * orctrnum: varchar
    * ormstrid: varchar
    * ormstrnm: varchar
    * ordocnum: varchar
    * orpstddt: datetime
    * ortrxsrc: varchar
    * origdtaseries: smallint
    * origseqnum: int
    * seqnumbr: int
    * dta_gl_status: smallint
    * dta_index: numeric
    * curncyid: varchar
    * currnidx: smallint
    * ratetpid: varchar
    * exgtblid: varchar
    * xchgrate: numeric
    * exchdate: datetime
    * time1: datetime
    * rtclcmtd: smallint
    * noteindx: numeric
    * ictrx: tinyint
    * orcomid: varchar
    * originje: int
    * periodid: smallint
    * debitamt: numeric
    * crdtamnt: numeric
    * ordbtamt: numeric
    * orcrdamt: numeric
    * docdate: datetime
    * pstgnmbr: int
    * ppsgnmbr: int
    * denxrate: numeric
    * mctrxstt: smallint
    * correspondingunit: varchar
    * voided: tinyint
    * back_out_je: int
    * back_out_je_year: smallint
    * correcting_je: int
    * correcting_je_year: smallint
    * original_je: int
    * original_je_seq_num: numeric
    * original_je_year: smallint
    * ledger_id: smallint
    * adjustment_transaction: tinyint
    * aprvluserid: varchar
    * apprvldt: datetime
    * dex_row_ts: datetime
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.dbo_gl30000
  ------------row count-------------------------------------
  1 rows written
  2026-05-18 14:33:00.478840085
  2026-05-18 14:33:02.513690989


finished_at: 2026-05-18 18:33:50
status: success
watermark_values_json: {"dex_row_id": "10403994"}
resolved_source_sql:
  SELECT
    [OPENYEAR] AS openyear,
    [JRNENTRY] AS jrnentry,
    [RCTRXSEQ] AS rctrxseq,
    RTRIM([SOURCDOC]) AS sourcdoc,
    RTRIM([REFRENCE]) AS refrence,
    RTRIM([DSCRIPTN]) AS dscriptn,
    [TRXDATE] AS trxdate,
    RTRIM([TRXSORCE]) AS trxsorce,
    [ACTINDX] AS actindx,
    [POLLDTRX] AS polldtrx,
    RTRIM([LASTUSER]) AS lastuser,
    [LSTDTEDT] AS lstdtedt,
    RTRIM([USWHPSTD]) AS uswhpstd,
    RTRIM([ORGNTSRC]) AS orgntsrc,
    [ORGNATYP] AS orgnatyp,
    [QKOFSET] AS qkofset,
    [SERIES] AS series,
    [ORTRXTYP] AS ortrxtyp,
    RTRIM([ORCTRNUM]) AS orctrnum,
    RTRIM([ORMSTRID]) AS ormstrid,
    RTRIM([ORMSTRNM]) AS ormstrnm,
    RTRIM([ORDOCNUM]) AS ordocnum,
    [ORPSTDDT] AS orpstddt,
    RTRIM([ORTRXSRC]) AS ortrxsrc,
    [OrigDTASeries] AS origdtaseries,
    [OrigSeqNum] AS origseqnum,
    [SEQNUMBR] AS seqnumbr,
    [DTA_GL_Status] AS dta_gl_status,
    [DTA_Index] AS dta_index,
    RTRIM([CURNCYID]) AS curncyid,
    [CURRNIDX] AS currnidx,
    RTRIM([RATETPID]) AS ratetpid,
    RTRIM([EXGTBLID]) AS exgtblid,
    [XCHGRATE] AS xchgrate,
    [EXCHDATE] AS exchdate,
    [TIME1] AS time1,
    [RTCLCMTD] AS rtclcmtd,
    [NOTEINDX] AS noteindx,
    [ICTRX] AS ictrx,
    RTRIM([ORCOMID]) AS orcomid,
    [ORIGINJE] AS originje,
    [PERIODID] AS periodid,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [ORDBTAMT] AS ordbtamt,
    [ORCRDAMT] AS orcrdamt,
    [DOCDATE] AS docdate,
    [PSTGNMBR] AS pstgnmbr,
    [PPSGNMBR] AS ppsgnmbr,
    [DENXRATE] AS denxrate,
    [MCTRXSTT] AS mctrxstt,
    RTRIM([CorrespondingUnit]) AS correspondingunit,
    [VOIDED] AS voided,
    [Back_Out_JE] AS back_out_je,
    [Back_Out_JE_Year] AS back_out_je_year,
    [Correcting_JE] AS correcting_je,
    [Correcting_JE_Year] AS correcting_je_year,
    [Original_JE] AS original_je,
    [Original_JE_Seq_Num] AS original_je_seq_num,
    [Original_JE_Year] AS original_je_year,
    [Ledger_ID] AS ledger_id,
    [Adjustment_Transaction] AS adjustment_transaction,
    RTRIM([APRVLUSERID]) AS aprvluserid,
    [APPRVLDT] AS apprvldt,
    [DEX_ROW_TS] AS dex_row_ts,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL20000]
  WHERE [DEX_ROW_ID] > 10403994

merge_sql:
[cell repeats an earlier one in this file: 154 characters]

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    [OPENYEAR] AS openyear,
    [JRNENTRY] AS jrnentry,
    [RCTRXSEQ] AS rctrxseq,
    RTRIM([SOURCDOC]) AS sourcdoc,
    RTRIM([REFRENCE]) AS refrence,
    RTRIM([DSCRIPTN]) AS dscriptn,
    [TRXDATE] AS trxdate,
    RTRIM([TRXSORCE]) AS trxsorce,
    [ACTINDX] AS actindx,
    [POLLDTRX] AS polldtrx,
    RTRIM([LASTUSER]) AS lastuser,
    [LSTDTEDT] AS lstdtedt,
    RTRIM([USWHPSTD]) AS uswhpstd,
    RTRIM([ORGNTSRC]) AS orgntsrc,
    [ORGNATYP] AS orgnatyp,
    [QKOFSET] AS qkofset,
    [SERIES] AS series,
    [ORTRXTYP] AS ortrxtyp,
    RTRIM([ORCTRNUM]) AS orctrnum,
    RTRIM([ORMSTRID]) AS ormstrid,
    RTRIM([ORMSTRNM]) AS ormstrnm,
    RTRIM([ORDOCNUM]) AS ordocnum,
    [ORPSTDDT] AS orpstddt,
    RTRIM([ORTRXSRC]) AS ortrxsrc,
    [OrigDTASeries] AS origdtaseries,
    [OrigSeqNum] AS origseqnum,
    [SEQNUMBR] AS seqnumbr,
    [DTA_GL_Status] AS dta_gl_status,
    [DTA_Index] AS dta_index,
    RTRIM([CURNCYID]) AS curncyid,
    [CURRNIDX] AS currnidx,
    RTRIM([RATETPID]) AS ratetpid,
    RTRIM([EXGTBLID]) AS exgtblid,
    [XCHGRATE] AS xchgrate,
    [EXCHDATE] AS exchdate,
    [TIME1] AS time1,
    [RTCLCMTD] AS rtclcmtd,
    [NOTEINDX] AS noteindx,
    [ICTRX] AS ictrx,
    RTRIM([ORCOMID]) AS orcomid,
    [ORIGINJE] AS originje,
    [PERIODID] AS periodid,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [ORDBTAMT] AS ordbtamt,
    [ORCRDAMT] AS orcrdamt,
    [DOCDATE] AS docdate,
    [PSTGNMBR] AS pstgnmbr,
    [PPSGNMBR] AS ppsgnmbr,
    [DENXRATE] AS denxrate,
    [MCTRXSTT] AS mctrxstt,
    RTRIM([CorrespondingUnit]) AS correspondingunit,
    [VOIDED] AS voided,
    [Back_Out_JE] AS back_out_je,
    [Back_Out_JE_Year] AS back_out_je_year,
    [Correcting_JE] AS correcting_je,
    [Correcting_JE_Year] AS correcting_je_year,
    [Original_JE] AS original_je,
    [Original_JE_Seq_Num] AS original_je_seq_num,
    [Original_JE_Year] AS original_je_year,
    [Ledger_ID] AS ledger_id,
    [Adjustment_Transaction] AS adjustment_transaction,
    RTRIM([APRVLUSERID]) AS aprvluserid,
    [APPRVLDT] AS apprvldt,
    [DEX_ROW_TS] AS dex_row_ts,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL20000]
  WHERE [DEX_ROW_ID] > 10403994
  ------------destination table-----------------------------
  pipekit_staging.gl20000
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-18 14:33:44.633128348
  ------------source metadata-------------------------------
  number of cols: 66
    * openyear: smallint
    * jrnentry: int
    * rctrxseq: numeric
    * sourcdoc: varchar
    * refrence: varchar
    * dscriptn: varchar
    * trxdate: datetime
    * trxsorce: varchar
    * actindx: int
    * polldtrx: tinyint
    * lastuser: varchar
    * lstdtedt: datetime
    * uswhpstd: varchar
    * orgntsrc: varchar
    * orgnatyp: smallint
    * qkofset: smallint
    * series: smallint
    * ortrxtyp: smallint
    * orctrnum: varchar
    * ormstrid: varchar
    * ormstrnm: varchar
    * ordocnum: varchar
    * orpstddt: datetime
    * ortrxsrc: varchar
    * origdtaseries: smallint
    * origseqnum: int
    * seqnumbr: int
    * dta_gl_status: smallint
    * dta_index: numeric
    * curncyid: varchar
    * currnidx: smallint
    * ratetpid: varchar
    * exgtblid: varchar
    * xchgrate: numeric
    * exchdate: datetime
    * time1: datetime
    * rtclcmtd: smallint
    * noteindx: numeric
    * ictrx: tinyint
    * orcomid: varchar
    * originje: int
    * periodid: smallint
    * debitamt: numeric
    * crdtamnt: numeric
    * ordbtamt: numeric
    * orcrdamt: numeric
    * docdate: datetime
    * pstgnmbr: int
    * ppsgnmbr: int
    * denxrate: numeric
    * mctrxstt: smallint
    * correspondingunit: varchar
    * voided: tinyint
    * back_out_je: int
    * back_out_je_year: smallint
    * correcting_je: int
    * correcting_je_year: smallint
    * original_je: int
    * original_je_seq_num: numeric
    * original_je_year: smallint
    * ledger_id: smallint
    * adjustment_transaction: tinyint
    * aprvluserid: varchar
    * apprvldt: datetime
    * dex_row_ts: datetime
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.gl20000
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2424 rows written
  2026-05-18 14:33:44.633128348
  2026-05-18 14:33:49.340328299

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    [OPENYEAR] AS openyear,
    [JRNENTRY] AS jrnentry,
    [RCTRXSEQ] AS rctrxseq,
    RTRIM([SOURCDOC]) AS sourcdoc,
    RTRIM([REFRENCE]) AS refrence,
    RTRIM([DSCRIPTN]) AS dscriptn,
    [TRXDATE] AS trxdate,
    RTRIM([TRXSORCE]) AS trxsorce,
    [ACTINDX] AS actindx,
    [POLLDTRX] AS polldtrx,
    RTRIM([LASTUSER]) AS lastuser,
    [LSTDTEDT] AS lstdtedt,
    RTRIM([USWHPSTD]) AS uswhpstd,
    RTRIM([ORGNTSRC]) AS orgntsrc,
    [ORGNATYP] AS orgnatyp,
    [QKOFSET] AS qkofset,
    [SERIES] AS series,
    [ORTRXTYP] AS ortrxtyp,
    RTRIM([ORCTRNUM]) AS orctrnum,
    RTRIM([ORMSTRID]) AS ormstrid,
    RTRIM([ORMSTRNM]) AS ormstrnm,
    RTRIM([ORDOCNUM]) AS ordocnum,
    [ORPSTDDT] AS orpstddt,
    RTRIM([ORTRXSRC]) AS ortrxsrc,
    [OrigDTASeries] AS origdtaseries,
    [OrigSeqNum] AS origseqnum,
    [SEQNUMBR] AS seqnumbr,
    [DTA_GL_Status] AS dta_gl_status,
    [DTA_Index] AS dta_index,
    RTRIM([CURNCYID]) AS curncyid,
    [CURRNIDX] AS currnidx,
    RTRIM([RATETPID]) AS ratetpid,
    RTRIM([EXGTBLID]) AS exgtblid,
    [XCHGRATE] AS xchgrate,
    [EXCHDATE] AS exchdate,
    [TIME1] AS time1,
    [RTCLCMTD] AS rtclcmtd,
    [NOTEINDX] AS noteindx,
    [ICTRX] AS ictrx,
    RTRIM([ORCOMID]) AS orcomid,
    [ORIGINJE] AS originje,
    [PERIODID] AS periodid,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [ORDBTAMT] AS ordbtamt,
    [ORCRDAMT] AS orcrdamt,
    [DOCDATE] AS docdate,
    [PSTGNMBR] AS pstgnmbr,
    [PPSGNMBR] AS ppsgnmbr,
    [DENXRATE] AS denxrate,
    [MCTRXSTT] AS mctrxstt,
    RTRIM([CorrespondingUnit]) AS correspondingunit,
    [VOIDED] AS voided,
    [Back_Out_JE] AS back_out_je,
    [Back_Out_JE_Year] AS back_out_je_year,
    [Correcting_JE] AS correcting_je,
    [Correcting_JE_Year] AS correcting_je_year,
    [Original_JE] AS original_je,
    [Original_JE_Seq_Num] AS original_je_seq_num,
    [Original_JE_Year] AS original_je_year,
    [Ledger_ID] AS ledger_id,
    [Adjustment_Transaction] AS adjustment_transaction,
    RTRIM([APRVLUSERID]) AS aprvluserid,
    [APPRVLDT] AS apprvldt,
    [DEX_ROW_TS] AS dex_row_ts,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL20000]
  WHERE [DEX_ROW_ID] > 10403994
  ------------destination table-----------------------------
  pipekit_staging.gl20000
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-18 14:33:44.633128348
  ------------source metadata-------------------------------
  number of cols: 66
    * openyear: smallint
    * jrnentry: int
    * rctrxseq: numeric
    * sourcdoc: varchar
    * refrence: varchar
    * dscriptn: varchar
    * trxdate: datetime
    * trxsorce: varchar
    * actindx: int
    * polldtrx: tinyint
    * lastuser: varchar
    * lstdtedt: datetime
    * uswhpstd: varchar
    * orgntsrc: varchar
    * orgnatyp: smallint
    * qkofset: smallint
    * series: smallint
    * ortrxtyp: smallint
    * orctrnum: varchar
    * ormstrid: varchar
    * ormstrnm: varchar
    * ordocnum: varchar
    * orpstddt: datetime
    * ortrxsrc: varchar
    * origdtaseries: smallint
    * origseqnum: int
    * seqnumbr: int
    * dta_gl_status: smallint
    * dta_index: numeric
    * curncyid: varchar
    * currnidx: smallint
    * ratetpid: varchar
    * exgtblid: varchar
    * xchgrate: numeric
    * exchdate: datetime
    * time1: datetime
    * rtclcmtd: smallint
    * noteindx: numeric
    * ictrx: tinyint
    * orcomid: varchar
    * originje: int
    * periodid: smallint
    * debitamt: numeric
    * crdtamnt: numeric
    * ordbtamt: numeric
    * orcrdamt: numeric
    * docdate: datetime
    * pstgnmbr: int
    * ppsgnmbr: int
    * denxrate: numeric
    * mctrxstt: smallint
    * correspondingunit: varchar
    * voided: tinyint
    * back_out_je: int
    * back_out_je_year: smallint
    * correcting_je: int
    * correcting_je_year: smallint
    * original_je: int
    * original_je_seq_num: numeric
    * original_je_year: smallint
    * ledger_id: smallint
    * adjustment_transaction: tinyint
    * aprvluserid: varchar
    * apprvldt: datetime
    * dex_row_ts: datetime
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.gl20000
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2424 rows written
  2026-05-18 14:33:44.633128348
  2026-05-18 14:33:49.340328299


finished_at: 2026-05-19 01:26:46
status: success
watermark_values_json: {"dex_row_id": "10406418"}
resolved_source_sql:
  SELECT
    [OPENYEAR] AS openyear,
    [JRNENTRY] AS jrnentry,
    [RCTRXSEQ] AS rctrxseq,
    RTRIM([SOURCDOC]) AS sourcdoc,
    RTRIM([REFRENCE]) AS refrence,
    RTRIM([DSCRIPTN]) AS dscriptn,
    [TRXDATE] AS trxdate,
    RTRIM([TRXSORCE]) AS trxsorce,
    [ACTINDX] AS actindx,
    [POLLDTRX] AS polldtrx,
    RTRIM([LASTUSER]) AS lastuser,
    [LSTDTEDT] AS lstdtedt,
    RTRIM([USWHPSTD]) AS uswhpstd,
    RTRIM([ORGNTSRC]) AS orgntsrc,
    [ORGNATYP] AS orgnatyp,
    [QKOFSET] AS qkofset,
    [SERIES] AS series,
    [ORTRXTYP] AS ortrxtyp,
    RTRIM([ORCTRNUM]) AS orctrnum,
    RTRIM([ORMSTRID]) AS ormstrid,
    RTRIM([ORMSTRNM]) AS ormstrnm,
    RTRIM([ORDOCNUM]) AS ordocnum,
    [ORPSTDDT] AS orpstddt,
    RTRIM([ORTRXSRC]) AS ortrxsrc,
    [OrigDTASeries] AS origdtaseries,
    [OrigSeqNum] AS origseqnum,
    [SEQNUMBR] AS seqnumbr,
    [DTA_GL_Status] AS dta_gl_status,
    [DTA_Index] AS dta_index,
    RTRIM([CURNCYID]) AS curncyid,
    [CURRNIDX] AS currnidx,
    RTRIM([RATETPID]) AS ratetpid,
    RTRIM([EXGTBLID]) AS exgtblid,
    [XCHGRATE] AS xchgrate,
    [EXCHDATE] AS exchdate,
    [TIME1] AS time1,
    [RTCLCMTD] AS rtclcmtd,
    [NOTEINDX] AS noteindx,
    [ICTRX] AS ictrx,
    RTRIM([ORCOMID]) AS orcomid,
    [ORIGINJE] AS originje,
    [PERIODID] AS periodid,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [ORDBTAMT] AS ordbtamt,
    [ORCRDAMT] AS orcrdamt,
    [DOCDATE] AS docdate,
    [PSTGNMBR] AS pstgnmbr,
    [PPSGNMBR] AS ppsgnmbr,
    [DENXRATE] AS denxrate,
    [MCTRXSTT] AS mctrxstt,
    RTRIM([CorrespondingUnit]) AS correspondingunit,
    [VOIDED] AS voided,
    [Back_Out_JE] AS back_out_je,
    [Back_Out_JE_Year] AS back_out_je_year,
    [Correcting_JE] AS correcting_je,
    [Correcting_JE_Year] AS correcting_je_year,
    [Original_JE] AS original_je,
    [Original_JE_Seq_Num] AS original_je_seq_num,
    [Original_JE_Year] AS original_je_year,
    [Ledger_ID] AS ledger_id,
    [Adjustment_Transaction] AS adjustment_transaction,
    RTRIM([APRVLUSERID]) AS aprvluserid,
    [APPRVLDT] AS apprvldt,
    [DEX_ROW_TS] AS dex_row_ts,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL20000]
  WHERE [DEX_ROW_ID] > 10406418

merge_sql:
[cell repeats an earlier one in this file: 154 characters]

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    [OPENYEAR] AS openyear,
    [JRNENTRY] AS jrnentry,
    [RCTRXSEQ] AS rctrxseq,
    RTRIM([SOURCDOC]) AS sourcdoc,
    RTRIM([REFRENCE]) AS refrence,
    RTRIM([DSCRIPTN]) AS dscriptn,
    [TRXDATE] AS trxdate,
    RTRIM([TRXSORCE]) AS trxsorce,
    [ACTINDX] AS actindx,
    [POLLDTRX] AS polldtrx,
    RTRIM([LASTUSER]) AS lastuser,
    [LSTDTEDT] AS lstdtedt,
    RTRIM([USWHPSTD]) AS uswhpstd,
    RTRIM([ORGNTSRC]) AS orgntsrc,
    [ORGNATYP] AS orgnatyp,
    [QKOFSET] AS qkofset,
    [SERIES] AS series,
    [ORTRXTYP] AS ortrxtyp,
    RTRIM([ORCTRNUM]) AS orctrnum,
    RTRIM([ORMSTRID]) AS ormstrid,
    RTRIM([ORMSTRNM]) AS ormstrnm,
    RTRIM([ORDOCNUM]) AS ordocnum,
    [ORPSTDDT] AS orpstddt,
    RTRIM([ORTRXSRC]) AS ortrxsrc,
    [OrigDTASeries] AS origdtaseries,
    [OrigSeqNum] AS origseqnum,
    [SEQNUMBR] AS seqnumbr,
    [DTA_GL_Status] AS dta_gl_status,
    [DTA_Index] AS dta_index,
    RTRIM([CURNCYID]) AS curncyid,
    [CURRNIDX] AS currnidx,
    RTRIM([RATETPID]) AS ratetpid,
    RTRIM([EXGTBLID]) AS exgtblid,
    [XCHGRATE] AS xchgrate,
    [EXCHDATE] AS exchdate,
    [TIME1] AS time1,
    [RTCLCMTD] AS rtclcmtd,
    [NOTEINDX] AS noteindx,
    [ICTRX] AS ictrx,
    RTRIM([ORCOMID]) AS orcomid,
    [ORIGINJE] AS originje,
    [PERIODID] AS periodid,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [ORDBTAMT] AS ordbtamt,
    [ORCRDAMT] AS orcrdamt,
    [DOCDATE] AS docdate,
    [PSTGNMBR] AS pstgnmbr,
    [PPSGNMBR] AS ppsgnmbr,
    [DENXRATE] AS denxrate,
    [MCTRXSTT] AS mctrxstt,
    RTRIM([CorrespondingUnit]) AS correspondingunit,
    [VOIDED] AS voided,
    [Back_Out_JE] AS back_out_je,
    [Back_Out_JE_Year] AS back_out_je_year,
    [Correcting_JE] AS correcting_je,
    [Correcting_JE_Year] AS correcting_je_year,
    [Original_JE] AS original_je,
    [Original_JE_Seq_Num] AS original_je_seq_num,
    [Original_JE_Year] AS original_je_year,
    [Ledger_ID] AS ledger_id,
    [Adjustment_Transaction] AS adjustment_transaction,
    RTRIM([APRVLUSERID]) AS aprvluserid,
    [APPRVLDT] AS apprvldt,
    [DEX_ROW_TS] AS dex_row_ts,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL20000]
  WHERE [DEX_ROW_ID] > 10406418
  ------------destination table-----------------------------
  pipekit_staging.gl20000
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-18 21:26:40.908350657
  ------------source metadata-------------------------------
  number of cols: 66
    * openyear: smallint
    * jrnentry: int
    * rctrxseq: numeric
    * sourcdoc: varchar
    * refrence: varchar
    * dscriptn: varchar
    * trxdate: datetime
    * trxsorce: varchar
    * actindx: int
    * polldtrx: tinyint
    * lastuser: varchar
    * lstdtedt: datetime
    * uswhpstd: varchar
    * orgntsrc: varchar
    * orgnatyp: smallint
    * qkofset: smallint
    * series: smallint
    * ortrxtyp: smallint
    * orctrnum: varchar
    * ormstrid: varchar
    * ormstrnm: varchar
    * ordocnum: varchar
    * orpstddt: datetime
    * ortrxsrc: varchar
    * origdtaseries: smallint
    * origseqnum: int
    * seqnumbr: int
    * dta_gl_status: smallint
    * dta_index: numeric
    * curncyid: varchar
    * currnidx: smallint
    * ratetpid: varchar
    * exgtblid: varchar
    * xchgrate: numeric
    * exchdate: datetime
    * time1: datetime
    * rtclcmtd: smallint
    * noteindx: numeric
    * ictrx: tinyint
    * orcomid: varchar
    * originje: int
    * periodid: smallint
    * debitamt: numeric
    * crdtamnt: numeric
    * ordbtamt: numeric
    * orcrdamt: numeric
    * docdate: datetime
    * pstgnmbr: int
    * ppsgnmbr: int
    * denxrate: numeric
    * mctrxstt: smallint
    * correspondingunit: varchar
    * voided: tinyint
    * back_out_je: int
    * back_out_je_year: smallint
    * correcting_je: int
    * correcting_je_year: smallint
    * original_je: int
    * original_je_seq_num: numeric
    * original_je_year: smallint
    * ledger_id: smallint
    * adjustment_transaction: tinyint
    * aprvluserid: varchar
    * apprvldt: datetime
    * dex_row_ts: datetime
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.gl20000
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1393 rows written
  2026-05-18 21:26:40.908350657
  2026-05-18 21:26:45.381605831

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    [OPENYEAR] AS openyear,
    [JRNENTRY] AS jrnentry,
    [RCTRXSEQ] AS rctrxseq,
    RTRIM([SOURCDOC]) AS sourcdoc,
    RTRIM([REFRENCE]) AS refrence,
    RTRIM([DSCRIPTN]) AS dscriptn,
    [TRXDATE] AS trxdate,
    RTRIM([TRXSORCE]) AS trxsorce,
    [ACTINDX] AS actindx,
    [POLLDTRX] AS polldtrx,
    RTRIM([LASTUSER]) AS lastuser,
    [LSTDTEDT] AS lstdtedt,
    RTRIM([USWHPSTD]) AS uswhpstd,
    RTRIM([ORGNTSRC]) AS orgntsrc,
    [ORGNATYP] AS orgnatyp,
    [QKOFSET] AS qkofset,
    [SERIES] AS series,
    [ORTRXTYP] AS ortrxtyp,
    RTRIM([ORCTRNUM]) AS orctrnum,
    RTRIM([ORMSTRID]) AS ormstrid,
    RTRIM([ORMSTRNM]) AS ormstrnm,
    RTRIM([ORDOCNUM]) AS ordocnum,
    [ORPSTDDT] AS orpstddt,
    RTRIM([ORTRXSRC]) AS ortrxsrc,
    [OrigDTASeries] AS origdtaseries,
    [OrigSeqNum] AS origseqnum,
    [SEQNUMBR] AS seqnumbr,
    [DTA_GL_Status] AS dta_gl_status,
    [DTA_Index] AS dta_index,
    RTRIM([CURNCYID]) AS curncyid,
    [CURRNIDX] AS currnidx,
    RTRIM([RATETPID]) AS ratetpid,
    RTRIM([EXGTBLID]) AS exgtblid,
    [XCHGRATE] AS xchgrate,
    [EXCHDATE] AS exchdate,
    [TIME1] AS time1,
    [RTCLCMTD] AS rtclcmtd,
    [NOTEINDX] AS noteindx,
    [ICTRX] AS ictrx,
    RTRIM([ORCOMID]) AS orcomid,
    [ORIGINJE] AS originje,
    [PERIODID] AS periodid,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [ORDBTAMT] AS ordbtamt,
    [ORCRDAMT] AS orcrdamt,
    [DOCDATE] AS docdate,
    [PSTGNMBR] AS pstgnmbr,
    [PPSGNMBR] AS ppsgnmbr,
    [DENXRATE] AS denxrate,
    [MCTRXSTT] AS mctrxstt,
    RTRIM([CorrespondingUnit]) AS correspondingunit,
    [VOIDED] AS voided,
    [Back_Out_JE] AS back_out_je,
    [Back_Out_JE_Year] AS back_out_je_year,
    [Correcting_JE] AS correcting_je,
    [Correcting_JE_Year] AS correcting_je_year,
    [Original_JE] AS original_je,
    [Original_JE_Seq_Num] AS original_je_seq_num,
    [Original_JE_Year] AS original_je_year,
    [Ledger_ID] AS ledger_id,
    [Adjustment_Transaction] AS adjustment_transaction,
    RTRIM([APRVLUSERID]) AS aprvluserid,
    [APPRVLDT] AS apprvldt,
    [DEX_ROW_TS] AS dex_row_ts,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL20000]
  WHERE [DEX_ROW_ID] > 10406418
  ------------destination table-----------------------------
  pipekit_staging.gl20000
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-18 21:26:40.908350657
  ------------source metadata-------------------------------
  number of cols: 66
    * openyear: smallint
    * jrnentry: int
    * rctrxseq: numeric
    * sourcdoc: varchar
    * refrence: varchar
    * dscriptn: varchar
    * trxdate: datetime
    * trxsorce: varchar
    * actindx: int
    * polldtrx: tinyint
    * lastuser: varchar
    * lstdtedt: datetime
    * uswhpstd: varchar
    * orgntsrc: varchar
    * orgnatyp: smallint
    * qkofset: smallint
    * series: smallint
    * ortrxtyp: smallint
    * orctrnum: varchar
    * ormstrid: varchar
    * ormstrnm: varchar
    * ordocnum: varchar
    * orpstddt: datetime
    * ortrxsrc: varchar
    * origdtaseries: smallint
    * origseqnum: int
    * seqnumbr: int
    * dta_gl_status: smallint
    * dta_index: numeric
    * curncyid: varchar
    * currnidx: smallint
    * ratetpid: varchar
    * exgtblid: varchar
    * xchgrate: numeric
    * exchdate: datetime
    * time1: datetime
    * rtclcmtd: smallint
    * noteindx: numeric
    * ictrx: tinyint
    * orcomid: varchar
    * originje: int
    * periodid: smallint
    * debitamt: numeric
    * crdtamnt: numeric
    * ordbtamt: numeric
    * orcrdamt: numeric
    * docdate: datetime
    * pstgnmbr: int
    * ppsgnmbr: int
    * denxrate: numeric
    * mctrxstt: smallint
    * correspondingunit: varchar
    * voided: tinyint
    * back_out_je: int
    * back_out_je_year: smallint
    * correcting_je: int
    * correcting_je_year: smallint
    * original_je: int
    * original_je_seq_num: numeric
    * original_je_year: smallint
    * ledger_id: smallint
    * adjustment_transaction: tinyint
    * aprvluserid: varchar
    * apprvldt: datetime
    * dex_row_ts: datetime
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.gl20000
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1393 rows written
  2026-05-18 21:26:40.908350657
  2026-05-18 21:26:45.381605831


finished_at: 2026-05-20 16:53:13
status: error
error:
  WatermarkError: watermark 'dex_row_ts' resolver failed: org.postgresql.util.PSQLException: ERROR: column "dex_row_ts" does not exist
  Traceback (most recent call last):
    File "/opt/pipekit/pipekit/engine/watermark.py", line 32, in resolve_watermarks
      result = jrunner.query(conn["jdbc_url"], conn.get("username"),
    File "/opt/pipekit/pipekit/jrunner.py", line 132, in query
      raise JrunnerError(silent, stdout=r.stdout, stderr=r.stderr)
  pipekit.jrunner.JrunnerError: org.postgresql.util.PSQLException: ERROR: column "dex_row_ts" does not exist

  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):
    File "/opt/pipekit/pipekit/engine/runner.py", line 75, in run_module
      wm_values = watermark.resolve_watermarks(module, use_defaults_only=False)
    File "/opt/pipekit/pipekit/engine/watermark.py", line 35, in resolve_watermarks
      raise WatermarkError(
  pipekit.engine.watermark.WatermarkError: watermark 'dex_row_ts' resolver failed: org.postgresql.util.PSQLException: ERROR: column "dex_row_ts" does not exist


finished_at: 2026-05-20 16:54:20
status: dry_run
watermark_values_json: {}
resolved_source_sql:
  SELECT
    ITEMNMBR AS itemnmbr,
    LOCNCODE AS locncode,
    BINNMBR AS binnmbr,
    RCRDTYPE AS rcrdtype,
    PRIMVNDR AS primvndr,
    ITMFRFLG AS itmfrflg,
    BGNGQTY AS bgngqty,
    LSORDQTY AS lsordqty,
    LRCPTQTY AS lrcptqty,
    LSTORDDT AS lstorddt,
    LSORDVND AS lsordvnd,
    LSRCPTDT AS lsrcptdt,
    QTYRQSTN AS qtyrqstn,
    QTYONORD AS qtyonord,
    QTYBKORD AS qtybkord,
    QTY_Drop_Shipped AS qty_drop_shipped,
    QTYINUSE AS qtyinuse,
    QTYINSVC AS qtyinsvc,
    QTYRTRND AS qtyrtrnd,
    QTYDMGED AS qtydmged,
    QTYONHND AS qtyonhnd,
    ATYALLOC AS atyalloc,
    QTYCOMTD AS qtycomtd,
    QTYSOLD AS qtysold,
    NXTCNTDT AS nxtcntdt,
    NXTCNTTM AS nxtcnttm,
    LSTCNTDT AS lstcntdt,
    LSTCNTTM AS lstcnttm,
    STCKCNTINTRVL AS stckcntintrvl,
    Landed_Cost_Group_ID AS landed_cost_group_id,
    BUYERID AS buyerid,
    PLANNERID AS plannerid,
    ORDERPOLICY AS orderpolicy,
    FXDORDRQTY AS fxdordrqty,
    ORDRPNTQTY AS ordrpntqty,
    NMBROFDYS AS nmbrofdys,
    MNMMORDRQTY AS mnmmordrqty,
    MXMMORDRQTY AS mxmmordrqty,
    ORDERMULTIPLE AS ordermultiple,
    REPLENISHMENTMETHOD AS replenishmentmethod,
    SHRINKAGEFACTOR AS shrinkagefactor,
    PRCHSNGLDTM AS prchsngldtm,
    MNFCTRNGFXDLDTM AS mnfctrngfxdldtm,
    MNFCTRNGVRBLLDTM AS mnfctrngvrblldtm,
    STAGINGLDTME AS stagingldtme,
    PLNNNGTMFNCDYS AS plnnngtmfncdys,
    DMNDTMFNCPRDS AS dmndtmfncprds,
    INCLDDINPLNNNG AS inclddinplnnng,
    CALCULATEATP AS calculateatp,
    AUTOCHKATP AS autochkatp,
    PLNFNLPAB AS plnfnlpab,
    FRCSTCNSMPTNPRD AS frcstcnsmptnprd,
    ORDRUPTOLVL AS ordruptolvl,
    SFTYSTCKQTY AS sftystckqty,
    REORDERVARIANCE AS reordervariance,
    PORECEIPTBIN AS poreceiptbin,
    PORETRNBIN AS poretrnbin,
    SOFULFILLMENTBIN AS sofulfillmentbin,
    SORETURNBIN AS soreturnbin,
    BOMRCPTBIN AS bomrcptbin,
    MATERIALISSUEBIN AS materialissuebin,
    MORECEIPTBIN AS moreceiptbin,
    REPAIRISSUESBIN AS repairissuesbin,
    ReplenishmentLevel AS replenishmentlevel,
    POPOrderMethod AS popordermethod,
    MasterLocationCode AS masterlocationcode,
    POPVendorSelection AS popvendorselection,
    POPPricingSelection AS poppricingselection,
    PurchasePrice AS purchaseprice,
    IncludeAllocations AS includeallocations,
    IncludeBackorders AS includebackorders,
    IncludeRequisitions AS includerequisitions,
    PICKTICKETITEMOPT AS pickticketitemopt,
    INCLDMRPMOVEIN AS incldmrpmovein,
    INCLDMRPMOVEOUT AS incldmrpmoveout,
    INCLDMRPCANCEL AS incldmrpcancel,
    Move_Out_Fence AS move_out_fence,
    INACTIVE AS inactive,
    DEX_ROW_ID AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[IV00102]

merge_sql:
  DELETE FROM gp.iv00102 WHERE dex_row_id IN (SELECT dex_row_id FROM pipekit_staging.iv00102);
  INSERT INTO gp.iv00102 SELECT * FROM pipekit_staging.iv00102;


finished_at: 2026-05-20 16:58:03
status: success
watermark_values_json: {}
resolved_source_sql:
  SELECT
    ITEMNMBR AS itemnmbr,
    LOCNCODE AS locncode,
    BINNMBR AS binnmbr,
    RCRDTYPE AS rcrdtype,
    PRIMVNDR AS primvndr,
    ITMFRFLG AS itmfrflg,
    BGNGQTY AS bgngqty,
    LSORDQTY AS lsordqty,
    LRCPTQTY AS lrcptqty,
    LSTORDDT AS lstorddt,
    LSORDVND AS lsordvnd,
    LSRCPTDT AS lsrcptdt,
    QTYRQSTN AS qtyrqstn,
    QTYONORD AS qtyonord,
    QTYBKORD AS qtybkord,
    QTY_Drop_Shipped AS qty_drop_shipped,
    QTYINUSE AS qtyinuse,
    QTYINSVC AS qtyinsvc,
    QTYRTRND AS qtyrtrnd,
    QTYDMGED AS qtydmged,
    QTYONHND AS qtyonhnd,
    ATYALLOC AS atyalloc,
    QTYCOMTD AS qtycomtd,
    QTYSOLD AS qtysold,
    NXTCNTDT AS nxtcntdt,
    NXTCNTTM AS nxtcnttm,
    LSTCNTDT AS lstcntdt,
    LSTCNTTM AS lstcnttm,
    STCKCNTINTRVL AS stckcntintrvl,
    Landed_Cost_Group_ID AS landed_cost_group_id,
    BUYERID AS buyerid,
    PLANNERID AS plannerid,
    ORDERPOLICY AS orderpolicy,
    FXDORDRQTY AS fxdordrqty,
    ORDRPNTQTY AS ordrpntqty,
    NMBROFDYS AS nmbrofdys,
    MNMMORDRQTY AS mnmmordrqty,
    MXMMORDRQTY AS mxmmordrqty,
    ORDERMULTIPLE AS ordermultiple,
    REPLENISHMENTMETHOD AS replenishmentmethod,
    SHRINKAGEFACTOR AS shrinkagefactor,
    PRCHSNGLDTM AS prchsngldtm,
    MNFCTRNGFXDLDTM AS mnfctrngfxdldtm,
    MNFCTRNGVRBLLDTM AS mnfctrngvrblldtm,
    STAGINGLDTME AS stagingldtme,
    PLNNNGTMFNCDYS AS plnnngtmfncdys,
    DMNDTMFNCPRDS AS dmndtmfncprds,
    INCLDDINPLNNNG AS inclddinplnnng,
    CALCULATEATP AS calculateatp,
    AUTOCHKATP AS autochkatp,
    PLNFNLPAB AS plnfnlpab,
    FRCSTCNSMPTNPRD AS frcstcnsmptnprd,
    ORDRUPTOLVL AS ordruptolvl,
    SFTYSTCKQTY AS sftystckqty,
    REORDERVARIANCE AS reordervariance,
    PORECEIPTBIN AS poreceiptbin,
    PORETRNBIN AS poretrnbin,
    SOFULFILLMENTBIN AS sofulfillmentbin,
    SORETURNBIN AS soreturnbin,
    BOMRCPTBIN AS bomrcptbin,
    MATERIALISSUEBIN AS materialissuebin,
    MORECEIPTBIN AS moreceiptbin,
    REPAIRISSUESBIN AS repairissuesbin,
    ReplenishmentLevel AS replenishmentlevel,
    POPOrderMethod AS popordermethod,
    MasterLocationCode AS masterlocationcode,
    POPVendorSelection AS popvendorselection,
    POPPricingSelection AS poppricingselection,
    PurchasePrice AS purchaseprice,
    IncludeAllocations AS includeallocations,
    IncludeBackorders AS includebackorders,
    IncludeRequisitions AS includerequisitions,
    PICKTICKETITEMOPT AS pickticketitemopt,
    INCLDMRPMOVEIN AS incldmrpmovein,
    INCLDMRPMOVEOUT AS incldmrpmoveout,
    INCLDMRPCANCEL AS incldmrpcancel,
    Move_Out_Fence AS move_out_fence,
    INACTIVE AS inactive,
    DEX_ROW_ID AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[IV00102]

merge_sql:
  DELETE FROM gp.iv00102 WHERE dex_row_id IN (SELECT dex_row_id FROM pipekit_staging.iv00102);
  INSERT INTO gp.iv00102 SELECT * FROM pipekit_staging.iv00102;

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    ITEMNMBR AS itemnmbr,
    LOCNCODE AS locncode,
    BINNMBR AS binnmbr,
    RCRDTYPE AS rcrdtype,
    PRIMVNDR AS primvndr,
    ITMFRFLG AS itmfrflg,
    BGNGQTY AS bgngqty,
    LSORDQTY AS lsordqty,
    LRCPTQTY AS lrcptqty,
    LSTORDDT AS lstorddt,
    LSORDVND AS lsordvnd,
    LSRCPTDT AS lsrcptdt,
    QTYRQSTN AS qtyrqstn,
    QTYONORD AS qtyonord,
    QTYBKORD AS qtybkord,
    QTY_Drop_Shipped AS qty_drop_shipped,
    QTYINUSE AS qtyinuse,
    QTYINSVC AS qtyinsvc,
    QTYRTRND AS qtyrtrnd,
    QTYDMGED AS qtydmged,
    QTYONHND AS qtyonhnd,
    ATYALLOC AS atyalloc,
    QTYCOMTD AS qtycomtd,
    QTYSOLD AS qtysold,
    NXTCNTDT AS nxtcntdt,
    NXTCNTTM AS nxtcnttm,
    LSTCNTDT AS lstcntdt,
    LSTCNTTM AS lstcnttm,
    STCKCNTINTRVL AS stckcntintrvl,
    Landed_Cost_Group_ID AS landed_cost_group_id,
    BUYERID AS buyerid,
    PLANNERID AS plannerid,
    ORDERPOLICY AS orderpolicy,
    FXDORDRQTY AS fxdordrqty,
    ORDRPNTQTY AS ordrpntqty,
    NMBROFDYS AS nmbrofdys,
    MNMMORDRQTY AS mnmmordrqty,
    MXMMORDRQTY AS mxmmordrqty,
    ORDERMULTIPLE AS ordermultiple,
    REPLENISHMENTMETHOD AS replenishmentmethod,
    SHRINKAGEFACTOR AS shrinkagefactor,
    PRCHSNGLDTM AS prchsngldtm,
    MNFCTRNGFXDLDTM AS mnfctrngfxdldtm,
    MNFCTRNGVRBLLDTM AS mnfctrngvrblldtm,
    STAGINGLDTME AS stagingldtme,
    PLNNNGTMFNCDYS AS plnnngtmfncdys,
    DMNDTMFNCPRDS AS dmndtmfncprds,
    INCLDDINPLNNNG AS inclddinplnnng,
    CALCULATEATP AS calculateatp,
    AUTOCHKATP AS autochkatp,
    PLNFNLPAB AS plnfnlpab,
    FRCSTCNSMPTNPRD AS frcstcnsmptnprd,
    ORDRUPTOLVL AS ordruptolvl,
    SFTYSTCKQTY AS sftystckqty,
    REORDERVARIANCE AS reordervariance,
    PORECEIPTBIN AS poreceiptbin,
    PORETRNBIN AS poretrnbin,
    SOFULFILLMENTBIN AS sofulfillmentbin,
    SORETURNBIN AS soreturnbin,
    BOMRCPTBIN AS bomrcptbin,
    MATERIALISSUEBIN AS materialissuebin,
    MORECEIPTBIN AS moreceiptbin,
    REPAIRISSUESBIN AS repairissuesbin,
    ReplenishmentLevel AS replenishmentlevel,
    POPOrderMethod AS popordermethod,
    MasterLocationCode AS masterlocationcode,
    POPVendorSelection AS popvendorselection,
    POPPricingSelection AS poppricingselection,
    PurchasePrice AS purchaseprice,
    IncludeAllocations AS includeallocations,
    IncludeBackorders AS includebackorders,
    IncludeRequisitions AS includerequisitions,
    PICKTICKETITEMOPT AS pickticketitemopt,
    INCLDMRPMOVEIN AS incldmrpmovein,
    INCLDMRPMOVEOUT AS incldmrpmoveout,
    INCLDMRPCANCEL AS incldmrpcancel,
    Move_Out_Fence AS move_out_fence,
    INACTIVE AS inactive,
    DEX_ROW_ID AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[IV00102]
  ------------destination table-----------------------------
  pipekit_staging.iv00102
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-20 12:54:38.10605432
  ------------source metadata-------------------------------
  number of cols: 79
    * itemnmbr: char
    * locncode: char
    * binnmbr: char
    * rcrdtype: smallint
    * primvndr: char
    * itmfrflg: tinyint
    * bgngqty: numeric
    * lsordqty: numeric
    * lrcptqty: numeric
    * lstorddt: datetime
    * lsordvnd: char
    * lsrcptdt: datetime
    * qtyrqstn: numeric
    * qtyonord: numeric
    * qtybkord: numeric
    * qty_drop_shipped: numeric
    * qtyinuse: numeric
    * qtyinsvc: numeric
    * qtyrtrnd: numeric
    * qtydmged: numeric
    * qtyonhnd: numeric
    * atyalloc: numeric
    * qtycomtd: numeric
    * qtysold: numeric
    * nxtcntdt: datetime
    * nxtcnttm: datetime
    * lstcntdt: datetime
    * lstcnttm: datetime
    * stckcntintrvl: smallint
    * landed_cost_group_id: char
    * buyerid: char
    * plannerid: char
    * orderpolicy: smallint
    * fxdordrqty: numeric
    * ordrpntqty: numeric
    * nmbrofdys: smallint
    * mnmmordrqty: numeric
    * mxmmordrqty: numeric
    * ordermultiple: numeric
    * replenishmentmethod: smallint
    * shrinkagefactor: numeric
    * prchsngldtm: numeric
    * mnfctrngfxdldtm: numeric
    * mnfctrngvrblldtm: numeric
    * stagingldtme: numeric
    * plnnngtmfncdys: smallint
    * dmndtmfncprds: smallint
    * inclddinplnnng: tinyint
    * calculateatp: tinyint
    * autochkatp: tinyint
    * plnfnlpab: tinyint
    * frcstcnsmptnprd: smallint
    * ordruptolvl: numeric
    * sftystckqty: numeric
    * reordervariance: numeric
    * poreceiptbin: char
    * poretrnbin: char
    * sofulfillmentbin: char
    * soreturnbin: char
    * bomrcptbin: char
    * materialissuebin: char
    * moreceiptbin: char
    * repairissuesbin: char
    * replenishmentlevel: smallint
    * popordermethod: smallint
    * masterlocationcode: char
    * popvendorselection: smallint
    * poppricingselection: smallint
    * purchaseprice: numeric
    * includeallocations: tinyint
    * includebackorders: tinyint
    * includerequisitions: tinyint
    * pickticketitemopt: smallint
    * incldmrpmovein: tinyint
    * incldmrpmoveout: tinyint
    * incldmrpcancel: tinyint
    * move_out_fence: smallint
    * inactive: tinyint
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.iv00102
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47250
  47500
  47750
  48000
  48250
  48500
  48750
  49000
  49250
  49500
  49750
  50000
  50250
  50500
  50750
  51000
  51250
  51500
  51750
  52000
  52250
  52500
  52750
  53000
  53250
  53500
  53750
  54000
  54250
  54500
  54750
  55000
  55250
  55500
  55750
  56000
  56250
  56500
  56750
  57000
  57250
  57500
  57750
  58000
  58250
  58500
  58750
  59000
  59250
  59500
  59750
  60000
  60250
  60500
  60750
  61000
  61250
  61500
  61750
  62000
  62250
  62500
  62750
  63000
  63250
  63500
  63750
  64000
  64250
  64500
  64750
  65000
  65250
  65500
  65750
  66000
  66250
  66500
  66750
  67000
  67250
  67500
  67750
  68000
  68250
  68500
  68750
  69000
  69250
  69500
  69750
  70000
  70250
  70500
  70750
  71000
  71250
  71500
  71750
  72000
  72250
  72500
  72750
  73000
  73250
  73500
  73750
  74000
  74250
  74500
  74750
  75000
  75250
  75500
  75750
  76000
  76250
  76500
  76750
  77000
  77250
  77500
  77750
  78000
  78250
  78500
  78750
  79000
  79250
  79500
  79750
  80000
  80250
  80500
  80750
  81000
  81250
  81500
  81750
  82000
  82250
  82500
  82750
  83000
  83250
  83500
  83750
  84000
  84250
  84500
  84750
  85000
  85250
  85500
  85750
  86000
  86250
  86500
  86750
  87000
  87250
  87500
  87750
  88000
  88250
  88500
  88750
  89000
  89250
  89500
  89750
  90000
  90250
  90500
  90750
  91000
  91250
  91500
  91750
  92000
  92250
  92500
  92750
  93000
  93250
  93500
  93750
  94000
  94250
  94500
  94750
  95000
  95250
  95500
  95750
  96000
  96250
  96500
  96750
  97000
  97250
  97500
  97750
  98000
  98250
  98500
  98750
  99000
  99250
  99500
  99750
  100000
  100250
  100500
  100750
  101000
  101250
  101500
  101750
  102000
  102250
  102500
  102750
  103000
  103250
  103500
  103750
  104000
  104250
  104500
  104750
  105000
  105250
  105500
  105750
  106000
  106250
  106500
  106750
  107000
  107250
  107500
  107750
  108000
  108250
  108500
  108750
  109000
  109250
  109500
  109750
  110000
  110250
  110500
  110750
  111000
  111250
  111500
  111750
  112000
  112250
  112500
  112750
  113000
  113250
  113500
  113750
  114000
  114250
  114500
  114750
  115000
  115250
  115500
  115750
  116000
  116250
  116500
  116750
  117000
  117250
  117500
  117750
  118000
  118250
  118500
  118750
  119000
  119250
  119500
  119750
  120000
  120250
  120500
  120750
  121000
  121250
  121500
  121750
  122000
  122250
  122500
  122750
  123000
  123250
  123500
  123750
  124000
  124250
  124500
  124750
  125000
  125250
  125500
  125750
  126000
  126250
  126500
  126750
  127000
  127250
  127500
  127750
  128000
  128250
  128500
  128750
  129000
  129250
  129500
  129750
  130000
  130250
  130500
  130750
  131000
  131250
  131500
  131750
  132000
  132250
  132500
  132750
  133000
  133250
  133500
  133750
  134000
  134250
  134500
  134750
  135000
  135250
  135500
  135750
  136000
  136250
  136500
  136750
  137000
  137250
  137500
  137750
  138000
  138250
  138500
  138750
  139000
  139250
  139500
  139750
  140000
  140250
  140500
  140750
  141000
  141250
  141500
  141750
  142000
  142250
  142500
  142750
  143000
  143250
  143500
  143750
  144000
  144250
  144500
  144750
  145000
  145250
  145500
  145750
  146000
  146250
  146500
  146750
  147000
  147250
  147500
  147750
  148000
  148250
  148500
  148750
  149000
  149250
  149500
  149750
  150000
  150250
  150500
  150750
  151000
  151250
  151500
  151750
  152000
  152250
  152500
  152750
  153000
  153250
  153500
  153750
  154000
  154250
  154500
  154750
  155000
  155250
  155500
  155750
  156000
  156250
  156500
  156750
  157000
  157250
  157500
  157750
  158000
  158250
  158500
  158750
  159000
  159250
  159500
  159750
  160000
  160250
  160500
  160750
  161000
  161250
  161500
  161750
  162000
  162250
  162500
  162750
  163000
  163250
  163500
  163750
  164000
  164250
  164500
  164750
  165000
  165250
  165500
  165750
  166000
  166250
  166500
  166750
  167000
  167250
  167500
  167750
  168000
  168250
  168500
  168750
  169000
  169250
  169500
  169750
  170000
  170250
  170500
  170750
  171000
  171250
  171500
  171750
  172000
  172250
  172500
  172750
  173000
  173250
  173500
  173750
  174000
  174250
  174500
  174750
  175000
  175250
  175500
  175750
  176000
  176250
  176500
  176750
  177000
  177250
  177500
  177750
  178000
  178250
  178500
  178750
  179000
  179250
  179500
  179750
  180000
  180250
  180500
  180750
  181000
  181250
  181500
  181750
  181981 rows written
  2026-05-20 12:54:38.10605432
  2026-05-20 12:58:02.299768731

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    ITEMNMBR AS itemnmbr,
    LOCNCODE AS locncode,
    BINNMBR AS binnmbr,
    RCRDTYPE AS rcrdtype,
    PRIMVNDR AS primvndr,
    ITMFRFLG AS itmfrflg,
    BGNGQTY AS bgngqty,
    LSORDQTY AS lsordqty,
    LRCPTQTY AS lrcptqty,
    LSTORDDT AS lstorddt,
    LSORDVND AS lsordvnd,
    LSRCPTDT AS lsrcptdt,
    QTYRQSTN AS qtyrqstn,
    QTYONORD AS qtyonord,
    QTYBKORD AS qtybkord,
    QTY_Drop_Shipped AS qty_drop_shipped,
    QTYINUSE AS qtyinuse,
    QTYINSVC AS qtyinsvc,
    QTYRTRND AS qtyrtrnd,
    QTYDMGED AS qtydmged,
    QTYONHND AS qtyonhnd,
    ATYALLOC AS atyalloc,
    QTYCOMTD AS qtycomtd,
    QTYSOLD AS qtysold,
    NXTCNTDT AS nxtcntdt,
    NXTCNTTM AS nxtcnttm,
    LSTCNTDT AS lstcntdt,
    LSTCNTTM AS lstcnttm,
    STCKCNTINTRVL AS stckcntintrvl,
    Landed_Cost_Group_ID AS landed_cost_group_id,
    BUYERID AS buyerid,
    PLANNERID AS plannerid,
    ORDERPOLICY AS orderpolicy,
    FXDORDRQTY AS fxdordrqty,
    ORDRPNTQTY AS ordrpntqty,
    NMBROFDYS AS nmbrofdys,
    MNMMORDRQTY AS mnmmordrqty,
    MXMMORDRQTY AS mxmmordrqty,
    ORDERMULTIPLE AS ordermultiple,
    REPLENISHMENTMETHOD AS replenishmentmethod,
    SHRINKAGEFACTOR AS shrinkagefactor,
    PRCHSNGLDTM AS prchsngldtm,
    MNFCTRNGFXDLDTM AS mnfctrngfxdldtm,
    MNFCTRNGVRBLLDTM AS mnfctrngvrblldtm,
    STAGINGLDTME AS stagingldtme,
    PLNNNGTMFNCDYS AS plnnngtmfncdys,
    DMNDTMFNCPRDS AS dmndtmfncprds,
    INCLDDINPLNNNG AS inclddinplnnng,
    CALCULATEATP AS calculateatp,
    AUTOCHKATP AS autochkatp,
    PLNFNLPAB AS plnfnlpab,
    FRCSTCNSMPTNPRD AS frcstcnsmptnprd,
    ORDRUPTOLVL AS ordruptolvl,
    SFTYSTCKQTY AS sftystckqty,
    REORDERVARIANCE AS reordervariance,
    PORECEIPTBIN AS poreceiptbin,
    PORETRNBIN AS poretrnbin,
    SOFULFILLMENTBIN AS sofulfillmentbin,
    SORETURNBIN AS soreturnbin,
    BOMRCPTBIN AS bomrcptbin,
    MATERIALISSUEBIN AS materialissuebin,
    MORECEIPTBIN AS moreceiptbin,
    REPAIRISSUESBIN AS repairissuesbin,
    ReplenishmentLevel AS replenishmentlevel,
    POPOrderMethod AS popordermethod,
    MasterLocationCode AS masterlocationcode,
    POPVendorSelection AS popvendorselection,
    POPPricingSelection AS poppricingselection,
    PurchasePrice AS purchaseprice,
    IncludeAllocations AS includeallocations,
    IncludeBackorders AS includebackorders,
    IncludeRequisitions AS includerequisitions,
    PICKTICKETITEMOPT AS pickticketitemopt,
    INCLDMRPMOVEIN AS incldmrpmovein,
    INCLDMRPMOVEOUT AS incldmrpmoveout,
    INCLDMRPCANCEL AS incldmrpcancel,
    Move_Out_Fence AS move_out_fence,
    INACTIVE AS inactive,
    DEX_ROW_ID AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[IV00102]
  ------------destination table-----------------------------
  pipekit_staging.iv00102
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-20 12:54:38.10605432
  ------------source metadata-------------------------------
  number of cols: 79
    * itemnmbr: char
    * locncode: char
    * binnmbr: char
    * rcrdtype: smallint
    * primvndr: char
    * itmfrflg: tinyint
    * bgngqty: numeric
    * lsordqty: numeric
    * lrcptqty: numeric
    * lstorddt: datetime
    * lsordvnd: char
    * lsrcptdt: datetime
    * qtyrqstn: numeric
    * qtyonord: numeric
    * qtybkord: numeric
    * qty_drop_shipped: numeric
    * qtyinuse: numeric
    * qtyinsvc: numeric
    * qtyrtrnd: numeric
    * qtydmged: numeric
    * qtyonhnd: numeric
    * atyalloc: numeric
    * qtycomtd: numeric
    * qtysold: numeric
    * nxtcntdt: datetime
    * nxtcnttm: datetime
    * lstcntdt: datetime
    * lstcnttm: datetime
    * stckcntintrvl: smallint
    * landed_cost_group_id: char
    * buyerid: char
    * plannerid: char
    * orderpolicy: smallint
    * fxdordrqty: numeric
    * ordrpntqty: numeric
    * nmbrofdys: smallint
    * mnmmordrqty: numeric
    * mxmmordrqty: numeric
    * ordermultiple: numeric
    * replenishmentmethod: smallint
    * shrinkagefactor: numeric
    * prchsngldtm: numeric
    * mnfctrngfxdldtm: numeric
    * mnfctrngvrblldtm: numeric
    * stagingldtme: numeric
    * plnnngtmfncdys: smallint
    * dmndtmfncprds: smallint
    * inclddinplnnng: tinyint
    * calculateatp: tinyint
    * autochkatp: tinyint
    * plnfnlpab: tinyint
    * frcstcnsmptnprd: smallint
    * ordruptolvl: numeric
    * sftystckqty: numeric
    * reordervariance: numeric
    * poreceiptbin: char
    * poretrnbin: char
    * sofulfillmentbin: char
    * soreturnbin: char
    * bomrcptbin: char
    * materialissuebin: char
    * moreceiptbin: char
    * repairissuesbin: char
    * replenishmentlevel: smallint
    * popordermethod: smallint
    * masterlocationcode: char
    * popvendorselection: smallint
    * poppricingselection: smallint
    * purchaseprice: numeric
    * includeallocations: tinyint
    * includebackorders: tinyint
    * includerequisitions: tinyint
    * pickticketitemopt: smallint
    * incldmrpmovein: tinyint
    * incldmrpmoveout: tinyint
    * incldmrpcancel: tinyint
    * move_out_fence: smallint
    * inactive: tinyint
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.iv00102
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47250
  47500
  47750
  48000
  48250
  48500
  48750
  49000
  49250
  49500
  49750
  50000
  50250
  50500
  50750
  51000
  51250
  51500
  51750
  52000
  52250
  52500
  52750
  53000
  53250
  53500
  53750
  54000
  54250
  54500
  54750
  55000
  55250
  55500
  55750
  56000
  56250
  56500
  56750
  57000
  57250
  57500
  57750
  58000
  58250
  58500
  58750
  59000
  59250
  59500
  59750
  60000
  60250
  60500
  60750
  61000
  61250
  61500
  61750
  62000
  62250
  62500
  62750
  63000
  63250
  63500
  63750
  64000
  64250
  64500
  64750
  65000
  65250
  65500
  65750
  66000
  66250
  66500
  66750
  67000
  67250
  67500
  67750
  68000
  68250
  68500
  68750
  69000
  69250
  69500
  69750
  70000
  70250
  70500
  70750
  71000
  71250
  71500
  71750
  72000
  72250
  72500
  72750
  73000
  73250
  73500
  73750
  74000
  74250
  74500
  74750
  75000
  75250
  75500
  75750
  76000
  76250
  76500
  76750
  77000
  77250
  77500
  77750
  78000
  78250
  78500
  78750
  79000
  79250
  79500
  79750
  80000
  80250
  80500
  80750
  81000
  81250
  81500
  81750
  82000
  82250
  82500
  82750
  83000
  83250
  83500
  83750
  84000
  84250
  84500
  84750
  85000
  85250
  85500
  85750
  86000
  86250
  86500
  86750
  87000
  87250
  87500
  87750
  88000
  88250
  88500
  88750
  89000
  89250
  89500
  89750
  90000
  90250
  90500
  90750
  91000
  91250
  91500
  91750
  92000
  92250
  92500
  92750
  93000
  93250
  93500
  93750
  94000
  94250
  94500
  94750
  95000
  95250
  95500
  95750
  96000
  96250
  96500
  96750
  97000
  97250
  97500
  97750
  98000
  98250
  98500
  98750
  99000
  99250
  99500
  99750
  100000
  100250
  100500
  100750
  101000
  101250
  101500
  101750
  102000
  102250
  102500
  102750
  103000
  103250
  103500
  103750
  104000
  104250
  104500
  104750
  105000
  105250
  105500
  105750
  106000
  106250
  106500
  106750
  107000
  107250
  107500
  107750
  108000
  108250
  108500
  108750
  109000
  109250
  109500
  109750
  110000
  110250
  110500
  110750
  111000
  111250
  111500
  111750
  112000
  112250
  112500
  112750
  113000
  113250
  113500
  113750
  114000
  114250
  114500
  114750
  115000
  115250
  115500
  115750
  116000
  116250
  116500
  116750
  117000
  117250
  117500
  117750
  118000
  118250
  118500
  118750
  119000
  119250
  119500
  119750
  120000
  120250
  120500
  120750
  121000
  121250
  121500
  121750
  122000
  122250
  122500
  122750
  123000
  123250
  123500
  123750
  124000
  124250
  124500
  124750
  125000
  125250
  125500
  125750
  126000
  126250
  126500
  126750
  127000
  127250
  127500
  127750
  128000
  128250
  128500
  128750
  129000
  129250
  129500
  129750
  130000
  130250
  130500
  130750
  131000
  131250
  131500
  131750
  132000
  132250
  132500
  132750
  133000
  133250
  133500
  133750
  134000
  134250
  134500
  134750
  135000
  135250
  135500
  135750
  136000
  136250
  136500
  136750
  137000
  137250
  137500
  137750
  138000
  138250
  138500
  138750
  139000
  139250
  139500
  139750
  140000
  140250
  140500
  140750
  141000
  141250
  141500
  141750
  142000
  142250
  142500
  142750
  143000
  143250
  143500
  143750
  144000
  144250
  144500
  144750
  145000
  145250
  145500
  145750
  146000
  146250
  146500
  146750
  147000
  147250
  147500
  147750
  148000
  148250
  148500
  148750
  149000
  149250
  149500
  149750
  150000
  150250
  150500
  150750
  151000
  151250
  151500
  151750
  152000
  152250
  152500
  152750
  153000
  153250
  153500
  153750
  154000
  154250
  154500
  154750
  155000
  155250
  155500
  155750
  156000
  156250
  156500
  156750
  157000
  157250
  157500
  157750
  158000
  158250
  158500
  158750
  159000
  159250
  159500
  159750
  160000
  160250
  160500
  160750
  161000
  161250
  161500
  161750
  162000
  162250
  162500
  162750
  163000
  163250
  163500
  163750
  164000
  164250
  164500
  164750
  165000
  165250
  165500
  165750
  166000
  166250
  166500
  166750
  167000
  167250
  167500
  167750
  168000
  168250
  168500
  168750
  169000
  169250
  169500
  169750
  170000
  170250
  170500
  170750
  171000
  171250
  171500
  171750
  172000
  172250
  172500
  172750
  173000
  173250
  173500
  173750
  174000
  174250
  174500
  174750
  175000
  175250
  175500
  175750
  176000
  176250
  176500
  176750
  177000
  177250
  177500
  177750
  178000
  178250
  178500
  178750
  179000
  179250
  179500
  179750
  180000
  180250
  180500
  180750
  181000
  181250
  181500
  181750
  181981 rows written
  2026-05-20 12:54:38.10605432
  2026-05-20 12:58:02.299768731


finished_at: 2026-05-21 04:10:28
status: success
merge_sql:
  TRUNCATE TABLE gp.iv00102;
  INSERT INTO gp.iv00102 SELECT * FROM pipekit_staging.iv00102;

watermark_values_json: {}
resolved_source_sql:
  SELECT
    ITEMNMBR AS itemnmbr,
    LOCNCODE AS locncode,
    BINNMBR AS binnmbr,
    RCRDTYPE AS rcrdtype,
    PRIMVNDR AS primvndr,
    ITMFRFLG AS itmfrflg,
    BGNGQTY AS bgngqty,
    LSORDQTY AS lsordqty,
    LRCPTQTY AS lrcptqty,
    LSTORDDT AS lstorddt,
    LSORDVND AS lsordvnd,
    LSRCPTDT AS lsrcptdt,
    QTYRQSTN AS qtyrqstn,
    QTYONORD AS qtyonord,
    QTYBKORD AS qtybkord,
    QTY_Drop_Shipped AS qty_drop_shipped,
    QTYINUSE AS qtyinuse,
    QTYINSVC AS qtyinsvc,
    QTYRTRND AS qtyrtrnd,
    QTYDMGED AS qtydmged,
    QTYONHND AS qtyonhnd,
    ATYALLOC AS atyalloc,
    QTYCOMTD AS qtycomtd,
    QTYSOLD AS qtysold,
    NXTCNTDT AS nxtcntdt,
    NXTCNTTM AS nxtcnttm,
    LSTCNTDT AS lstcntdt,
    LSTCNTTM AS lstcnttm,
    STCKCNTINTRVL AS stckcntintrvl,
    Landed_Cost_Group_ID AS landed_cost_group_id,
    BUYERID AS buyerid,
    PLANNERID AS plannerid,
    ORDERPOLICY AS orderpolicy,
    FXDORDRQTY AS fxdordrqty,
    ORDRPNTQTY AS ordrpntqty,
    NMBROFDYS AS nmbrofdys,
    MNMMORDRQTY AS mnmmordrqty,
    MXMMORDRQTY AS mxmmordrqty,
    ORDERMULTIPLE AS ordermultiple,
    REPLENISHMENTMETHOD AS replenishmentmethod,
    SHRINKAGEFACTOR AS shrinkagefactor,
    PRCHSNGLDTM AS prchsngldtm,
    MNFCTRNGFXDLDTM AS mnfctrngfxdldtm,
    MNFCTRNGVRBLLDTM AS mnfctrngvrblldtm,
    STAGINGLDTME AS stagingldtme,
    PLNNNGTMFNCDYS AS plnnngtmfncdys,
    DMNDTMFNCPRDS AS dmndtmfncprds,
    INCLDDINPLNNNG AS inclddinplnnng,
    CALCULATEATP AS calculateatp,
    AUTOCHKATP AS autochkatp,
    PLNFNLPAB AS plnfnlpab,
    FRCSTCNSMPTNPRD AS frcstcnsmptnprd,
    ORDRUPTOLVL AS ordruptolvl,
    SFTYSTCKQTY AS sftystckqty,
    REORDERVARIANCE AS reordervariance,
    PORECEIPTBIN AS poreceiptbin,
    PORETRNBIN AS poretrnbin,
    SOFULFILLMENTBIN AS sofulfillmentbin,
    SORETURNBIN AS soreturnbin,
    BOMRCPTBIN AS bomrcptbin,
    MATERIALISSUEBIN AS materialissuebin,
    MORECEIPTBIN AS moreceiptbin,
    REPAIRISSUESBIN AS repairissuesbin,
    ReplenishmentLevel AS replenishmentlevel,
    POPOrderMethod AS popordermethod,
    MasterLocationCode AS masterlocationcode,
    POPVendorSelection AS popvendorselection,
    POPPricingSelection AS poppricingselection,
    PurchasePrice AS purchaseprice,
    IncludeAllocations AS includeallocations,
    IncludeBackorders AS includebackorders,
    IncludeRequisitions AS includerequisitions,
    PICKTICKETITEMOPT AS pickticketitemopt,
    INCLDMRPMOVEIN AS incldmrpmovein,
    INCLDMRPMOVEOUT AS incldmrpmoveout,
    INCLDMRPCANCEL AS incldmrpcancel,
    Move_Out_Fence AS move_out_fence,
    INACTIVE AS inactive,
    DEX_ROW_ID AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[IV00102]
  WHERE QTYONHND <> 0
    

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    ITEMNMBR AS itemnmbr,
    LOCNCODE AS locncode,
    BINNMBR AS binnmbr,
    RCRDTYPE AS rcrdtype,
    PRIMVNDR AS primvndr,
    ITMFRFLG AS itmfrflg,
    BGNGQTY AS bgngqty,
    LSORDQTY AS lsordqty,
    LRCPTQTY AS lrcptqty,
    LSTORDDT AS lstorddt,
    LSORDVND AS lsordvnd,
    LSRCPTDT AS lsrcptdt,
    QTYRQSTN AS qtyrqstn,
    QTYONORD AS qtyonord,
    QTYBKORD AS qtybkord,
    QTY_Drop_Shipped AS qty_drop_shipped,
    QTYINUSE AS qtyinuse,
    QTYINSVC AS qtyinsvc,
    QTYRTRND AS qtyrtrnd,
    QTYDMGED AS qtydmged,
    QTYONHND AS qtyonhnd,
    ATYALLOC AS atyalloc,
    QTYCOMTD AS qtycomtd,
    QTYSOLD AS qtysold,
    NXTCNTDT AS nxtcntdt,
    NXTCNTTM AS nxtcnttm,
    LSTCNTDT AS lstcntdt,
    LSTCNTTM AS lstcnttm,
    STCKCNTINTRVL AS stckcntintrvl,
    Landed_Cost_Group_ID AS landed_cost_group_id,
    BUYERID AS buyerid,
    PLANNERID AS plannerid,
    ORDERPOLICY AS orderpolicy,
    FXDORDRQTY AS fxdordrqty,
    ORDRPNTQTY AS ordrpntqty,
    NMBROFDYS AS nmbrofdys,
    MNMMORDRQTY AS mnmmordrqty,
    MXMMORDRQTY AS mxmmordrqty,
    ORDERMULTIPLE AS ordermultiple,
    REPLENISHMENTMETHOD AS replenishmentmethod,
    SHRINKAGEFACTOR AS shrinkagefactor,
    PRCHSNGLDTM AS prchsngldtm,
    MNFCTRNGFXDLDTM AS mnfctrngfxdldtm,
    MNFCTRNGVRBLLDTM AS mnfctrngvrblldtm,
    STAGINGLDTME AS stagingldtme,
    PLNNNGTMFNCDYS AS plnnngtmfncdys,
    DMNDTMFNCPRDS AS dmndtmfncprds,
    INCLDDINPLNNNG AS inclddinplnnng,
    CALCULATEATP AS calculateatp,
    AUTOCHKATP AS autochkatp,
    PLNFNLPAB AS plnfnlpab,
    FRCSTCNSMPTNPRD AS frcstcnsmptnprd,
    ORDRUPTOLVL AS ordruptolvl,
    SFTYSTCKQTY AS sftystckqty,
    REORDERVARIANCE AS reordervariance,
    PORECEIPTBIN AS poreceiptbin,
    PORETRNBIN AS poretrnbin,
    SOFULFILLMENTBIN AS sofulfillmentbin,
    SORETURNBIN AS soreturnbin,
    BOMRCPTBIN AS bomrcptbin,
    MATERIALISSUEBIN AS materialissuebin,
    MORECEIPTBIN AS moreceiptbin,
    REPAIRISSUESBIN AS repairissuesbin,
    ReplenishmentLevel AS replenishmentlevel,
    POPOrderMethod AS popordermethod,
    MasterLocationCode AS masterlocationcode,
    POPVendorSelection AS popvendorselection,
    POPPricingSelection AS poppricingselection,
    PurchasePrice AS purchaseprice,
    IncludeAllocations AS includeallocations,
    IncludeBackorders AS includebackorders,
    IncludeRequisitions AS includerequisitions,
    PICKTICKETITEMOPT AS pickticketitemopt,
    INCLDMRPMOVEIN AS incldmrpmovein,
    INCLDMRPMOVEOUT AS incldmrpmoveout,
    INCLDMRPCANCEL AS incldmrpcancel,
    Move_Out_Fence AS move_out_fence,
    INACTIVE AS inactive,
    DEX_ROW_ID AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[IV00102]
  WHERE QTYONHND <> 0
    
  ------------destination table-----------------------------
  pipekit_staging.iv00102
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:10:22.28961983
  ------------source metadata-------------------------------
  number of cols: 79
    * itemnmbr: char
    * locncode: char
    * binnmbr: char
    * rcrdtype: smallint
    * primvndr: char
    * itmfrflg: tinyint
    * bgngqty: numeric
    * lsordqty: numeric
    * lrcptqty: numeric
    * lstorddt: datetime
    * lsordvnd: char
    * lsrcptdt: datetime
    * qtyrqstn: numeric
    * qtyonord: numeric
    * qtybkord: numeric
    * qty_drop_shipped: numeric
    * qtyinuse: numeric
    * qtyinsvc: numeric
    * qtyrtrnd: numeric
    * qtydmged: numeric
    * qtyonhnd: numeric
    * atyalloc: numeric
    * qtycomtd: numeric
    * qtysold: numeric
    * nxtcntdt: datetime
    * nxtcnttm: datetime
    * lstcntdt: datetime
    * lstcnttm: datetime
    * stckcntintrvl: smallint
    * landed_cost_group_id: char
    * buyerid: char
    * plannerid: char
    * orderpolicy: smallint
    * fxdordrqty: numeric
    * ordrpntqty: numeric
    * nmbrofdys: smallint
    * mnmmordrqty: numeric
    * mxmmordrqty: numeric
    * ordermultiple: numeric
    * replenishmentmethod: smallint
    * shrinkagefactor: numeric
    * prchsngldtm: numeric
    * mnfctrngfxdldtm: numeric
    * mnfctrngvrblldtm: numeric
    * stagingldtme: numeric
    * plnnngtmfncdys: smallint
    * dmndtmfncprds: smallint
    * inclddinplnnng: tinyint
    * calculateatp: tinyint
    * autochkatp: tinyint
    * plnfnlpab: tinyint
    * frcstcnsmptnprd: smallint
    * ordruptolvl: numeric
    * sftystckqty: numeric
    * reordervariance: numeric
    * poreceiptbin: char
    * poretrnbin: char
    * sofulfillmentbin: char
    * soreturnbin: char
    * bomrcptbin: char
    * materialissuebin: char
    * moreceiptbin: char
    * repairissuesbin: char
    * replenishmentlevel: smallint
    * popordermethod: smallint
    * masterlocationcode: char
    * popvendorselection: smallint
    * poppricingselection: smallint
    * purchaseprice: numeric
    * includeallocations: tinyint
    * includebackorders: tinyint
    * includerequisitions: tinyint
    * pickticketitemopt: smallint
    * incldmrpmovein: tinyint
    * incldmrpmoveout: tinyint
    * incldmrpcancel: tinyint
    * move_out_fence: smallint
    * inactive: tinyint
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.iv00102
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3195 rows written
  2026-05-21 00:10:22.28961983
  2026-05-21 00:10:27.539044634

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    ITEMNMBR AS itemnmbr,
    LOCNCODE AS locncode,
    BINNMBR AS binnmbr,
    RCRDTYPE AS rcrdtype,
    PRIMVNDR AS primvndr,
    ITMFRFLG AS itmfrflg,
    BGNGQTY AS bgngqty,
    LSORDQTY AS lsordqty,
    LRCPTQTY AS lrcptqty,
    LSTORDDT AS lstorddt,
    LSORDVND AS lsordvnd,
    LSRCPTDT AS lsrcptdt,
    QTYRQSTN AS qtyrqstn,
    QTYONORD AS qtyonord,
    QTYBKORD AS qtybkord,
    QTY_Drop_Shipped AS qty_drop_shipped,
    QTYINUSE AS qtyinuse,
    QTYINSVC AS qtyinsvc,
    QTYRTRND AS qtyrtrnd,
    QTYDMGED AS qtydmged,
    QTYONHND AS qtyonhnd,
    ATYALLOC AS atyalloc,
    QTYCOMTD AS qtycomtd,
    QTYSOLD AS qtysold,
    NXTCNTDT AS nxtcntdt,
    NXTCNTTM AS nxtcnttm,
    LSTCNTDT AS lstcntdt,
    LSTCNTTM AS lstcnttm,
    STCKCNTINTRVL AS stckcntintrvl,
    Landed_Cost_Group_ID AS landed_cost_group_id,
    BUYERID AS buyerid,
    PLANNERID AS plannerid,
    ORDERPOLICY AS orderpolicy,
    FXDORDRQTY AS fxdordrqty,
    ORDRPNTQTY AS ordrpntqty,
    NMBROFDYS AS nmbrofdys,
    MNMMORDRQTY AS mnmmordrqty,
    MXMMORDRQTY AS mxmmordrqty,
    ORDERMULTIPLE AS ordermultiple,
    REPLENISHMENTMETHOD AS replenishmentmethod,
    SHRINKAGEFACTOR AS shrinkagefactor,
    PRCHSNGLDTM AS prchsngldtm,
    MNFCTRNGFXDLDTM AS mnfctrngfxdldtm,
    MNFCTRNGVRBLLDTM AS mnfctrngvrblldtm,
    STAGINGLDTME AS stagingldtme,
    PLNNNGTMFNCDYS AS plnnngtmfncdys,
    DMNDTMFNCPRDS AS dmndtmfncprds,
    INCLDDINPLNNNG AS inclddinplnnng,
    CALCULATEATP AS calculateatp,
    AUTOCHKATP AS autochkatp,
    PLNFNLPAB AS plnfnlpab,
    FRCSTCNSMPTNPRD AS frcstcnsmptnprd,
    ORDRUPTOLVL AS ordruptolvl,
    SFTYSTCKQTY AS sftystckqty,
    REORDERVARIANCE AS reordervariance,
    PORECEIPTBIN AS poreceiptbin,
    PORETRNBIN AS poretrnbin,
    SOFULFILLMENTBIN AS sofulfillmentbin,
    SORETURNBIN AS soreturnbin,
    BOMRCPTBIN AS bomrcptbin,
    MATERIALISSUEBIN AS materialissuebin,
    MORECEIPTBIN AS moreceiptbin,
    REPAIRISSUESBIN AS repairissuesbin,
    ReplenishmentLevel AS replenishmentlevel,
    POPOrderMethod AS popordermethod,
    MasterLocationCode AS masterlocationcode,
    POPVendorSelection AS popvendorselection,
    POPPricingSelection AS poppricingselection,
    PurchasePrice AS purchaseprice,
    IncludeAllocations AS includeallocations,
    IncludeBackorders AS includebackorders,
    IncludeRequisitions AS includerequisitions,
    PICKTICKETITEMOPT AS pickticketitemopt,
    INCLDMRPMOVEIN AS incldmrpmovein,
    INCLDMRPMOVEOUT AS incldmrpmoveout,
    INCLDMRPCANCEL AS incldmrpcancel,
    Move_Out_Fence AS move_out_fence,
    INACTIVE AS inactive,
    DEX_ROW_ID AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[IV00102]
  WHERE QTYONHND <> 0
  ------------destination table-----------------------------
  pipekit_staging.iv00102
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:10:22.28961983
  ------------source metadata-------------------------------
  number of cols: 79
    * itemnmbr: char
    * locncode: char
    * binnmbr: char
    * rcrdtype: smallint
    * primvndr: char
    * itmfrflg: tinyint
    * bgngqty: numeric
    * lsordqty: numeric
    * lrcptqty: numeric
    * lstorddt: datetime
    * lsordvnd: char
    * lsrcptdt: datetime
    * qtyrqstn: numeric
    * qtyonord: numeric
    * qtybkord: numeric
    * qty_drop_shipped: numeric
    * qtyinuse: numeric
    * qtyinsvc: numeric
    * qtyrtrnd: numeric
    * qtydmged: numeric
    * qtyonhnd: numeric
    * atyalloc: numeric
    * qtycomtd: numeric
    * qtysold: numeric
    * nxtcntdt: datetime
    * nxtcnttm: datetime
    * lstcntdt: datetime
    * lstcnttm: datetime
    * stckcntintrvl: smallint
    * landed_cost_group_id: char
    * buyerid: char
    * plannerid: char
    * orderpolicy: smallint
    * fxdordrqty: numeric
    * ordrpntqty: numeric
    * nmbrofdys: smallint
    * mnmmordrqty: numeric
    * mxmmordrqty: numeric
    * ordermultiple: numeric
    * replenishmentmethod: smallint
    * shrinkagefactor: numeric
    * prchsngldtm: numeric
    * mnfctrngfxdldtm: numeric
    * mnfctrngvrblldtm: numeric
    * stagingldtme: numeric
    * plnnngtmfncdys: smallint
    * dmndtmfncprds: smallint
    * inclddinplnnng: tinyint
    * calculateatp: tinyint
    * autochkatp: tinyint
    * plnfnlpab: tinyint
    * frcstcnsmptnprd: smallint
    * ordruptolvl: numeric
    * sftystckqty: numeric
    * reordervariance: numeric
    * poreceiptbin: char
    * poretrnbin: char
    * sofulfillmentbin: char
    * soreturnbin: char
    * bomrcptbin: char
    * materialissuebin: char
    * moreceiptbin: char
    * repairissuesbin: char
    * replenishmentlevel: smallint
    * popordermethod: smallint
    * masterlocationcode: char
    * popvendorselection: smallint
    * poppricingselection: smallint
    * purchaseprice: numeric
    * includeallocations: tinyint
    * includebackorders: tinyint
    * includerequisitions: tinyint
    * pickticketitemopt: smallint
    * incldmrpmovein: tinyint
    * incldmrpmoveout: tinyint
    * incldmrpcancel: tinyint
    * move_out_fence: smallint
    * inactive: tinyint
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.iv00102
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3195 rows written
  2026-05-21 00:10:22.28961983
  2026-05-21 00:10:27.539044634


finished_at: 2026-05-21 04:12:42
status: success
merge_sql:
  TRUNCATE TABLE cms.stkb;
  INSERT INTO cms.stkb SELECT * FROM pipekit_staging.stkb;

watermark_values_json: {}
resolved_source_sql:
  SELECT
    RTRIM(BXPART) AS bxpart,
    RTRIM(BXLOT) AS bxlot,
    RTRIM(BXSTOK) AS bxstok,
    RTRIM(BXUNIT) AS bxunit,
    BXQTOH AS bxqtoh,
    BXQTAL AS bxqtal,
    BXMNQT AS bxmnqt,
    BXMXQT AS bxmxqt,
    BXQTOD AS bxqtod,
    CASE WHEN BXPDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE BXPDAT END AS bxpdat,
    RTRIM(BXCCGP) AS bxccgp,
    BXQTSO AS bxqtso,
    RTRIM(BXPLNT) AS bxplnt,
    RTRIM(BXFUT1) AS bxfut1,
    RTRIM(BXFUT2) AS bxfut2,
    RTRIM(BXFUT3) AS bxfut3,
    RTRIM(BXFUT4) AS bxfut4,
    RTRIM(BXFUT5) AS bxfut5,
    RTRIM(BXFUT6) AS bxfut6,
    RTRIM(BXFUT7) AS bxfut7,
    RTRIM(BXFUT8) AS bxfut8,
    RTRIM(BXFUT9) AS bxfut9,
    BXFUTA AS bxfuta,
    CASE WHEN BXLEXP IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE BXLEXP END AS bxlexp
  FROM LGDAT.STKB
  WHERE 
    BXQTOH <> 0

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    RTRIM(BXPART) AS bxpart,
    RTRIM(BXLOT) AS bxlot,
    RTRIM(BXSTOK) AS bxstok,
    RTRIM(BXUNIT) AS bxunit,
    BXQTOH AS bxqtoh,
    BXQTAL AS bxqtal,
    BXMNQT AS bxmnqt,
    BXMXQT AS bxmxqt,
    BXQTOD AS bxqtod,
    CASE WHEN BXPDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE BXPDAT END AS bxpdat,
    RTRIM(BXCCGP) AS bxccgp,
    BXQTSO AS bxqtso,
    RTRIM(BXPLNT) AS bxplnt,
    RTRIM(BXFUT1) AS bxfut1,
    RTRIM(BXFUT2) AS bxfut2,
    RTRIM(BXFUT3) AS bxfut3,
    RTRIM(BXFUT4) AS bxfut4,
    RTRIM(BXFUT5) AS bxfut5,
    RTRIM(BXFUT6) AS bxfut6,
    RTRIM(BXFUT7) AS bxfut7,
    RTRIM(BXFUT8) AS bxfut8,
    RTRIM(BXFUT9) AS bxfut9,
    BXFUTA AS bxfuta,
    CASE WHEN BXLEXP IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE BXLEXP END AS bxlexp
  FROM LGDAT.STKB
  WHERE 
    BXQTOH <> 0
  ------------destination table-----------------------------
  pipekit_staging.stkb
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:12:35.167782735
  ------------source metadata-------------------------------
  number of cols: 24
    * BXPART: VARCHAR
    * BXLOT: VARCHAR
    * BXSTOK: VARCHAR
    * BXUNIT: VARCHAR
    * BXQTOH: DECIMAL
    * BXQTAL: DECIMAL
    * BXMNQT: DECIMAL
    * BXMXQT: DECIMAL
    * BXQTOD: DECIMAL
    * BXPDAT: DATE
    * BXCCGP: VARCHAR
    * BXQTSO: DECIMAL
    * BXPLNT: VARCHAR
    * BXFUT1: VARCHAR
    * BXFUT2: VARCHAR
    * BXFUT3: VARCHAR
    * BXFUT4: VARCHAR
    * BXFUT5: VARCHAR
    * BXFUT6: VARCHAR
    * BXFUT7: VARCHAR
    * BXFUT8: VARCHAR
    * BXFUT9: VARCHAR
    * BXFUTA: NUMERIC
    * BXLEXP: DATE
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.stkb
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18497 rows written
  2026-05-21 00:12:35.167782735
  2026-05-21 00:12:41.874197044

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    RTRIM(BXPART) AS bxpart,
    RTRIM(BXLOT) AS bxlot,
    RTRIM(BXSTOK) AS bxstok,
    RTRIM(BXUNIT) AS bxunit,
    BXQTOH AS bxqtoh,
    BXQTAL AS bxqtal,
    BXMNQT AS bxmnqt,
    BXMXQT AS bxmxqt,
    BXQTOD AS bxqtod,
    CASE WHEN BXPDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE BXPDAT END AS bxpdat,
    RTRIM(BXCCGP) AS bxccgp,
    BXQTSO AS bxqtso,
    RTRIM(BXPLNT) AS bxplnt,
    RTRIM(BXFUT1) AS bxfut1,
    RTRIM(BXFUT2) AS bxfut2,
    RTRIM(BXFUT3) AS bxfut3,
    RTRIM(BXFUT4) AS bxfut4,
    RTRIM(BXFUT5) AS bxfut5,
    RTRIM(BXFUT6) AS bxfut6,
    RTRIM(BXFUT7) AS bxfut7,
    RTRIM(BXFUT8) AS bxfut8,
    RTRIM(BXFUT9) AS bxfut9,
    BXFUTA AS bxfuta,
    CASE WHEN BXLEXP IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE BXLEXP END AS bxlexp
  FROM LGDAT.STKB
  WHERE
    BXQTOH <> 0
  ------------destination table-----------------------------
  pipekit_staging.stkb
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:12:35.167782735
  ------------source metadata-------------------------------
  number of cols: 24
    * BXPART: VARCHAR
    * BXLOT: VARCHAR
    * BXSTOK: VARCHAR
    * BXUNIT: VARCHAR
    * BXQTOH: DECIMAL
    * BXQTAL: DECIMAL
    * BXMNQT: DECIMAL
    * BXMXQT: DECIMAL
    * BXQTOD: DECIMAL
    * BXPDAT: DATE
    * BXCCGP: VARCHAR
    * BXQTSO: DECIMAL
    * BXPLNT: VARCHAR
    * BXFUT1: VARCHAR
    * BXFUT2: VARCHAR
    * BXFUT3: VARCHAR
    * BXFUT4: VARCHAR
    * BXFUT5: VARCHAR
    * BXFUT6: VARCHAR
    * BXFUT7: VARCHAR
    * BXFUT8: VARCHAR
    * BXFUT9: VARCHAR
    * BXFUTA: NUMERIC
    * BXLEXP: DATE
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.stkb
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18497 rows written
  2026-05-21 00:12:35.167782735
  2026-05-21 00:12:41.874197044


finished_at: 2026-05-21 04:13:20
status: success
merge_sql:
  TRUNCATE TABLE cms.stkb;
  INSERT INTO cms.stkb SELECT * FROM pipekit_staging.stkb;

watermark_values_json: {}
resolved_source_sql:
[cell repeats an earlier one in this file: 812 characters]

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    RTRIM(BXPART) AS bxpart,
    RTRIM(BXLOT) AS bxlot,
    RTRIM(BXSTOK) AS bxstok,
    RTRIM(BXUNIT) AS bxunit,
    BXQTOH AS bxqtoh,
    BXQTAL AS bxqtal,
    BXMNQT AS bxmnqt,
    BXMXQT AS bxmxqt,
    BXQTOD AS bxqtod,
    CASE WHEN BXPDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE BXPDAT END AS bxpdat,
    RTRIM(BXCCGP) AS bxccgp,
    BXQTSO AS bxqtso,
    RTRIM(BXPLNT) AS bxplnt,
    RTRIM(BXFUT1) AS bxfut1,
    RTRIM(BXFUT2) AS bxfut2,
    RTRIM(BXFUT3) AS bxfut3,
    RTRIM(BXFUT4) AS bxfut4,
    RTRIM(BXFUT5) AS bxfut5,
    RTRIM(BXFUT6) AS bxfut6,
    RTRIM(BXFUT7) AS bxfut7,
    RTRIM(BXFUT8) AS bxfut8,
    RTRIM(BXFUT9) AS bxfut9,
    BXFUTA AS bxfuta,
    CASE WHEN BXLEXP IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE BXLEXP END AS bxlexp
  FROM LGDAT.STKB
  WHERE 
    BXQTOH <> 0
  ------------destination table-----------------------------
  pipekit_staging.stkb
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:13:13.67900761
  ------------source metadata-------------------------------
  number of cols: 24
    * BXPART: VARCHAR
    * BXLOT: VARCHAR
    * BXSTOK: VARCHAR
    * BXUNIT: VARCHAR
    * BXQTOH: DECIMAL
    * BXQTAL: DECIMAL
    * BXMNQT: DECIMAL
    * BXMXQT: DECIMAL
    * BXQTOD: DECIMAL
    * BXPDAT: DATE
    * BXCCGP: VARCHAR
    * BXQTSO: DECIMAL
    * BXPLNT: VARCHAR
    * BXFUT1: VARCHAR
    * BXFUT2: VARCHAR
    * BXFUT3: VARCHAR
    * BXFUT4: VARCHAR
    * BXFUT5: VARCHAR
    * BXFUT6: VARCHAR
    * BXFUT7: VARCHAR
    * BXFUT8: VARCHAR
    * BXFUT9: VARCHAR
    * BXFUTA: NUMERIC
    * BXLEXP: DATE
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.stkb
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18497 rows written
  2026-05-21 00:13:13.67900761
  2026-05-21 00:13:20.321363945

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    RTRIM(BXPART) AS bxpart,
    RTRIM(BXLOT) AS bxlot,
    RTRIM(BXSTOK) AS bxstok,
    RTRIM(BXUNIT) AS bxunit,
    BXQTOH AS bxqtoh,
    BXQTAL AS bxqtal,
    BXMNQT AS bxmnqt,
    BXMXQT AS bxmxqt,
    BXQTOD AS bxqtod,
    CASE WHEN BXPDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE BXPDAT END AS bxpdat,
    RTRIM(BXCCGP) AS bxccgp,
    BXQTSO AS bxqtso,
    RTRIM(BXPLNT) AS bxplnt,
    RTRIM(BXFUT1) AS bxfut1,
    RTRIM(BXFUT2) AS bxfut2,
    RTRIM(BXFUT3) AS bxfut3,
    RTRIM(BXFUT4) AS bxfut4,
    RTRIM(BXFUT5) AS bxfut5,
    RTRIM(BXFUT6) AS bxfut6,
    RTRIM(BXFUT7) AS bxfut7,
    RTRIM(BXFUT8) AS bxfut8,
    RTRIM(BXFUT9) AS bxfut9,
    BXFUTA AS bxfuta,
    CASE WHEN BXLEXP IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE BXLEXP END AS bxlexp
  FROM LGDAT.STKB
  WHERE
    BXQTOH <> 0
  ------------destination table-----------------------------
  pipekit_staging.stkb
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:13:13.67900761
  ------------source metadata-------------------------------
  number of cols: 24
    * BXPART: VARCHAR
    * BXLOT: VARCHAR
    * BXSTOK: VARCHAR
    * BXUNIT: VARCHAR
    * BXQTOH: DECIMAL
    * BXQTAL: DECIMAL
    * BXMNQT: DECIMAL
    * BXMXQT: DECIMAL
    * BXQTOD: DECIMAL
    * BXPDAT: DATE
    * BXCCGP: VARCHAR
    * BXQTSO: DECIMAL
    * BXPLNT: VARCHAR
    * BXFUT1: VARCHAR
    * BXFUT2: VARCHAR
    * BXFUT3: VARCHAR
    * BXFUT4: VARCHAR
    * BXFUT5: VARCHAR
    * BXFUT6: VARCHAR
    * BXFUT7: VARCHAR
    * BXFUT8: VARCHAR
    * BXFUT9: VARCHAR
    * BXFUTA: NUMERIC
    * BXLEXP: DATE
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.stkb
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18497 rows written
  2026-05-21 00:13:13.67900761
  2026-05-21 00:13:20.321363945


finished_at: 2026-05-21 04:16:21
status: success
merge_sql:
  TRUNCATE TABLE cms.binb;
  INSERT INTO cms.binb SELECT * FROM pipekit_staging.binb;

watermark_values_json: {}
resolved_source_sql:
  SELECT
    RTRIM(LQSTKL) AS lqstkl,
    RTRIM("LQBIN#") AS "lqbin#",
    RTRIM(LQPART) AS lqpart,
    RTRIM("LQLOT#") AS "lqlot#",
    LQQTYH AS lqqtyh,
    "LQBTC#" AS "lqbtc#",
    CASE WHEN LQRDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE LQRDAT END AS lqrdat,
    CASE WHEN LQIDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE LQIDAT END AS lqidat,
    LQQTY AS lqqty,
    RTRIM(LQUNIT) AS lqunit,
    RTRIM(LQPLNT) AS lqplnt,
    LQMINQ AS lqminq,
    LQMAXQ AS lqmaxq,
    LQRPLQ AS lqrplq,
    CASE WHEN LQLEXP IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE LQLEXP END AS lqlexp
  FROM LGDAT.BINB
  WHERE
      LQQTY <> 0

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    RTRIM(LQSTKL) AS lqstkl,
    RTRIM("LQBIN#") AS "lqbin#",
    RTRIM(LQPART) AS lqpart,
    RTRIM("LQLOT#") AS "lqlot#",
    LQQTYH AS lqqtyh,
    "LQBTC#" AS "lqbtc#",
    CASE WHEN LQRDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE LQRDAT END AS lqrdat,
    CASE WHEN LQIDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE LQIDAT END AS lqidat,
    LQQTY AS lqqty,
    RTRIM(LQUNIT) AS lqunit,
    RTRIM(LQPLNT) AS lqplnt,
    LQMINQ AS lqminq,
    LQMAXQ AS lqmaxq,
    LQRPLQ AS lqrplq,
    CASE WHEN LQLEXP IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE LQLEXP END AS lqlexp
  FROM LGDAT.BINB
  WHERE
      LQQTY <> 0

  ------------destination table-----------------------------
  pipekit_staging.binb
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:16:09.815617946
  ------------source metadata-------------------------------
  number of cols: 15
    * LQSTKL: VARCHAR
    * lqbin#: VARCHAR
    * LQPART: VARCHAR
    * lqlot#: VARCHAR
    * LQQTYH: NUMERIC
    * lqbtc#: NUMERIC
    * LQRDAT: DATE
    * LQIDAT: DATE
    * LQQTY: NUMERIC
    * LQUNIT: VARCHAR
    * LQPLNT: VARCHAR
    * LQMINQ: NUMERIC
    * LQMAXQ: NUMERIC
    * LQRPLQ: NUMERIC
    * LQLEXP: DATE
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.binb
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  42951 rows written
  2026-05-21 00:16:09.815617946
  2026-05-21 00:16:21.307837253

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    RTRIM(LQSTKL) AS lqstkl,
    RTRIM("LQBIN#") AS "lqbin#",
    RTRIM(LQPART) AS lqpart,
    RTRIM("LQLOT#") AS "lqlot#",
    LQQTYH AS lqqtyh,
    "LQBTC#" AS "lqbtc#",
    CASE WHEN LQRDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE LQRDAT END AS lqrdat,
    CASE WHEN LQIDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE LQIDAT END AS lqidat,
    LQQTY AS lqqty,
    RTRIM(LQUNIT) AS lqunit,
    RTRIM(LQPLNT) AS lqplnt,
    LQMINQ AS lqminq,
    LQMAXQ AS lqmaxq,
    LQRPLQ AS lqrplq,
    CASE WHEN LQLEXP IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE LQLEXP END AS lqlexp
  FROM LGDAT.BINB
  WHERE
      LQQTY <> 0
  ------------destination table-----------------------------
  pipekit_staging.binb
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:16:09.815617946
  ------------source metadata-------------------------------
  number of cols: 15
    * LQSTKL: VARCHAR
    * lqbin#: VARCHAR
    * LQPART: VARCHAR
    * lqlot#: VARCHAR
    * LQQTYH: NUMERIC
    * lqbtc#: NUMERIC
    * LQRDAT: DATE
    * LQIDAT: DATE
    * LQQTY: NUMERIC
    * LQUNIT: VARCHAR
    * LQPLNT: VARCHAR
    * LQMINQ: NUMERIC
    * LQMAXQ: NUMERIC
    * LQRPLQ: NUMERIC
    * LQLEXP: DATE
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.binb
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  42951 rows written
  2026-05-21 00:16:09.815617946
  2026-05-21 00:16:21.307837253


started_at: 2026-05-21 04:19:38
finished_at: 2026-05-21 04:19:39
status: error
error:
  WatermarkError: watermark 'fspr' resolver failed: org.postgresql.util.PSQLException: ERROR: column "fspr" does not exist
  Traceback (most recent call last):
    File "/opt/pipekit/pipekit/engine/watermark.py", line 32, in resolve_watermarks
      result = jrunner.query(conn["jdbc_url"], conn.get("username"),
    File "/opt/pipekit/pipekit/jrunner.py", line 132, in query
      raise JrunnerError(silent, stdout=r.stdout, stderr=r.stderr)
  pipekit.jrunner.JrunnerError: org.postgresql.util.PSQLException: ERROR: column "fspr" does not exist

  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):
    File "/opt/pipekit/pipekit/engine/runner.py", line 75, in run_module
      wm_values = watermark.resolve_watermarks(module, use_defaults_only=False)
    File "/opt/pipekit/pipekit/engine/watermark.py", line 35, in resolve_watermarks
      raise WatermarkError(
  pipekit.engine.watermark.WatermarkError: watermark 'fspr' resolver failed: org.postgresql.util.PSQLException: ERROR: column "fspr" does not exist


started_at: 2026-05-21 04:21:14
finished_at: 2026-05-21 04:21:28
status: success
merge_sql:
  TRUNCATE TABLE cms.binb;
  INSERT INTO cms.binb SELECT * FROM pipekit_staging.binb;

watermark_values_json: {}
resolved_source_sql:
[cell repeats an earlier one in this file: 654 characters]

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    RTRIM(LQSTKL) AS lqstkl,
    RTRIM("LQBIN#") AS "lqbin#",
    RTRIM(LQPART) AS lqpart,
    RTRIM("LQLOT#") AS "lqlot#",
    LQQTYH AS lqqtyh,
    "LQBTC#" AS "lqbtc#",
    CASE WHEN LQRDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE LQRDAT END AS lqrdat,
    CASE WHEN LQIDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE LQIDAT END AS lqidat,
    LQQTY AS lqqty,
    RTRIM(LQUNIT) AS lqunit,
    RTRIM(LQPLNT) AS lqplnt,
    LQMINQ AS lqminq,
    LQMAXQ AS lqmaxq,
    LQRPLQ AS lqrplq,
    CASE WHEN LQLEXP IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE LQLEXP END AS lqlexp
  FROM LGDAT.BINB
  WHERE
      LQQTY <> 0

  ------------destination table-----------------------------
  pipekit_staging.binb
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:21:16.825834227
  ------------source metadata-------------------------------
  number of cols: 15
    * LQSTKL: VARCHAR
    * lqbin#: VARCHAR
    * LQPART: VARCHAR
    * lqlot#: VARCHAR
    * LQQTYH: NUMERIC
    * lqbtc#: NUMERIC
    * LQRDAT: DATE
    * LQIDAT: DATE
    * LQQTY: NUMERIC
    * LQUNIT: VARCHAR
    * LQPLNT: VARCHAR
    * LQMINQ: NUMERIC
    * LQMAXQ: NUMERIC
    * LQRPLQ: NUMERIC
    * LQLEXP: DATE
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.binb
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  42953 rows written
  2026-05-21 00:21:16.825834227
  2026-05-21 00:21:27.52665088

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    RTRIM(LQSTKL) AS lqstkl,
    RTRIM("LQBIN#") AS "lqbin#",
    RTRIM(LQPART) AS lqpart,
    RTRIM("LQLOT#") AS "lqlot#",
    LQQTYH AS lqqtyh,
    "LQBTC#" AS "lqbtc#",
    CASE WHEN LQRDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE LQRDAT END AS lqrdat,
    CASE WHEN LQIDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE LQIDAT END AS lqidat,
    LQQTY AS lqqty,
    RTRIM(LQUNIT) AS lqunit,
    RTRIM(LQPLNT) AS lqplnt,
    LQMINQ AS lqminq,
    LQMAXQ AS lqmaxq,
    LQRPLQ AS lqrplq,
    CASE WHEN LQLEXP IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE LQLEXP END AS lqlexp
  FROM LGDAT.BINB
  WHERE
      LQQTY <> 0
  ------------destination table-----------------------------
  pipekit_staging.binb
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:21:16.825834227
  ------------source metadata-------------------------------
  number of cols: 15
    * LQSTKL: VARCHAR
    * lqbin#: VARCHAR
    * LQPART: VARCHAR
    * lqlot#: VARCHAR
    * LQQTYH: NUMERIC
    * lqbtc#: NUMERIC
    * LQRDAT: DATE
    * LQIDAT: DATE
    * LQQTY: NUMERIC
    * LQUNIT: VARCHAR
    * LQPLNT: VARCHAR
    * LQMINQ: NUMERIC
    * LQMAXQ: NUMERIC
    * LQRPLQ: NUMERIC
    * LQLEXP: DATE
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.binb
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  42953 rows written
  2026-05-21 00:21:16.825834227
  2026-05-21 00:21:27.52665088


started_at: 2026-05-21 04:21:19
finished_at: 2026-05-21 04:21:27
status: success
merge_sql:
  TRUNCATE TABLE cms.stkb;
  INSERT INTO cms.stkb SELECT * FROM pipekit_staging.stkb;

watermark_values_json: {}
resolved_source_sql:
[cell repeats an earlier one in this file: 812 characters]

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    RTRIM(BXPART) AS bxpart,
    RTRIM(BXLOT) AS bxlot,
    RTRIM(BXSTOK) AS bxstok,
    RTRIM(BXUNIT) AS bxunit,
    BXQTOH AS bxqtoh,
    BXQTAL AS bxqtal,
    BXMNQT AS bxmnqt,
    BXMXQT AS bxmxqt,
    BXQTOD AS bxqtod,
    CASE WHEN BXPDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE BXPDAT END AS bxpdat,
    RTRIM(BXCCGP) AS bxccgp,
    BXQTSO AS bxqtso,
    RTRIM(BXPLNT) AS bxplnt,
    RTRIM(BXFUT1) AS bxfut1,
    RTRIM(BXFUT2) AS bxfut2,
    RTRIM(BXFUT3) AS bxfut3,
    RTRIM(BXFUT4) AS bxfut4,
    RTRIM(BXFUT5) AS bxfut5,
    RTRIM(BXFUT6) AS bxfut6,
    RTRIM(BXFUT7) AS bxfut7,
    RTRIM(BXFUT8) AS bxfut8,
    RTRIM(BXFUT9) AS bxfut9,
    BXFUTA AS bxfuta,
    CASE WHEN BXLEXP IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE BXLEXP END AS bxlexp
  FROM LGDAT.STKB
  WHERE 
    BXQTOH <> 0
  ------------destination table-----------------------------
  pipekit_staging.stkb
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:21:22.205755926
  ------------source metadata-------------------------------
  number of cols: 24
    * BXPART: VARCHAR
    * BXLOT: VARCHAR
    * BXSTOK: VARCHAR
    * BXUNIT: VARCHAR
    * BXQTOH: DECIMAL
    * BXQTAL: DECIMAL
    * BXMNQT: DECIMAL
    * BXMXQT: DECIMAL
    * BXQTOD: DECIMAL
    * BXPDAT: DATE
    * BXCCGP: VARCHAR
    * BXQTSO: DECIMAL
    * BXPLNT: VARCHAR
    * BXFUT1: VARCHAR
    * BXFUT2: VARCHAR
    * BXFUT3: VARCHAR
    * BXFUT4: VARCHAR
    * BXFUT5: VARCHAR
    * BXFUT6: VARCHAR
    * BXFUT7: VARCHAR
    * BXFUT8: VARCHAR
    * BXFUT9: VARCHAR
    * BXFUTA: NUMERIC
    * BXLEXP: DATE
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.stkb
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500 rows written
  2026-05-21 00:21:22.205755926
  2026-05-21 00:21:27.07394889

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    RTRIM(BXPART) AS bxpart,
    RTRIM(BXLOT) AS bxlot,
    RTRIM(BXSTOK) AS bxstok,
    RTRIM(BXUNIT) AS bxunit,
    BXQTOH AS bxqtoh,
    BXQTAL AS bxqtal,
    BXMNQT AS bxmnqt,
    BXMXQT AS bxmxqt,
    BXQTOD AS bxqtod,
    CASE WHEN BXPDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE BXPDAT END AS bxpdat,
    RTRIM(BXCCGP) AS bxccgp,
    BXQTSO AS bxqtso,
    RTRIM(BXPLNT) AS bxplnt,
    RTRIM(BXFUT1) AS bxfut1,
    RTRIM(BXFUT2) AS bxfut2,
    RTRIM(BXFUT3) AS bxfut3,
    RTRIM(BXFUT4) AS bxfut4,
    RTRIM(BXFUT5) AS bxfut5,
    RTRIM(BXFUT6) AS bxfut6,
    RTRIM(BXFUT7) AS bxfut7,
    RTRIM(BXFUT8) AS bxfut8,
    RTRIM(BXFUT9) AS bxfut9,
    BXFUTA AS bxfuta,
    CASE WHEN BXLEXP IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE BXLEXP END AS bxlexp
  FROM LGDAT.STKB
  WHERE
    BXQTOH <> 0
  ------------destination table-----------------------------
  pipekit_staging.stkb
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:21:22.205755926
  ------------source metadata-------------------------------
  number of cols: 24
    * BXPART: VARCHAR
    * BXLOT: VARCHAR
    * BXSTOK: VARCHAR
    * BXUNIT: VARCHAR
    * BXQTOH: DECIMAL
    * BXQTAL: DECIMAL
    * BXMNQT: DECIMAL
    * BXMXQT: DECIMAL
    * BXQTOD: DECIMAL
    * BXPDAT: DATE
    * BXCCGP: VARCHAR
    * BXQTSO: DECIMAL
    * BXPLNT: VARCHAR
    * BXFUT1: VARCHAR
    * BXFUT2: VARCHAR
    * BXFUT3: VARCHAR
    * BXFUT4: VARCHAR
    * BXFUT5: VARCHAR
    * BXFUT6: VARCHAR
    * BXFUT7: VARCHAR
    * BXFUT8: VARCHAR
    * BXFUT9: VARCHAR
    * BXFUTA: NUMERIC
    * BXLEXP: DATE
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.stkb
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500 rows written
  2026-05-21 00:21:22.205755926
  2026-05-21 00:21:27.07394889


started_at: 2026-05-21 04:21:30
finished_at: 2026-05-21 04:21:34
status: success
watermark_values_json: {}
resolved_source_sql:
[cell repeats an earlier one in this file: 571 characters]

merge_sql:
  DELETE FROM gp.gl10110 WHERE dex_row_id IN (SELECT dex_row_id FROM pipekit_staging.gl10110);
  INSERT INTO gp.gl10110 SELECT * FROM pipekit_staging.gl10110;

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    [ACTINDX] AS actindx,
    [YEAR1] AS year1,
    [PERIODID] AS periodid,
    [Ledger_ID] AS ledger_id,
    [PERDBLNC] AS perdblnc,
    RTRIM([ACTNUMBR_1]) AS actnumbr_1,
    RTRIM([ACTNUMBR_2]) AS actnumbr_2,
    RTRIM([ACTNUMBR_3]) AS actnumbr_3,
    RTRIM([ACTNUMBR_4]) AS actnumbr_4,
    RTRIM([ACTNUMBR_5]) AS actnumbr_5,
    RTRIM([ACTNUMBR_6]) AS actnumbr_6,
    RTRIM([ACTNUMBR_7]) AS actnumbr_7,
    RTRIM([ACTNUMBR_8]) AS actnumbr_8,
    [ACCATNUM] AS accatnum,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL10110]
  ------------destination table-----------------------------
  pipekit_staging.gl10110
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:21:32.805528898
  ------------source metadata-------------------------------
  number of cols: 17
    * actindx: int
    * year1: smallint
    * periodid: smallint
    * ledger_id: smallint
    * perdblnc: numeric
    * actnumbr_1: varchar
    * actnumbr_2: varchar
    * actnumbr_3: varchar
    * actnumbr_4: varchar
    * actnumbr_5: varchar
    * actnumbr_6: varchar
    * actnumbr_7: varchar
    * actnumbr_8: varchar
    * accatnum: smallint
    * debitamt: numeric
    * crdtamnt: numeric
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.gl10110
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1211 rows written
  2026-05-21 00:21:32.805528898
  2026-05-21 00:21:33.951161941

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    [ACTINDX] AS actindx,
    [YEAR1] AS year1,
    [PERIODID] AS periodid,
    [Ledger_ID] AS ledger_id,
    [PERDBLNC] AS perdblnc,
    RTRIM([ACTNUMBR_1]) AS actnumbr_1,
    RTRIM([ACTNUMBR_2]) AS actnumbr_2,
    RTRIM([ACTNUMBR_3]) AS actnumbr_3,
    RTRIM([ACTNUMBR_4]) AS actnumbr_4,
    RTRIM([ACTNUMBR_5]) AS actnumbr_5,
    RTRIM([ACTNUMBR_6]) AS actnumbr_6,
    RTRIM([ACTNUMBR_7]) AS actnumbr_7,
    RTRIM([ACTNUMBR_8]) AS actnumbr_8,
    [ACCATNUM] AS accatnum,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL10110]
  ------------destination table-----------------------------
  pipekit_staging.gl10110
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:21:32.805528898
  ------------source metadata-------------------------------
  number of cols: 17
    * actindx: int
    * year1: smallint
    * periodid: smallint
    * ledger_id: smallint
    * perdblnc: numeric
    * actnumbr_1: varchar
    * actnumbr_2: varchar
    * actnumbr_3: varchar
    * actnumbr_4: varchar
    * actnumbr_5: varchar
    * actnumbr_6: varchar
    * actnumbr_7: varchar
    * actnumbr_8: varchar
    * accatnum: smallint
    * debitamt: numeric
    * crdtamnt: numeric
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.gl10110
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1211 rows written
  2026-05-21 00:21:32.805528898
  2026-05-21 00:21:33.951161941


started_at: 2026-05-21 04:21:32
finished_at: 2026-05-21 04:21:39
status: success
watermark_values_json: {}
resolved_source_sql:
[cell repeats an earlier one in this file: 571 characters]

merge_sql:
  DELETE FROM gp.gl10111 WHERE dex_row_id IN (SELECT dex_row_id FROM pipekit_staging.gl10111);
  INSERT INTO gp.gl10111 SELECT * FROM pipekit_staging.gl10111;

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    [ACTINDX] AS actindx,
    [YEAR1] AS year1,
    [PERIODID] AS periodid,
    [Ledger_ID] AS ledger_id,
    RTRIM([ACTNUMBR_1]) AS actnumbr_1,
    RTRIM([ACTNUMBR_2]) AS actnumbr_2,
    RTRIM([ACTNUMBR_3]) AS actnumbr_3,
    RTRIM([ACTNUMBR_4]) AS actnumbr_4,
    RTRIM([ACTNUMBR_5]) AS actnumbr_5,
    RTRIM([ACTNUMBR_6]) AS actnumbr_6,
    RTRIM([ACTNUMBR_7]) AS actnumbr_7,
    RTRIM([ACTNUMBR_8]) AS actnumbr_8,
    [ACCATNUM] AS accatnum,
    [PERDBLNC] AS perdblnc,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL10111]
  ------------destination table-----------------------------
  pipekit_staging.gl10111
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:21:35.333206235
  ------------source metadata-------------------------------
  number of cols: 17
    * actindx: int
    * year1: smallint
    * periodid: smallint
    * ledger_id: smallint
    * actnumbr_1: varchar
    * actnumbr_2: varchar
    * actnumbr_3: varchar
    * actnumbr_4: varchar
    * actnumbr_5: varchar
    * actnumbr_6: varchar
    * actnumbr_7: varchar
    * actnumbr_8: varchar
    * accatnum: smallint
    * perdblnc: numeric
    * debitamt: numeric
    * crdtamnt: numeric
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.gl10111
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10598 rows written
  2026-05-21 00:21:35.333206235
  2026-05-21 00:21:38.714806113

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    [ACTINDX] AS actindx,
    [YEAR1] AS year1,
    [PERIODID] AS periodid,
    [Ledger_ID] AS ledger_id,
    RTRIM([ACTNUMBR_1]) AS actnumbr_1,
    RTRIM([ACTNUMBR_2]) AS actnumbr_2,
    RTRIM([ACTNUMBR_3]) AS actnumbr_3,
    RTRIM([ACTNUMBR_4]) AS actnumbr_4,
    RTRIM([ACTNUMBR_5]) AS actnumbr_5,
    RTRIM([ACTNUMBR_6]) AS actnumbr_6,
    RTRIM([ACTNUMBR_7]) AS actnumbr_7,
    RTRIM([ACTNUMBR_8]) AS actnumbr_8,
    [ACCATNUM] AS accatnum,
    [PERDBLNC] AS perdblnc,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL10111]
  ------------destination table-----------------------------
  pipekit_staging.gl10111
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:21:35.333206235
  ------------source metadata-------------------------------
  number of cols: 17
    * actindx: int
    * year1: smallint
    * periodid: smallint
    * ledger_id: smallint
    * actnumbr_1: varchar
    * actnumbr_2: varchar
    * actnumbr_3: varchar
    * actnumbr_4: varchar
    * actnumbr_5: varchar
    * actnumbr_6: varchar
    * actnumbr_7: varchar
    * actnumbr_8: varchar
    * accatnum: smallint
    * perdblnc: numeric
    * debitamt: numeric
    * crdtamnt: numeric
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.gl10111
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10598 rows written
  2026-05-21 00:21:35.333206235
  2026-05-21 00:21:38.714806113


started_at: 2026-05-21 04:21:36
finished_at: 2026-05-21 04:21:54
status: success
watermark_values_json: {"dex_row_id": "10407811"}
resolved_source_sql:
  SELECT
    [OPENYEAR] AS openyear,
    [JRNENTRY] AS jrnentry,
    [RCTRXSEQ] AS rctrxseq,
    RTRIM([SOURCDOC]) AS sourcdoc,
    RTRIM([REFRENCE]) AS refrence,
    RTRIM([DSCRIPTN]) AS dscriptn,
    [TRXDATE] AS trxdate,
    RTRIM([TRXSORCE]) AS trxsorce,
    [ACTINDX] AS actindx,
    [POLLDTRX] AS polldtrx,
    RTRIM([LASTUSER]) AS lastuser,
    [LSTDTEDT] AS lstdtedt,
    RTRIM([USWHPSTD]) AS uswhpstd,
    RTRIM([ORGNTSRC]) AS orgntsrc,
    [ORGNATYP] AS orgnatyp,
    [QKOFSET] AS qkofset,
    [SERIES] AS series,
    [ORTRXTYP] AS ortrxtyp,
    RTRIM([ORCTRNUM]) AS orctrnum,
    RTRIM([ORMSTRID]) AS ormstrid,
    RTRIM([ORMSTRNM]) AS ormstrnm,
    RTRIM([ORDOCNUM]) AS ordocnum,
    [ORPSTDDT] AS orpstddt,
    RTRIM([ORTRXSRC]) AS ortrxsrc,
    [OrigDTASeries] AS origdtaseries,
    [OrigSeqNum] AS origseqnum,
    [SEQNUMBR] AS seqnumbr,
    [DTA_GL_Status] AS dta_gl_status,
    [DTA_Index] AS dta_index,
    RTRIM([CURNCYID]) AS curncyid,
    [CURRNIDX] AS currnidx,
    RTRIM([RATETPID]) AS ratetpid,
    RTRIM([EXGTBLID]) AS exgtblid,
    [XCHGRATE] AS xchgrate,
    [EXCHDATE] AS exchdate,
    [TIME1] AS time1,
    [RTCLCMTD] AS rtclcmtd,
    [NOTEINDX] AS noteindx,
    [ICTRX] AS ictrx,
    RTRIM([ORCOMID]) AS orcomid,
    [ORIGINJE] AS originje,
    [PERIODID] AS periodid,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [ORDBTAMT] AS ordbtamt,
    [ORCRDAMT] AS orcrdamt,
    [DOCDATE] AS docdate,
    [PSTGNMBR] AS pstgnmbr,
    [PPSGNMBR] AS ppsgnmbr,
    [DENXRATE] AS denxrate,
    [MCTRXSTT] AS mctrxstt,
    RTRIM([CorrespondingUnit]) AS correspondingunit,
    [VOIDED] AS voided,
    [Back_Out_JE] AS back_out_je,
    [Back_Out_JE_Year] AS back_out_je_year,
    [Correcting_JE] AS correcting_je,
    [Correcting_JE_Year] AS correcting_je_year,
    [Original_JE] AS original_je,
    [Original_JE_Seq_Num] AS original_je_seq_num,
    [Original_JE_Year] AS original_je_year,
    [Ledger_ID] AS ledger_id,
    [Adjustment_Transaction] AS adjustment_transaction,
    RTRIM([APRVLUSERID]) AS aprvluserid,
    [APPRVLDT] AS apprvldt,
    [DEX_ROW_TS] AS dex_row_ts,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL20000]
  WHERE [DEX_ROW_ID] > 10407811

merge_sql:
[cell repeats an earlier one in this file: 154 characters]

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    [OPENYEAR] AS openyear,
    [JRNENTRY] AS jrnentry,
    [RCTRXSEQ] AS rctrxseq,
    RTRIM([SOURCDOC]) AS sourcdoc,
    RTRIM([REFRENCE]) AS refrence,
    RTRIM([DSCRIPTN]) AS dscriptn,
    [TRXDATE] AS trxdate,
    RTRIM([TRXSORCE]) AS trxsorce,
    [ACTINDX] AS actindx,
    [POLLDTRX] AS polldtrx,
    RTRIM([LASTUSER]) AS lastuser,
    [LSTDTEDT] AS lstdtedt,
    RTRIM([USWHPSTD]) AS uswhpstd,
    RTRIM([ORGNTSRC]) AS orgntsrc,
    [ORGNATYP] AS orgnatyp,
    [QKOFSET] AS qkofset,
    [SERIES] AS series,
    [ORTRXTYP] AS ortrxtyp,
    RTRIM([ORCTRNUM]) AS orctrnum,
    RTRIM([ORMSTRID]) AS ormstrid,
    RTRIM([ORMSTRNM]) AS ormstrnm,
    RTRIM([ORDOCNUM]) AS ordocnum,
    [ORPSTDDT] AS orpstddt,
    RTRIM([ORTRXSRC]) AS ortrxsrc,
    [OrigDTASeries] AS origdtaseries,
    [OrigSeqNum] AS origseqnum,
    [SEQNUMBR] AS seqnumbr,
    [DTA_GL_Status] AS dta_gl_status,
    [DTA_Index] AS dta_index,
    RTRIM([CURNCYID]) AS curncyid,
    [CURRNIDX] AS currnidx,
    RTRIM([RATETPID]) AS ratetpid,
    RTRIM([EXGTBLID]) AS exgtblid,
    [XCHGRATE] AS xchgrate,
    [EXCHDATE] AS exchdate,
    [TIME1] AS time1,
    [RTCLCMTD] AS rtclcmtd,
    [NOTEINDX] AS noteindx,
    [ICTRX] AS ictrx,
    RTRIM([ORCOMID]) AS orcomid,
    [ORIGINJE] AS originje,
    [PERIODID] AS periodid,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [ORDBTAMT] AS ordbtamt,
    [ORCRDAMT] AS orcrdamt,
    [DOCDATE] AS docdate,
    [PSTGNMBR] AS pstgnmbr,
    [PPSGNMBR] AS ppsgnmbr,
    [DENXRATE] AS denxrate,
    [MCTRXSTT] AS mctrxstt,
    RTRIM([CorrespondingUnit]) AS correspondingunit,
    [VOIDED] AS voided,
    [Back_Out_JE] AS back_out_je,
    [Back_Out_JE_Year] AS back_out_je_year,
    [Correcting_JE] AS correcting_je,
    [Correcting_JE_Year] AS correcting_je_year,
    [Original_JE] AS original_je,
    [Original_JE_Seq_Num] AS original_je_seq_num,
    [Original_JE_Year] AS original_je_year,
    [Ledger_ID] AS ledger_id,
    [Adjustment_Transaction] AS adjustment_transaction,
    RTRIM([APRVLUSERID]) AS aprvluserid,
    [APPRVLDT] AS apprvldt,
    [DEX_ROW_TS] AS dex_row_ts,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL20000]
  WHERE [DEX_ROW_ID] > 10407811
  ------------destination table-----------------------------
  pipekit_staging.gl20000
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:21:40.30438003
  ------------source metadata-------------------------------
  number of cols: 66
    * openyear: smallint
    * jrnentry: int
    * rctrxseq: numeric
    * sourcdoc: varchar
    * refrence: varchar
    * dscriptn: varchar
    * trxdate: datetime
    * trxsorce: varchar
    * actindx: int
    * polldtrx: tinyint
    * lastuser: varchar
    * lstdtedt: datetime
    * uswhpstd: varchar
    * orgntsrc: varchar
    * orgnatyp: smallint
    * qkofset: smallint
    * series: smallint
    * ortrxtyp: smallint
    * orctrnum: varchar
    * ormstrid: varchar
    * ormstrnm: varchar
    * ordocnum: varchar
    * orpstddt: datetime
    * ortrxsrc: varchar
    * origdtaseries: smallint
    * origseqnum: int
    * seqnumbr: int
    * dta_gl_status: smallint
    * dta_index: numeric
    * curncyid: varchar
    * currnidx: smallint
    * ratetpid: varchar
    * exgtblid: varchar
    * xchgrate: numeric
    * exchdate: datetime
    * time1: datetime
    * rtclcmtd: smallint
    * noteindx: numeric
    * ictrx: tinyint
    * orcomid: varchar
    * originje: int
    * periodid: smallint
    * debitamt: numeric
    * crdtamnt: numeric
    * ordbtamt: numeric
    * orcrdamt: numeric
    * docdate: datetime
    * pstgnmbr: int
    * ppsgnmbr: int
    * denxrate: numeric
    * mctrxstt: smallint
    * correspondingunit: varchar
    * voided: tinyint
    * back_out_je: int
    * back_out_je_year: smallint
    * correcting_je: int
    * correcting_je_year: smallint
    * original_je: int
    * original_je_seq_num: numeric
    * original_je_year: smallint
    * ledger_id: smallint
    * adjustment_transaction: tinyint
    * aprvluserid: varchar
    * apprvldt: datetime
    * dex_row_ts: datetime
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.gl20000
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  8843 rows written
  2026-05-21 00:21:40.30438003
  2026-05-21 00:21:54.052314513

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    [OPENYEAR] AS openyear,
    [JRNENTRY] AS jrnentry,
    [RCTRXSEQ] AS rctrxseq,
    RTRIM([SOURCDOC]) AS sourcdoc,
    RTRIM([REFRENCE]) AS refrence,
    RTRIM([DSCRIPTN]) AS dscriptn,
    [TRXDATE] AS trxdate,
    RTRIM([TRXSORCE]) AS trxsorce,
    [ACTINDX] AS actindx,
    [POLLDTRX] AS polldtrx,
    RTRIM([LASTUSER]) AS lastuser,
    [LSTDTEDT] AS lstdtedt,
    RTRIM([USWHPSTD]) AS uswhpstd,
    RTRIM([ORGNTSRC]) AS orgntsrc,
    [ORGNATYP] AS orgnatyp,
    [QKOFSET] AS qkofset,
    [SERIES] AS series,
    [ORTRXTYP] AS ortrxtyp,
    RTRIM([ORCTRNUM]) AS orctrnum,
    RTRIM([ORMSTRID]) AS ormstrid,
    RTRIM([ORMSTRNM]) AS ormstrnm,
    RTRIM([ORDOCNUM]) AS ordocnum,
    [ORPSTDDT] AS orpstddt,
    RTRIM([ORTRXSRC]) AS ortrxsrc,
    [OrigDTASeries] AS origdtaseries,
    [OrigSeqNum] AS origseqnum,
    [SEQNUMBR] AS seqnumbr,
    [DTA_GL_Status] AS dta_gl_status,
    [DTA_Index] AS dta_index,
    RTRIM([CURNCYID]) AS curncyid,
    [CURRNIDX] AS currnidx,
    RTRIM([RATETPID]) AS ratetpid,
    RTRIM([EXGTBLID]) AS exgtblid,
    [XCHGRATE] AS xchgrate,
    [EXCHDATE] AS exchdate,
    [TIME1] AS time1,
    [RTCLCMTD] AS rtclcmtd,
    [NOTEINDX] AS noteindx,
    [ICTRX] AS ictrx,
    RTRIM([ORCOMID]) AS orcomid,
    [ORIGINJE] AS originje,
    [PERIODID] AS periodid,
    [DEBITAMT] AS debitamt,
    [CRDTAMNT] AS crdtamnt,
    [ORDBTAMT] AS ordbtamt,
    [ORCRDAMT] AS orcrdamt,
    [DOCDATE] AS docdate,
    [PSTGNMBR] AS pstgnmbr,
    [PPSGNMBR] AS ppsgnmbr,
    [DENXRATE] AS denxrate,
    [MCTRXSTT] AS mctrxstt,
    RTRIM([CorrespondingUnit]) AS correspondingunit,
    [VOIDED] AS voided,
    [Back_Out_JE] AS back_out_je,
    [Back_Out_JE_Year] AS back_out_je_year,
    [Correcting_JE] AS correcting_je,
    [Correcting_JE_Year] AS correcting_je_year,
    [Original_JE] AS original_je,
    [Original_JE_Seq_Num] AS original_je_seq_num,
    [Original_JE_Year] AS original_je_year,
    [Ledger_ID] AS ledger_id,
    [Adjustment_Transaction] AS adjustment_transaction,
    RTRIM([APRVLUSERID]) AS aprvluserid,
    [APPRVLDT] AS apprvldt,
    [DEX_ROW_TS] AS dex_row_ts,
    [DEX_ROW_ID] AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[GL20000]
  WHERE [DEX_ROW_ID] > 10407811
  ------------destination table-----------------------------
  pipekit_staging.gl20000
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:21:40.30438003
  ------------source metadata-------------------------------
  number of cols: 66
    * openyear: smallint
    * jrnentry: int
    * rctrxseq: numeric
    * sourcdoc: varchar
    * refrence: varchar
    * dscriptn: varchar
    * trxdate: datetime
    * trxsorce: varchar
    * actindx: int
    * polldtrx: tinyint
    * lastuser: varchar
    * lstdtedt: datetime
    * uswhpstd: varchar
    * orgntsrc: varchar
    * orgnatyp: smallint
    * qkofset: smallint
    * series: smallint
    * ortrxtyp: smallint
    * orctrnum: varchar
    * ormstrid: varchar
    * ormstrnm: varchar
    * ordocnum: varchar
    * orpstddt: datetime
    * ortrxsrc: varchar
    * origdtaseries: smallint
    * origseqnum: int
    * seqnumbr: int
    * dta_gl_status: smallint
    * dta_index: numeric
    * curncyid: varchar
    * currnidx: smallint
    * ratetpid: varchar
    * exgtblid: varchar
    * xchgrate: numeric
    * exchdate: datetime
    * time1: datetime
    * rtclcmtd: smallint
    * noteindx: numeric
    * ictrx: tinyint
    * orcomid: varchar
    * originje: int
    * periodid: smallint
    * debitamt: numeric
    * crdtamnt: numeric
    * ordbtamt: numeric
    * orcrdamt: numeric
    * docdate: datetime
    * pstgnmbr: int
    * ppsgnmbr: int
    * denxrate: numeric
    * mctrxstt: smallint
    * correspondingunit: varchar
    * voided: tinyint
    * back_out_je: int
    * back_out_je_year: smallint
    * correcting_je: int
    * correcting_je_year: smallint
    * original_je: int
    * original_je_seq_num: numeric
    * original_je_year: smallint
    * ledger_id: smallint
    * adjustment_transaction: tinyint
    * aprvluserid: varchar
    * apprvldt: datetime
    * dex_row_ts: datetime
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.gl20000
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  8843 rows written
  2026-05-21 00:21:40.30438003
  2026-05-21 00:21:54.052314513


started_at: 2026-05-21 04:21:40
finished_at: 2026-05-21 04:21:47
status: success
merge_sql:
  TRUNCATE TABLE gp.iv00102;
  INSERT INTO gp.iv00102 SELECT * FROM pipekit_staging.iv00102;

watermark_values_json: {}
resolved_source_sql:
[cell repeats an earlier one in this file: 2606 characters]

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    ITEMNMBR AS itemnmbr,
    LOCNCODE AS locncode,
    BINNMBR AS binnmbr,
    RCRDTYPE AS rcrdtype,
    PRIMVNDR AS primvndr,
    ITMFRFLG AS itmfrflg,
    BGNGQTY AS bgngqty,
    LSORDQTY AS lsordqty,
    LRCPTQTY AS lrcptqty,
    LSTORDDT AS lstorddt,
    LSORDVND AS lsordvnd,
    LSRCPTDT AS lsrcptdt,
    QTYRQSTN AS qtyrqstn,
    QTYONORD AS qtyonord,
    QTYBKORD AS qtybkord,
    QTY_Drop_Shipped AS qty_drop_shipped,
    QTYINUSE AS qtyinuse,
    QTYINSVC AS qtyinsvc,
    QTYRTRND AS qtyrtrnd,
    QTYDMGED AS qtydmged,
    QTYONHND AS qtyonhnd,
    ATYALLOC AS atyalloc,
    QTYCOMTD AS qtycomtd,
    QTYSOLD AS qtysold,
    NXTCNTDT AS nxtcntdt,
    NXTCNTTM AS nxtcnttm,
    LSTCNTDT AS lstcntdt,
    LSTCNTTM AS lstcnttm,
    STCKCNTINTRVL AS stckcntintrvl,
    Landed_Cost_Group_ID AS landed_cost_group_id,
    BUYERID AS buyerid,
    PLANNERID AS plannerid,
    ORDERPOLICY AS orderpolicy,
    FXDORDRQTY AS fxdordrqty,
    ORDRPNTQTY AS ordrpntqty,
    NMBROFDYS AS nmbrofdys,
    MNMMORDRQTY AS mnmmordrqty,
    MXMMORDRQTY AS mxmmordrqty,
    ORDERMULTIPLE AS ordermultiple,
    REPLENISHMENTMETHOD AS replenishmentmethod,
    SHRINKAGEFACTOR AS shrinkagefactor,
    PRCHSNGLDTM AS prchsngldtm,
    MNFCTRNGFXDLDTM AS mnfctrngfxdldtm,
    MNFCTRNGVRBLLDTM AS mnfctrngvrblldtm,
    STAGINGLDTME AS stagingldtme,
    PLNNNGTMFNCDYS AS plnnngtmfncdys,
    DMNDTMFNCPRDS AS dmndtmfncprds,
    INCLDDINPLNNNG AS inclddinplnnng,
    CALCULATEATP AS calculateatp,
    AUTOCHKATP AS autochkatp,
    PLNFNLPAB AS plnfnlpab,
    FRCSTCNSMPTNPRD AS frcstcnsmptnprd,
    ORDRUPTOLVL AS ordruptolvl,
    SFTYSTCKQTY AS sftystckqty,
    REORDERVARIANCE AS reordervariance,
    PORECEIPTBIN AS poreceiptbin,
    PORETRNBIN AS poretrnbin,
    SOFULFILLMENTBIN AS sofulfillmentbin,
    SORETURNBIN AS soreturnbin,
    BOMRCPTBIN AS bomrcptbin,
    MATERIALISSUEBIN AS materialissuebin,
    MORECEIPTBIN AS moreceiptbin,
    REPAIRISSUESBIN AS repairissuesbin,
    ReplenishmentLevel AS replenishmentlevel,
    POPOrderMethod AS popordermethod,
    MasterLocationCode AS masterlocationcode,
    POPVendorSelection AS popvendorselection,
    POPPricingSelection AS poppricingselection,
    PurchasePrice AS purchaseprice,
    IncludeAllocations AS includeallocations,
    IncludeBackorders AS includebackorders,
    IncludeRequisitions AS includerequisitions,
    PICKTICKETITEMOPT AS pickticketitemopt,
    INCLDMRPMOVEIN AS incldmrpmovein,
    INCLDMRPMOVEOUT AS incldmrpmoveout,
    INCLDMRPCANCEL AS incldmrpcancel,
    Move_Out_Fence AS move_out_fence,
    INACTIVE AS inactive,
    DEX_ROW_ID AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[IV00102]
  WHERE QTYONHND <> 0
    
  ------------destination table-----------------------------
  pipekit_staging.iv00102
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:21:42.559976332
  ------------source metadata-------------------------------
  number of cols: 79
    * itemnmbr: char
    * locncode: char
    * binnmbr: char
    * rcrdtype: smallint
    * primvndr: char
    * itmfrflg: tinyint
    * bgngqty: numeric
    * lsordqty: numeric
    * lrcptqty: numeric
    * lstorddt: datetime
    * lsordvnd: char
    * lsrcptdt: datetime
    * qtyrqstn: numeric
    * qtyonord: numeric
    * qtybkord: numeric
    * qty_drop_shipped: numeric
    * qtyinuse: numeric
    * qtyinsvc: numeric
    * qtyrtrnd: numeric
    * qtydmged: numeric
    * qtyonhnd: numeric
    * atyalloc: numeric
    * qtycomtd: numeric
    * qtysold: numeric
    * nxtcntdt: datetime
    * nxtcnttm: datetime
    * lstcntdt: datetime
    * lstcnttm: datetime
    * stckcntintrvl: smallint
    * landed_cost_group_id: char
    * buyerid: char
    * plannerid: char
    * orderpolicy: smallint
    * fxdordrqty: numeric
    * ordrpntqty: numeric
    * nmbrofdys: smallint
    * mnmmordrqty: numeric
    * mxmmordrqty: numeric
    * ordermultiple: numeric
    * replenishmentmethod: smallint
    * shrinkagefactor: numeric
    * prchsngldtm: numeric
    * mnfctrngfxdldtm: numeric
    * mnfctrngvrblldtm: numeric
    * stagingldtme: numeric
    * plnnngtmfncdys: smallint
    * dmndtmfncprds: smallint
    * inclddinplnnng: tinyint
    * calculateatp: tinyint
    * autochkatp: tinyint
    * plnfnlpab: tinyint
    * frcstcnsmptnprd: smallint
    * ordruptolvl: numeric
    * sftystckqty: numeric
    * reordervariance: numeric
    * poreceiptbin: char
    * poretrnbin: char
    * sofulfillmentbin: char
    * soreturnbin: char
    * bomrcptbin: char
    * materialissuebin: char
    * moreceiptbin: char
    * repairissuesbin: char
    * replenishmentlevel: smallint
    * popordermethod: smallint
    * masterlocationcode: char
    * popvendorselection: smallint
    * poppricingselection: smallint
    * purchaseprice: numeric
    * includeallocations: tinyint
    * includebackorders: tinyint
    * includerequisitions: tinyint
    * pickticketitemopt: smallint
    * incldmrpmovein: tinyint
    * incldmrpmoveout: tinyint
    * incldmrpcancel: tinyint
    * move_out_fence: smallint
    * inactive: tinyint
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.iv00102
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3195 rows written
  2026-05-21 00:21:42.559976332
  2026-05-21 00:21:46.430067697

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    ITEMNMBR AS itemnmbr,
    LOCNCODE AS locncode,
    BINNMBR AS binnmbr,
    RCRDTYPE AS rcrdtype,
    PRIMVNDR AS primvndr,
    ITMFRFLG AS itmfrflg,
    BGNGQTY AS bgngqty,
    LSORDQTY AS lsordqty,
    LRCPTQTY AS lrcptqty,
    LSTORDDT AS lstorddt,
    LSORDVND AS lsordvnd,
    LSRCPTDT AS lsrcptdt,
    QTYRQSTN AS qtyrqstn,
    QTYONORD AS qtyonord,
    QTYBKORD AS qtybkord,
    QTY_Drop_Shipped AS qty_drop_shipped,
    QTYINUSE AS qtyinuse,
    QTYINSVC AS qtyinsvc,
    QTYRTRND AS qtyrtrnd,
    QTYDMGED AS qtydmged,
    QTYONHND AS qtyonhnd,
    ATYALLOC AS atyalloc,
    QTYCOMTD AS qtycomtd,
    QTYSOLD AS qtysold,
    NXTCNTDT AS nxtcntdt,
    NXTCNTTM AS nxtcnttm,
    LSTCNTDT AS lstcntdt,
    LSTCNTTM AS lstcnttm,
    STCKCNTINTRVL AS stckcntintrvl,
    Landed_Cost_Group_ID AS landed_cost_group_id,
    BUYERID AS buyerid,
    PLANNERID AS plannerid,
    ORDERPOLICY AS orderpolicy,
    FXDORDRQTY AS fxdordrqty,
    ORDRPNTQTY AS ordrpntqty,
    NMBROFDYS AS nmbrofdys,
    MNMMORDRQTY AS mnmmordrqty,
    MXMMORDRQTY AS mxmmordrqty,
    ORDERMULTIPLE AS ordermultiple,
    REPLENISHMENTMETHOD AS replenishmentmethod,
    SHRINKAGEFACTOR AS shrinkagefactor,
    PRCHSNGLDTM AS prchsngldtm,
    MNFCTRNGFXDLDTM AS mnfctrngfxdldtm,
    MNFCTRNGVRBLLDTM AS mnfctrngvrblldtm,
    STAGINGLDTME AS stagingldtme,
    PLNNNGTMFNCDYS AS plnnngtmfncdys,
    DMNDTMFNCPRDS AS dmndtmfncprds,
    INCLDDINPLNNNG AS inclddinplnnng,
    CALCULATEATP AS calculateatp,
    AUTOCHKATP AS autochkatp,
    PLNFNLPAB AS plnfnlpab,
    FRCSTCNSMPTNPRD AS frcstcnsmptnprd,
    ORDRUPTOLVL AS ordruptolvl,
    SFTYSTCKQTY AS sftystckqty,
    REORDERVARIANCE AS reordervariance,
    PORECEIPTBIN AS poreceiptbin,
    PORETRNBIN AS poretrnbin,
    SOFULFILLMENTBIN AS sofulfillmentbin,
    SORETURNBIN AS soreturnbin,
    BOMRCPTBIN AS bomrcptbin,
    MATERIALISSUEBIN AS materialissuebin,
    MORECEIPTBIN AS moreceiptbin,
    REPAIRISSUESBIN AS repairissuesbin,
    ReplenishmentLevel AS replenishmentlevel,
    POPOrderMethod AS popordermethod,
    MasterLocationCode AS masterlocationcode,
    POPVendorSelection AS popvendorselection,
    POPPricingSelection AS poppricingselection,
    PurchasePrice AS purchaseprice,
    IncludeAllocations AS includeallocations,
    IncludeBackorders AS includebackorders,
    IncludeRequisitions AS includerequisitions,
    PICKTICKETITEMOPT AS pickticketitemopt,
    INCLDMRPMOVEIN AS incldmrpmovein,
    INCLDMRPMOVEOUT AS incldmrpmoveout,
    INCLDMRPCANCEL AS incldmrpcancel,
    Move_Out_Fence AS move_out_fence,
    INACTIVE AS inactive,
    DEX_ROW_ID AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[IV00102]
  WHERE QTYONHND <> 0
  ------------destination table-----------------------------
  pipekit_staging.iv00102
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:21:42.559976332
  ------------source metadata-------------------------------
  number of cols: 79
    * itemnmbr: char
    * locncode: char
    * binnmbr: char
    * rcrdtype: smallint
    * primvndr: char
    * itmfrflg: tinyint
    * bgngqty: numeric
    * lsordqty: numeric
    * lrcptqty: numeric
    * lstorddt: datetime
    * lsordvnd: char
    * lsrcptdt: datetime
    * qtyrqstn: numeric
    * qtyonord: numeric
    * qtybkord: numeric
    * qty_drop_shipped: numeric
    * qtyinuse: numeric
    * qtyinsvc: numeric
    * qtyrtrnd: numeric
    * qtydmged: numeric
    * qtyonhnd: numeric
    * atyalloc: numeric
    * qtycomtd: numeric
    * qtysold: numeric
    * nxtcntdt: datetime
    * nxtcnttm: datetime
    * lstcntdt: datetime
    * lstcnttm: datetime
    * stckcntintrvl: smallint
    * landed_cost_group_id: char
    * buyerid: char
    * plannerid: char
    * orderpolicy: smallint
    * fxdordrqty: numeric
    * ordrpntqty: numeric
    * nmbrofdys: smallint
    * mnmmordrqty: numeric
    * mxmmordrqty: numeric
    * ordermultiple: numeric
    * replenishmentmethod: smallint
    * shrinkagefactor: numeric
    * prchsngldtm: numeric
    * mnfctrngfxdldtm: numeric
    * mnfctrngvrblldtm: numeric
    * stagingldtme: numeric
    * plnnngtmfncdys: smallint
    * dmndtmfncprds: smallint
    * inclddinplnnng: tinyint
    * calculateatp: tinyint
    * autochkatp: tinyint
    * plnfnlpab: tinyint
    * frcstcnsmptnprd: smallint
    * ordruptolvl: numeric
    * sftystckqty: numeric
    * reordervariance: numeric
    * poreceiptbin: char
    * poretrnbin: char
    * sofulfillmentbin: char
    * soreturnbin: char
    * bomrcptbin: char
    * materialissuebin: char
    * moreceiptbin: char
    * repairissuesbin: char
    * replenishmentlevel: smallint
    * popordermethod: smallint
    * masterlocationcode: char
    * popvendorselection: smallint
    * poppricingselection: smallint
    * purchaseprice: numeric
    * includeallocations: tinyint
    * includebackorders: tinyint
    * includerequisitions: tinyint
    * pickticketitemopt: smallint
    * incldmrpmovein: tinyint
    * incldmrpmoveout: tinyint
    * incldmrpcancel: tinyint
    * move_out_fence: smallint
    * inactive: tinyint
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.iv00102
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3195 rows written
  2026-05-21 00:21:42.559976332
  2026-05-21 00:21:46.430067697


started_at: 2026-05-21 04:31:11
finished_at: 2026-05-21 04:33:06
status: success
merge_sql:
  TRUNCATE TABLE cms.itemm;
  INSERT INTO cms.itemm SELECT * FROM pipekit_staging.itemm;

watermark_values_json: {}
resolved_source_sql:
  SELECT
    RTRIM(ITEM) AS item,
    RTRIM(DESCR) AS descr,
    RTRIM(DESCR2) AS descr2,
    RTRIM(DESCR3) AS descr3,
    RTRIM(GLEC) AS glec,
    RTRIM(STLC) AS stlc,
    RTRIM(STLCD) AS stlcd,
    RTRIM(P93) AS p93,
    RTRIM(COLC) AS colc,
    RTRIM(COLCD) AS colcd,
    RTRIM(COLGRP) AS colgrp,
    RTRIM(COLTIER) AS coltier,
    RTRIM(COLTIERD) AS coltierd,
    RTRIM(COLSTAT) AS colstat,
    RTRIM(SIZC) AS sizc,
    RTRIM(PACKAGE) AS package,
    RTRIM(KIT) AS kit,
    RTRIM(BRANDING) AS branding,
    RTRIM(SUFFIX) AS suffix,
    RTRIM(SUFFIXD) AS suffixd,
    RTRIM(ACCS) AS accs,
    RTRIM(ACCS_PS) AS accs_ps,
    RTRIM(ACC_LIST) AS acc_list,
    RTRIM(CATA) AS cata,
    RTRIM(CLSS) AS clss,
    RTRIM(ASSC) AS assc,
    RTRIM(SASC) AS sasc,
    RTRIM(BRAND) AS brand,
    RTRIM(DPLT) AS dplt,
    RTRIM(HARM) AS harm,
    RTRIM(UOMP) AS uomp,
    RTRIM(UNTI) AS unti,
    NWHT AS nwht,
    RTRIM(NWUN) AS nwun,
    RTRIM(TYPE) AS type,
    RTRIM(MAJG) AS majg,
    RTRIM(MAJGD) AS majgd,
    RTRIM(MING) AS ming,
    RTRIM(MINGD) AS mingd,
    RTRIM(MAJS) AS majs,
    RTRIM(MAJSD) AS majsd,
    RTRIM(MINS) AS mins,
    RTRIM(MINSD) AS minsd,
    RTRIM(GLCD) AS glcd,
    RTRIM(GLDCD) AS gldcd,
    MINO AS mino,
    RTRIM(APLNT) AS aplnt,
    RTRIM(IREAS) AS ireas,
    RTRIM(PARTGROUP) AS partgroup,
    RTRIM(PARTGROUPD) AS partgroupd,
    RTRIM(PRICEGROUP) AS pricegroup,
    RTRIM(V1DS) AS v1ds,
    MPCK AS mpck,
    CURSTD AS curstd,
    CURSTDUS AS curstdus,
    FUTSTD AS futstd,
    FUTSTDUS AS futstdus,
    RTRIM(PRODGROUP) AS prodgroup
  FROM "CMS.CUSLG".ITEMM

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    RTRIM(ITEM) AS item,
    RTRIM(DESCR) AS descr,
    RTRIM(DESCR2) AS descr2,
    RTRIM(DESCR3) AS descr3,
    RTRIM(GLEC) AS glec,
    RTRIM(STLC) AS stlc,
    RTRIM(STLCD) AS stlcd,
    RTRIM(P93) AS p93,
    RTRIM(COLC) AS colc,
    RTRIM(COLCD) AS colcd,
    RTRIM(COLGRP) AS colgrp,
    RTRIM(COLTIER) AS coltier,
    RTRIM(COLTIERD) AS coltierd,
    RTRIM(COLSTAT) AS colstat,
    RTRIM(SIZC) AS sizc,
    RTRIM(PACKAGE) AS package,
    RTRIM(KIT) AS kit,
    RTRIM(BRANDING) AS branding,
    RTRIM(SUFFIX) AS suffix,
    RTRIM(SUFFIXD) AS suffixd,
    RTRIM(ACCS) AS accs,
    RTRIM(ACCS_PS) AS accs_ps,
    RTRIM(ACC_LIST) AS acc_list,
    RTRIM(CATA) AS cata,
    RTRIM(CLSS) AS clss,
    RTRIM(ASSC) AS assc,
    RTRIM(SASC) AS sasc,
    RTRIM(BRAND) AS brand,
    RTRIM(DPLT) AS dplt,
    RTRIM(HARM) AS harm,
    RTRIM(UOMP) AS uomp,
    RTRIM(UNTI) AS unti,
    NWHT AS nwht,
    RTRIM(NWUN) AS nwun,
    RTRIM(TYPE) AS type,
    RTRIM(MAJG) AS majg,
    RTRIM(MAJGD) AS majgd,
    RTRIM(MING) AS ming,
    RTRIM(MINGD) AS mingd,
    RTRIM(MAJS) AS majs,
    RTRIM(MAJSD) AS majsd,
    RTRIM(MINS) AS mins,
    RTRIM(MINSD) AS minsd,
    RTRIM(GLCD) AS glcd,
    RTRIM(GLDCD) AS gldcd,
    MINO AS mino,
    RTRIM(APLNT) AS aplnt,
    RTRIM(IREAS) AS ireas,
    RTRIM(PARTGROUP) AS partgroup,
    RTRIM(PARTGROUPD) AS partgroupd,
    RTRIM(PRICEGROUP) AS pricegroup,
    RTRIM(V1DS) AS v1ds,
    MPCK AS mpck,
    CURSTD AS curstd,
    CURSTDUS AS curstdus,
    FUTSTD AS futstd,
    FUTSTDUS AS futstdus,
    RTRIM(PRODGROUP) AS prodgroup
  FROM "CMS.CUSLG".ITEMM
  ------------destination table-----------------------------
  pipekit_staging.itemm
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:31:13.64540745
  ------------source metadata-------------------------------
  number of cols: 58
    * ITEM: VARCHAR
    * DESCR: VARCHAR
    * DESCR2: VARCHAR
    * DESCR3: VARCHAR
    * GLEC: VARCHAR
    * STLC: VARCHAR
    * STLCD: VARCHAR
    * P93: VARCHAR
    * COLC: VARCHAR
    * COLCD: VARCHAR
    * COLGRP: VARCHAR
    * COLTIER: VARCHAR
    * COLTIERD: VARCHAR
    * COLSTAT: VARCHAR
    * SIZC: VARCHAR
    * PACKAGE: VARCHAR
    * KIT: VARCHAR
    * BRANDING: VARCHAR
    * SUFFIX: VARCHAR
    * SUFFIXD: VARCHAR
    * ACCS: VARCHAR
    * ACCS_PS: VARCHAR
    * ACC_LIST: VARCHAR
    * CATA: VARCHAR
    * CLSS: VARCHAR
    * ASSC: VARCHAR
    * SASC: VARCHAR
    * BRAND: VARCHAR
    * DPLT: VARCHAR
    * HARM: VARCHAR
    * UOMP: VARCHAR
    * UNTI: VARCHAR
    * NWHT: DECIMAL
    * NWUN: VARCHAR
    * TYPE: VARCHAR
    * MAJG: VARCHAR
    * MAJGD: VARCHAR
    * MING: VARCHAR
    * MINGD: VARCHAR
    * MAJS: VARCHAR
    * MAJSD: VARCHAR
    * MINS: VARCHAR
    * MINSD: VARCHAR
    * GLCD: VARCHAR
    * GLDCD: VARCHAR
    * MINO: DECIMAL
    * APLNT: VARCHAR
    * IREAS: VARCHAR
    * PARTGROUP: VARCHAR
    * PARTGROUPD: VARCHAR
    * PRICEGROUP: VARCHAR
    * V1DS: VARCHAR
    * MPCK: DECIMAL
    * CURSTD: DECIMAL
    * CURSTDUS: DECIMAL
    * FUTSTD: DECIMAL
    * FUTSTDUS: DECIMAL
    * PRODGROUP: VARCHAR
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.itemm
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47250
  47500
  47750
  48000
  48250
  48500
  48750
  49000
  49250
  49500
  49750
  50000
  50250
  50500
  50750
  51000
  51250
  51500
  51750
  52000
  52250
  52500
  52750
  53000
  53250
  53500
  53750
  54000
  54250
  54500
  54750
  55000
  55193 rows written
  2026-05-21 00:31:13.64540745
  2026-05-21 00:33:05.563235022

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    RTRIM(ITEM) AS item,
    RTRIM(DESCR) AS descr,
    RTRIM(DESCR2) AS descr2,
    RTRIM(DESCR3) AS descr3,
    RTRIM(GLEC) AS glec,
    RTRIM(STLC) AS stlc,
    RTRIM(STLCD) AS stlcd,
    RTRIM(P93) AS p93,
    RTRIM(COLC) AS colc,
    RTRIM(COLCD) AS colcd,
    RTRIM(COLGRP) AS colgrp,
    RTRIM(COLTIER) AS coltier,
    RTRIM(COLTIERD) AS coltierd,
    RTRIM(COLSTAT) AS colstat,
    RTRIM(SIZC) AS sizc,
    RTRIM(PACKAGE) AS package,
    RTRIM(KIT) AS kit,
    RTRIM(BRANDING) AS branding,
    RTRIM(SUFFIX) AS suffix,
    RTRIM(SUFFIXD) AS suffixd,
    RTRIM(ACCS) AS accs,
    RTRIM(ACCS_PS) AS accs_ps,
    RTRIM(ACC_LIST) AS acc_list,
    RTRIM(CATA) AS cata,
    RTRIM(CLSS) AS clss,
    RTRIM(ASSC) AS assc,
    RTRIM(SASC) AS sasc,
    RTRIM(BRAND) AS brand,
    RTRIM(DPLT) AS dplt,
    RTRIM(HARM) AS harm,
    RTRIM(UOMP) AS uomp,
    RTRIM(UNTI) AS unti,
    NWHT AS nwht,
    RTRIM(NWUN) AS nwun,
    RTRIM(TYPE) AS type,
    RTRIM(MAJG) AS majg,
    RTRIM(MAJGD) AS majgd,
    RTRIM(MING) AS ming,
    RTRIM(MINGD) AS mingd,
    RTRIM(MAJS) AS majs,
    RTRIM(MAJSD) AS majsd,
    RTRIM(MINS) AS mins,
    RTRIM(MINSD) AS minsd,
    RTRIM(GLCD) AS glcd,
    RTRIM(GLDCD) AS gldcd,
    MINO AS mino,
    RTRIM(APLNT) AS aplnt,
    RTRIM(IREAS) AS ireas,
    RTRIM(PARTGROUP) AS partgroup,
    RTRIM(PARTGROUPD) AS partgroupd,
    RTRIM(PRICEGROUP) AS pricegroup,
    RTRIM(V1DS) AS v1ds,
    MPCK AS mpck,
    CURSTD AS curstd,
    CURSTDUS AS curstdus,
    FUTSTD AS futstd,
    FUTSTDUS AS futstdus,
    RTRIM(PRODGROUP) AS prodgroup
  FROM "CMS.CUSLG".ITEMM
  ------------destination table-----------------------------
  pipekit_staging.itemm
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:31:13.64540745
  ------------source metadata-------------------------------
  number of cols: 58
    * ITEM: VARCHAR
    * DESCR: VARCHAR
    * DESCR2: VARCHAR
    * DESCR3: VARCHAR
    * GLEC: VARCHAR
    * STLC: VARCHAR
    * STLCD: VARCHAR
    * P93: VARCHAR
    * COLC: VARCHAR
    * COLCD: VARCHAR
    * COLGRP: VARCHAR
    * COLTIER: VARCHAR
    * COLTIERD: VARCHAR
    * COLSTAT: VARCHAR
    * SIZC: VARCHAR
    * PACKAGE: VARCHAR
    * KIT: VARCHAR
    * BRANDING: VARCHAR
    * SUFFIX: VARCHAR
    * SUFFIXD: VARCHAR
    * ACCS: VARCHAR
    * ACCS_PS: VARCHAR
    * ACC_LIST: VARCHAR
    * CATA: VARCHAR
    * CLSS: VARCHAR
    * ASSC: VARCHAR
    * SASC: VARCHAR
    * BRAND: VARCHAR
    * DPLT: VARCHAR
    * HARM: VARCHAR
    * UOMP: VARCHAR
    * UNTI: VARCHAR
    * NWHT: DECIMAL
    * NWUN: VARCHAR
    * TYPE: VARCHAR
    * MAJG: VARCHAR
    * MAJGD: VARCHAR
    * MING: VARCHAR
    * MINGD: VARCHAR
    * MAJS: VARCHAR
    * MAJSD: VARCHAR
    * MINS: VARCHAR
    * MINSD: VARCHAR
    * GLCD: VARCHAR
    * GLDCD: VARCHAR
    * MINO: DECIMAL
    * APLNT: VARCHAR
    * IREAS: VARCHAR
    * PARTGROUP: VARCHAR
    * PARTGROUPD: VARCHAR
    * PRICEGROUP: VARCHAR
    * V1DS: VARCHAR
    * MPCK: DECIMAL
    * CURSTD: DECIMAL
    * CURSTDUS: DECIMAL
    * FUTSTD: DECIMAL
    * FUTSTDUS: DECIMAL
    * PRODGROUP: VARCHAR
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.itemm
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47250
  47500
  47750
  48000
  48250
  48500
  48750
  49000
  49250
  49500
  49750
  50000
  50250
  50500
  50750
  51000
  51250
  51500
  51750
  52000
  52250
  52500
  52750
  53000
  53250
  53500
  53750
  54000
  54250
  54500
  54750
  55000
  55193 rows written
  2026-05-21 00:31:13.64540745
  2026-05-21 00:33:05.563235022


started_at: 2026-05-21 04:32:53
finished_at: 2026-05-21 04:33:03
status: success
merge_sql:
  TRUNCATE TABLE cms.moldmast;
  INSERT INTO cms.moldmast SELECT * FROM pipekit_staging.moldmast;

watermark_values_json: {}
resolved_source_sql:
[cell repeats an earlier one in this file: 1791 characters]

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    RTRIM(MMMOLD) AS mmmold,
    RTRIM(MMSDES) AS mmsdes,
    RTRIM(MMLDES) AS mmldes,
    MMMDCIU AS mmmdciu,
    MMMLUUU AS mmmluuu,
    MMODU AS mmodu,
    MMIDU AS mmidu,
    MMHTU AS mmhtu,
    MMOWIU AS mmowiu,
    MMOLIU AS mmoliu,
    MMIWIU AS mmiwiu,
    MMILIU AS mmiliu,
    RTRIM(MMPSU) AS mmpsu,
    MMPHU AS mmphu,
    RTRIM(MMMDUOMU) AS mmmduomu,
    RTRIM(MMMLUOMU) AS mmmluomu,
    RTRIM(MMODUOMU) AS mmoduomu,
    RTRIM(MMIDUOMU) AS mmiduomu,
    RTRIM(MMHUOMU) AS mmhuomu,
    RTRIM(MMOLWOMU) AS mmolwomu,
    RTRIM(MMOLUOMU) AS mmoluomu,
    RTRIM(MMIWUOMU) AS mmiwuomu,
    RTRIM(MMILUOMU) AS mmiluomu,
    RTRIM(MMPHUOMU) AS mmphuomu,
    MMMDCIM AS mmmdcim,
    MMMLUUM AS mmmluum,
    MMODM AS mmodm,
    MMIDM AS mmidm,
    MMHTM AS mmhtm,
    MMOWIM AS mmowim,
    MMOLIM AS mmolim,
    MMIWIM AS mmiwim,
    MMILIM AS mmilim,
    RTRIM(MMPSM) AS mmpsm,
    MMPHM AS mmphm,
    RTRIM(MMMDUOMM) AS mmmduomm,
    RTRIM(MMMLUOMM) AS mmmluomm,
    RTRIM(MMODUOMM) AS mmoduomm,
    RTRIM(MMIDUOMM) AS mmiduomm,
    RTRIM(MMHUOMM) AS mmhuomm,
    RTRIM(MMOLWOMM) AS mmolwomm,
    RTRIM(MMOLUOMM) AS mmoluomm,
    RTRIM(MMIWUOMM) AS mmiwuomm,
    RTRIM(MMILUOMM) AS mmiluomm,
    RTRIM(MMPHUOMM) AS mmphuomm,
    RTRIM(MMFEATURE) AS mmfeature,
    RTRIM(MMFAMILY) AS mmfamily,
    RTRIM(MMIMGURL) AS mmimgurl,
    RTRIM(MMHEADER) AS mmheader,
    RTRIM(MMBIGGROUP) AS mmbiggroup,
    RTRIM(MMSPONSOR) AS mmsponsor,
    RTRIM(MMCOMPAT) AS mmcompat,
    MMHSORT AS mmhsort,
    MMDSORT AS mmdsort,
    RTRIM(MMCCFG) AS mmccfg,
    RTRIM(MMFORMAT) AS mmformat,
    RTRIM(MMFORM_UOM) AS mmform_uom,
    RTRIM(MMFUNC) AS mmfunc,
    RTRIM(MMPRTGRP) AS mmprtgrp,
    RTRIM(MMPRICEG) AS mmpriceg,
    RTRIM(MMSHAPE) AS mmshape,
    RTRIM(MMTSLT) AS mmtslt,
    RTRIM(MMPLNT) AS mmplnt,
    RTRIM(MMREAS) AS mmreas,
    RTRIM(MMGRPSTAT) AS mmgrpstat,
    RTRIM(MMPRODGRP) AS mmprodgrp
  FROM LGPGM.MOLDMAST
  ------------destination table-----------------------------
  pipekit_staging.moldmast
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:32:56.269937533
  ------------source metadata-------------------------------
  number of cols: 66
    * MMMOLD: VARCHAR
    * MMSDES: VARCHAR
    * MMLDES: VARCHAR
    * MMMDCIU: NUMERIC
    * MMMLUUU: NUMERIC
    * MMODU: NUMERIC
    * MMIDU: NUMERIC
    * MMHTU: NUMERIC
    * MMOWIU: NUMERIC
    * MMOLIU: NUMERIC
    * MMIWIU: NUMERIC
    * MMILIU: NUMERIC
    * MMPSU: VARCHAR
    * MMPHU: NUMERIC
    * MMMDUOMU: VARCHAR
    * MMMLUOMU: VARCHAR
    * MMODUOMU: VARCHAR
    * MMIDUOMU: VARCHAR
    * MMHUOMU: VARCHAR
    * MMOLWOMU: VARCHAR
    * MMOLUOMU: VARCHAR
    * MMIWUOMU: VARCHAR
    * MMILUOMU: VARCHAR
    * MMPHUOMU: VARCHAR
    * MMMDCIM: NUMERIC
    * MMMLUUM: NUMERIC
    * MMODM: NUMERIC
    * MMIDM: NUMERIC
    * MMHTM: NUMERIC
    * MMOWIM: NUMERIC
    * MMOLIM: NUMERIC
    * MMIWIM: NUMERIC
    * MMILIM: NUMERIC
    * MMPSM: VARCHAR
    * MMPHM: NUMERIC
    * MMMDUOMM: VARCHAR
    * MMMLUOMM: VARCHAR
    * MMODUOMM: VARCHAR
    * MMIDUOMM: VARCHAR
    * MMHUOMM: VARCHAR
    * MMOLWOMM: VARCHAR
    * MMOLUOMM: VARCHAR
    * MMIWUOMM: VARCHAR
    * MMILUOMM: VARCHAR
    * MMPHUOMM: VARCHAR
    * MMFEATURE: VARCHAR
    * MMFAMILY: VARCHAR
    * MMIMGURL: VARCHAR
    * MMHEADER: VARCHAR
    * MMBIGGROUP: VARCHAR
    * MMSPONSOR: VARCHAR
    * MMCOMPAT: VARCHAR
    * MMHSORT: DECIMAL
    * MMDSORT: DECIMAL
    * MMCCFG: VARCHAR
    * MMFORMAT: VARCHAR
    * MMFORM_UOM: VARCHAR
    * MMFUNC: VARCHAR
    * MMPRTGRP: VARCHAR
    * MMPRICEG: VARCHAR
    * MMSHAPE: VARCHAR
    * MMTSLT: VARCHAR
    * MMPLNT: VARCHAR
    * MMREAS: VARCHAR
    * MMGRPSTAT: VARCHAR
    * MMPRODGRP: VARCHAR
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.moldmast
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3450 rows written
  2026-05-21 00:32:56.269937533
  2026-05-21 00:33:03.28331946

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    RTRIM(MMMOLD) AS mmmold,
    RTRIM(MMSDES) AS mmsdes,
    RTRIM(MMLDES) AS mmldes,
    MMMDCIU AS mmmdciu,
    MMMLUUU AS mmmluuu,
    MMODU AS mmodu,
    MMIDU AS mmidu,
    MMHTU AS mmhtu,
    MMOWIU AS mmowiu,
    MMOLIU AS mmoliu,
    MMIWIU AS mmiwiu,
    MMILIU AS mmiliu,
    RTRIM(MMPSU) AS mmpsu,
    MMPHU AS mmphu,
    RTRIM(MMMDUOMU) AS mmmduomu,
    RTRIM(MMMLUOMU) AS mmmluomu,
    RTRIM(MMODUOMU) AS mmoduomu,
    RTRIM(MMIDUOMU) AS mmiduomu,
    RTRIM(MMHUOMU) AS mmhuomu,
    RTRIM(MMOLWOMU) AS mmolwomu,
    RTRIM(MMOLUOMU) AS mmoluomu,
    RTRIM(MMIWUOMU) AS mmiwuomu,
    RTRIM(MMILUOMU) AS mmiluomu,
    RTRIM(MMPHUOMU) AS mmphuomu,
    MMMDCIM AS mmmdcim,
    MMMLUUM AS mmmluum,
    MMODM AS mmodm,
    MMIDM AS mmidm,
    MMHTM AS mmhtm,
    MMOWIM AS mmowim,
    MMOLIM AS mmolim,
    MMIWIM AS mmiwim,
    MMILIM AS mmilim,
    RTRIM(MMPSM) AS mmpsm,
    MMPHM AS mmphm,
    RTRIM(MMMDUOMM) AS mmmduomm,
    RTRIM(MMMLUOMM) AS mmmluomm,
    RTRIM(MMODUOMM) AS mmoduomm,
    RTRIM(MMIDUOMM) AS mmiduomm,
    RTRIM(MMHUOMM) AS mmhuomm,
    RTRIM(MMOLWOMM) AS mmolwomm,
    RTRIM(MMOLUOMM) AS mmoluomm,
    RTRIM(MMIWUOMM) AS mmiwuomm,
    RTRIM(MMILUOMM) AS mmiluomm,
    RTRIM(MMPHUOMM) AS mmphuomm,
    RTRIM(MMFEATURE) AS mmfeature,
    RTRIM(MMFAMILY) AS mmfamily,
    RTRIM(MMIMGURL) AS mmimgurl,
    RTRIM(MMHEADER) AS mmheader,
    RTRIM(MMBIGGROUP) AS mmbiggroup,
    RTRIM(MMSPONSOR) AS mmsponsor,
    RTRIM(MMCOMPAT) AS mmcompat,
    MMHSORT AS mmhsort,
    MMDSORT AS mmdsort,
    RTRIM(MMCCFG) AS mmccfg,
    RTRIM(MMFORMAT) AS mmformat,
    RTRIM(MMFORM_UOM) AS mmform_uom,
    RTRIM(MMFUNC) AS mmfunc,
    RTRIM(MMPRTGRP) AS mmprtgrp,
    RTRIM(MMPRICEG) AS mmpriceg,
    RTRIM(MMSHAPE) AS mmshape,
    RTRIM(MMTSLT) AS mmtslt,
    RTRIM(MMPLNT) AS mmplnt,
    RTRIM(MMREAS) AS mmreas,
    RTRIM(MMGRPSTAT) AS mmgrpstat,
    RTRIM(MMPRODGRP) AS mmprodgrp
  FROM LGPGM.MOLDMAST
  ------------destination table-----------------------------
  pipekit_staging.moldmast
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:32:56.269937533
  ------------source metadata-------------------------------
  number of cols: 66
    * MMMOLD: VARCHAR
    * MMSDES: VARCHAR
    * MMLDES: VARCHAR
    * MMMDCIU: NUMERIC
    * MMMLUUU: NUMERIC
    * MMODU: NUMERIC
    * MMIDU: NUMERIC
    * MMHTU: NUMERIC
    * MMOWIU: NUMERIC
    * MMOLIU: NUMERIC
    * MMIWIU: NUMERIC
    * MMILIU: NUMERIC
    * MMPSU: VARCHAR
    * MMPHU: NUMERIC
    * MMMDUOMU: VARCHAR
    * MMMLUOMU: VARCHAR
    * MMODUOMU: VARCHAR
    * MMIDUOMU: VARCHAR
    * MMHUOMU: VARCHAR
    * MMOLWOMU: VARCHAR
    * MMOLUOMU: VARCHAR
    * MMIWUOMU: VARCHAR
    * MMILUOMU: VARCHAR
    * MMPHUOMU: VARCHAR
    * MMMDCIM: NUMERIC
    * MMMLUUM: NUMERIC
    * MMODM: NUMERIC
    * MMIDM: NUMERIC
    * MMHTM: NUMERIC
    * MMOWIM: NUMERIC
    * MMOLIM: NUMERIC
    * MMIWIM: NUMERIC
    * MMILIM: NUMERIC
    * MMPSM: VARCHAR
    * MMPHM: NUMERIC
    * MMMDUOMM: VARCHAR
    * MMMLUOMM: VARCHAR
    * MMODUOMM: VARCHAR
    * MMIDUOMM: VARCHAR
    * MMHUOMM: VARCHAR
    * MMOLWOMM: VARCHAR
    * MMOLUOMM: VARCHAR
    * MMIWUOMM: VARCHAR
    * MMILUOMM: VARCHAR
    * MMPHUOMM: VARCHAR
    * MMFEATURE: VARCHAR
    * MMFAMILY: VARCHAR
    * MMIMGURL: VARCHAR
    * MMHEADER: VARCHAR
    * MMBIGGROUP: VARCHAR
    * MMSPONSOR: VARCHAR
    * MMCOMPAT: VARCHAR
    * MMHSORT: DECIMAL
    * MMDSORT: DECIMAL
    * MMCCFG: VARCHAR
    * MMFORMAT: VARCHAR
    * MMFORM_UOM: VARCHAR
    * MMFUNC: VARCHAR
    * MMPRTGRP: VARCHAR
    * MMPRICEG: VARCHAR
    * MMSHAPE: VARCHAR
    * MMTSLT: VARCHAR
    * MMPLNT: VARCHAR
    * MMREAS: VARCHAR
    * MMGRPSTAT: VARCHAR
    * MMPRODGRP: VARCHAR
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.moldmast
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3450 rows written
  2026-05-21 00:32:56.269937533
  2026-05-21 00:33:03.28331946


started_at: 2026-05-21 04:36:00
finished_at: 2026-05-21 04:37:26
status: success
merge_sql:
  TRUNCATE TABLE cms.rprh;
  INSERT INTO cms.rprh SELECT * FROM pipekit_staging.rprh;

watermark_values_json: {}
resolved_source_sql:
  SELECT
    NWBTID AS nwbtid,
    NWLABL AS nwlabl,
    NWBPRT AS nwbprt,
    NWPOST AS nwpost,
    NWFSYY AS nwfsyy,
    NWFSPP AS nwfspp,
    NWRDAT AS nwrdat,
    NWTMZN AS nwtmzn,
    NWSHFT AS nwshft,
    NWSHGP AS nwshgp,
    NWNXT# AS nwnxt#,
    NWCRBY AS nwcrby,
    NWCDAT AS nwcdat,
    NWCTIM AS nwctim,
    NWUPBY AS nwupby,
    NWUDAT AS nwudat,
    NWUTIM AS nwutim,
    NWIUSE AS nwiuse,
    NWSRCE AS nwsrce,
    NWSTKL AS nwstkl,
    NWSCPR AS nwscpr,
    NWIUCN AS nwiucn,
    NWAPFC AS nwapfc,
    NWAPCP AS nwapcp,
    NWFUT1 AS nwfut1,
    NWFUT2 AS nwfut2,
    NWFUT3 AS nwfut3,
    NWFUT4 AS nwfut4,
    NWFUT5 AS nwfut5,
    NWFUT6 AS nwfut6,
    NWFUT7 AS nwfut7,
    NWFUT8 AS nwfut8,
    NWFUT9 AS nwfut9,
    NWFLG1 AS nwflg1,
    NWFLG2 AS nwflg2,
    NWFLG3 AS nwflg3,
    NWPLNT AS nwplnt,
    NWEDILN AS nwediln,
    NWEDILE AS nwedile,
    NWSHFS AS nwshfs,
    NWFLBH AS nwflbh,
    NWOBTID AS nwobtid,
    NWFUT10 AS nwfut10,
    NWFUT11 AS nwfut11,
    NWFUT12 AS nwfut12,
    NWFUT13 AS nwfut13,
    NWFUT14 AS nwfut14,
    NWFUT15 AS nwfut15,
    NWFUT16 AS nwfut16,
    NWFUT17 AS nwfut17,
    NWPUSR AS nwpusr,
    NWPDAT AS nwpdat,
    NWPTIM AS nwptim
  FROM LGDAT.RPRH

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    NWBTID AS nwbtid,
    NWLABL AS nwlabl,
    NWBPRT AS nwbprt,
    NWPOST AS nwpost,
    NWFSYY AS nwfsyy,
    NWFSPP AS nwfspp,
    NWRDAT AS nwrdat,
    NWTMZN AS nwtmzn,
    NWSHFT AS nwshft,
    NWSHGP AS nwshgp,
    NWNXT# AS nwnxt#,
    NWCRBY AS nwcrby,
    NWCDAT AS nwcdat,
    NWCTIM AS nwctim,
    NWUPBY AS nwupby,
    NWUDAT AS nwudat,
    NWUTIM AS nwutim,
    NWIUSE AS nwiuse,
    NWSRCE AS nwsrce,
    NWSTKL AS nwstkl,
    NWSCPR AS nwscpr,
    NWIUCN AS nwiucn,
    NWAPFC AS nwapfc,
    NWAPCP AS nwapcp,
    NWFUT1 AS nwfut1,
    NWFUT2 AS nwfut2,
    NWFUT3 AS nwfut3,
    NWFUT4 AS nwfut4,
    NWFUT5 AS nwfut5,
    NWFUT6 AS nwfut6,
    NWFUT7 AS nwfut7,
    NWFUT8 AS nwfut8,
    NWFUT9 AS nwfut9,
    NWFLG1 AS nwflg1,
    NWFLG2 AS nwflg2,
    NWFLG3 AS nwflg3,
    NWPLNT AS nwplnt,
    NWEDILN AS nwediln,
    NWEDILE AS nwedile,
    NWSHFS AS nwshfs,
    NWFLBH AS nwflbh,
    NWOBTID AS nwobtid,
    NWFUT10 AS nwfut10,
    NWFUT11 AS nwfut11,
    NWFUT12 AS nwfut12,
    NWFUT13 AS nwfut13,
    NWFUT14 AS nwfut14,
    NWFUT15 AS nwfut15,
    NWFUT16 AS nwfut16,
    NWFUT17 AS nwfut17,
    NWPUSR AS nwpusr,
    NWPDAT AS nwpdat,
    NWPTIM AS nwptim
  FROM LGDAT.RPRH
  ------------destination table-----------------------------
  pipekit_staging.rprh
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:36:03.491619689
  ------------source metadata-------------------------------
  number of cols: 53
    * NWBTID: NUMERIC
    * NWLABL: CHAR
    * NWBPRT: CHAR
    * NWPOST: CHAR
    * NWFSYY: NUMERIC
    * NWFSPP: NUMERIC
    * NWRDAT: DATE
    * NWTMZN: CHAR
    * NWSHFT: NUMERIC
    * NWSHGP: CHAR
    * NWNXT#: NUMERIC
    * NWCRBY: CHAR
    * NWCDAT: DATE
    * NWCTIM: TIME
    * NWUPBY: CHAR
    * NWUDAT: DATE
    * NWUTIM: TIME
    * NWIUSE: CHAR
    * NWSRCE: CHAR
    * NWSTKL: CHAR
    * NWSCPR: CHAR
    * NWIUCN: NUMERIC
    * NWAPFC: CHAR
    * NWAPCP: CHAR
    * NWFUT1: CHAR
    * NWFUT2: CHAR
    * NWFUT3: CHAR
    * NWFUT4: CHAR
    * NWFUT5: CHAR
    * NWFUT6: CHAR
    * NWFUT7: NUMERIC
    * NWFUT8: NUMERIC
    * NWFUT9: NUMERIC
    * NWFLG1: CHAR
    * NWFLG2: CHAR
    * NWFLG3: CHAR
    * NWPLNT: CHAR
    * NWEDILN: NUMERIC
    * NWEDILE: NUMERIC
    * NWSHFS: NUMERIC
    * NWFLBH: CHAR
    * NWOBTID: NUMERIC
    * NWFUT10: CHAR
    * NWFUT11: CHAR
    * NWFUT12: CHAR
    * NWFUT13: CHAR
    * NWFUT14: CHAR
    * NWFUT15: CHAR
    * NWFUT16: NUMERIC
    * NWFUT17: NUMERIC
    * NWPUSR: CHAR
    * NWPDAT: DATE
    * NWPTIM: NUMERIC
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.rprh
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47250
  47500
  47750
  48000
  48250
  48500
  48750
  49000
  49250
  49500
  49750
  50000
  50250
  50500
  50750
  51000
  51250
  51500
  51750
  52000
  52250
  52500
  52750
  53000
  53250
  53500
  53750
  54000
  54250
  54500
  54750
  55000
  55250
  55500
  55750
  56000
  56250
  56500
  56750
  57000
  57250
  57500
  57750
  58000
  58250
  58500
  58750
  59000
  59250
  59500
  59750
  60000
  60250
  60500
  60750
  61000
  61250
  61500
  61750
  62000
  62250
  62500
  62750
  63000
  63250
  63500
  63750
  64000
  64250
  64500
  64750
  65000
  65250
  65500
  65750
  66000
  66250
  66500
  66750
  67000
  67250
  67500
  67750
  68000
  68250
  68500
  68750
  69000
  69250
  69500
  69750
  70000
  70250
  70500
  70750
  71000
  71250
  71500
  71750
  72000
  72250
  72500
  72750
  73000
  73250
  73500
  73750
  74000
  74250
  74500
  74750
  75000
  75250
  75500
  75750
  76000
  76250
  76500
  76750
  77000
  77250
  77500
  77750
  78000
  78250
  78500
  78750
  79000
  79250
  79500
  79750
  80000
  80250
  80500
  80750
  81000
  81250
  81500
  81750
  82000
  82250
  82500
  82750
  83000
  83250
  83500
  83750
  84000
  84250
  84500
  84750
  85000
  85250
  85500
  85750
  86000
  86250
  86500
  86750
  87000
  87250
  87500
  87750
  88000
  88250
  88500
  88750
  89000
  89250
  89500
  89750
  90000
  90250
  90500
  90750
  91000
  91250
  91500
  91750
  92000
  92250
  92500
  92750
  93000
  93250
  93500
  93750
  94000
  94250
  94500
  94750
  95000
  95250
  95500
  95750
  96000
  96250
  96500
  96750
  97000
  97250
  97500
  97750
  98000
  98250
  98500
  98750
  99000
  99250
  99500
  99750
  100000
  100250
  100500
  100750
  101000
  101250
  101500
  101750
  102000
  102250
  102500
  102750
  103000
  103250
  103500
  103750
  104000
  104250
  104500
  104750
  105000
  105250
  105500
  105750
  106000
  106250
  106500
  106750
  107000
  107250
  107500
  107750
  108000
  108250
  108500
  108750
  109000
  109250
  109500
  109750
  110000
  110250
  110500
  110750
  111000
  111250
  111500
  111750
  112000
  112250
  112500
  112750
  113000
  113250
  113500
  113750
  114000
  114250
  114500
  114750
  115000
  115250
  115500
  115750
  116000
  116250
  116500
  116750
  117000
  117250
  117500
  117750
  118000
  118250
  118500
  118750
  119000
  119250
  119500
  119750
  120000
  120250
  120500
  120750
  121000
  121250
  121500
  121750
  122000
  122250
  122500
  122750
  123000
  123250
  123500
  123750
  124000
  124250
  124500
  124750
  125000
  125250
  125500
  125750
  126000
  126250
  126500
  126750
  127000
  127250
  127500
  127750
  128000
  128250
  128500
  128750
  129000
  129250
  129500
  129750
  130000
  130250
  130500
  130750
  131000
  131250
  131500
  131750
  132000
  132250
  132500
  132750
  133000
  133250
  133500
  133750
  134000
  134250
  134500
  134750
  135000
  135250
  135500
  135750
  136000
  136250
  136500
  136750
  137000
  137250
  137500
  137750
  138000
  138250
  138500
  138750
  139000
  139250
  139500
  139750
  140000
  140250
  140500
  140750
  141000
  141250
  141500
  141750
  142000
  142250
  142500
  142750
  143000
  143250
  143500
  143750
  144000
  144250
  144500
  144750
  145000
  145250
  145500
  145750
  146000
  146250
  146500
  146750
  147000
  147250
  147500
  147750
  148000
  148250
  148500
  148750
  149000
  149250
  149500
  149750
  150000
  150250
  150500
  150750
  151000
  151250
  151500
  151750
  152000
  152250
  152500
  152750
  153000
  153250
  153500
  153750
  154000
  154250
  154500
  154750
  155000
  155250
  155500
  155750
  156000
  156250
  156500
  156750
  157000
  157250
  157500
  157750
  158000
  158250
  158500
  158750
  159000
  159250
  159500
  159750
  160000
  160250
  160500
  160750
  161000
  161250
  161500
  161750
  162000
  162250
  162500
  162750
  163000
  163250
  163500
  163750
  164000
  164250
  164500
  164750
  165000
  165250
  165500
  165750
  166000
  166250
  166500
  166750
  167000
  167250
  167500
  167750
  168000
  168250
  168500
  168750
  169000
  169250
  169500
  169750
  170000
  170250
  170500
  170750
  171000
  171250
  171500
  171750
  172000
  172250
  172500
  172750
  173000
  173250
  173500
  173750
  174000
  174250
  174500
  174750
  175000
  175250
  175500
  175750
  176000
  176250
  176500
  176750
  177000
  177250
  177500
  177750
  178000
  178250
  178500
  178750
  179000
  179250
  179500
  179750
  180000
  180250
  180500
  180750
  181000
  181250
  181500
  181750
  182000
  182250
  182500
  182750
  183000
  183250
  183500
  183750
  184000
  184250
  184500
  184750
  185000
  185250
  185500
  185750
  186000
  186250
  186500
  186750
  187000
  187250
  187500
  187750
  188000
  188250
  188500
  188750
  189000
  189250
  189500
  189750
  190000
  190250
  190500
  190750
  191000
  191250
  191500
  191750
  192000
  192250
  192500
  192750
  193000
  193250
  193500
  193750
  194000
  194052 rows written
  2026-05-21 00:36:03.491619689
  2026-05-21 00:37:25.768144792

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    NWBTID AS nwbtid,
    NWLABL AS nwlabl,
    NWBPRT AS nwbprt,
    NWPOST AS nwpost,
    NWFSYY AS nwfsyy,
    NWFSPP AS nwfspp,
    NWRDAT AS nwrdat,
    NWTMZN AS nwtmzn,
    NWSHFT AS nwshft,
    NWSHGP AS nwshgp,
    NWNXT# AS nwnxt#,
    NWCRBY AS nwcrby,
    NWCDAT AS nwcdat,
    NWCTIM AS nwctim,
    NWUPBY AS nwupby,
    NWUDAT AS nwudat,
    NWUTIM AS nwutim,
    NWIUSE AS nwiuse,
    NWSRCE AS nwsrce,
    NWSTKL AS nwstkl,
    NWSCPR AS nwscpr,
    NWIUCN AS nwiucn,
    NWAPFC AS nwapfc,
    NWAPCP AS nwapcp,
    NWFUT1 AS nwfut1,
    NWFUT2 AS nwfut2,
    NWFUT3 AS nwfut3,
    NWFUT4 AS nwfut4,
    NWFUT5 AS nwfut5,
    NWFUT6 AS nwfut6,
    NWFUT7 AS nwfut7,
    NWFUT8 AS nwfut8,
    NWFUT9 AS nwfut9,
    NWFLG1 AS nwflg1,
    NWFLG2 AS nwflg2,
    NWFLG3 AS nwflg3,
    NWPLNT AS nwplnt,
    NWEDILN AS nwediln,
    NWEDILE AS nwedile,
    NWSHFS AS nwshfs,
    NWFLBH AS nwflbh,
    NWOBTID AS nwobtid,
    NWFUT10 AS nwfut10,
    NWFUT11 AS nwfut11,
    NWFUT12 AS nwfut12,
    NWFUT13 AS nwfut13,
    NWFUT14 AS nwfut14,
    NWFUT15 AS nwfut15,
    NWFUT16 AS nwfut16,
    NWFUT17 AS nwfut17,
    NWPUSR AS nwpusr,
    NWPDAT AS nwpdat,
    NWPTIM AS nwptim
  FROM LGDAT.RPRH
  ------------destination table-----------------------------
  pipekit_staging.rprh
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:36:03.491619689
  ------------source metadata-------------------------------
  number of cols: 53
    * NWBTID: NUMERIC
    * NWLABL: CHAR
    * NWBPRT: CHAR
    * NWPOST: CHAR
    * NWFSYY: NUMERIC
    * NWFSPP: NUMERIC
    * NWRDAT: DATE
    * NWTMZN: CHAR
    * NWSHFT: NUMERIC
    * NWSHGP: CHAR
    * NWNXT#: NUMERIC
    * NWCRBY: CHAR
    * NWCDAT: DATE
    * NWCTIM: TIME
    * NWUPBY: CHAR
    * NWUDAT: DATE
    * NWUTIM: TIME
    * NWIUSE: CHAR
    * NWSRCE: CHAR
    * NWSTKL: CHAR
    * NWSCPR: CHAR
    * NWIUCN: NUMERIC
    * NWAPFC: CHAR
    * NWAPCP: CHAR
    * NWFUT1: CHAR
    * NWFUT2: CHAR
    * NWFUT3: CHAR
    * NWFUT4: CHAR
    * NWFUT5: CHAR
    * NWFUT6: CHAR
    * NWFUT7: NUMERIC
    * NWFUT8: NUMERIC
    * NWFUT9: NUMERIC
    * NWFLG1: CHAR
    * NWFLG2: CHAR
    * NWFLG3: CHAR
    * NWPLNT: CHAR
    * NWEDILN: NUMERIC
    * NWEDILE: NUMERIC
    * NWSHFS: NUMERIC
    * NWFLBH: CHAR
    * NWOBTID: NUMERIC
    * NWFUT10: CHAR
    * NWFUT11: CHAR
    * NWFUT12: CHAR
    * NWFUT13: CHAR
    * NWFUT14: CHAR
    * NWFUT15: CHAR
    * NWFUT16: NUMERIC
    * NWFUT17: NUMERIC
    * NWPUSR: CHAR
    * NWPDAT: DATE
    * NWPTIM: NUMERIC
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.rprh
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47250
  47500
  47750
  48000
  48250
  48500
  48750
  49000
  49250
  49500
  49750
  50000
  50250
  50500
  50750
  51000
  51250
  51500
  51750
  52000
  52250
  52500
  52750
  53000
  53250
  53500
  53750
  54000
  54250
  54500
  54750
  55000
  55250
  55500
  55750
  56000
  56250
  56500
  56750
  57000
  57250
  57500
  57750
  58000
  58250
  58500
  58750
  59000
  59250
  59500
  59750
  60000
  60250
  60500
  60750
  61000
  61250
  61500
  61750
  62000
  62250
  62500
  62750
  63000
  63250
  63500
  63750
  64000
  64250
  64500
  64750
  65000
  65250
  65500
  65750
  66000
  66250
  66500
  66750
  67000
  67250
  67500
  67750
  68000
  68250
  68500
  68750
  69000
  69250
  69500
  69750
  70000
  70250
  70500
  70750
  71000
  71250
  71500
  71750
  72000
  72250
  72500
  72750
  73000
  73250
  73500
  73750
  74000
  74250
  74500
  74750
  75000
  75250
  75500
  75750
  76000
  76250
  76500
  76750
  77000
  77250
  77500
  77750
  78000
  78250
  78500
  78750
  79000
  79250
  79500
  79750
  80000
  80250
  80500
  80750
  81000
  81250
  81500
  81750
  82000
  82250
  82500
  82750
  83000
  83250
  83500
  83750
  84000
  84250
  84500
  84750
  85000
  85250
  85500
  85750
  86000
  86250
  86500
  86750
  87000
  87250
  87500
  87750
  88000
  88250
  88500
  88750
  89000
  89250
  89500
  89750
  90000
  90250
  90500
  90750
  91000
  91250
  91500
  91750
  92000
  92250
  92500
  92750
  93000
  93250
  93500
  93750
  94000
  94250
  94500
  94750
  95000
  95250
  95500
  95750
  96000
  96250
  96500
  96750
  97000
  97250
  97500
  97750
  98000
  98250
  98500
  98750
  99000
  99250
  99500
  99750
  100000
  100250
  100500
  100750
  101000
  101250
  101500
  101750
  102000
  102250
  102500
  102750
  103000
  103250
  103500
  103750
  104000
  104250
  104500
  104750
  105000
  105250
  105500
  105750
  106000
  106250
  106500
  106750
  107000
  107250
  107500
  107750
  108000
  108250
  108500
  108750
  109000
  109250
  109500
  109750
  110000
  110250
  110500
  110750
  111000
  111250
  111500
  111750
  112000
  112250
  112500
  112750
  113000
  113250
  113500
  113750
  114000
  114250
  114500
  114750
  115000
  115250
  115500
  115750
  116000
  116250
  116500
  116750
  117000
  117250
  117500
  117750
  118000
  118250
  118500
  118750
  119000
  119250
  119500
  119750
  120000
  120250
  120500
  120750
  121000
  121250
  121500
  121750
  122000
  122250
  122500
  122750
  123000
  123250
  123500
  123750
  124000
  124250
  124500
  124750
  125000
  125250
  125500
  125750
  126000
  126250
  126500
  126750
  127000
  127250
  127500
  127750
  128000
  128250
  128500
  128750
  129000
  129250
  129500
  129750
  130000
  130250
  130500
  130750
  131000
  131250
  131500
  131750
  132000
  132250
  132500
  132750
  133000
  133250
  133500
  133750
  134000
  134250
  134500
  134750
  135000
  135250
  135500
  135750
  136000
  136250
  136500
  136750
  137000
  137250
  137500
  137750
  138000
  138250
  138500
  138750
  139000
  139250
  139500
  139750
  140000
  140250
  140500
  140750
  141000
  141250
  141500
  141750
  142000
  142250
  142500
  142750
  143000
  143250
  143500
  143750
  144000
  144250
  144500
  144750
  145000
  145250
  145500
  145750
  146000
  146250
  146500
  146750
  147000
  147250
  147500
  147750
  148000
  148250
  148500
  148750
  149000
  149250
  149500
  149750
  150000
  150250
  150500
  150750
  151000
  151250
  151500
  151750
  152000
  152250
  152500
  152750
  153000
  153250
  153500
  153750
  154000
  154250
  154500
  154750
  155000
  155250
  155500
  155750
  156000
  156250
  156500
  156750
  157000
  157250
  157500
  157750
  158000
  158250
  158500
  158750
  159000
  159250
  159500
  159750
  160000
  160250
  160500
  160750
  161000
  161250
  161500
  161750
  162000
  162250
  162500
  162750
  163000
  163250
  163500
  163750
  164000
  164250
  164500
  164750
  165000
  165250
  165500
  165750
  166000
  166250
  166500
  166750
  167000
  167250
  167500
  167750
  168000
  168250
  168500
  168750
  169000
  169250
  169500
  169750
  170000
  170250
  170500
  170750
  171000
  171250
  171500
  171750
  172000
  172250
  172500
  172750
  173000
  173250
  173500
  173750
  174000
  174250
  174500
  174750
  175000
  175250
  175500
  175750
  176000
  176250
  176500
  176750
  177000
  177250
  177500
  177750
  178000
  178250
  178500
  178750
  179000
  179250
  179500
  179750
  180000
  180250
  180500
  180750
  181000
  181250
  181500
  181750
  182000
  182250
  182500
  182750
  183000
  183250
  183500
  183750
  184000
  184250
  184500
  184750
  185000
  185250
  185500
  185750
  186000
  186250
  186500
  186750
  187000
  187250
  187500
  187750
  188000
  188250
  188500
  188750
  189000
  189250
  189500
  189750
  190000
  190250
  190500
  190750
  191000
  191250
  191500
  191750
  192000
  192250
  192500
  192750
  193000
  193250
  193500
  193750
  194000
  194052 rows written
  2026-05-21 00:36:03.491619689
  2026-05-21 00:37:25.768144792


started_at: 2026-05-21 04:38:36
finished_at: 2026-05-21 05:00:51
status: success
merge_sql:
  TRUNCATE TABLE cms.ocrh;
  INSERT INTO cms.ocrh SELECT * FROM pipekit_staging.ocrh;

watermark_values_json: {}
resolved_source_sql:
  SELECT
    "DCORD#" AS "dcord#",
    CASE WHEN DCODAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCODAT END AS dcodat,
    RTRIM(DCOTYP) AS dcotyp,
    RTRIM(DCIUSE) AS dciuse,
    RTRIM(DCBCUS) AS dcbcus,
    RTRIM(DCBNAM) AS dcbnam,
    RTRIM(DCBAD1) AS dcbad1,
    RTRIM(DCBATT) AS dcbatt,
    RTRIM(DCBPHO) AS dcbpho,
    RTRIM(DCTRCD) AS dctrcd,
    RTRIM(DCNU28) AS dcnu28,
    RTRIM(DCSHVI) AS dcshvi,
    RTRIM(DCSCUS) AS dcscus,
    RTRIM(DCSNAM) AS dcsnam,
    RTRIM(DCSAD1) AS dcsad1,
    RTRIM(DCSAD2) AS dcsad2,
    RTRIM(DCSAD3) AS dcsad3,
    RTRIM(DCSAD4) AS dcsad4,
    RTRIM(DCSAD5) AS dcsad5,
    RTRIM(DCSAD6) AS dcsad6,
    RTRIM(DCSAD7) AS dcsad7,
    RTRIM(DCSAD8) AS dcsad8,
    RTRIM(DCSAD9) AS dcsad9,
    RTRIM(DCSAD10) AS dcsad10,
    RTRIM(DCSPOS) AS dcspos,
    RTRIM(DCPO) AS dcpo,
    RTRIM(DCQUOT) AS dcquot,
    RTRIM(DCCURR) AS dccurr,
    CASE WHEN DCMDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCMDAT END AS dcmdat,
    RTRIM(DCSLMN) AS dcslmn,
    DCCPCT AS dccpct,
    DCCRAT AS dccrat,
    RTRIM(DCRES) AS dcres,
    RTRIM(DCFSTL) AS dcfstl,
    RTRIM(DCPSTL) AS dcpstl,
    RTRIM(DCPPCL) AS dcppcl,
    RTRIM(DCGDIS) AS dcgdis,
    RTRIM(DCGDSF) AS dcgdsf,
    RTRIM(DCSTAT) AS dcstat,
    RTRIM(DCWOPR) AS dcwopr,
    "DCNDL#" AS "dcndl#",
    DCTOTO AS dctoto,
    DCTDIS AS dctdis,
    DCTTAX AS dcttax,
    DCTFRT AS dctfrt,
    DCTWGT AS dctwgt,
    RTRIM(DCTWUN) AS dctwun,
    DCTVOL AS dctvol,
    RTRIM(DCTVUN) AS dctvun,
    RTRIM(DCAVPR) AS dcavpr,
    CASE WHEN DCUDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCUDAT END AS dcudat,
    RTRIM(DCUSRE) AS dcusre,
    RTRIM(DCUSRC) AS dcusrc,
    "DCINV#" AS "dcinv#",
    DCOBAL AS dcobal,
    RTRIM(DCARBK) AS dcarbk,
    RTRIM(DCSTKL) AS dcstkl,
    DCRFNO AS dcrfno,
    CASE WHEN DCXDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCXDAT END AS dcxdat,
    RTRIM(DCTERR) AS dcterr,
    RTRIM(DCSLIP) AS dcslip,
    RTRIM(DCCARC) AS dccarc,
    RTRIM(DCSERC) AS dcserc,
    CASE WHEN DCSDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCSDAT END AS dcsdat,
    CASE WHEN DCHDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCHDAT END AS dchdat,
    CASE WHEN DCDDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCDDAT END AS dcddat,
    CASE WHEN DCFDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCFDAT END AS dcfdat,
    CASE WHEN DCRDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCRDAT END AS dcrdat,
    CASE WHEN DCQDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCQDAT END AS dcqdat,
    CASE WHEN DCCDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCCDAT END AS dccdat,
    RTRIM(DCHREA) AS dchrea,
    RTRIM(DCBOFG) AS dcbofg,
    RTRIM(DCAPLG) AS dcaplg,
    RTRIM(DCFOBC) AS dcfobc,
    RTRIM(DCSCOM) AS dcscom,
    RTRIM(DCOSRC) AS dcosrc,
    RTRIM(DCOFXD) AS dcofxd,
    RTRIM(DCSLCS) AS dcslcs,
    RTRIM(DCCRTY) AS dccrty,
    RTRIM(DCCRDT) AS dccrdt,
    RTRIM("DCCRD#") AS "dccrd#",
    RTRIM(DCEXPR) AS dcexpr,
    RTRIM(DCHODR) AS dchodr,
    DCCRNM AS dccrnm,
    RTRIM(DCSHBF) AS dcshbf,
    RTRIM(DCCLEN) AS dcclen,
    DDFTTX AS ddfttx,
    RTRIM(DCFUT1) AS dcfut1,
    RTRIM(DCFUT2) AS dcfut2,
    RTRIM(DCFLG1) AS dcflg1,
    RTRIM(DCFLG2) AS dcflg2,
    RTRIM(DCREFN) AS dcrefn,
    RTRIM(DCPLNT) AS dcplnt,
    RTRIM(DCFUT3) AS dcfut3,
    RTRIM(DCFUT4) AS dcfut4,
    RTRIM(DCFUT5) AS dcfut5,
    RTRIM(DCFUT6) AS dcfut6,
    RTRIM(DCFUT7) AS dcfut7,
    RTRIM(DCFUT8) AS dcfut8,
    RTRIM(DCFUT9) AS dcfut9,
    CASE WHEN DCDAT1 IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCDAT1 END AS dcdat1,
    CASE WHEN DCDAT2 IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCDAT2 END AS dcdat2,
    RTRIM(DCFLG3) AS dcflg3,
    RTRIM(DCFLG4) AS dcflg4,
    RTRIM(DCFLG5) AS dcflg5,
    RTRIM(DCFLG6) AS dcflg6,
    RTRIM(DCFLG7) AS dcflg7,
    DCFUT10 AS dcfut10,
    DCFUT11 AS dcfut11,
    DCFUT12 AS dcfut12,
    DCFUT13 AS dcfut13,
    DCFUT14 AS dcfut14,
    DCFUT15 AS dcfut15,
    DCFUT16 AS dcfut16,
    DCFUT17 AS dcfut17,
    DCFUT18 AS dcfut18,
    DCFUT19 AS dcfut19,
    DCFUT20 AS dcfut20,
    RTRIM(DCDEPT) AS dcdept,
    RTRIM(DCPROM) AS dcprom,
    RTRIM(DCCLMO) AS dcclmo,
    RTRIM(DCTTMZ) AS dcttmz,
    RTRIM(DCCTMZ) AS dcctmz,
    RTRIM(DCOTMZ) AS dcotmz,
    RTRIM(DCMTMZ) AS dcmtmz,
    RTRIM(DCQTMZ) AS dcqtmz,
    RTRIM(DCSTMZ) AS dcstmz,
    DCMTME AS dcmtme,
    CASE WHEN DCMXDT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCMXDT END AS dcmxdt,
    DCMXTM AS dcmxtm,
    RTRIM(DCR870) AS dcr870,
    RTRIM(DCS870) AS dcs870,
    RTRIM(DCFCHG) AS dcfchg,
    RTRIM(DCSTTP) AS dcsttp,
    RTRIM(DCSCNS) AS dcscns,
    RTRIM(DCOTMC) AS dcotmc,
    RTRIM(DCOFOM) AS dcofom,
    RTRIM(DCOFTM) AS dcoftm,
    RTRIM(DCAPPTM) AS dcapptm,
    RTRIM(DCEXPO) AS dcexpo,
    RTRIM(DCSDLV) AS dcsdlv,
    RTRIM(DCSPIC) AS dcspic,
    RTRIM(DCFRTC) AS dcfrtc,
    RTRIM(DCCPLT) AS dccplt,
    RTRIM(DCSDBC) AS dcsdbc,
    RTRIM(DCSDBS) AS dcsdbs,
    RTRIM(DCSDSC) AS dcsdsc,
    RTRIM(DCSDSS) AS dcsdss,
    RTRIM(DCSDCR) AS dcsdcr,
    RTRIM(DCSCPO) AS dcscpo,
    RTRIM(DCSCOR) AS dcscor,
    RTRIM(DCFROM) AS dcfrom,
    RTRIM(DCSCTY) AS dcscty,
    RTRIM(DCSPOV) AS dcspov,
    RTRIM(DCSCRY) AS dcscry,
    RTRIM(DCFUT21) AS dcfut21,
    RTRIM(DCFUT22) AS dcfut22,
    RTRIM(DCFUT23) AS dcfut23,
    RTRIM(DCFUT24) AS dcfut24,
    RTRIM(DCFUT25) AS dcfut25,
    RTRIM(DCFUT26) AS dcfut26,
    RTRIM(DCSLSCH) AS dcslsch,
    RTRIM(DCARBOI) AS dcarboi,
    RTRIM(DCBBORT) AS dcbbort,
    RTRIM(DCPBBOR) AS dcpbbor,
    RTRIM(DCSCPHN) AS dcscphn,
    RTRIM(DC4473PN) AS dc4473pn,
    RTRIM(DCSCONT) AS dcscont,
    DCADRSN AS dcadrsn,
    DCHFEE AS dchfee,
    DCHFEETX AS dchfeetx,
    RTRIM(DCAFAX) AS dcafax,
    RTRIM(DCAEMAIL) AS dcaemail,
    RTRIM(DCFOID) AS dcfoid
  FROM LGDAT.OCRH

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    "DCORD#" AS "dcord#",
    CASE WHEN DCODAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCODAT END AS dcodat,
    RTRIM(DCOTYP) AS dcotyp,
    RTRIM(DCIUSE) AS dciuse,
    RTRIM(DCBCUS) AS dcbcus,
    RTRIM(DCBNAM) AS dcbnam,
    RTRIM(DCBAD1) AS dcbad1,
    RTRIM(DCBATT) AS dcbatt,
    RTRIM(DCBPHO) AS dcbpho,
    RTRIM(DCTRCD) AS dctrcd,
    RTRIM(DCNU28) AS dcnu28,
    RTRIM(DCSHVI) AS dcshvi,
    RTRIM(DCSCUS) AS dcscus,
    RTRIM(DCSNAM) AS dcsnam,
    RTRIM(DCSAD1) AS dcsad1,
    RTRIM(DCSAD2) AS dcsad2,
    RTRIM(DCSAD3) AS dcsad3,
    RTRIM(DCSAD4) AS dcsad4,
    RTRIM(DCSAD5) AS dcsad5,
    RTRIM(DCSAD6) AS dcsad6,
    RTRIM(DCSAD7) AS dcsad7,
    RTRIM(DCSAD8) AS dcsad8,
    RTRIM(DCSAD9) AS dcsad9,
    RTRIM(DCSAD10) AS dcsad10,
    RTRIM(DCSPOS) AS dcspos,
    RTRIM(DCPO) AS dcpo,
    RTRIM(DCQUOT) AS dcquot,
    RTRIM(DCCURR) AS dccurr,
    CASE WHEN DCMDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCMDAT END AS dcmdat,
    RTRIM(DCSLMN) AS dcslmn,
    DCCPCT AS dccpct,
    DCCRAT AS dccrat,
    RTRIM(DCRES) AS dcres,
    RTRIM(DCFSTL) AS dcfstl,
    RTRIM(DCPSTL) AS dcpstl,
    RTRIM(DCPPCL) AS dcppcl,
    RTRIM(DCGDIS) AS dcgdis,
    RTRIM(DCGDSF) AS dcgdsf,
    RTRIM(DCSTAT) AS dcstat,
    RTRIM(DCWOPR) AS dcwopr,
    "DCNDL#" AS "dcndl#",
    DCTOTO AS dctoto,
    DCTDIS AS dctdis,
    DCTTAX AS dcttax,
    DCTFRT AS dctfrt,
    DCTWGT AS dctwgt,
    RTRIM(DCTWUN) AS dctwun,
    DCTVOL AS dctvol,
    RTRIM(DCTVUN) AS dctvun,
    RTRIM(DCAVPR) AS dcavpr,
    CASE WHEN DCUDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCUDAT END AS dcudat,
    RTRIM(DCUSRE) AS dcusre,
    RTRIM(DCUSRC) AS dcusrc,
    "DCINV#" AS "dcinv#",
    DCOBAL AS dcobal,
    RTRIM(DCARBK) AS dcarbk,
    RTRIM(DCSTKL) AS dcstkl,
    DCRFNO AS dcrfno,
    CASE WHEN DCXDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCXDAT END AS dcxdat,
    RTRIM(DCTERR) AS dcterr,
    RTRIM(DCSLIP) AS dcslip,
    RTRIM(DCCARC) AS dccarc,
    RTRIM(DCSERC) AS dcserc,
    CASE WHEN DCSDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCSDAT END AS dcsdat,
    CASE WHEN DCHDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCHDAT END AS dchdat,
    CASE WHEN DCDDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCDDAT END AS dcddat,
    CASE WHEN DCFDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCFDAT END AS dcfdat,
    CASE WHEN DCRDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCRDAT END AS dcrdat,
    CASE WHEN DCQDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCQDAT END AS dcqdat,
    CASE WHEN DCCDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCCDAT END AS dccdat,
    RTRIM(DCHREA) AS dchrea,
    RTRIM(DCBOFG) AS dcbofg,
    RTRIM(DCAPLG) AS dcaplg,
    RTRIM(DCFOBC) AS dcfobc,
    RTRIM(DCSCOM) AS dcscom,
    RTRIM(DCOSRC) AS dcosrc,
    RTRIM(DCOFXD) AS dcofxd,
    RTRIM(DCSLCS) AS dcslcs,
    RTRIM(DCCRTY) AS dccrty,
    RTRIM(DCCRDT) AS dccrdt,
    RTRIM("DCCRD#") AS "dccrd#",
    RTRIM(DCEXPR) AS dcexpr,
    RTRIM(DCHODR) AS dchodr,
    DCCRNM AS dccrnm,
    RTRIM(DCSHBF) AS dcshbf,
    RTRIM(DCCLEN) AS dcclen,
    DDFTTX AS ddfttx,
    RTRIM(DCFUT1) AS dcfut1,
    RTRIM(DCFUT2) AS dcfut2,
    RTRIM(DCFLG1) AS dcflg1,
    RTRIM(DCFLG2) AS dcflg2,
    RTRIM(DCREFN) AS dcrefn,
    RTRIM(DCPLNT) AS dcplnt,
    RTRIM(DCFUT3) AS dcfut3,
    RTRIM(DCFUT4) AS dcfut4,
    RTRIM(DCFUT5) AS dcfut5,
    RTRIM(DCFUT6) AS dcfut6,
    RTRIM(DCFUT7) AS dcfut7,
    RTRIM(DCFUT8) AS dcfut8,
    RTRIM(DCFUT9) AS dcfut9,
    CASE WHEN DCDAT1 IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCDAT1 END AS dcdat1,
    CASE WHEN DCDAT2 IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCDAT2 END AS dcdat2,
    RTRIM(DCFLG3) AS dcflg3,
    RTRIM(DCFLG4) AS dcflg4,
    RTRIM(DCFLG5) AS dcflg5,
    RTRIM(DCFLG6) AS dcflg6,
    RTRIM(DCFLG7) AS dcflg7,
    DCFUT10 AS dcfut10,
    DCFUT11 AS dcfut11,
    DCFUT12 AS dcfut12,
    DCFUT13 AS dcfut13,
    DCFUT14 AS dcfut14,
    DCFUT15 AS dcfut15,
    DCFUT16 AS dcfut16,
    DCFUT17 AS dcfut17,
    DCFUT18 AS dcfut18,
    DCFUT19 AS dcfut19,
    DCFUT20 AS dcfut20,
    RTRIM(DCDEPT) AS dcdept,
    RTRIM(DCPROM) AS dcprom,
    RTRIM(DCCLMO) AS dcclmo,
    RTRIM(DCTTMZ) AS dcttmz,
    RTRIM(DCCTMZ) AS dcctmz,
    RTRIM(DCOTMZ) AS dcotmz,
    RTRIM(DCMTMZ) AS dcmtmz,
    RTRIM(DCQTMZ) AS dcqtmz,
    RTRIM(DCSTMZ) AS dcstmz,
    DCMTME AS dcmtme,
    CASE WHEN DCMXDT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCMXDT END AS dcmxdt,
    DCMXTM AS dcmxtm,
    RTRIM(DCR870) AS dcr870,
    RTRIM(DCS870) AS dcs870,
    RTRIM(DCFCHG) AS dcfchg,
    RTRIM(DCSTTP) AS dcsttp,
    RTRIM(DCSCNS) AS dcscns,
    RTRIM(DCOTMC) AS dcotmc,
    RTRIM(DCOFOM) AS dcofom,
    RTRIM(DCOFTM) AS dcoftm,
    RTRIM(DCAPPTM) AS dcapptm,
    RTRIM(DCEXPO) AS dcexpo,
    RTRIM(DCSDLV) AS dcsdlv,
    RTRIM(DCSPIC) AS dcspic,
    RTRIM(DCFRTC) AS dcfrtc,
    RTRIM(DCCPLT) AS dccplt,
    RTRIM(DCSDBC) AS dcsdbc,
    RTRIM(DCSDBS) AS dcsdbs,
    RTRIM(DCSDSC) AS dcsdsc,
    RTRIM(DCSDSS) AS dcsdss,
    RTRIM(DCSDCR) AS dcsdcr,
    RTRIM(DCSCPO) AS dcscpo,
    RTRIM(DCSCOR) AS dcscor,
    RTRIM(DCFROM) AS dcfrom,
    RTRIM(DCSCTY) AS dcscty,
    RTRIM(DCSPOV) AS dcspov,
    RTRIM(DCSCRY) AS dcscry,
    RTRIM(DCFUT21) AS dcfut21,
    RTRIM(DCFUT22) AS dcfut22,
    RTRIM(DCFUT23) AS dcfut23,
    RTRIM(DCFUT24) AS dcfut24,
    RTRIM(DCFUT25) AS dcfut25,
    RTRIM(DCFUT26) AS dcfut26,
    RTRIM(DCSLSCH) AS dcslsch,
    RTRIM(DCARBOI) AS dcarboi,
    RTRIM(DCBBORT) AS dcbbort,
    RTRIM(DCPBBOR) AS dcpbbor,
    RTRIM(DCSCPHN) AS dcscphn,
    RTRIM(DC4473PN) AS dc4473pn,
    RTRIM(DCSCONT) AS dcscont,
    DCADRSN AS dcadrsn,
    DCHFEE AS dchfee,
    DCHFEETX AS dchfeetx,
    RTRIM(DCAFAX) AS dcafax,
    RTRIM(DCAEMAIL) AS dcaemail,
    RTRIM(DCFOID) AS dcfoid
  FROM LGDAT.OCRH
  ------------destination table-----------------------------
  pipekit_staging.ocrh
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:38:39.256211985
  ------------source metadata-------------------------------
  number of cols: 174
    * dcord#: NUMERIC
    * DCODAT: DATE
    * DCOTYP: VARCHAR
    * DCIUSE: VARCHAR
    * DCBCUS: VARCHAR
    * DCBNAM: VARCHAR
    * DCBAD1: VARCHAR
    * DCBATT: VARCHAR
    * DCBPHO: VARCHAR
    * DCTRCD: VARCHAR
    * DCNU28: VARCHAR
    * DCSHVI: VARCHAR
    * DCSCUS: VARCHAR
    * DCSNAM: VARCHAR
    * DCSAD1: VARCHAR
    * DCSAD2: VARCHAR
    * DCSAD3: VARCHAR
    * DCSAD4: VARCHAR
    * DCSAD5: VARCHAR
    * DCSAD6: VARCHAR
    * DCSAD7: VARCHAR
    * DCSAD8: VARCHAR
    * DCSAD9: VARCHAR
    * DCSAD10: VARCHAR
    * DCSPOS: VARCHAR
    * DCPO: VARCHAR
    * DCQUOT: VARCHAR
    * DCCURR: VARCHAR
    * DCMDAT: DATE
    * DCSLMN: VARCHAR
    * DCCPCT: NUMERIC
    * DCCRAT: NUMERIC
    * DCRES: VARCHAR
    * DCFSTL: VARCHAR
    * DCPSTL: VARCHAR
    * DCPPCL: VARCHAR
    * DCGDIS: VARCHAR
    * DCGDSF: VARCHAR
    * DCSTAT: VARCHAR
    * DCWOPR: VARCHAR
    * dcndl#: NUMERIC
    * DCTOTO: NUMERIC
    * DCTDIS: NUMERIC
    * DCTTAX: NUMERIC
    * DCTFRT: NUMERIC
    * DCTWGT: NUMERIC
    * DCTWUN: VARCHAR
    * DCTVOL: NUMERIC
    * DCTVUN: VARCHAR
    * DCAVPR: VARCHAR
    * DCUDAT: DATE
    * DCUSRE: VARCHAR
    * DCUSRC: VARCHAR
    * dcinv#: NUMERIC
    * DCOBAL: NUMERIC
    * DCARBK: VARCHAR
    * DCSTKL: VARCHAR
    * DCRFNO: NUMERIC
    * DCXDAT: DATE
    * DCTERR: VARCHAR
    * DCSLIP: VARCHAR
    * DCCARC: VARCHAR
    * DCSERC: VARCHAR
    * DCSDAT: DATE
    * DCHDAT: DATE
    * DCDDAT: DATE
    * DCFDAT: DATE
    * DCRDAT: DATE
    * DCQDAT: DATE
    * DCCDAT: DATE
    * DCHREA: VARCHAR
    * DCBOFG: VARCHAR
    * DCAPLG: VARCHAR
    * DCFOBC: VARCHAR
    * DCSCOM: VARCHAR
    * DCOSRC: VARCHAR
    * DCOFXD: VARCHAR
    * DCSLCS: VARCHAR
    * DCCRTY: VARCHAR
    * DCCRDT: VARCHAR
    * dccrd#: VARCHAR
    * DCEXPR: VARCHAR
    * DCHODR: VARCHAR
    * DCCRNM: NUMERIC
    * DCSHBF: VARCHAR
    * DCCLEN: VARCHAR
    * DDFTTX: NUMERIC
    * DCFUT1: VARCHAR
    * DCFUT2: VARCHAR
    * DCFLG1: VARCHAR
    * DCFLG2: VARCHAR
    * DCREFN: VARCHAR
    * DCPLNT: VARCHAR
    * DCFUT3: VARCHAR
    * DCFUT4: VARCHAR
    * DCFUT5: VARCHAR
    * DCFUT6: VARCHAR
    * DCFUT7: VARCHAR
    * DCFUT8: VARCHAR
    * DCFUT9: VARCHAR
    * DCDAT1: DATE
    * DCDAT2: DATE
    * DCFLG3: VARCHAR
    * DCFLG4: VARCHAR
    * DCFLG5: VARCHAR
    * DCFLG6: VARCHAR
    * DCFLG7: VARCHAR
    * DCFUT10: NUMERIC
    * DCFUT11: NUMERIC
    * DCFUT12: NUMERIC
    * DCFUT13: NUMERIC
    * DCFUT14: NUMERIC
    * DCFUT15: NUMERIC
    * DCFUT16: NUMERIC
    * DCFUT17: NUMERIC
    * DCFUT18: NUMERIC
    * DCFUT19: NUMERIC
    * DCFUT20: NUMERIC
    * DCDEPT: VARCHAR
    * DCPROM: VARCHAR
    * DCCLMO: VARCHAR
    * DCTTMZ: VARCHAR
    * DCCTMZ: VARCHAR
    * DCOTMZ: VARCHAR
    * DCMTMZ: VARCHAR
    * DCQTMZ: VARCHAR
    * DCSTMZ: VARCHAR
    * DCMTME: NUMERIC
    * DCMXDT: DATE
    * DCMXTM: NUMERIC
    * DCR870: VARCHAR
    * DCS870: VARCHAR
    * DCFCHG: VARCHAR
    * DCSTTP: VARCHAR
    * DCSCNS: VARCHAR
    * DCOTMC: VARCHAR
    * DCOFOM: VARCHAR
    * DCOFTM: VARCHAR
    * DCAPPTM: VARCHAR
    * DCEXPO: VARCHAR
    * DCSDLV: VARCHAR
    * DCSPIC: VARCHAR
    * DCFRTC: VARCHAR
    * DCCPLT: VARCHAR
    * DCSDBC: VARCHAR
    * DCSDBS: VARCHAR
    * DCSDSC: VARCHAR
    * DCSDSS: VARCHAR
    * DCSDCR: VARCHAR
    * DCSCPO: VARCHAR
    * DCSCOR: VARCHAR
    * DCFROM: VARCHAR
    * DCSCTY: VARCHAR
    * DCSPOV: VARCHAR
    * DCSCRY: VARCHAR
    * DCFUT21: VARCHAR
    * DCFUT22: VARCHAR
    * DCFUT23: VARCHAR
    * DCFUT24: VARCHAR
    * DCFUT25: VARCHAR
    * DCFUT26: VARCHAR
    * DCSLSCH: VARCHAR
    * DCARBOI: VARCHAR
    * DCBBORT: VARCHAR
    * DCPBBOR: VARCHAR
    * DCSCPHN: VARCHAR
    * DC4473PN: VARCHAR
    * DCSCONT: VARCHAR
    * DCADRSN: NUMERIC
    * DCHFEE: NUMERIC
    * DCHFEETX: NUMERIC
    * DCAFAX: VARCHAR
    * DCAEMAIL: VARCHAR
    * DCFOID: VARCHAR
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.ocrh
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47250
  47500
  47750
  48000
  48250
  48500
  48750
  49000
  49250
  49500
  49750
  50000
  50250
  50500
  50750
  51000
  51250
  51500
  51750
  52000
  52250
  52500
  52750
  53000
  53250
  53500
  53750
  54000
  54250
  54500
  54750
  55000
  55250
  55500
  55750
  56000
  56250
  56500
  56750
  57000
  57250
  57500
  57750
  58000
  58250
  58500
  58750
  59000
  59250
  59500
  59750
  60000
  60250
  60500
  60750
  61000
  61250
  61500
  61750
  62000
  62250
  62500
  62750
  63000
  63250
  63500
  63750
  64000
  64250
  64500
  64750
  65000
  65250
  65500
  65750
  66000
  66250
  66500
  66750
  67000
  67250
  67500
  67750
  68000
  68250
  68500
  68750
  69000
  69250
  69500
  69750
  70000
  70250
  70500
  70750
  71000
  71250
  71500
  71750
  72000
  72250
  72500
  72750
  73000
  73250
  73500
  73750
  74000
  74250
  74500
  74750
  75000
  75250
  75500
  75750
  76000
  76250
  76500
  76750
  77000
  77250
  77500
  77750
  78000
  78250
  78500
  78750
  79000
  79250
  79500
  79750
  80000
  80250
  80500
  80750
  81000
  81250
  81500
  81750
  82000
  82250
  82500
  82750
  83000
  83250
  83500
  83750
  84000
  84250
  84500
  84750
  85000
  85250
  85500
  85750
  86000
  86250
  86500
  86750
  87000
  87250
  87500
  87750
  88000
  88250
  88500
  88750
  89000
  89250
  89500
  89750
  90000
  90250
  90500
  90750
  91000
  91250
  91500
  91750
  92000
  92250
  92500
  92750
  93000
  93250
  93500
  93750
  94000
  94250
  94500
  94750
  95000
  95250
  95500
  95750
  96000
  96250
  96500
  96750
  97000
  97250
  97500
  97750
  98000
  98250
  98500
  98750
  99000
  99250
  99500
  99750
  100000
  100250
  100500
  100750
  101000
  101250
  101500
  101750
  102000
  102250
  102500
  102750
  103000
  103250
  103500
  103750
  104000
  104250
  104500
  104750
  105000
  105250
  105500
  105750
  106000
  106250
  106500
  106750
  107000
  107250
  107500
  107750
  108000
  108250
  108500
  108750
  109000
  109250
  109500
  109750
  110000
  110250
  110500
  110750
  111000
  111250
  111500
  111750
  112000
  112250
  112500
  112750
  113000
  113250
  113500
  113750
  114000
  114250
  114500
  114750
  115000
  115250
  115500
  115750
  116000
  116250
  116500
  116750
  117000
  117250
  117500
  117750
  118000
  118250
  118500
  118750
  119000
  119250
  119500
  119750
  120000
  120250
  120500
  120750
  121000
  121250
  121500
  121750
  122000
  122250
  122500
  122750
  123000
  123250
  123500
  123750
  124000
  124250
  124500
  124750
  125000
  125250
  125500
  125750
  126000
  126250
  126500
  126750
  127000
  127250
  127500
  127750
  128000
  128250
  128500
  128750
  129000
  129250
  129500
  129750
  130000
  130250
  130500
  130750
  131000
  131250
  131500
  131750
  132000
  132250
  132500
  132750
  133000
  133250
  133500
  133750
  134000
  134250
  134500
  134750
  135000
  135250
  135500
  135750
  136000
  136250
  136500
  136750
  137000
  137250
  137500
  137750
  138000
  138250
  138500
  138750
  139000
  139250
  139500
  139750
  140000
  140250
  140500
  140750
  141000
  141250
  141500
  141750
  142000
  142250
  142500
  142750
  143000
  143250
  143500
  143750
  144000
  144250
  144500
  144750
  145000
  145250
  145500
  145750
  146000
  146250
  146500
  146750
  147000
  147250
  147500
  147750
  148000
  148250
  148500
  148750
  149000
  149250
  149500
  149750
  150000
  150250
  150500
  150750
  151000
  151250
  151500
  151750
  152000
  152250
  152500
  152750
  153000
  153250
  153500
  153750
  154000
  154250
  154500
  154750
  155000
  155250
  155500
  155750
  156000
  156250
  156500
  156750
  157000
  157250
  157500
  157750
  158000
  158250
  158500
  158750
  159000
  159250
  159500
  159750
  160000
  160250
  160500
  160750
  161000
  161250
  161500
  161750
  162000
  162250
  162500
  162750
  163000
  163250
  163500
  163750
  164000
  164250
  164500
  164750
  165000
  165250
  165500
  165750
  166000
  166250
  166500
  166750
  167000
  167250
  167500
  167750
  168000
  168250
  168500
  168750
  169000
  169250
  169500
  169750
  170000
  170250
  170500
  170750
  171000
  171250
  171500
  171750
  172000
  172250
  172500
  172750
  173000
  173250
  173500
  173750
  174000
  174250
  174500
  174750
  175000
  175250
  175500
  175750
  176000
  176250
  176500
  176750
  177000
  177250
  177500
  177750
  178000
  178250
  178500
  178750
  179000
  179250
  179500
  179750
  180000
  180250
  180500
  180750
  181000
  181250
  181500
  181750
  182000
  182250
  182500
  182750
  183000
  183250
  183500
  183750
  184000
  184250
  184500
  184750
  185000
  185250
  185500
  185750
  186000
  186250
  186500
  186750
  187000
  187250
  187500
  187750
  188000
  188250
  188500
  188750
  189000
  189250
  189500
  189750
  190000
  190250
  190500
  190750
  191000
  191250
  191500
  191750
  192000
  192250
  192500
  192750
  193000
  193250
  193500
  193750
  194000
  194250
  194500
  194750
  195000
  195250
  195500
  195750
  196000
  196250
  196500
  196750
  197000
  197250
  197500
  197750
  198000
  198250
  198500
  198750
  199000
  199250
  199500
  199750
  200000
  200250
  200500
  200750
  201000
  201250
  201500
  201750
  202000
  202250
  202500
  202750
  203000
  203250
  203500
  203750
  204000
  204250
  204500
  204750
  205000
  205250
  205500
  205750
  206000
  206250
  206500
  206750
  207000
  207250
  207500
  207750
  208000
  208250
  208500
  208750
  209000
  209250
  209500
  209750
  210000
  210250
  210500
  210750
  211000
  211250
  211500
  211750
  212000
  212250
  212500
  212750
  213000
  213250
  213500
  213750
  214000
  214250
  214500
  214750
  215000
  215250
  215500
  215750
  216000
  216250
  216500
  216750
  217000
  217250
  217500
  217750
  218000
  218250
  218500
  218750
  219000
  219250
  219500
  219750
  220000
  220250
  220500
  220750
  221000
  221250
  221500
  221750
  222000
  222250
  222500
  222750
  223000
  223250
  223500
  223750
  224000
  224250
  224500
  224750
  225000
  225250
  225500
  225750
  226000
  226250
  226500
  226750
  227000
  227250
  227500
  227750
  228000
  228250
  228500
  228750
  229000
  229250
  229500
  229750
  230000
  230250
  230500
  230750
  231000
  231250
  231500
  231750
  232000
  232250
  232500
  232750
  233000
  233250
  233500
  233750
  234000
  234250
  234500
  234750
  235000
  235250
  235500
  235750
  236000
  236250
  236500
  236750
  237000
  237250
  237500
  237750
  238000
  238250
  238500
  238750
  239000
  239250
  239500
  239750
  240000
  240250
  240500
  240750
  241000
  241250
  241500
  241750
  242000
  242250
  242500
  242750
  243000
  243250
  243500
  243750
  244000
  244250
  244500
  244750
  245000
  245250
  245500
  245750
  246000
  246250
  246500
  246750
  247000
  247250
  247500
  247750
  248000
  248250
  248500
  248750
  249000
  249250
  249500
  249750
  250000
  250250
  250500
  250750
  251000
  251250
  251500
  251750
  252000
  252250
  252500
  252750
  253000
  253250
  253500
  253750
  254000
  254250
  254500
  254750
  255000
  255250
  255500
  255750
  256000
  256250
  256500
  256750
  257000
  257250
  257500
  257750
  258000
  258250
  258500
  258750
  259000
  259250
  259500
  259750
  260000
  260250
  260500
  260750
  261000
  261250
  261500
  261750
  262000
  262250
  262500
  262750
  263000
  263250
  263500
  263750
  264000
  264250
  264500
  264750
  265000
  265250
  265500
  265750
  266000
  266250
  266500
  266750
  267000
  267250
  267500
  267750
  268000
  268250
  268500
  268750
  269000
  269250
  269500
  269750
  270000
  270250
  270500
  270750
  271000
  271250
  271500
  271750
  272000
  272250
  272500
  272750
  273000
  273250
  273500
  273750
  274000
  274250
  274500
  274750
  275000
  275250
  275500
  275750
  276000
  276250
  276500
  276750
  277000
  277250
  277500
  277750
  278000
  278250
  278500
  278750
  279000
  279250
  279500
  279750
  280000
  280250
  280500
  280750
  281000
  281250
  281500
  281750
  282000
  282250
  282500
  282750
  283000
  283250
  283500
  283750
  284000
  284250
  284500
  284750
  285000
  285250
  285500
  285750
  286000
  286250
  286500
  286750
  287000
  287250
  287500
  287750
  288000
  288250
  288500
  288750
  289000
  289250
  289500
  289750
  290000
  290250
  290500
  290750
  291000
  291250
  291500
  291750
  292000
  292250
  292500
  292750
  293000
  293250
  293500
  293750
  294000
  294250
  294500
  294750
  295000
  295250
  295500
  295750
  296000
  296250
  296500
  296750
  297000
  297250
  297500
  297750
  298000
  298250
  298500
  298750
  299000
  299250
  299500
  299750
  300000
  300250
  300500
  300750
  301000
  301250
  301500
  301750
  302000
  302250
  302500
  302750
  303000
  303250
  303500
  303750
  304000
  304250
  304500
  304750
  305000
  305250
  305500
  305750
  306000
  306250
  306500
  306750
  307000
  307250
  307500
  307750
  308000
  308250
  308500
  308750
  309000
  309250
  309500
  309750
  310000
  310250
  310500
  310750
  311000
  311250
  311500
  311750
  312000
  312250
  312500
  312750
  313000
  313250
  313500
  313750
  314000
  314250
  314500
  314750
  315000
  315250
  315500
  315750
  316000
  316250
  316500
  316750
  317000
  317250
  317500
  317750
  318000
  318250
  318500
  318750
  319000
  319250
  319500
  319750
  320000
  320250
  320500
  320750
  321000
  321250
  321500
  321750
  322000
  322250
  322500
  322750
  323000
  323250
  323500
  323750
  324000
  324250
  324500
  324750
  325000
  325250
  325500
  325750
  326000
  326250
  326500
  326750
  327000
  327250
  327500
  327750
  328000
  328250
  328500
  328750
  329000
  329250
  329500
  329750
  330000
  330250
  330500
  330750
  331000
  331250
  331500
  331750
  332000
  332250
  332500
  332750
  333000
  333250
  333500
  333750
  334000
  334250
  334500
  334750
  335000
  335250
  335500
  335750
  336000
  336250
  336500
  336750
  337000
  337250
  337500
  337750
  338000
  338250
  338500
  338750
  339000
  339250
  339500
  339750
  340000
  340250
  340500
  340750
  341000
  341250
  341500
  341750
  342000
  342250
  342500
  342750
  343000
  343250
  343500
  343750
  344000
  344250
  344500
  344750
  345000
  345250
  345500
  345750
  346000
  346250
  346500
  346750
  347000
  347250
  347500
  347750
  348000
  348250
  348500
  348750
  349000
  349250
  349500
  349750
  350000
  350250
  350500
  350750
  351000
  351250
  351500
  351750
  352000
  352250
  352500
  352750
  353000
  353250
  353500
  353750
  354000
  354250
  354500
  354750
  355000
  355250
  355500
  355750
  356000
  356250
  356500
  356750
  357000
  357250
  357500
  357750
  358000
  358250
  358500
  358750
  359000
  359250
  359500
  359750
  360000
  360250
  360500
  360750
  361000
  361250
  361500
  361750
  362000
  362250
  362500
  362750
  363000
  363250
  363500
  363750
  364000
  364250
  364500
  364750
  365000
  365250
  365500
  365750
  366000
  366250
  366500
  366750
  367000
  367250
  367500
  367750
  368000
  368250
  368500
  368750
  369000
  369250
  369500
  369750
  370000
  370250
  370500
  370750
  371000
  371250
  371500
  371750
  372000
  372250
  372500
  372750
  373000
  373250
  373500
  373750
  374000
  374250
  374500
  374750
  375000
  375250
  375500
  375750
  376000
  376250
  376500
  376750
  377000
  377250
  377500
  377750
  378000
  378250
  378500
  378750
  379000
  379250
  379500
  379750
  380000
  380250
  380500
  380750
  381000
  381250
  381500
  381750
  382000
  382250
  382500
  382750
  383000
  383250
  383500
  383750
  384000
  384250
  384500
  384750
  385000
  385250
  385500
  385750
  386000
  386250
  386500
  386750
  387000
  387250
  387500
  387750
  388000
  388250
  388500
  388750
  389000
  389250
  389500
  389750
  390000
  390250
  390500
  390750
  391000
  391250
  391500
  391750
  392000
  392250
  392500
  392750
  393000
  393250
  393500
  393750
  394000
  394250
  394500
  394750
  395000
  395250
  395500
  395750
  396000
  396250
  396500
  396750
  397000
  397250
  397500
  397750
  398000
  398250
  398500
  398750
  399000
  399250
  399500
  399750
  400000
  400250
  400500
  400750
  401000
  401250
  401500
  401750
  402000
  402250
  402500
  402750
  403000
  403250
  403500
  403750
  404000
  404250
  404500
  404750
  405000
  405250
  405500
  405750
  406000
  406250
  406500
  406750
  407000
  407250
  407500
  407750
  408000
  408250
  408500
  408750
  409000
  409250
  409500
  409750
  410000
  410250
  410500
  410750
  411000
  411250
  411500
  411750
  412000
  412250
  412500
  412750
  413000
  413250
  413500
  413750
  414000
  414250
  414500
  414750
  415000
  415250
  415500
  415750
  416000
  416250
  416500
  416750
  417000
  417250
  417500
  417750
  418000
  418250
  418500
  418750
  419000
  419250
  419500
  419750
  420000
  420250
  420500
  420750
  421000
  421250
  421500
  421750
  422000
  422250
  422500
  422750
  423000
  423250
  423500
  423750
  424000
  424250
  424500
  424750
  425000
  425250
  425500
  425750
  426000
  426250
  426500
  426750
  427000
  427250
  427500
  427750
  428000
  428250
  428500
  428750
  429000
  429250
  429500
  429750
  430000
  430250
  430500
  430750
  431000
  431250
  431500
  431750
  432000
  432250
  432500
  432750
  433000
  433250
  433500
  433750
  434000
  434250
  434500
  434750
  435000
  435250
  435500
  435750
  436000
  436250
  436500
  436750
  437000
  437250
  437500
  437750
  438000
  438250
  438500
  438750
  439000
  439250
  439500
  439750
  440000
  440250
  440500
  440750
  441000
  441250
  441500
  441750
  442000
  442250
  442500
  442750
  443000
  443250
  443500
  443750
  444000
  444250
  444500
  444750
  445000
  445250
  445500
  445750
  446000
  446250
  446500
  446750
  447000
  447250
  447500
  447750
  448000
  448250
  448500
  448750
  449000
  449250
  449500
  449750
  450000
  450250
  450500
  450750
  451000
  451250
  451500
  451750
  452000
  452250
  452500
  452750
  453000
  453250
  453500
  453750
  454000
  454250
  454500
  454750
  455000
  455250
  455500
  455750
  456000
  456250
  456500
  456750
  457000
  457250
  457500
  457750
  458000
  458250
  458500
  458750
  459000
  459250
  459500
  459750
  460000
  460250
  460500
  460750
  461000
  461250
  461500
  461750
  462000
  462250
  462500
  462750
  463000
  463250
  463500
  463750
  464000
  464250
  464500
  464750
  465000
  465227 rows written
  2026-05-21 00:38:39.256211985
  2026-05-21 01:00:49.464934933

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    "DCORD#" AS "dcord#",
    CASE WHEN DCODAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCODAT END AS dcodat,
    RTRIM(DCOTYP) AS dcotyp,
    RTRIM(DCIUSE) AS dciuse,
    RTRIM(DCBCUS) AS dcbcus,
    RTRIM(DCBNAM) AS dcbnam,
    RTRIM(DCBAD1) AS dcbad1,
    RTRIM(DCBATT) AS dcbatt,
    RTRIM(DCBPHO) AS dcbpho,
    RTRIM(DCTRCD) AS dctrcd,
    RTRIM(DCNU28) AS dcnu28,
    RTRIM(DCSHVI) AS dcshvi,
    RTRIM(DCSCUS) AS dcscus,
    RTRIM(DCSNAM) AS dcsnam,
    RTRIM(DCSAD1) AS dcsad1,
    RTRIM(DCSAD2) AS dcsad2,
    RTRIM(DCSAD3) AS dcsad3,
    RTRIM(DCSAD4) AS dcsad4,
    RTRIM(DCSAD5) AS dcsad5,
    RTRIM(DCSAD6) AS dcsad6,
    RTRIM(DCSAD7) AS dcsad7,
    RTRIM(DCSAD8) AS dcsad8,
    RTRIM(DCSAD9) AS dcsad9,
    RTRIM(DCSAD10) AS dcsad10,
    RTRIM(DCSPOS) AS dcspos,
    RTRIM(DCPO) AS dcpo,
    RTRIM(DCQUOT) AS dcquot,
    RTRIM(DCCURR) AS dccurr,
    CASE WHEN DCMDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCMDAT END AS dcmdat,
    RTRIM(DCSLMN) AS dcslmn,
    DCCPCT AS dccpct,
    DCCRAT AS dccrat,
    RTRIM(DCRES) AS dcres,
    RTRIM(DCFSTL) AS dcfstl,
    RTRIM(DCPSTL) AS dcpstl,
    RTRIM(DCPPCL) AS dcppcl,
    RTRIM(DCGDIS) AS dcgdis,
    RTRIM(DCGDSF) AS dcgdsf,
    RTRIM(DCSTAT) AS dcstat,
    RTRIM(DCWOPR) AS dcwopr,
    "DCNDL#" AS "dcndl#",
    DCTOTO AS dctoto,
    DCTDIS AS dctdis,
    DCTTAX AS dcttax,
    DCTFRT AS dctfrt,
    DCTWGT AS dctwgt,
    RTRIM(DCTWUN) AS dctwun,
    DCTVOL AS dctvol,
    RTRIM(DCTVUN) AS dctvun,
    RTRIM(DCAVPR) AS dcavpr,
    CASE WHEN DCUDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCUDAT END AS dcudat,
    RTRIM(DCUSRE) AS dcusre,
    RTRIM(DCUSRC) AS dcusrc,
    "DCINV#" AS "dcinv#",
    DCOBAL AS dcobal,
    RTRIM(DCARBK) AS dcarbk,
    RTRIM(DCSTKL) AS dcstkl,
    DCRFNO AS dcrfno,
    CASE WHEN DCXDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCXDAT END AS dcxdat,
    RTRIM(DCTERR) AS dcterr,
    RTRIM(DCSLIP) AS dcslip,
    RTRIM(DCCARC) AS dccarc,
    RTRIM(DCSERC) AS dcserc,
    CASE WHEN DCSDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCSDAT END AS dcsdat,
    CASE WHEN DCHDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCHDAT END AS dchdat,
    CASE WHEN DCDDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCDDAT END AS dcddat,
    CASE WHEN DCFDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCFDAT END AS dcfdat,
    CASE WHEN DCRDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCRDAT END AS dcrdat,
    CASE WHEN DCQDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCQDAT END AS dcqdat,
    CASE WHEN DCCDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCCDAT END AS dccdat,
    RTRIM(DCHREA) AS dchrea,
    RTRIM(DCBOFG) AS dcbofg,
    RTRIM(DCAPLG) AS dcaplg,
    RTRIM(DCFOBC) AS dcfobc,
    RTRIM(DCSCOM) AS dcscom,
    RTRIM(DCOSRC) AS dcosrc,
    RTRIM(DCOFXD) AS dcofxd,
    RTRIM(DCSLCS) AS dcslcs,
    RTRIM(DCCRTY) AS dccrty,
    RTRIM(DCCRDT) AS dccrdt,
    RTRIM("DCCRD#") AS "dccrd#",
    RTRIM(DCEXPR) AS dcexpr,
    RTRIM(DCHODR) AS dchodr,
    DCCRNM AS dccrnm,
    RTRIM(DCSHBF) AS dcshbf,
    RTRIM(DCCLEN) AS dcclen,
    DDFTTX AS ddfttx,
    RTRIM(DCFUT1) AS dcfut1,
    RTRIM(DCFUT2) AS dcfut2,
    RTRIM(DCFLG1) AS dcflg1,
    RTRIM(DCFLG2) AS dcflg2,
    RTRIM(DCREFN) AS dcrefn,
    RTRIM(DCPLNT) AS dcplnt,
    RTRIM(DCFUT3) AS dcfut3,
    RTRIM(DCFUT4) AS dcfut4,
    RTRIM(DCFUT5) AS dcfut5,
    RTRIM(DCFUT6) AS dcfut6,
    RTRIM(DCFUT7) AS dcfut7,
    RTRIM(DCFUT8) AS dcfut8,
    RTRIM(DCFUT9) AS dcfut9,
    CASE WHEN DCDAT1 IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCDAT1 END AS dcdat1,
    CASE WHEN DCDAT2 IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCDAT2 END AS dcdat2,
    RTRIM(DCFLG3) AS dcflg3,
    RTRIM(DCFLG4) AS dcflg4,
    RTRIM(DCFLG5) AS dcflg5,
    RTRIM(DCFLG6) AS dcflg6,
    RTRIM(DCFLG7) AS dcflg7,
    DCFUT10 AS dcfut10,
    DCFUT11 AS dcfut11,
    DCFUT12 AS dcfut12,
    DCFUT13 AS dcfut13,
    DCFUT14 AS dcfut14,
    DCFUT15 AS dcfut15,
    DCFUT16 AS dcfut16,
    DCFUT17 AS dcfut17,
    DCFUT18 AS dcfut18,
    DCFUT19 AS dcfut19,
    DCFUT20 AS dcfut20,
    RTRIM(DCDEPT) AS dcdept,
    RTRIM(DCPROM) AS dcprom,
    RTRIM(DCCLMO) AS dcclmo,
    RTRIM(DCTTMZ) AS dcttmz,
    RTRIM(DCCTMZ) AS dcctmz,
    RTRIM(DCOTMZ) AS dcotmz,
    RTRIM(DCMTMZ) AS dcmtmz,
    RTRIM(DCQTMZ) AS dcqtmz,
    RTRIM(DCSTMZ) AS dcstmz,
    DCMTME AS dcmtme,
    CASE WHEN DCMXDT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DCMXDT END AS dcmxdt,
    DCMXTM AS dcmxtm,
    RTRIM(DCR870) AS dcr870,
    RTRIM(DCS870) AS dcs870,
    RTRIM(DCFCHG) AS dcfchg,
    RTRIM(DCSTTP) AS dcsttp,
    RTRIM(DCSCNS) AS dcscns,
    RTRIM(DCOTMC) AS dcotmc,
    RTRIM(DCOFOM) AS dcofom,
    RTRIM(DCOFTM) AS dcoftm,
    RTRIM(DCAPPTM) AS dcapptm,
    RTRIM(DCEXPO) AS dcexpo,
    RTRIM(DCSDLV) AS dcsdlv,
    RTRIM(DCSPIC) AS dcspic,
    RTRIM(DCFRTC) AS dcfrtc,
    RTRIM(DCCPLT) AS dccplt,
    RTRIM(DCSDBC) AS dcsdbc,
    RTRIM(DCSDBS) AS dcsdbs,
    RTRIM(DCSDSC) AS dcsdsc,
    RTRIM(DCSDSS) AS dcsdss,
    RTRIM(DCSDCR) AS dcsdcr,
    RTRIM(DCSCPO) AS dcscpo,
    RTRIM(DCSCOR) AS dcscor,
    RTRIM(DCFROM) AS dcfrom,
    RTRIM(DCSCTY) AS dcscty,
    RTRIM(DCSPOV) AS dcspov,
    RTRIM(DCSCRY) AS dcscry,
    RTRIM(DCFUT21) AS dcfut21,
    RTRIM(DCFUT22) AS dcfut22,
    RTRIM(DCFUT23) AS dcfut23,
    RTRIM(DCFUT24) AS dcfut24,
    RTRIM(DCFUT25) AS dcfut25,
    RTRIM(DCFUT26) AS dcfut26,
    RTRIM(DCSLSCH) AS dcslsch,
    RTRIM(DCARBOI) AS dcarboi,
    RTRIM(DCBBORT) AS dcbbort,
    RTRIM(DCPBBOR) AS dcpbbor,
    RTRIM(DCSCPHN) AS dcscphn,
    RTRIM(DC4473PN) AS dc4473pn,
    RTRIM(DCSCONT) AS dcscont,
    DCADRSN AS dcadrsn,
    DCHFEE AS dchfee,
    DCHFEETX AS dchfeetx,
    RTRIM(DCAFAX) AS dcafax,
    RTRIM(DCAEMAIL) AS dcaemail,
    RTRIM(DCFOID) AS dcfoid
  FROM LGDAT.OCRH
  ------------destination table-----------------------------
  pipekit_staging.ocrh
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:38:39.256211985
  ------------source metadata-------------------------------
  number of cols: 174
    * dcord#: NUMERIC
    * DCODAT: DATE
    * DCOTYP: VARCHAR
    * DCIUSE: VARCHAR
    * DCBCUS: VARCHAR
    * DCBNAM: VARCHAR
    * DCBAD1: VARCHAR
    * DCBATT: VARCHAR
    * DCBPHO: VARCHAR
    * DCTRCD: VARCHAR
    * DCNU28: VARCHAR
    * DCSHVI: VARCHAR
    * DCSCUS: VARCHAR
    * DCSNAM: VARCHAR
    * DCSAD1: VARCHAR
    * DCSAD2: VARCHAR
    * DCSAD3: VARCHAR
    * DCSAD4: VARCHAR
    * DCSAD5: VARCHAR
    * DCSAD6: VARCHAR
    * DCSAD7: VARCHAR
    * DCSAD8: VARCHAR
    * DCSAD9: VARCHAR
    * DCSAD10: VARCHAR
    * DCSPOS: VARCHAR
    * DCPO: VARCHAR
    * DCQUOT: VARCHAR
    * DCCURR: VARCHAR
    * DCMDAT: DATE
    * DCSLMN: VARCHAR
    * DCCPCT: NUMERIC
    * DCCRAT: NUMERIC
    * DCRES: VARCHAR
    * DCFSTL: VARCHAR
    * DCPSTL: VARCHAR
    * DCPPCL: VARCHAR
    * DCGDIS: VARCHAR
    * DCGDSF: VARCHAR
    * DCSTAT: VARCHAR
    * DCWOPR: VARCHAR
    * dcndl#: NUMERIC
    * DCTOTO: NUMERIC
    * DCTDIS: NUMERIC
    * DCTTAX: NUMERIC
    * DCTFRT: NUMERIC
    * DCTWGT: NUMERIC
    * DCTWUN: VARCHAR
    * DCTVOL: NUMERIC
    * DCTVUN: VARCHAR
    * DCAVPR: VARCHAR
    * DCUDAT: DATE
    * DCUSRE: VARCHAR
    * DCUSRC: VARCHAR
    * dcinv#: NUMERIC
    * DCOBAL: NUMERIC
    * DCARBK: VARCHAR
    * DCSTKL: VARCHAR
    * DCRFNO: NUMERIC
    * DCXDAT: DATE
    * DCTERR: VARCHAR
    * DCSLIP: VARCHAR
    * DCCARC: VARCHAR
    * DCSERC: VARCHAR
    * DCSDAT: DATE
    * DCHDAT: DATE
    * DCDDAT: DATE
    * DCFDAT: DATE
    * DCRDAT: DATE
    * DCQDAT: DATE
    * DCCDAT: DATE
    * DCHREA: VARCHAR
    * DCBOFG: VARCHAR
    * DCAPLG: VARCHAR
    * DCFOBC: VARCHAR
    * DCSCOM: VARCHAR
    * DCOSRC: VARCHAR
    * DCOFXD: VARCHAR
    * DCSLCS: VARCHAR
    * DCCRTY: VARCHAR
    * DCCRDT: VARCHAR
    * dccrd#: VARCHAR
    * DCEXPR: VARCHAR
    * DCHODR: VARCHAR
    * DCCRNM: NUMERIC
    * DCSHBF: VARCHAR
    * DCCLEN: VARCHAR
    * DDFTTX: NUMERIC
    * DCFUT1: VARCHAR
    * DCFUT2: VARCHAR
    * DCFLG1: VARCHAR
    * DCFLG2: VARCHAR
    * DCREFN: VARCHAR
    * DCPLNT: VARCHAR
    * DCFUT3: VARCHAR
    * DCFUT4: VARCHAR
    * DCFUT5: VARCHAR
    * DCFUT6: VARCHAR
    * DCFUT7: VARCHAR
    * DCFUT8: VARCHAR
    * DCFUT9: VARCHAR
    * DCDAT1: DATE
    * DCDAT2: DATE
    * DCFLG3: VARCHAR
    * DCFLG4: VARCHAR
    * DCFLG5: VARCHAR
    * DCFLG6: VARCHAR
    * DCFLG7: VARCHAR
    * DCFUT10: NUMERIC
    * DCFUT11: NUMERIC
    * DCFUT12: NUMERIC
    * DCFUT13: NUMERIC
    * DCFUT14: NUMERIC
    * DCFUT15: NUMERIC
    * DCFUT16: NUMERIC
    * DCFUT17: NUMERIC
    * DCFUT18: NUMERIC
    * DCFUT19: NUMERIC
    * DCFUT20: NUMERIC
    * DCDEPT: VARCHAR
    * DCPROM: VARCHAR
    * DCCLMO: VARCHAR
    * DCTTMZ: VARCHAR
    * DCCTMZ: VARCHAR
    * DCOTMZ: VARCHAR
    * DCMTMZ: VARCHAR
    * DCQTMZ: VARCHAR
    * DCSTMZ: VARCHAR
    * DCMTME: NUMERIC
    * DCMXDT: DATE
    * DCMXTM: NUMERIC
    * DCR870: VARCHAR
    * DCS870: VARCHAR
    * DCFCHG: VARCHAR
    * DCSTTP: VARCHAR
    * DCSCNS: VARCHAR
    * DCOTMC: VARCHAR
    * DCOFOM: VARCHAR
    * DCOFTM: VARCHAR
    * DCAPPTM: VARCHAR
    * DCEXPO: VARCHAR
    * DCSDLV: VARCHAR
    * DCSPIC: VARCHAR
    * DCFRTC: VARCHAR
    * DCCPLT: VARCHAR
    * DCSDBC: VARCHAR
    * DCSDBS: VARCHAR
    * DCSDSC: VARCHAR
    * DCSDSS: VARCHAR
    * DCSDCR: VARCHAR
    * DCSCPO: VARCHAR
    * DCSCOR: VARCHAR
    * DCFROM: VARCHAR
    * DCSCTY: VARCHAR
    * DCSPOV: VARCHAR
    * DCSCRY: VARCHAR
    * DCFUT21: VARCHAR
    * DCFUT22: VARCHAR
    * DCFUT23: VARCHAR
    * DCFUT24: VARCHAR
    * DCFUT25: VARCHAR
    * DCFUT26: VARCHAR
    * DCSLSCH: VARCHAR
    * DCARBOI: VARCHAR
    * DCBBORT: VARCHAR
    * DCPBBOR: VARCHAR
    * DCSCPHN: VARCHAR
    * DC4473PN: VARCHAR
    * DCSCONT: VARCHAR
    * DCADRSN: NUMERIC
    * DCHFEE: NUMERIC
    * DCHFEETX: NUMERIC
    * DCAFAX: VARCHAR
    * DCAEMAIL: VARCHAR
    * DCFOID: VARCHAR
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.ocrh
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47250
  47500
  47750
  48000
  48250
  48500
  48750
  49000
  49250
  49500
  49750
  50000
  50250
  50500
  50750
  51000
  51250
  51500
  51750
  52000
  52250
  52500
  52750
  53000
  53250
  53500
  53750
  54000
  54250
  54500
  54750
  55000
  55250
  55500
  55750
  56000
  56250
  56500
  56750
  57000
  57250
  57500
  57750
  58000
  58250
  58500
  58750
  59000
  59250
  59500
  59750
  60000
  60250
  60500
  60750
  61000
  61250
  61500
  61750
  62000
  62250
  62500
  62750
  63000
  63250
  63500
  63750
  64000
  64250
  64500
  64750
  65000
  65250
  65500
  65750
  66000
  66250
  66500
  66750
  67000
  67250
  67500
  67750
  68000
  68250
  68500
  68750
  69000
  69250
  69500
  69750
  70000
  70250
  70500
  70750
  71000
  71250
  71500
  71750
  72000
  72250
  72500
  72750
  73000
  73250
  73500
  73750
  74000
  74250
  74500
  74750
  75000
  75250
  75500
  75750
  76000
  76250
  76500
  76750
  77000
  77250
  77500
  77750
  78000
  78250
  78500
  78750
  79000
  79250
  79500
  79750
  80000
  80250
  80500
  80750
  81000
  81250
  81500
  81750
  82000
  82250
  82500
  82750
  83000
  83250
  83500
  83750
  84000
  84250
  84500
  84750
  85000
  85250
  85500
  85750
  86000
  86250
  86500
  86750
  87000
  87250
  87500
  87750
  88000
  88250
  88500
  88750
  89000
  89250
  89500
  89750
  90000
  90250
  90500
  90750
  91000
  91250
  91500
  91750
  92000
  92250
  92500
  92750
  93000
  93250
  93500
  93750
  94000
  94250
  94500
  94750
  95000
  95250
  95500
  95750
  96000
  96250
  96500
  96750
  97000
  97250
  97500
  97750
  98000
  98250
  98500
  98750
  99000
  99250
  99500
  99750
  100000
  100250
  100500
  100750
  101000
  101250
  101500
  101750
  102000
  102250
  102500
  102750
  103000
  103250
  103500
  103750
  104000
  104250
  104500
  104750
  105000
  105250
  105500
  105750
  106000
  106250
  106500
  106750
  107000
  107250
  107500
  107750
  108000
  108250
  108500
  108750
  109000
  109250
  109500
  109750
  110000
  110250
  110500
  110750
  111000
  111250
  111500
  111750
  112000
  112250
  112500
  112750
  113000
  113250
  113500
  113750
  114000
  114250
  114500
  114750
  115000
  115250
  115500
  115750
  116000
  116250
  116500
  116750
  117000
  117250
  117500
  117750
  118000
  118250
  118500
  118750
  119000
  119250
  119500
  119750
  120000
  120250
  120500
  120750
  121000
  121250
  121500
  121750
  122000
  122250
  122500
  122750
  123000
  123250
  123500
  123750
  124000
  124250
  124500
  124750
  125000
  125250
  125500
  125750
  126000
  126250
  126500
  126750
  127000
  127250
  127500
  127750
  128000
  128250
  128500
  128750
  129000
  129250
  129500
  129750
  130000
  130250
  130500
  130750
  131000
  131250
  131500
  131750
  132000
  132250
  132500
  132750
  133000
  133250
  133500
  133750
  134000
  134250
  134500
  134750
  135000
  135250
  135500
  135750
  136000
  136250
  136500
  136750
  137000
  137250
  137500
  137750
  138000
  138250
  138500
  138750
  139000
  139250
  139500
  139750
  140000
  140250
  140500
  140750
  141000
  141250
  141500
  141750
  142000
  142250
  142500
  142750
  143000
  143250
  143500
  143750
  144000
  144250
  144500
  144750
  145000
  145250
  145500
  145750
  146000
  146250
  146500
  146750
  147000
  147250
  147500
  147750
  148000
  148250
  148500
  148750
  149000
  149250
  149500
  149750
  150000
  150250
  150500
  150750
  151000
  151250
  151500
  151750
  152000
  152250
  152500
  152750
  153000
  153250
  153500
  153750
  154000
  154250
  154500
  154750
  155000
  155250
  155500
  155750
  156000
  156250
  156500
  156750
  157000
  157250
  157500
  157750
  158000
  158250
  158500
  158750
  159000
  159250
  159500
  159750
  160000
  160250
  160500
  160750
  161000
  161250
  161500
  161750
  162000
  162250
  162500
  162750
  163000
  163250
  163500
  163750
  164000
  164250
  164500
  164750
  165000
  165250
  165500
  165750
  166000
  166250
  166500
  166750
  167000
  167250
  167500
  167750
  168000
  168250
  168500
  168750
  169000
  169250
  169500
  169750
  170000
  170250
  170500
  170750
  171000
  171250
  171500
  171750
  172000
  172250
  172500
  172750
  173000
  173250
  173500
  173750
  174000
  174250
  174500
  174750
  175000
  175250
  175500
  175750
  176000
  176250
  176500
  176750
  177000
  177250
  177500
  177750
  178000
  178250
  178500
  178750
  179000
  179250
  179500
  179750
  180000
  180250
  180500
  180750
  181000
  181250
  181500
  181750
  182000
  182250
  182500
  182750
  183000
  183250
  183500
  183750
  184000
  184250
  184500
  184750
  185000
  185250
  185500
  185750
  186000
  186250
  186500
  186750
  187000
  187250
  187500
  187750
  188000
  188250
  188500
  188750
  189000
  189250
  189500
  189750
  190000
  190250
  190500
  190750
  191000
  191250
  191500
  191750
  192000
  192250
  192500
  192750
  193000
  193250
  193500
  193750
  194000
  194250
  194500
  194750
  195000
  195250
  195500
  195750
  196000
  196250
  196500
  196750
  197000
  197250
  197500
  197750
  198000
  198250
  198500
  198750
  199000
  199250
  199500
  199750
  200000
  200250
  200500
  200750
  201000
  201250
  201500
  201750
  202000
  202250
  202500
  202750
  203000
  203250
  203500
  203750
  204000
  204250
  204500
  204750
  205000
  205250
  205500
  205750
  206000
  206250
  206500
  206750
  207000
  207250
  207500
  207750
  208000
  208250
  208500
  208750
  209000
  209250
  209500
  209750
  210000
  210250
  210500
  210750
  211000
  211250
  211500
  211750
  212000
  212250
  212500
  212750
  213000
  213250
  213500
  213750
  214000
  214250
  214500
  214750
  215000
  215250
  215500
  215750
  216000
  216250
  216500
  216750
  217000
  217250
  217500
  217750
  218000
  218250
  218500
  218750
  219000
  219250
  219500
  219750
  220000
  220250
  220500
  220750
  221000
  221250
  221500
  221750
  222000
  222250
  222500
  222750
  223000
  223250
  223500
  223750
  224000
  224250
  224500
  224750
  225000
  225250
  225500
  225750
  226000
  226250
  226500
  226750
  227000
  227250
  227500
  227750
  228000
  228250
  228500
  228750
  229000
  229250
  229500
  229750
  230000
  230250
  230500
  230750
  231000
  231250
  231500
  231750
  232000
  232250
  232500
  232750
  233000
  233250
  233500
  233750
  234000
  234250
  234500
  234750
  235000
  235250
  235500
  235750
  236000
  236250
  236500
  236750
  237000
  237250
  237500
  237750
  238000
  238250
  238500
  238750
  239000
  239250
  239500
  239750
  240000
  240250
  240500
  240750
  241000
  241250
  241500
  241750
  242000
  242250
  242500
  242750
  243000
  243250
  243500
  243750
  244000
  244250
  244500
  244750
  245000
  245250
  245500
  245750
  246000
  246250
  246500
  246750
  247000
  247250
  247500
  247750
  248000
  248250
  248500
  248750
  249000
  249250
  249500
  249750
  250000
  250250
  250500
  250750
  251000
  251250
  251500
  251750
  252000
  252250
  252500
  252750
  253000
  253250
  253500
  253750
  254000
  254250
  254500
  254750
  255000
  255250
  255500
  255750
  256000
  256250
  256500
  256750
  257000
  257250
  257500
  257750
  258000
  258250
  258500
  258750
  259000
  259250
  259500
  259750
  260000
  260250
  260500
  260750
  261000
  261250
  261500
  261750
  262000
  262250
  262500
  262750
  263000
  263250
  263500
  263750
  264000
  264250
  264500
  264750
  265000
  265250
  265500
  265750
  266000
  266250
  266500
  266750
  267000
  267250
  267500
  267750
  268000
  268250
  268500
  268750
  269000
  269250
  269500
  269750
  270000
  270250
  270500
  270750
  271000
  271250
  271500
  271750
  272000
  272250
  272500
  272750
  273000
  273250
  273500
  273750
  274000
  274250
  274500
  274750
  275000
  275250
  275500
  275750
  276000
  276250
  276500
  276750
  277000
  277250
  277500
  277750
  278000
  278250
  278500
  278750
  279000
  279250
  279500
  279750
  280000
  280250
  280500
  280750
  281000
  281250
  281500
  281750
  282000
  282250
  282500
  282750
  283000
  283250
  283500
  283750
  284000
  284250
  284500
  284750
  285000
  285250
  285500
  285750
  286000
  286250
  286500
  286750
  287000
  287250
  287500
  287750
  288000
  288250
  288500
  288750
  289000
  289250
  289500
  289750
  290000
  290250
  290500
  290750
  291000
  291250
  291500
  291750
  292000
  292250
  292500
  292750
  293000
  293250
  293500
  293750
  294000
  294250
  294500
  294750
  295000
  295250
  295500
  295750
  296000
  296250
  296500
  296750
  297000
  297250
  297500
  297750
  298000
  298250
  298500
  298750
  299000
  299250
  299500
  299750
  300000
  300250
  300500
  300750
  301000
  301250
  301500
  301750
  302000
  302250
  302500
  302750
  303000
  303250
  303500
  303750
  304000
  304250
  304500
  304750
  305000
  305250
  305500
  305750
  306000
  306250
  306500
  306750
  307000
  307250
  307500
  307750
  308000
  308250
  308500
  308750
  309000
  309250
  309500
  309750
  310000
  310250
  310500
  310750
  311000
  311250
  311500
  311750
  312000
  312250
  312500
  312750
  313000
  313250
  313500
  313750
  314000
  314250
  314500
  314750
  315000
  315250
  315500
  315750
  316000
  316250
  316500
  316750
  317000
  317250
  317500
  317750
  318000
  318250
  318500
  318750
  319000
  319250
  319500
  319750
  320000
  320250
  320500
  320750
  321000
  321250
  321500
  321750
  322000
  322250
  322500
  322750
  323000
  323250
  323500
  323750
  324000
  324250
  324500
  324750
  325000
  325250
  325500
  325750
  326000
  326250
  326500
  326750
  327000
  327250
  327500
  327750
  328000
  328250
  328500
  328750
  329000
  329250
  329500
  329750
  330000
  330250
  330500
  330750
  331000
  331250
  331500
  331750
  332000
  332250
  332500
  332750
  333000
  333250
  333500
  333750
  334000
  334250
  334500
  334750
  335000
  335250
  335500
  335750
  336000
  336250
  336500
  336750
  337000
  337250
  337500
  337750
  338000
  338250
  338500
  338750
  339000
  339250
  339500
  339750
  340000
  340250
  340500
  340750
  341000
  341250
  341500
  341750
  342000
  342250
  342500
  342750
  343000
  343250
  343500
  343750
  344000
  344250
  344500
  344750
  345000
  345250
  345500
  345750
  346000
  346250
  346500
  346750
  347000
  347250
  347500
  347750
  348000
  348250
  348500
  348750
  349000
  349250
  349500
  349750
  350000
  350250
  350500
  350750
  351000
  351250
  351500
  351750
  352000
  352250
  352500
  352750
  353000
  353250
  353500
  353750
  354000
  354250
  354500
  354750
  355000
  355250
  355500
  355750
  356000
  356250
  356500
  356750
  357000
  357250
  357500
  357750
  358000
  358250
  358500
  358750
  359000
  359250
  359500
  359750
  360000
  360250
  360500
  360750
  361000
  361250
  361500
  361750
  362000
  362250
  362500
  362750
  363000
  363250
  363500
  363750
  364000
  364250
  364500
  364750
  365000
  365250
  365500
  365750
  366000
  366250
  366500
  366750
  367000
  367250
  367500
  367750
  368000
  368250
  368500
  368750
  369000
  369250
  369500
  369750
  370000
  370250
  370500
  370750
  371000
  371250
  371500
  371750
  372000
  372250
  372500
  372750
  373000
  373250
  373500
  373750
  374000
  374250
  374500
  374750
  375000
  375250
  375500
  375750
  376000
  376250
  376500
  376750
  377000
  377250
  377500
  377750
  378000
  378250
  378500
  378750
  379000
  379250
  379500
  379750
  380000
  380250
  380500
  380750
  381000
  381250
  381500
  381750
  382000
  382250
  382500
  382750
  383000
  383250
  383500
  383750
  384000
  384250
  384500
  384750
  385000
  385250
  385500
  385750
  386000
  386250
  386500
  386750
  387000
  387250
  387500
  387750
  388000
  388250
  388500
  388750
  389000
  389250
  389500
  389750
  390000
  390250
  390500
  390750
  391000
  391250
  391500
  391750
  392000
  392250
  392500
  392750
  393000
  393250
  393500
  393750
  394000
  394250
  394500
  394750
  395000
  395250
  395500
  395750
  396000
  396250
  396500
  396750
  397000
  397250
  397500
  397750
  398000
  398250
  398500
  398750
  399000
  399250
  399500
  399750
  400000
  400250
  400500
  400750
  401000
  401250
  401500
  401750
  402000
  402250
  402500
  402750
  403000
  403250
  403500
  403750
  404000
  404250
  404500
  404750
  405000
  405250
  405500
  405750
  406000
  406250
  406500
  406750
  407000
  407250
  407500
  407750
  408000
  408250
  408500
  408750
  409000
  409250
  409500
  409750
  410000
  410250
  410500
  410750
  411000
  411250
  411500
  411750
  412000
  412250
  412500
  412750
  413000
  413250
  413500
  413750
  414000
  414250
  414500
  414750
  415000
  415250
  415500
  415750
  416000
  416250
  416500
  416750
  417000
  417250
  417500
  417750
  418000
  418250
  418500
  418750
  419000
  419250
  419500
  419750
  420000
  420250
  420500
  420750
  421000
  421250
  421500
  421750
  422000
  422250
  422500
  422750
  423000
  423250
  423500
  423750
  424000
  424250
  424500
  424750
  425000
  425250
  425500
  425750
  426000
  426250
  426500
  426750
  427000
  427250
  427500
  427750
  428000
  428250
  428500
  428750
  429000
  429250
  429500
  429750
  430000
  430250
  430500
  430750
  431000
  431250
  431500
  431750
  432000
  432250
  432500
  432750
  433000
  433250
  433500
  433750
  434000
  434250
  434500
  434750
  435000
  435250
  435500
  435750
  436000
  436250
  436500
  436750
  437000
  437250
  437500
  437750
  438000
  438250
  438500
  438750
  439000
  439250
  439500
  439750
  440000
  440250
  440500
  440750
  441000
  441250
  441500
  441750
  442000
  442250
  442500
  442750
  443000
  443250
  443500
  443750
  444000
  444250
  444500
  444750
  445000
  445250
  445500
  445750
  446000
  446250
  446500
  446750
  447000
  447250
  447500
  447750
  448000
  448250
  448500
  448750
  449000
  449250
  449500
  449750
  450000
  450250
  450500
  450750
  451000
  451250
  451500
  451750
  452000
  452250
  452500
  452750
  453000
  453250
  453500
  453750
  454000
  454250
  454500
  454750
  455000
  455250
  455500
  455750
  456000
  456250
  456500
  456750
  457000
  457250
  457500
  457750
  458000
  458250
  458500
  458750
  459000
  459250
  459500
  459750
  460000
  460250
  460500
  460750
  461000
  461250
  461500
  461750
  462000
  462250
  462500
  462750
  463000
  463250
  463500
  463750
  464000
  464250
  464500
  464750
  465000
  465227 rows written
  2026-05-21 00:38:39.256211985
  2026-05-21 01:00:49.464934933


started_at: 2026-05-21 04:41:10
finished_at: 2026-05-21 04:41:11
status: error
error:
  WatermarkError: watermark 'stamp' resolver failed: org.postgresql.util.PSQLException: ERROR: operator does not exist: date || numeric
  Traceback (most recent call last):
    File "/opt/pipekit/pipekit/engine/watermark.py", line 32, in resolve_watermarks
      result = jrunner.query(conn["jdbc_url"], conn.get("username"),
    File "/opt/pipekit/pipekit/jrunner.py", line 132, in query
      raise JrunnerError(silent, stdout=r.stdout, stderr=r.stderr)
  pipekit.jrunner.JrunnerError: org.postgresql.util.PSQLException: ERROR: operator does not exist: date || numeric

  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):
    File "/opt/pipekit/pipekit/engine/runner.py", line 75, in run_module
      wm_values = watermark.resolve_watermarks(module, use_defaults_only=False)
    File "/opt/pipekit/pipekit/engine/watermark.py", line 35, in resolve_watermarks
      raise WatermarkError(
  pipekit.engine.watermark.WatermarkError: watermark 'stamp' resolver failed: org.postgresql.util.PSQLException: ERROR: operator does not exist: date || numeric


started_at: 2026-05-21 04:42:05
finished_at: 2026-05-21 04:42:06
status: dry_run
watermark_values_json: {"stamp": "2026-05-20"}
resolved_source_sql:
  SELECT
    NWBTID AS nwbtid,
    NWLABL AS nwlabl,
    NWBPRT AS nwbprt,
    NWPOST AS nwpost,
    NWFSYY AS nwfsyy,
    NWFSPP AS nwfspp,
    NWRDAT AS nwrdat,
    NWTMZN AS nwtmzn,
    NWSHFT AS nwshft,
    NWSHGP AS nwshgp,
    NWNXT# AS nwnxt#,
    NWCRBY AS nwcrby,
    NWCDAT AS nwcdat,
    NWCTIM AS nwctim,
    NWUPBY AS nwupby,
    NWUDAT AS nwudat,
    NWUTIM AS nwutim,
    NWIUSE AS nwiuse,
    NWSRCE AS nwsrce,
    NWSTKL AS nwstkl,
    NWSCPR AS nwscpr,
    NWIUCN AS nwiucn,
    NWAPFC AS nwapfc,
    NWAPCP AS nwapcp,
    NWFUT1 AS nwfut1,
    NWFUT2 AS nwfut2,
    NWFUT3 AS nwfut3,
    NWFUT4 AS nwfut4,
    NWFUT5 AS nwfut5,
    NWFUT6 AS nwfut6,
    NWFUT7 AS nwfut7,
    NWFUT8 AS nwfut8,
    NWFUT9 AS nwfut9,
    NWFLG1 AS nwflg1,
    NWFLG2 AS nwflg2,
    NWFLG3 AS nwflg3,
    NWPLNT AS nwplnt,
    NWEDILN AS nwediln,
    NWEDILE AS nwedile,
    NWSHFS AS nwshfs,
    NWFLBH AS nwflbh,
    NWOBTID AS nwobtid,
    NWFUT10 AS nwfut10,
    NWFUT11 AS nwfut11,
    NWFUT12 AS nwfut12,
    NWFUT13 AS nwfut13,
    NWFUT14 AS nwfut14,
    NWFUT15 AS nwfut15,
    NWFUT16 AS nwfut16,
    NWFUT17 AS nwfut17,
    NWPUSR AS nwpusr,
    NWPDAT AS nwpdat,
    NWPTIM AS nwptim
  FROM LGDAT.RPRH
  WHERE NWPDAT >= 2026-05-20

merge_sql:
  DELETE FROM cms.rprh WHERE nwbtid IN (SELECT nwbtid FROM pipekit_staging.rprh);
  INSERT INTO cms.rprh SELECT * FROM pipekit_staging.rprh;


started_at: 2026-05-21 04:42:29
finished_at: 2026-05-21 04:42:33
status: error
watermark_values_json: {"stamp": "2026-05-20"}
error:
  JrunnerError: com.ibm.as400.access.AS400JDBCSQLSyntaxErrorException: [SQL0401] Comparison operator >= operands not compatible.
  Traceback (most recent call last):
    File "/opt/pipekit/pipekit/engine/runner.py", line 112, in run_module
      migrate_result = jrunner.migrate(
    File "/opt/pipekit/pipekit/jrunner.py", line 213, in migrate
      raise JrunnerError(silent, stdout=stdout, stderr=stderr)
  pipekit.jrunner.JrunnerError: com.ibm.as400.access.AS400JDBCSQLSyntaxErrorException: [SQL0401] Comparison operator >= operands not compatible.

resolved_source_sql:
  SELECT
    NWBTID AS nwbtid,
    NWLABL AS nwlabl,
    NWBPRT AS nwbprt,
    NWPOST AS nwpost,
    NWFSYY AS nwfsyy,
    NWFSPP AS nwfspp,
    NWRDAT AS nwrdat,
    NWTMZN AS nwtmzn,
    NWSHFT AS nwshft,
    NWSHGP AS nwshgp,
    NWNXT# AS nwnxt#,
    NWCRBY AS nwcrby,
    NWCDAT AS nwcdat,
    NWCTIM AS nwctim,
    NWUPBY AS nwupby,
    NWUDAT AS nwudat,
    NWUTIM AS nwutim,
    NWIUSE AS nwiuse,
    NWSRCE AS nwsrce,
    NWSTKL AS nwstkl,
    NWSCPR AS nwscpr,
    NWIUCN AS nwiucn,
    NWAPFC AS nwapfc,
    NWAPCP AS nwapcp,
    NWFUT1 AS nwfut1,
    NWFUT2 AS nwfut2,
    NWFUT3 AS nwfut3,
    NWFUT4 AS nwfut4,
    NWFUT5 AS nwfut5,
    NWFUT6 AS nwfut6,
    NWFUT7 AS nwfut7,
    NWFUT8 AS nwfut8,
    NWFUT9 AS nwfut9,
    NWFLG1 AS nwflg1,
    NWFLG2 AS nwflg2,
    NWFLG3 AS nwflg3,
    NWPLNT AS nwplnt,
    NWEDILN AS nwediln,
    NWEDILE AS nwedile,
    NWSHFS AS nwshfs,
    NWFLBH AS nwflbh,
    NWOBTID AS nwobtid,
    NWFUT10 AS nwfut10,
    NWFUT11 AS nwfut11,
    NWFUT12 AS nwfut12,
    NWFUT13 AS nwfut13,
    NWFUT14 AS nwfut14,
    NWFUT15 AS nwfut15,
    NWFUT16 AS nwfut16,
    NWFUT17 AS nwfut17,
    NWPUSR AS nwpusr,
    NWPDAT AS nwpdat,
    NWPTIM AS nwptim
  FROM LGDAT.RPRH
  WHERE NWPDAT >= 2026-05-20

merge_sql:
  DELETE FROM cms.rprh WHERE nwbtid IN (SELECT nwbtid FROM pipekit_staging.rprh);
  INSERT INTO cms.rprh SELECT * FROM pipekit_staging.rprh;

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    NWBTID AS nwbtid,
    NWLABL AS nwlabl,
    NWBPRT AS nwbprt,
    NWPOST AS nwpost,
    NWFSYY AS nwfsyy,
    NWFSPP AS nwfspp,
    NWRDAT AS nwrdat,
    NWTMZN AS nwtmzn,
    NWSHFT AS nwshft,
    NWSHGP AS nwshgp,
    NWNXT# AS nwnxt#,
    NWCRBY AS nwcrby,
    NWCDAT AS nwcdat,
    NWCTIM AS nwctim,
    NWUPBY AS nwupby,
    NWUDAT AS nwudat,
    NWUTIM AS nwutim,
    NWIUSE AS nwiuse,
    NWSRCE AS nwsrce,
    NWSTKL AS nwstkl,
    NWSCPR AS nwscpr,
    NWIUCN AS nwiucn,
    NWAPFC AS nwapfc,
    NWAPCP AS nwapcp,
    NWFUT1 AS nwfut1,
    NWFUT2 AS nwfut2,
    NWFUT3 AS nwfut3,
    NWFUT4 AS nwfut4,
    NWFUT5 AS nwfut5,
    NWFUT6 AS nwfut6,
    NWFUT7 AS nwfut7,
    NWFUT8 AS nwfut8,
    NWFUT9 AS nwfut9,
    NWFLG1 AS nwflg1,
    NWFLG2 AS nwflg2,
    NWFLG3 AS nwflg3,
    NWPLNT AS nwplnt,
    NWEDILN AS nwediln,
    NWEDILE AS nwedile,
    NWSHFS AS nwshfs,
    NWFLBH AS nwflbh,
    NWOBTID AS nwobtid,
    NWFUT10 AS nwfut10,
    NWFUT11 AS nwfut11,
    NWFUT12 AS nwfut12,
    NWFUT13 AS nwfut13,
    NWFUT14 AS nwfut14,
    NWFUT15 AS nwfut15,
    NWFUT16 AS nwfut16,
    NWFUT17 AS nwfut17,
    NWPUSR AS nwpusr,
    NWPDAT AS nwpdat,
    NWPTIM AS nwptim
  FROM LGDAT.RPRH
  WHERE NWPDAT >= 2026-05-20
  ------------destination table-----------------------------
  pipekit_staging.rprh
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:42:32.812613898
  issue retrieving rows from source:

jrunner_stderr:
  Picked up JAVA_TOOL_OPTIONS: -Djava.awt.headless=true -Dcom.ibm.as400.access.AS400.guiAvailable=false
  com.ibm.as400.access.AS400JDBCSQLSyntaxErrorException: [SQL0401] Comparison operator >= operands not compatible.
  	at com.ibm.as400.access.JDError.createSQLExceptionSubClass(JDError.java:948)
  	at com.ibm.as400.access.JDError.throwSQLException(JDError.java:745)
  	at com.ibm.as400.access.AS400JDBCStatement.commonPrepare(AS400JDBCStatement.java:1821)
  	at com.ibm.as400.access.AS400JDBCStatement.executeQuery(AS400JDBCStatement.java:2569)
  	at jrunner.jrunner.main(jrunner.java:238)

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    NWBTID AS nwbtid,
    NWLABL AS nwlabl,
    NWBPRT AS nwbprt,
    NWPOST AS nwpost,
    NWFSYY AS nwfsyy,
    NWFSPP AS nwfspp,
    NWRDAT AS nwrdat,
    NWTMZN AS nwtmzn,
    NWSHFT AS nwshft,
    NWSHGP AS nwshgp,
    NWNXT# AS nwnxt#,
    NWCRBY AS nwcrby,
    NWCDAT AS nwcdat,
    NWCTIM AS nwctim,
    NWUPBY AS nwupby,
    NWUDAT AS nwudat,
    NWUTIM AS nwutim,
    NWIUSE AS nwiuse,
    NWSRCE AS nwsrce,
    NWSTKL AS nwstkl,
    NWSCPR AS nwscpr,
    NWIUCN AS nwiucn,
    NWAPFC AS nwapfc,
    NWAPCP AS nwapcp,
    NWFUT1 AS nwfut1,
    NWFUT2 AS nwfut2,
    NWFUT3 AS nwfut3,
    NWFUT4 AS nwfut4,
    NWFUT5 AS nwfut5,
    NWFUT6 AS nwfut6,
    NWFUT7 AS nwfut7,
    NWFUT8 AS nwfut8,
    NWFUT9 AS nwfut9,
    NWFLG1 AS nwflg1,
    NWFLG2 AS nwflg2,
    NWFLG3 AS nwflg3,
    NWPLNT AS nwplnt,
    NWEDILN AS nwediln,
    NWEDILE AS nwedile,
    NWSHFS AS nwshfs,
    NWFLBH AS nwflbh,
    NWOBTID AS nwobtid,
    NWFUT10 AS nwfut10,
    NWFUT11 AS nwfut11,
    NWFUT12 AS nwfut12,
    NWFUT13 AS nwfut13,
    NWFUT14 AS nwfut14,
    NWFUT15 AS nwfut15,
    NWFUT16 AS nwfut16,
    NWFUT17 AS nwfut17,
    NWPUSR AS nwpusr,
    NWPDAT AS nwpdat,
    NWPTIM AS nwptim
  FROM LGDAT.RPRH
  WHERE NWPDAT >= 2026-05-20
  ------------destination table-----------------------------
  pipekit_staging.rprh
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:42:32.812613898
  issue retrieving rows from source:


started_at: 2026-05-21 04:45:14
finished_at: 2026-05-21 04:45:19
status: success
watermark_values_json: {"stamp": "2026-05-20"}
resolved_source_sql:
  SELECT
    NWBTID AS nwbtid,
    NWLABL AS nwlabl,
    NWBPRT AS nwbprt,
    NWPOST AS nwpost,
    NWFSYY AS nwfsyy,
    NWFSPP AS nwfspp,
    NWRDAT AS nwrdat,
    NWTMZN AS nwtmzn,
    NWSHFT AS nwshft,
    NWSHGP AS nwshgp,
    NWNXT# AS nwnxt#,
    NWCRBY AS nwcrby,
    NWCDAT AS nwcdat,
    NWCTIM AS nwctim,
    NWUPBY AS nwupby,
    NWUDAT AS nwudat,
    NWUTIM AS nwutim,
    NWIUSE AS nwiuse,
    NWSRCE AS nwsrce,
    NWSTKL AS nwstkl,
    NWSCPR AS nwscpr,
    NWIUCN AS nwiucn,
    NWAPFC AS nwapfc,
    NWAPCP AS nwapcp,
    NWFUT1 AS nwfut1,
    NWFUT2 AS nwfut2,
    NWFUT3 AS nwfut3,
    NWFUT4 AS nwfut4,
    NWFUT5 AS nwfut5,
    NWFUT6 AS nwfut6,
    NWFUT7 AS nwfut7,
    NWFUT8 AS nwfut8,
    NWFUT9 AS nwfut9,
    NWFLG1 AS nwflg1,
    NWFLG2 AS nwflg2,
    NWFLG3 AS nwflg3,
    NWPLNT AS nwplnt,
    NWEDILN AS nwediln,
    NWEDILE AS nwedile,
    NWSHFS AS nwshfs,
    NWFLBH AS nwflbh,
    NWOBTID AS nwobtid,
    NWFUT10 AS nwfut10,
    NWFUT11 AS nwfut11,
    NWFUT12 AS nwfut12,
    NWFUT13 AS nwfut13,
    NWFUT14 AS nwfut14,
    NWFUT15 AS nwfut15,
    NWFUT16 AS nwfut16,
    NWFUT17 AS nwfut17,
    NWPUSR AS nwpusr,
    NWPDAT AS nwpdat,
    NWPTIM AS nwptim
  FROM LGDAT.RPRH
  WHERE NWPDAT >= DATE('2026-05-20')

merge_sql:
  DELETE FROM cms.rprh WHERE nwbtid IN (SELECT nwbtid FROM pipekit_staging.rprh);
  INSERT INTO cms.rprh SELECT * FROM pipekit_staging.rprh;

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    NWBTID AS nwbtid,
    NWLABL AS nwlabl,
    NWBPRT AS nwbprt,
    NWPOST AS nwpost,
    NWFSYY AS nwfsyy,
    NWFSPP AS nwfspp,
    NWRDAT AS nwrdat,
    NWTMZN AS nwtmzn,
    NWSHFT AS nwshft,
    NWSHGP AS nwshgp,
    NWNXT# AS nwnxt#,
    NWCRBY AS nwcrby,
    NWCDAT AS nwcdat,
    NWCTIM AS nwctim,
    NWUPBY AS nwupby,
    NWUDAT AS nwudat,
    NWUTIM AS nwutim,
    NWIUSE AS nwiuse,
    NWSRCE AS nwsrce,
    NWSTKL AS nwstkl,
    NWSCPR AS nwscpr,
    NWIUCN AS nwiucn,
    NWAPFC AS nwapfc,
    NWAPCP AS nwapcp,
    NWFUT1 AS nwfut1,
    NWFUT2 AS nwfut2,
    NWFUT3 AS nwfut3,
    NWFUT4 AS nwfut4,
    NWFUT5 AS nwfut5,
    NWFUT6 AS nwfut6,
    NWFUT7 AS nwfut7,
    NWFUT8 AS nwfut8,
    NWFUT9 AS nwfut9,
    NWFLG1 AS nwflg1,
    NWFLG2 AS nwflg2,
    NWFLG3 AS nwflg3,
    NWPLNT AS nwplnt,
    NWEDILN AS nwediln,
    NWEDILE AS nwedile,
    NWSHFS AS nwshfs,
    NWFLBH AS nwflbh,
    NWOBTID AS nwobtid,
    NWFUT10 AS nwfut10,
    NWFUT11 AS nwfut11,
    NWFUT12 AS nwfut12,
    NWFUT13 AS nwfut13,
    NWFUT14 AS nwfut14,
    NWFUT15 AS nwfut15,
    NWFUT16 AS nwfut16,
    NWFUT17 AS nwfut17,
    NWPUSR AS nwpusr,
    NWPDAT AS nwpdat,
    NWPTIM AS nwptim
  FROM LGDAT.RPRH
  WHERE NWPDAT >= DATE('2026-05-20')
  ------------destination table-----------------------------
  pipekit_staging.rprh
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:45:18.150887182
  ------------source metadata-------------------------------
  number of cols: 53
    * NWBTID: NUMERIC
    * NWLABL: CHAR
    * NWBPRT: CHAR
    * NWPOST: CHAR
    * NWFSYY: NUMERIC
    * NWFSPP: NUMERIC
    * NWRDAT: DATE
    * NWTMZN: CHAR
    * NWSHFT: NUMERIC
    * NWSHGP: CHAR
    * NWNXT#: NUMERIC
    * NWCRBY: CHAR
    * NWCDAT: DATE
    * NWCTIM: TIME
    * NWUPBY: CHAR
    * NWUDAT: DATE
    * NWUTIM: TIME
    * NWIUSE: CHAR
    * NWSRCE: CHAR
    * NWSTKL: CHAR
    * NWSCPR: CHAR
    * NWIUCN: NUMERIC
    * NWAPFC: CHAR
    * NWAPCP: CHAR
    * NWFUT1: CHAR
    * NWFUT2: CHAR
    * NWFUT3: CHAR
    * NWFUT4: CHAR
    * NWFUT5: CHAR
    * NWFUT6: CHAR
    * NWFUT7: NUMERIC
    * NWFUT8: NUMERIC
    * NWFUT9: NUMERIC
    * NWFLG1: CHAR
    * NWFLG2: CHAR
    * NWFLG3: CHAR
    * NWPLNT: CHAR
    * NWEDILN: NUMERIC
    * NWEDILE: NUMERIC
    * NWSHFS: NUMERIC
    * NWFLBH: CHAR
    * NWOBTID: NUMERIC
    * NWFUT10: CHAR
    * NWFUT11: CHAR
    * NWFUT12: CHAR
    * NWFUT13: CHAR
    * NWFUT14: CHAR
    * NWFUT15: CHAR
    * NWFUT16: NUMERIC
    * NWFUT17: NUMERIC
    * NWPUSR: CHAR
    * NWPDAT: DATE
    * NWPTIM: NUMERIC
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.rprh
  ------------row count-------------------------------------

  30 rows written
  2026-05-21 00:45:18.150887182
  2026-05-21 00:45:18.409495512

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    NWBTID AS nwbtid,
    NWLABL AS nwlabl,
    NWBPRT AS nwbprt,
    NWPOST AS nwpost,
    NWFSYY AS nwfsyy,
    NWFSPP AS nwfspp,
    NWRDAT AS nwrdat,
    NWTMZN AS nwtmzn,
    NWSHFT AS nwshft,
    NWSHGP AS nwshgp,
    NWNXT# AS nwnxt#,
    NWCRBY AS nwcrby,
    NWCDAT AS nwcdat,
    NWCTIM AS nwctim,
    NWUPBY AS nwupby,
    NWUDAT AS nwudat,
    NWUTIM AS nwutim,
    NWIUSE AS nwiuse,
    NWSRCE AS nwsrce,
    NWSTKL AS nwstkl,
    NWSCPR AS nwscpr,
    NWIUCN AS nwiucn,
    NWAPFC AS nwapfc,
    NWAPCP AS nwapcp,
    NWFUT1 AS nwfut1,
    NWFUT2 AS nwfut2,
    NWFUT3 AS nwfut3,
    NWFUT4 AS nwfut4,
    NWFUT5 AS nwfut5,
    NWFUT6 AS nwfut6,
    NWFUT7 AS nwfut7,
    NWFUT8 AS nwfut8,
    NWFUT9 AS nwfut9,
    NWFLG1 AS nwflg1,
    NWFLG2 AS nwflg2,
    NWFLG3 AS nwflg3,
    NWPLNT AS nwplnt,
    NWEDILN AS nwediln,
    NWEDILE AS nwedile,
    NWSHFS AS nwshfs,
    NWFLBH AS nwflbh,
    NWOBTID AS nwobtid,
    NWFUT10 AS nwfut10,
    NWFUT11 AS nwfut11,
    NWFUT12 AS nwfut12,
    NWFUT13 AS nwfut13,
    NWFUT14 AS nwfut14,
    NWFUT15 AS nwfut15,
    NWFUT16 AS nwfut16,
    NWFUT17 AS nwfut17,
    NWPUSR AS nwpusr,
    NWPDAT AS nwpdat,
    NWPTIM AS nwptim
  FROM LGDAT.RPRH
  WHERE NWPDAT >= DATE('2026-05-20')
  ------------destination table-----------------------------
  pipekit_staging.rprh
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:45:18.150887182
  ------------source metadata-------------------------------
  number of cols: 53
    * NWBTID: NUMERIC
    * NWLABL: CHAR
    * NWBPRT: CHAR
    * NWPOST: CHAR
    * NWFSYY: NUMERIC
    * NWFSPP: NUMERIC
    * NWRDAT: DATE
    * NWTMZN: CHAR
    * NWSHFT: NUMERIC
    * NWSHGP: CHAR
    * NWNXT#: NUMERIC
    * NWCRBY: CHAR
    * NWCDAT: DATE
    * NWCTIM: TIME
    * NWUPBY: CHAR
    * NWUDAT: DATE
    * NWUTIM: TIME
    * NWIUSE: CHAR
    * NWSRCE: CHAR
    * NWSTKL: CHAR
    * NWSCPR: CHAR
    * NWIUCN: NUMERIC
    * NWAPFC: CHAR
    * NWAPCP: CHAR
    * NWFUT1: CHAR
    * NWFUT2: CHAR
    * NWFUT3: CHAR
    * NWFUT4: CHAR
    * NWFUT5: CHAR
    * NWFUT6: CHAR
    * NWFUT7: NUMERIC
    * NWFUT8: NUMERIC
    * NWFUT9: NUMERIC
    * NWFLG1: CHAR
    * NWFLG2: CHAR
    * NWFLG3: CHAR
    * NWPLNT: CHAR
    * NWEDILN: NUMERIC
    * NWEDILE: NUMERIC
    * NWSHFS: NUMERIC
    * NWFLBH: CHAR
    * NWOBTID: NUMERIC
    * NWFUT10: CHAR
    * NWFUT11: CHAR
    * NWFUT12: CHAR
    * NWFUT13: CHAR
    * NWFUT14: CHAR
    * NWFUT15: CHAR
    * NWFUT16: NUMERIC
    * NWFUT17: NUMERIC
    * NWPUSR: CHAR
    * NWPDAT: DATE
    * NWPTIM: NUMERIC
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.rprh
  ------------row count-------------------------------------
  30 rows written
  2026-05-21 00:45:18.150887182
  2026-05-21 00:45:18.409495512


started_at: 2026-05-21 04:47:23
finished_at: 2026-05-21 04:47:30
status: success
merge_sql:
  TRUNCATE TABLE gp.iv00102;
  INSERT INTO gp.iv00102 SELECT * FROM pipekit_staging.iv00102;

watermark_values_json: {}
resolved_source_sql:
[cell repeats an earlier one in this file: 2606 characters]

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    ITEMNMBR AS itemnmbr,
    LOCNCODE AS locncode,
    BINNMBR AS binnmbr,
    RCRDTYPE AS rcrdtype,
    PRIMVNDR AS primvndr,
    ITMFRFLG AS itmfrflg,
    BGNGQTY AS bgngqty,
    LSORDQTY AS lsordqty,
    LRCPTQTY AS lrcptqty,
    LSTORDDT AS lstorddt,
    LSORDVND AS lsordvnd,
    LSRCPTDT AS lsrcptdt,
    QTYRQSTN AS qtyrqstn,
    QTYONORD AS qtyonord,
    QTYBKORD AS qtybkord,
    QTY_Drop_Shipped AS qty_drop_shipped,
    QTYINUSE AS qtyinuse,
    QTYINSVC AS qtyinsvc,
    QTYRTRND AS qtyrtrnd,
    QTYDMGED AS qtydmged,
    QTYONHND AS qtyonhnd,
    ATYALLOC AS atyalloc,
    QTYCOMTD AS qtycomtd,
    QTYSOLD AS qtysold,
    NXTCNTDT AS nxtcntdt,
    NXTCNTTM AS nxtcnttm,
    LSTCNTDT AS lstcntdt,
    LSTCNTTM AS lstcnttm,
    STCKCNTINTRVL AS stckcntintrvl,
    Landed_Cost_Group_ID AS landed_cost_group_id,
    BUYERID AS buyerid,
    PLANNERID AS plannerid,
    ORDERPOLICY AS orderpolicy,
    FXDORDRQTY AS fxdordrqty,
    ORDRPNTQTY AS ordrpntqty,
    NMBROFDYS AS nmbrofdys,
    MNMMORDRQTY AS mnmmordrqty,
    MXMMORDRQTY AS mxmmordrqty,
    ORDERMULTIPLE AS ordermultiple,
    REPLENISHMENTMETHOD AS replenishmentmethod,
    SHRINKAGEFACTOR AS shrinkagefactor,
    PRCHSNGLDTM AS prchsngldtm,
    MNFCTRNGFXDLDTM AS mnfctrngfxdldtm,
    MNFCTRNGVRBLLDTM AS mnfctrngvrblldtm,
    STAGINGLDTME AS stagingldtme,
    PLNNNGTMFNCDYS AS plnnngtmfncdys,
    DMNDTMFNCPRDS AS dmndtmfncprds,
    INCLDDINPLNNNG AS inclddinplnnng,
    CALCULATEATP AS calculateatp,
    AUTOCHKATP AS autochkatp,
    PLNFNLPAB AS plnfnlpab,
    FRCSTCNSMPTNPRD AS frcstcnsmptnprd,
    ORDRUPTOLVL AS ordruptolvl,
    SFTYSTCKQTY AS sftystckqty,
    REORDERVARIANCE AS reordervariance,
    PORECEIPTBIN AS poreceiptbin,
    PORETRNBIN AS poretrnbin,
    SOFULFILLMENTBIN AS sofulfillmentbin,
    SORETURNBIN AS soreturnbin,
    BOMRCPTBIN AS bomrcptbin,
    MATERIALISSUEBIN AS materialissuebin,
    MORECEIPTBIN AS moreceiptbin,
    REPAIRISSUESBIN AS repairissuesbin,
    ReplenishmentLevel AS replenishmentlevel,
    POPOrderMethod AS popordermethod,
    MasterLocationCode AS masterlocationcode,
    POPVendorSelection AS popvendorselection,
    POPPricingSelection AS poppricingselection,
    PurchasePrice AS purchaseprice,
    IncludeAllocations AS includeallocations,
    IncludeBackorders AS includebackorders,
    IncludeRequisitions AS includerequisitions,
    PICKTICKETITEMOPT AS pickticketitemopt,
    INCLDMRPMOVEIN AS incldmrpmovein,
    INCLDMRPMOVEOUT AS incldmrpmoveout,
    INCLDMRPCANCEL AS incldmrpcancel,
    Move_Out_Fence AS move_out_fence,
    INACTIVE AS inactive,
    DEX_ROW_ID AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[IV00102]
  WHERE QTYONHND <> 0
    
  ------------destination table-----------------------------
  pipekit_staging.iv00102
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:47:25.628156546
  ------------source metadata-------------------------------
  number of cols: 79
    * itemnmbr: char
    * locncode: char
    * binnmbr: char
    * rcrdtype: smallint
    * primvndr: char
    * itmfrflg: tinyint
    * bgngqty: numeric
    * lsordqty: numeric
    * lrcptqty: numeric
    * lstorddt: datetime
    * lsordvnd: char
    * lsrcptdt: datetime
    * qtyrqstn: numeric
    * qtyonord: numeric
    * qtybkord: numeric
    * qty_drop_shipped: numeric
    * qtyinuse: numeric
    * qtyinsvc: numeric
    * qtyrtrnd: numeric
    * qtydmged: numeric
    * qtyonhnd: numeric
    * atyalloc: numeric
    * qtycomtd: numeric
    * qtysold: numeric
    * nxtcntdt: datetime
    * nxtcnttm: datetime
    * lstcntdt: datetime
    * lstcnttm: datetime
    * stckcntintrvl: smallint
    * landed_cost_group_id: char
    * buyerid: char
    * plannerid: char
    * orderpolicy: smallint
    * fxdordrqty: numeric
    * ordrpntqty: numeric
    * nmbrofdys: smallint
    * mnmmordrqty: numeric
    * mxmmordrqty: numeric
    * ordermultiple: numeric
    * replenishmentmethod: smallint
    * shrinkagefactor: numeric
    * prchsngldtm: numeric
    * mnfctrngfxdldtm: numeric
    * mnfctrngvrblldtm: numeric
    * stagingldtme: numeric
    * plnnngtmfncdys: smallint
    * dmndtmfncprds: smallint
    * inclddinplnnng: tinyint
    * calculateatp: tinyint
    * autochkatp: tinyint
    * plnfnlpab: tinyint
    * frcstcnsmptnprd: smallint
    * ordruptolvl: numeric
    * sftystckqty: numeric
    * reordervariance: numeric
    * poreceiptbin: char
    * poretrnbin: char
    * sofulfillmentbin: char
    * soreturnbin: char
    * bomrcptbin: char
    * materialissuebin: char
    * moreceiptbin: char
    * repairissuesbin: char
    * replenishmentlevel: smallint
    * popordermethod: smallint
    * masterlocationcode: char
    * popvendorselection: smallint
    * poppricingselection: smallint
    * purchaseprice: numeric
    * includeallocations: tinyint
    * includebackorders: tinyint
    * includerequisitions: tinyint
    * pickticketitemopt: smallint
    * incldmrpmovein: tinyint
    * incldmrpmoveout: tinyint
    * incldmrpcancel: tinyint
    * move_out_fence: smallint
    * inactive: tinyint
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.iv00102
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3195 rows written
  2026-05-21 00:47:25.628156546
  2026-05-21 00:47:29.44935773

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:sqlserver://usmidsql01:1433;databaseName=Fanalysis;encrypt=false
  source db username:   Pricing
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    ITEMNMBR AS itemnmbr,
    LOCNCODE AS locncode,
    BINNMBR AS binnmbr,
    RCRDTYPE AS rcrdtype,
    PRIMVNDR AS primvndr,
    ITMFRFLG AS itmfrflg,
    BGNGQTY AS bgngqty,
    LSORDQTY AS lsordqty,
    LRCPTQTY AS lrcptqty,
    LSTORDDT AS lstorddt,
    LSORDVND AS lsordvnd,
    LSRCPTDT AS lsrcptdt,
    QTYRQSTN AS qtyrqstn,
    QTYONORD AS qtyonord,
    QTYBKORD AS qtybkord,
    QTY_Drop_Shipped AS qty_drop_shipped,
    QTYINUSE AS qtyinuse,
    QTYINSVC AS qtyinsvc,
    QTYRTRND AS qtyrtrnd,
    QTYDMGED AS qtydmged,
    QTYONHND AS qtyonhnd,
    ATYALLOC AS atyalloc,
    QTYCOMTD AS qtycomtd,
    QTYSOLD AS qtysold,
    NXTCNTDT AS nxtcntdt,
    NXTCNTTM AS nxtcnttm,
    LSTCNTDT AS lstcntdt,
    LSTCNTTM AS lstcnttm,
    STCKCNTINTRVL AS stckcntintrvl,
    Landed_Cost_Group_ID AS landed_cost_group_id,
    BUYERID AS buyerid,
    PLANNERID AS plannerid,
    ORDERPOLICY AS orderpolicy,
    FXDORDRQTY AS fxdordrqty,
    ORDRPNTQTY AS ordrpntqty,
    NMBROFDYS AS nmbrofdys,
    MNMMORDRQTY AS mnmmordrqty,
    MXMMORDRQTY AS mxmmordrqty,
    ORDERMULTIPLE AS ordermultiple,
    REPLENISHMENTMETHOD AS replenishmentmethod,
    SHRINKAGEFACTOR AS shrinkagefactor,
    PRCHSNGLDTM AS prchsngldtm,
    MNFCTRNGFXDLDTM AS mnfctrngfxdldtm,
    MNFCTRNGVRBLLDTM AS mnfctrngvrblldtm,
    STAGINGLDTME AS stagingldtme,
    PLNNNGTMFNCDYS AS plnnngtmfncdys,
    DMNDTMFNCPRDS AS dmndtmfncprds,
    INCLDDINPLNNNG AS inclddinplnnng,
    CALCULATEATP AS calculateatp,
    AUTOCHKATP AS autochkatp,
    PLNFNLPAB AS plnfnlpab,
    FRCSTCNSMPTNPRD AS frcstcnsmptnprd,
    ORDRUPTOLVL AS ordruptolvl,
    SFTYSTCKQTY AS sftystckqty,
    REORDERVARIANCE AS reordervariance,
    PORECEIPTBIN AS poreceiptbin,
    PORETRNBIN AS poretrnbin,
    SOFULFILLMENTBIN AS sofulfillmentbin,
    SORETURNBIN AS soreturnbin,
    BOMRCPTBIN AS bomrcptbin,
    MATERIALISSUEBIN AS materialissuebin,
    MORECEIPTBIN AS moreceiptbin,
    REPAIRISSUESBIN AS repairissuesbin,
    ReplenishmentLevel AS replenishmentlevel,
    POPOrderMethod AS popordermethod,
    MasterLocationCode AS masterlocationcode,
    POPVendorSelection AS popvendorselection,
    POPPricingSelection AS poppricingselection,
    PurchasePrice AS purchaseprice,
    IncludeAllocations AS includeallocations,
    IncludeBackorders AS includebackorders,
    IncludeRequisitions AS includerequisitions,
    PICKTICKETITEMOPT AS pickticketitemopt,
    INCLDMRPMOVEIN AS incldmrpmovein,
    INCLDMRPMOVEOUT AS incldmrpmoveout,
    INCLDMRPCANCEL AS incldmrpcancel,
    Move_Out_Fence AS move_out_fence,
    INACTIVE AS inactive,
    DEX_ROW_ID AS dex_row_id
  FROM [GPSERVER].[CHG].[dbo].[IV00102]
  WHERE QTYONHND <> 0
  ------------destination table-----------------------------
  pipekit_staging.iv00102
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:47:25.628156546
  ------------source metadata-------------------------------
  number of cols: 79
    * itemnmbr: char
    * locncode: char
    * binnmbr: char
    * rcrdtype: smallint
    * primvndr: char
    * itmfrflg: tinyint
    * bgngqty: numeric
    * lsordqty: numeric
    * lrcptqty: numeric
    * lstorddt: datetime
    * lsordvnd: char
    * lsrcptdt: datetime
    * qtyrqstn: numeric
    * qtyonord: numeric
    * qtybkord: numeric
    * qty_drop_shipped: numeric
    * qtyinuse: numeric
    * qtyinsvc: numeric
    * qtyrtrnd: numeric
    * qtydmged: numeric
    * qtyonhnd: numeric
    * atyalloc: numeric
    * qtycomtd: numeric
    * qtysold: numeric
    * nxtcntdt: datetime
    * nxtcnttm: datetime
    * lstcntdt: datetime
    * lstcnttm: datetime
    * stckcntintrvl: smallint
    * landed_cost_group_id: char
    * buyerid: char
    * plannerid: char
    * orderpolicy: smallint
    * fxdordrqty: numeric
    * ordrpntqty: numeric
    * nmbrofdys: smallint
    * mnmmordrqty: numeric
    * mxmmordrqty: numeric
    * ordermultiple: numeric
    * replenishmentmethod: smallint
    * shrinkagefactor: numeric
    * prchsngldtm: numeric
    * mnfctrngfxdldtm: numeric
    * mnfctrngvrblldtm: numeric
    * stagingldtme: numeric
    * plnnngtmfncdys: smallint
    * dmndtmfncprds: smallint
    * inclddinplnnng: tinyint
    * calculateatp: tinyint
    * autochkatp: tinyint
    * plnfnlpab: tinyint
    * frcstcnsmptnprd: smallint
    * ordruptolvl: numeric
    * sftystckqty: numeric
    * reordervariance: numeric
    * poreceiptbin: char
    * poretrnbin: char
    * sofulfillmentbin: char
    * soreturnbin: char
    * bomrcptbin: char
    * materialissuebin: char
    * moreceiptbin: char
    * repairissuesbin: char
    * replenishmentlevel: smallint
    * popordermethod: smallint
    * masterlocationcode: char
    * popvendorselection: smallint
    * poppricingselection: smallint
    * purchaseprice: numeric
    * includeallocations: tinyint
    * includebackorders: tinyint
    * includerequisitions: tinyint
    * pickticketitemopt: smallint
    * incldmrpmovein: tinyint
    * incldmrpmoveout: tinyint
    * incldmrpcancel: tinyint
    * move_out_fence: smallint
    * inactive: tinyint
    * dex_row_id: int
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.iv00102
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3195 rows written
  2026-05-21 00:47:25.628156546
  2026-05-21 00:47:29.44935773


started_at: 2026-05-21 04:48:56
finished_at: 2026-05-21 04:53:52
status: success
merge_sql:
  TRUNCATE TABLE cms.gtran;
  INSERT INTO cms.gtran SELECT * FROM pipekit_staging.gtran;

watermark_values_json: {}
resolved_source_sql:
  SELECT
    "DKACC#" AS "dkacc#",
    DKFSPR AS dkfspr,
    RTRIM(DKJRTP) AS dkjrtp,
    CASE WHEN DKTDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DKTDAT END AS dktdat,
    RTRIM(DKSRCE) AS dksrce,
    DKAMT AS dkamt,
    RTRIM("DKREF#") AS "dkref#",
    RTRIM(DKREFD) AS dkrefd,
    RTRIM(DKADDD) AS dkaddd,
    RTRIM(DKREV) AS dkrev,
    RTRIM(DKREVS) AS dkrevs,
    DKFSYR AS dkfsyr,
    DKFSYY AS dkfsyy,
    RTRIM(DKPOST) AS dkpost,
    CASE WHEN DKPDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DKPDAT END AS dkpdat,
    "DKBTC#" AS "dkbtc#",
    RTRIM(DKQUAL) AS dkqual,
    RTRIM(DKKEYN) AS dkkeyn,
    RTRIM(DKPART) AS dkpart,
    RTRIM(DKPJNM) AS dkpjnm,
    DKQTY AS dkqty,
    RTRIM(DKUNIT) AS dkunit,
    RTRIM(DKFUT1) AS dkfut1,
    RTRIM(DKFUT2) AS dkfut2,
    RTRIM(DKFUT3) AS dkfut3,
    RTRIM(DKFUT4) AS dkfut4,
    RTRIM(DKFUT5) AS dkfut5,
    RTRIM(DKFUT6) AS dkfut6,
    DKFUT7 AS dkfut7,
    RTRIM(DKFUT8) AS dkfut8,
    RTRIM(DKFUT9) AS dkfut9,
    RTRIM(DKFUT10) AS dkfut10,
    RTRIM(DKFUT11) AS dkfut11,
    RTRIM(DKFUT12) AS dkfut12,
    RTRIM(DKFUT13) AS dkfut13,
    DKFUT14 AS dkfut14,
    DKFUT15 AS dkfut15,
    DKFUT16 AS dkfut16,
    DKFUT17 AS dkfut17,
    RTRIM(DKFUT18) AS dkfut18,
    RTRIM(DKFUT19) AS dkfut19,
    RTRIM(DKFUT20) AS dkfut20,
    RTRIM(DKEMCD) AS dkemcd,
    RTRIM(DKMINS) AS dkmins,
    RTRIM(DKTERR) AS dkterr,
    "DKORD#" AS "dkord#",
    RTRIM(DKBCUS) AS dkbcus,
    DKLABH AS dklabh,
    RTRIM(DKCPYT) AS dkcpyt,
    RTRIM(DKCPYF) AS dkcpyf,
    RTRIM(DKCLSC) AS dkclsc,
    DKCFAN AS dkcfan,
    DKJRNN AS dkjrnn,
    RTRIM(DKMJSC) AS dkmjsc,
    DKBCID AS dkbcid,
    RTRIM(DKBSRF) AS dkbsrf,
    DKRCID AS dkrcid,
    DKTMS AS dktms,
    RTRIM(DKVEND) AS dkvend,
    DKADRN AS dkadrn,
    RTRIM(DKUSR) AS dkusr,
    DKWTYET AS dkwtyet,
    DKXRTE2 AS dkxrte2,
    DKXRTE3 AS dkxrte3,
    RTRIM(DKJECU) AS dkjecu,
    DKILIN AS dkilin,
    RTRIM(DKJREFC) AS dkjrefc,
    RTRIM(DKDKENT) AS dkdkent,
    DKARBTC AS dkarbtc,
    RTRIM(DKDTLP) AS dkdtlp,
    RTRIM(DKCFBR) AS dkcfbr,
    DKPBTID AS dkpbtid,
    DKPBTID2 AS dkpbtid2,
    DKLBTID AS dklbtid,
    DKLBTID2 AS dklbtid2,
    RTRIM(DKFUT21) AS dkfut21,
    RTRIM(DKFUT22) AS dkfut22,
    RTRIM(DKFUT23) AS dkfut23,
    RTRIM(DKFUT24) AS dkfut24,
    RTRIM(DKFUT25) AS dkfut25,
    RTRIM(DKFUT26) AS dkfut26,
    RTRIM(DKFUT27) AS dkfut27,
    RTRIM(DKFUT28) AS dkfut28,
    RTRIM(DKFUT29) AS dkfut29,
    DKFUT30 AS dkfut30,
    DKFUT31 AS dkfut31,
    DKFUT32 AS dkfut32,
    DKFUT33 AS dkfut33
  FROM LGDAT.GTRAN

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    "DKACC#" AS "dkacc#",
    DKFSPR AS dkfspr,
    RTRIM(DKJRTP) AS dkjrtp,
    CASE WHEN DKTDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DKTDAT END AS dktdat,
    RTRIM(DKSRCE) AS dksrce,
    DKAMT AS dkamt,
    RTRIM("DKREF#") AS "dkref#",
    RTRIM(DKREFD) AS dkrefd,
    RTRIM(DKADDD) AS dkaddd,
    RTRIM(DKREV) AS dkrev,
    RTRIM(DKREVS) AS dkrevs,
    DKFSYR AS dkfsyr,
    DKFSYY AS dkfsyy,
    RTRIM(DKPOST) AS dkpost,
    CASE WHEN DKPDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DKPDAT END AS dkpdat,
    "DKBTC#" AS "dkbtc#",
    RTRIM(DKQUAL) AS dkqual,
    RTRIM(DKKEYN) AS dkkeyn,
    RTRIM(DKPART) AS dkpart,
    RTRIM(DKPJNM) AS dkpjnm,
    DKQTY AS dkqty,
    RTRIM(DKUNIT) AS dkunit,
    RTRIM(DKFUT1) AS dkfut1,
    RTRIM(DKFUT2) AS dkfut2,
    RTRIM(DKFUT3) AS dkfut3,
    RTRIM(DKFUT4) AS dkfut4,
    RTRIM(DKFUT5) AS dkfut5,
    RTRIM(DKFUT6) AS dkfut6,
    DKFUT7 AS dkfut7,
    RTRIM(DKFUT8) AS dkfut8,
    RTRIM(DKFUT9) AS dkfut9,
    RTRIM(DKFUT10) AS dkfut10,
    RTRIM(DKFUT11) AS dkfut11,
    RTRIM(DKFUT12) AS dkfut12,
    RTRIM(DKFUT13) AS dkfut13,
    DKFUT14 AS dkfut14,
    DKFUT15 AS dkfut15,
    DKFUT16 AS dkfut16,
    DKFUT17 AS dkfut17,
    RTRIM(DKFUT18) AS dkfut18,
    RTRIM(DKFUT19) AS dkfut19,
    RTRIM(DKFUT20) AS dkfut20,
    RTRIM(DKEMCD) AS dkemcd,
    RTRIM(DKMINS) AS dkmins,
    RTRIM(DKTERR) AS dkterr,
    "DKORD#" AS "dkord#",
    RTRIM(DKBCUS) AS dkbcus,
    DKLABH AS dklabh,
    RTRIM(DKCPYT) AS dkcpyt,
    RTRIM(DKCPYF) AS dkcpyf,
    RTRIM(DKCLSC) AS dkclsc,
    DKCFAN AS dkcfan,
    DKJRNN AS dkjrnn,
    RTRIM(DKMJSC) AS dkmjsc,
    DKBCID AS dkbcid,
    RTRIM(DKBSRF) AS dkbsrf,
    DKRCID AS dkrcid,
    DKTMS AS dktms,
    RTRIM(DKVEND) AS dkvend,
    DKADRN AS dkadrn,
    RTRIM(DKUSR) AS dkusr,
    DKWTYET AS dkwtyet,
    DKXRTE2 AS dkxrte2,
    DKXRTE3 AS dkxrte3,
    RTRIM(DKJECU) AS dkjecu,
    DKILIN AS dkilin,
    RTRIM(DKJREFC) AS dkjrefc,
    RTRIM(DKDKENT) AS dkdkent,
    DKARBTC AS dkarbtc,
    RTRIM(DKDTLP) AS dkdtlp,
    RTRIM(DKCFBR) AS dkcfbr,
    DKPBTID AS dkpbtid,
    DKPBTID2 AS dkpbtid2,
    DKLBTID AS dklbtid,
    DKLBTID2 AS dklbtid2,
    RTRIM(DKFUT21) AS dkfut21,
    RTRIM(DKFUT22) AS dkfut22,
    RTRIM(DKFUT23) AS dkfut23,
    RTRIM(DKFUT24) AS dkfut24,
    RTRIM(DKFUT25) AS dkfut25,
    RTRIM(DKFUT26) AS dkfut26,
    RTRIM(DKFUT27) AS dkfut27,
    RTRIM(DKFUT28) AS dkfut28,
    RTRIM(DKFUT29) AS dkfut29,
    DKFUT30 AS dkfut30,
    DKFUT31 AS dkfut31,
    DKFUT32 AS dkfut32,
    DKFUT33 AS dkfut33
  FROM LGDAT.GTRAN
  ------------destination table-----------------------------
  pipekit_staging.gtran
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:48:59.267959835
  ------------source metadata-------------------------------
  number of cols: 88
    * dkacc#: NUMERIC
    * DKFSPR: NUMERIC
    * DKJRTP: VARCHAR
    * DKTDAT: DATE
    * DKSRCE: VARCHAR
    * DKAMT: NUMERIC
    * dkref#: VARCHAR
    * DKREFD: VARCHAR
    * DKADDD: VARCHAR
    * DKREV: VARCHAR
    * DKREVS: VARCHAR
    * DKFSYR: NUMERIC
    * DKFSYY: NUMERIC
    * DKPOST: VARCHAR
    * DKPDAT: DATE
    * dkbtc#: NUMERIC
    * DKQUAL: VARCHAR
    * DKKEYN: VARCHAR
    * DKPART: VARCHAR
    * DKPJNM: VARCHAR
    * DKQTY: NUMERIC
    * DKUNIT: VARCHAR
    * DKFUT1: VARCHAR
    * DKFUT2: VARCHAR
    * DKFUT3: VARCHAR
    * DKFUT4: VARCHAR
    * DKFUT5: VARCHAR
    * DKFUT6: VARCHAR
    * DKFUT7: NUMERIC
    * DKFUT8: VARCHAR
    * DKFUT9: VARCHAR
    * DKFUT10: VARCHAR
    * DKFUT11: VARCHAR
    * DKFUT12: VARCHAR
    * DKFUT13: VARCHAR
    * DKFUT14: NUMERIC
    * DKFUT15: NUMERIC
    * DKFUT16: NUMERIC
    * DKFUT17: NUMERIC
    * DKFUT18: VARCHAR
    * DKFUT19: VARCHAR
    * DKFUT20: VARCHAR
    * DKEMCD: VARCHAR
    * DKMINS: VARCHAR
    * DKTERR: VARCHAR
    * dkord#: NUMERIC
    * DKBCUS: VARCHAR
    * DKLABH: NUMERIC
    * DKCPYT: VARCHAR
    * DKCPYF: VARCHAR
    * DKCLSC: VARCHAR
    * DKCFAN: NUMERIC
    * DKJRNN: NUMERIC
    * DKMJSC: VARCHAR
    * DKBCID: NUMERIC
    * DKBSRF: VARCHAR
    * DKRCID: NUMERIC
    * DKTMS: TIMESTAMP
    * DKVEND: VARCHAR
    * DKADRN: NUMERIC
    * DKUSR: VARCHAR
    * DKWTYET: NUMERIC
    * DKXRTE2: NUMERIC
    * DKXRTE3: NUMERIC
    * DKJECU: VARCHAR
    * DKILIN: NUMERIC
    * DKJREFC: VARCHAR
    * DKDKENT: VARCHAR
    * DKARBTC: NUMERIC
    * DKDTLP: VARCHAR
    * DKCFBR: VARCHAR
    * DKPBTID: NUMERIC
    * DKPBTID2: NUMERIC
    * DKLBTID: NUMERIC
    * DKLBTID2: NUMERIC
    * DKFUT21: VARCHAR
    * DKFUT22: VARCHAR
    * DKFUT23: VARCHAR
    * DKFUT24: VARCHAR
    * DKFUT25: VARCHAR
    * DKFUT26: VARCHAR
    * DKFUT27: VARCHAR
    * DKFUT28: VARCHAR
    * DKFUT29: VARCHAR
    * DKFUT30: NUMERIC
    * DKFUT31: NUMERIC
    * DKFUT32: NUMERIC
    * DKFUT33: NUMERIC
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.gtran
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47250
  47500
  47750
  48000
  48250
  48500
  48750
  49000
  49250
  49500
  49750
  50000
  50250
  50500
  50750
  51000
  51250
  51500
  51750
  52000
  52250
  52500
  52750
  53000
  53250
  53500
  53750
  54000
  54250
  54500
  54750
  55000
  55250
  55500
  55750
  56000
  56250
  56500
  56750
  57000
  57250
  57500
  57750
  58000
  58250
  58500
  58750
  59000
  59250
  59500
  59750
  60000
  60250
  60500
  60750
  61000
  61250
  61500
  61750
  62000
  62250
  62500
  62750
  63000
  63250
  63500
  63750
  64000
  64250
  64500
  64750
  65000
  65250
  65500
  65750
  66000
  66250
  66500
  66750
  67000
  67250
  67500
  67750
  68000
  68250
  68500
  68750
  69000
  69250
  69500
  69750
  70000
  70250
  70500
  70750
  71000
  71250
  71500
  71750
  72000
  72250
  72500
  72750
  73000
  73250
  73500
  73750
  74000
  74250
  74500
  74750
  75000
  75250
  75500
  75750
  76000
  76250
  76500
  76750
  77000
  77250
  77500
  77750
  78000
  78250
  78500
  78750
  79000
  79250
  79500
  79750
  80000
  80250
  80500
  80750
  81000
  81250
  81500
  81750
  82000
  82250
  82500
  82750
  83000
  83250
  83500
  83750
  84000
  84250
  84500
  84750
  85000
  85250
  85500
  85750
  86000
  86250
  86500
  86750
  87000
  87250
  87500
  87750
  88000
  88250
  88500
  88750
  89000
  89250
  89500
  89750
  90000
  90250
  90500
  90750
  91000
  91250
  91500
  91750
  92000
  92250
  92500
  92750
  93000
  93250
  93500
  93750
  94000
  94250
  94500
  94750
  95000
  95250
  95500
  95750
  96000
  96250
  96500
  96750
  97000
  97250
  97500
  97750
  98000
  98250
  98500
  98750
  99000
  99250
  99500
  99750
  100000
  100250
  100500
  100750
  101000
  101250
  101500
  101750
  102000
  102250
  102500
  102750
  103000
  103250
  103500
  103750
  104000
  104250
  104500
  104750
  105000
  105250
  105500
  105750
  106000
  106250
  106500
  106750
  107000
  107250
  107500
  107750
  108000
  108250
  108500
  108750
  109000
  109250
  109500
  109750
  110000
  110250
  110500
  110750
  111000
  111250
  111500
  111750
  112000
  112250
  112500
  112750
  113000
  113250
  113500
  113750
  114000
  114250
  114500
  114750
  115000
  115250
  115500
  115750
  116000
  116250
  116500
  116750
  117000
  117250
  117500
  117750
  118000
  118250
  118500
  118750
  119000
  119250
  119500
  119750
  120000
  120250
  120500
  120750
  121000
  121250
  121500
  121750
  122000
  122250
  122500
  122750
  123000
  123250
  123500
  123750
  124000
  124250
  124500
  124750
  125000
  125250
  125500
  125750
  126000
  126250
  126500
  126750
  127000
  127250
  127500
  127750
  128000
  128250
  128500
  128750
  129000
  129250
  129500
  129750
  130000
  130250
  130500
  130750
  131000
  131250
  131500
  131750
  132000
  132250
  132500
  132750
  133000
  133250
  133500
  133750
  134000
  134250
  134500
  134750
  135000
  135250
  135500
  135750
  136000
  136250
  136500
  136750
  137000
  137250
  137500
  137750
  138000
  138250
  138500
  138750
  139000
  139250
  139500
  139750
  140000
  140250
  140500
  140750
  141000
  141250
  141500
  141750
  142000
  142250
  142500
  142750
  143000
  143250
  143500
  143750
  144000
  144250
  144500
  144750
  145000
  145250
  145500
  145750
  146000
  146250
  146500
  146750
  147000
  147250
  147500
  147750
  148000
  148250
  148500
  148750
  149000
  149250
  149500
  149750
  150000
  150250
  150500
  150750
  151000
  151250
  151500
  151750
  152000
  152250
  152500
  152750
  153000
  153250
  153500
  153750
  154000
  154250
  154500
  154750
  155000
  155250
  155500
  155750
  156000
  156250
  156500
  156750
  157000
  157250
  157500
  157750
  158000
  158250
  158500
  158750
  159000
  159250
  159500
  159750
  160000
  160250
  160500
  160750
  161000
  161250
  161500
  161750
  162000
  162250
  162500
  162750
  163000
  163250
  163500
  163750
  164000
  164250
  164500
  164750
  165000
  165250
  165500
  165750
  166000
  166250
  166500
  166750
  167000
  167250
  167500
  167750
  168000
  168250
  168500
  168750
  169000
  169250
  169500
  169750
  170000
  170250
  170500
  170750
  171000
  171250
  171500
  171750
  172000
  172250
  172500
  172750
  173000
  173250
  173500
  173750
  174000
  174250
  174500
  174750
  175000
  175250
  175500
  175750
  176000
  176250
  176500
  176750
  177000
  177250
  177500
  177750
  178000
  178250
  178500
  178750
  179000
  179250
  179500
  179750
  180000
  180250
  180500
  180750
  181000
  181250
  181500
  181750
  182000
  182250
  182500
  182750
  183000
  183250
  183500
  183750
  184000
  184250
  184500
  184750
  185000
  185250
  185500
  185750
  186000
  186250
  186500
  186750
  187000
  187250
  187500
  187750
  188000
  188250
  188500
  188750
  189000
  189250
  189500
  189750
  190000
  190250
  190500
  190750
  191000
  191250
  191500
  191750
  192000
  192250
  192500
  192750
  193000
  193250
  193500
  193750
  194000
  194250
  194500
  194750
  195000
  195250
  195500
  195750
  196000
  196250
  196500
  196750
  197000
  197250
  197500
  197750
  198000
  198250
  198500
  198750
  199000
  199250
  199500
  199750
  200000
  200250
  200500
  200750
  201000
  201250
  201500
  201750
  202000
  202250
  202500
  202750
  203000
  203250
  203500
  203750
  204000
  204250
  204500
  204750
  205000
  205250
  205500
  205750
  206000
  206250
  206500
  206750
  207000
  207250
  207500
  207750
  208000
  208250
  208500
  208750
  209000
  209250
  209500
  209750
  210000
  210250
  210500
  210750
  211000
  211250
  211500
  211750
  212000
  212250
  212500
  212750
  213000
  213250
  213500
  213750
  214000
  214250
  214500
  214750
  215000
  215250
  215500
  215750
  216000
  216250
  216500
  216750
  217000
  217250
  217500
  217750
  218000
  218250
  218500
  218750
  219000
  219250
  219500
  219750
  220000
  220250
  220500
  220750
  221000
  221250
  221500
  221750
  222000
  222250
  222500
  222750
  223000
  223049 rows written
  2026-05-21 00:48:59.267959835
  2026-05-21 00:53:51.48268405

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    "DKACC#" AS "dkacc#",
    DKFSPR AS dkfspr,
    RTRIM(DKJRTP) AS dkjrtp,
    CASE WHEN DKTDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DKTDAT END AS dktdat,
    RTRIM(DKSRCE) AS dksrce,
    DKAMT AS dkamt,
    RTRIM("DKREF#") AS "dkref#",
    RTRIM(DKREFD) AS dkrefd,
    RTRIM(DKADDD) AS dkaddd,
    RTRIM(DKREV) AS dkrev,
    RTRIM(DKREVS) AS dkrevs,
    DKFSYR AS dkfsyr,
    DKFSYY AS dkfsyy,
    RTRIM(DKPOST) AS dkpost,
    CASE WHEN DKPDAT IN (DATE('0001-01-01'), DATE('9999-12-31')) THEN NULL ELSE DKPDAT END AS dkpdat,
    "DKBTC#" AS "dkbtc#",
    RTRIM(DKQUAL) AS dkqual,
    RTRIM(DKKEYN) AS dkkeyn,
    RTRIM(DKPART) AS dkpart,
    RTRIM(DKPJNM) AS dkpjnm,
    DKQTY AS dkqty,
    RTRIM(DKUNIT) AS dkunit,
    RTRIM(DKFUT1) AS dkfut1,
    RTRIM(DKFUT2) AS dkfut2,
    RTRIM(DKFUT3) AS dkfut3,
    RTRIM(DKFUT4) AS dkfut4,
    RTRIM(DKFUT5) AS dkfut5,
    RTRIM(DKFUT6) AS dkfut6,
    DKFUT7 AS dkfut7,
    RTRIM(DKFUT8) AS dkfut8,
    RTRIM(DKFUT9) AS dkfut9,
    RTRIM(DKFUT10) AS dkfut10,
    RTRIM(DKFUT11) AS dkfut11,
    RTRIM(DKFUT12) AS dkfut12,
    RTRIM(DKFUT13) AS dkfut13,
    DKFUT14 AS dkfut14,
    DKFUT15 AS dkfut15,
    DKFUT16 AS dkfut16,
    DKFUT17 AS dkfut17,
    RTRIM(DKFUT18) AS dkfut18,
    RTRIM(DKFUT19) AS dkfut19,
    RTRIM(DKFUT20) AS dkfut20,
    RTRIM(DKEMCD) AS dkemcd,
    RTRIM(DKMINS) AS dkmins,
    RTRIM(DKTERR) AS dkterr,
    "DKORD#" AS "dkord#",
    RTRIM(DKBCUS) AS dkbcus,
    DKLABH AS dklabh,
    RTRIM(DKCPYT) AS dkcpyt,
    RTRIM(DKCPYF) AS dkcpyf,
    RTRIM(DKCLSC) AS dkclsc,
    DKCFAN AS dkcfan,
    DKJRNN AS dkjrnn,
    RTRIM(DKMJSC) AS dkmjsc,
    DKBCID AS dkbcid,
    RTRIM(DKBSRF) AS dkbsrf,
    DKRCID AS dkrcid,
    DKTMS AS dktms,
    RTRIM(DKVEND) AS dkvend,
    DKADRN AS dkadrn,
    RTRIM(DKUSR) AS dkusr,
    DKWTYET AS dkwtyet,
    DKXRTE2 AS dkxrte2,
    DKXRTE3 AS dkxrte3,
    RTRIM(DKJECU) AS dkjecu,
    DKILIN AS dkilin,
    RTRIM(DKJREFC) AS dkjrefc,
    RTRIM(DKDKENT) AS dkdkent,
    DKARBTC AS dkarbtc,
    RTRIM(DKDTLP) AS dkdtlp,
    RTRIM(DKCFBR) AS dkcfbr,
    DKPBTID AS dkpbtid,
    DKPBTID2 AS dkpbtid2,
    DKLBTID AS dklbtid,
    DKLBTID2 AS dklbtid2,
    RTRIM(DKFUT21) AS dkfut21,
    RTRIM(DKFUT22) AS dkfut22,
    RTRIM(DKFUT23) AS dkfut23,
    RTRIM(DKFUT24) AS dkfut24,
    RTRIM(DKFUT25) AS dkfut25,
    RTRIM(DKFUT26) AS dkfut26,
    RTRIM(DKFUT27) AS dkfut27,
    RTRIM(DKFUT28) AS dkfut28,
    RTRIM(DKFUT29) AS dkfut29,
    DKFUT30 AS dkfut30,
    DKFUT31 AS dkfut31,
    DKFUT32 AS dkfut32,
    DKFUT33 AS dkfut33
  FROM LGDAT.GTRAN
  ------------destination table-----------------------------
  pipekit_staging.gtran
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:48:59.267959835
  ------------source metadata-------------------------------
  number of cols: 88
    * dkacc#: NUMERIC
    * DKFSPR: NUMERIC
    * DKJRTP: VARCHAR
    * DKTDAT: DATE
    * DKSRCE: VARCHAR
    * DKAMT: NUMERIC
    * dkref#: VARCHAR
    * DKREFD: VARCHAR
    * DKADDD: VARCHAR
    * DKREV: VARCHAR
    * DKREVS: VARCHAR
    * DKFSYR: NUMERIC
    * DKFSYY: NUMERIC
    * DKPOST: VARCHAR
    * DKPDAT: DATE
    * dkbtc#: NUMERIC
    * DKQUAL: VARCHAR
    * DKKEYN: VARCHAR
    * DKPART: VARCHAR
    * DKPJNM: VARCHAR
    * DKQTY: NUMERIC
    * DKUNIT: VARCHAR
    * DKFUT1: VARCHAR
    * DKFUT2: VARCHAR
    * DKFUT3: VARCHAR
    * DKFUT4: VARCHAR
    * DKFUT5: VARCHAR
    * DKFUT6: VARCHAR
    * DKFUT7: NUMERIC
    * DKFUT8: VARCHAR
    * DKFUT9: VARCHAR
    * DKFUT10: VARCHAR
    * DKFUT11: VARCHAR
    * DKFUT12: VARCHAR
    * DKFUT13: VARCHAR
    * DKFUT14: NUMERIC
    * DKFUT15: NUMERIC
    * DKFUT16: NUMERIC
    * DKFUT17: NUMERIC
    * DKFUT18: VARCHAR
    * DKFUT19: VARCHAR
    * DKFUT20: VARCHAR
    * DKEMCD: VARCHAR
    * DKMINS: VARCHAR
    * DKTERR: VARCHAR
    * dkord#: NUMERIC
    * DKBCUS: VARCHAR
    * DKLABH: NUMERIC
    * DKCPYT: VARCHAR
    * DKCPYF: VARCHAR
    * DKCLSC: VARCHAR
    * DKCFAN: NUMERIC
    * DKJRNN: NUMERIC
    * DKMJSC: VARCHAR
    * DKBCID: NUMERIC
    * DKBSRF: VARCHAR
    * DKRCID: NUMERIC
    * DKTMS: TIMESTAMP
    * DKVEND: VARCHAR
    * DKADRN: NUMERIC
    * DKUSR: VARCHAR
    * DKWTYET: NUMERIC
    * DKXRTE2: NUMERIC
    * DKXRTE3: NUMERIC
    * DKJECU: VARCHAR
    * DKILIN: NUMERIC
    * DKJREFC: VARCHAR
    * DKDKENT: VARCHAR
    * DKARBTC: NUMERIC
    * DKDTLP: VARCHAR
    * DKCFBR: VARCHAR
    * DKPBTID: NUMERIC
    * DKPBTID2: NUMERIC
    * DKLBTID: NUMERIC
    * DKLBTID2: NUMERIC
    * DKFUT21: VARCHAR
    * DKFUT22: VARCHAR
    * DKFUT23: VARCHAR
    * DKFUT24: VARCHAR
    * DKFUT25: VARCHAR
    * DKFUT26: VARCHAR
    * DKFUT27: VARCHAR
    * DKFUT28: VARCHAR
    * DKFUT29: VARCHAR
    * DKFUT30: NUMERIC
    * DKFUT31: NUMERIC
    * DKFUT32: NUMERIC
    * DKFUT33: NUMERIC
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.gtran
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47250
  47500
  47750
  48000
  48250
  48500
  48750
  49000
  49250
  49500
  49750
  50000
  50250
  50500
  50750
  51000
  51250
  51500
  51750
  52000
  52250
  52500
  52750
  53000
  53250
  53500
  53750
  54000
  54250
  54500
  54750
  55000
  55250
  55500
  55750
  56000
  56250
  56500
  56750
  57000
  57250
  57500
  57750
  58000
  58250
  58500
  58750
  59000
  59250
  59500
  59750
  60000
  60250
  60500
  60750
  61000
  61250
  61500
  61750
  62000
  62250
  62500
  62750
  63000
  63250
  63500
  63750
  64000
  64250
  64500
  64750
  65000
  65250
  65500
  65750
  66000
  66250
  66500
  66750
  67000
  67250
  67500
  67750
  68000
  68250
  68500
  68750
  69000
  69250
  69500
  69750
  70000
  70250
  70500
  70750
  71000
  71250
  71500
  71750
  72000
  72250
  72500
  72750
  73000
  73250
  73500
  73750
  74000
  74250
  74500
  74750
  75000
  75250
  75500
  75750
  76000
  76250
  76500
  76750
  77000
  77250
  77500
  77750
  78000
  78250
  78500
  78750
  79000
  79250
  79500
  79750
  80000
  80250
  80500
  80750
  81000
  81250
  81500
  81750
  82000
  82250
  82500
  82750
  83000
  83250
  83500
  83750
  84000
  84250
  84500
  84750
  85000
  85250
  85500
  85750
  86000
  86250
  86500
  86750
  87000
  87250
  87500
  87750
  88000
  88250
  88500
  88750
  89000
  89250
  89500
  89750
  90000
  90250
  90500
  90750
  91000
  91250
  91500
  91750
  92000
  92250
  92500
  92750
  93000
  93250
  93500
  93750
  94000
  94250
  94500
  94750
  95000
  95250
  95500
  95750
  96000
  96250
  96500
  96750
  97000
  97250
  97500
  97750
  98000
  98250
  98500
  98750
  99000
  99250
  99500
  99750
  100000
  100250
  100500
  100750
  101000
  101250
  101500
  101750
  102000
  102250
  102500
  102750
  103000
  103250
  103500
  103750
  104000
  104250
  104500
  104750
  105000
  105250
  105500
  105750
  106000
  106250
  106500
  106750
  107000
  107250
  107500
  107750
  108000
  108250
  108500
  108750
  109000
  109250
  109500
  109750
  110000
  110250
  110500
  110750
  111000
  111250
  111500
  111750
  112000
  112250
  112500
  112750
  113000
  113250
  113500
  113750
  114000
  114250
  114500
  114750
  115000
  115250
  115500
  115750
  116000
  116250
  116500
  116750
  117000
  117250
  117500
  117750
  118000
  118250
  118500
  118750
  119000
  119250
  119500
  119750
  120000
  120250
  120500
  120750
  121000
  121250
  121500
  121750
  122000
  122250
  122500
  122750
  123000
  123250
  123500
  123750
  124000
  124250
  124500
  124750
  125000
  125250
  125500
  125750
  126000
  126250
  126500
  126750
  127000
  127250
  127500
  127750
  128000
  128250
  128500
  128750
  129000
  129250
  129500
  129750
  130000
  130250
  130500
  130750
  131000
  131250
  131500
  131750
  132000
  132250
  132500
  132750
  133000
  133250
  133500
  133750
  134000
  134250
  134500
  134750
  135000
  135250
  135500
  135750
  136000
  136250
  136500
  136750
  137000
  137250
  137500
  137750
  138000
  138250
  138500
  138750
  139000
  139250
  139500
  139750
  140000
  140250
  140500
  140750
  141000
  141250
  141500
  141750
  142000
  142250
  142500
  142750
  143000
  143250
  143500
  143750
  144000
  144250
  144500
  144750
  145000
  145250
  145500
  145750
  146000
  146250
  146500
  146750
  147000
  147250
  147500
  147750
  148000
  148250
  148500
  148750
  149000
  149250
  149500
  149750
  150000
  150250
  150500
  150750
  151000
  151250
  151500
  151750
  152000
  152250
  152500
  152750
  153000
  153250
  153500
  153750
  154000
  154250
  154500
  154750
  155000
  155250
  155500
  155750
  156000
  156250
  156500
  156750
  157000
  157250
  157500
  157750
  158000
  158250
  158500
  158750
  159000
  159250
  159500
  159750
  160000
  160250
  160500
  160750
  161000
  161250
  161500
  161750
  162000
  162250
  162500
  162750
  163000
  163250
  163500
  163750
  164000
  164250
  164500
  164750
  165000
  165250
  165500
  165750
  166000
  166250
  166500
  166750
  167000
  167250
  167500
  167750
  168000
  168250
  168500
  168750
  169000
  169250
  169500
  169750
  170000
  170250
  170500
  170750
  171000
  171250
  171500
  171750
  172000
  172250
  172500
  172750
  173000
  173250
  173500
  173750
  174000
  174250
  174500
  174750
  175000
  175250
  175500
  175750
  176000
  176250
  176500
  176750
  177000
  177250
  177500
  177750
  178000
  178250
  178500
  178750
  179000
  179250
  179500
  179750
  180000
  180250
  180500
  180750
  181000
  181250
  181500
  181750
  182000
  182250
  182500
  182750
  183000
  183250
  183500
  183750
  184000
  184250
  184500
  184750
  185000
  185250
  185500
  185750
  186000
  186250
  186500
  186750
  187000
  187250
  187500
  187750
  188000
  188250
  188500
  188750
  189000
  189250
  189500
  189750
  190000
  190250
  190500
  190750
  191000
  191250
  191500
  191750
  192000
  192250
  192500
  192750
  193000
  193250
  193500
  193750
  194000
  194250
  194500
  194750
  195000
  195250
  195500
  195750
  196000
  196250
  196500
  196750
  197000
  197250
  197500
  197750
  198000
  198250
  198500
  198750
  199000
  199250
  199500
  199750
  200000
  200250
  200500
  200750
  201000
  201250
  201500
  201750
  202000
  202250
  202500
  202750
  203000
  203250
  203500
  203750
  204000
  204250
  204500
  204750
  205000
  205250
  205500
  205750
  206000
  206250
  206500
  206750
  207000
  207250
  207500
  207750
  208000
  208250
  208500
  208750
  209000
  209250
  209500
  209750
  210000
  210250
  210500
  210750
  211000
  211250
  211500
  211750
  212000
  212250
  212500
  212750
  213000
  213250
  213500
  213750
  214000
  214250
  214500
  214750
  215000
  215250
  215500
  215750
  216000
  216250
  216500
  216750
  217000
  217250
  217500
  217750
  218000
  218250
  218500
  218750
  219000
  219250
  219500
  219750
  220000
  220250
  220500
  220750
  221000
  221250
  221500
  221750
  222000
  222250
  222500
  222750
  223000
  223049 rows written
  2026-05-21 00:48:59.267959835
  2026-05-21 00:53:51.48268405


started_at: 2026-05-21 04:49:51
finished_at: 2026-05-21 04:56:28
status: success
merge_sql:
  TRUNCATE TABLE cms.glmt;
  INSERT INTO cms.glmt SELECT * FROM pipekit_staging.glmt;

watermark_values_json: {}
resolved_source_sql:
  SELECT
    AJ4COMP AS aj4comp,
    "AJ4GL#1" AS "aj4gl#1",
    "AJ4GL#2" AS "aj4gl#2",
    AJ4CCYY AS aj4ccyy,
    AJ4TMD AS aj4tmd,
    AJ4TMC AS aj4tmc,
    AJ4TT01 AS aj4tt01,
    AJ4TT02 AS aj4tt02,
    AJ4TT03 AS aj4tt03,
    AJ4TT04 AS aj4tt04,
    AJ4TT05 AS aj4tt05,
    AJ4TT06 AS aj4tt06,
    AJ4TT07 AS aj4tt07,
    AJ4TT08 AS aj4tt08,
    AJ4TT09 AS aj4tt09,
    AJ4TT10 AS aj4tt10,
    AJ4TT11 AS aj4tt11,
    AJ4TT12 AS aj4tt12,
    AJ4TT13 AS aj4tt13,
    AJ4TT14 AS aj4tt14,
    AJ4TT15 AS aj4tt15,
    AJ4OB01 AS aj4ob01,
    AJ4OB02 AS aj4ob02,
    AJ4OB03 AS aj4ob03,
    AJ4OB04 AS aj4ob04,
    AJ4OB05 AS aj4ob05,
    AJ4OB06 AS aj4ob06,
    AJ4OB07 AS aj4ob07,
    AJ4OB08 AS aj4ob08,
    AJ4OB09 AS aj4ob09,
    AJ4OB10 AS aj4ob10,
    AJ4OB11 AS aj4ob11,
    AJ4OB12 AS aj4ob12,
    AJ4OB13 AS aj4ob13,
    AJ4OB14 AS aj4ob14,
    AJ4OB15 AS aj4ob15,
    AJ4CB01 AS aj4cb01,
    AJ4CB02 AS aj4cb02,
    AJ4CB03 AS aj4cb03,
    AJ4CB04 AS aj4cb04,
    AJ4CB05 AS aj4cb05,
    AJ4CB06 AS aj4cb06,
    AJ4CB07 AS aj4cb07,
    AJ4CB08 AS aj4cb08,
    AJ4CB09 AS aj4cb09,
    AJ4CB10 AS aj4cb10,
    AJ4CB11 AS aj4cb11,
    AJ4CB12 AS aj4cb12,
    AJ4CB13 AS aj4cb13,
    AJ4CB14 AS aj4cb14,
    AJ4CB15 AS aj4cb15,
    AJ4FPD1 AS aj4fpd1,
    AJ4FPD2 AS aj4fpd2,
    AJ4PER1 AS aj4per1,
    AJ4PER2 AS aj4per2,
    AJ4FR01 AS aj4fr01,
    AJ4FR02 AS aj4fr02,
    AJ4FR03 AS aj4fr03,
    AJ4FR04 AS aj4fr04,
    AJ4FR05 AS aj4fr05,
    AJ4FR06 AS aj4fr06,
    AJ4FR07 AS aj4fr07,
    AJ4FR08 AS aj4fr08,
    AJ4FR09 AS aj4fr09,
    AJ4FR0A AS aj4fr0a,
    AJ4FR0B AS aj4fr0b,
    AJ4FR0C AS aj4fr0c,
    AJ4FR0D AS aj4fr0d,
    AJ4FR0E AS aj4fr0e,
    AJ4FR0F AS aj4fr0f
  FROM LGDAT.GLMT

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    AJ4COMP AS aj4comp,
    "AJ4GL#1" AS "aj4gl#1",
    "AJ4GL#2" AS "aj4gl#2",
    AJ4CCYY AS aj4ccyy,
    AJ4TMD AS aj4tmd,
    AJ4TMC AS aj4tmc,
    AJ4TT01 AS aj4tt01,
    AJ4TT02 AS aj4tt02,
    AJ4TT03 AS aj4tt03,
    AJ4TT04 AS aj4tt04,
    AJ4TT05 AS aj4tt05,
    AJ4TT06 AS aj4tt06,
    AJ4TT07 AS aj4tt07,
    AJ4TT08 AS aj4tt08,
    AJ4TT09 AS aj4tt09,
    AJ4TT10 AS aj4tt10,
    AJ4TT11 AS aj4tt11,
    AJ4TT12 AS aj4tt12,
    AJ4TT13 AS aj4tt13,
    AJ4TT14 AS aj4tt14,
    AJ4TT15 AS aj4tt15,
    AJ4OB01 AS aj4ob01,
    AJ4OB02 AS aj4ob02,
    AJ4OB03 AS aj4ob03,
    AJ4OB04 AS aj4ob04,
    AJ4OB05 AS aj4ob05,
    AJ4OB06 AS aj4ob06,
    AJ4OB07 AS aj4ob07,
    AJ4OB08 AS aj4ob08,
    AJ4OB09 AS aj4ob09,
    AJ4OB10 AS aj4ob10,
    AJ4OB11 AS aj4ob11,
    AJ4OB12 AS aj4ob12,
    AJ4OB13 AS aj4ob13,
    AJ4OB14 AS aj4ob14,
    AJ4OB15 AS aj4ob15,
    AJ4CB01 AS aj4cb01,
    AJ4CB02 AS aj4cb02,
    AJ4CB03 AS aj4cb03,
    AJ4CB04 AS aj4cb04,
    AJ4CB05 AS aj4cb05,
    AJ4CB06 AS aj4cb06,
    AJ4CB07 AS aj4cb07,
    AJ4CB08 AS aj4cb08,
    AJ4CB09 AS aj4cb09,
    AJ4CB10 AS aj4cb10,
    AJ4CB11 AS aj4cb11,
    AJ4CB12 AS aj4cb12,
    AJ4CB13 AS aj4cb13,
    AJ4CB14 AS aj4cb14,
    AJ4CB15 AS aj4cb15,
    AJ4FPD1 AS aj4fpd1,
    AJ4FPD2 AS aj4fpd2,
    AJ4PER1 AS aj4per1,
    AJ4PER2 AS aj4per2,
    AJ4FR01 AS aj4fr01,
    AJ4FR02 AS aj4fr02,
    AJ4FR03 AS aj4fr03,
    AJ4FR04 AS aj4fr04,
    AJ4FR05 AS aj4fr05,
    AJ4FR06 AS aj4fr06,
    AJ4FR07 AS aj4fr07,
    AJ4FR08 AS aj4fr08,
    AJ4FR09 AS aj4fr09,
    AJ4FR0A AS aj4fr0a,
    AJ4FR0B AS aj4fr0b,
    AJ4FR0C AS aj4fr0c,
    AJ4FR0D AS aj4fr0d,
    AJ4FR0E AS aj4fr0e,
    AJ4FR0F AS aj4fr0f
  FROM LGDAT.GLMT
  ------------destination table-----------------------------
  pipekit_staging.glmt
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:49:54.182983012
  ------------source metadata-------------------------------
  number of cols: 70
    * AJ4COMP: NUMERIC
    * aj4gl#1: NUMERIC
    * aj4gl#2: NUMERIC
    * AJ4CCYY: NUMERIC
    * AJ4TMD: DECIMAL
    * AJ4TMC: DECIMAL
    * AJ4TT01: DECIMAL
    * AJ4TT02: DECIMAL
    * AJ4TT03: DECIMAL
    * AJ4TT04: DECIMAL
    * AJ4TT05: DECIMAL
    * AJ4TT06: DECIMAL
    * AJ4TT07: DECIMAL
    * AJ4TT08: DECIMAL
    * AJ4TT09: DECIMAL
    * AJ4TT10: DECIMAL
    * AJ4TT11: DECIMAL
    * AJ4TT12: DECIMAL
    * AJ4TT13: DECIMAL
    * AJ4TT14: DECIMAL
    * AJ4TT15: DECIMAL
    * AJ4OB01: DECIMAL
    * AJ4OB02: DECIMAL
    * AJ4OB03: DECIMAL
    * AJ4OB04: DECIMAL
    * AJ4OB05: DECIMAL
    * AJ4OB06: DECIMAL
    * AJ4OB07: DECIMAL
    * AJ4OB08: DECIMAL
    * AJ4OB09: DECIMAL
    * AJ4OB10: DECIMAL
    * AJ4OB11: DECIMAL
    * AJ4OB12: DECIMAL
    * AJ4OB13: DECIMAL
    * AJ4OB14: DECIMAL
    * AJ4OB15: DECIMAL
    * AJ4CB01: DECIMAL
    * AJ4CB02: DECIMAL
    * AJ4CB03: DECIMAL
    * AJ4CB04: DECIMAL
    * AJ4CB05: DECIMAL
    * AJ4CB06: DECIMAL
    * AJ4CB07: DECIMAL
    * AJ4CB08: DECIMAL
    * AJ4CB09: DECIMAL
    * AJ4CB10: DECIMAL
    * AJ4CB11: DECIMAL
    * AJ4CB12: DECIMAL
    * AJ4CB13: DECIMAL
    * AJ4CB14: DECIMAL
    * AJ4CB15: DECIMAL
    * AJ4FPD1: DECIMAL
    * AJ4FPD2: DECIMAL
    * AJ4PER1: NUMERIC
    * AJ4PER2: NUMERIC
    * AJ4FR01: DECIMAL
    * AJ4FR02: DECIMAL
    * AJ4FR03: DECIMAL
    * AJ4FR04: DECIMAL
    * AJ4FR05: DECIMAL
    * AJ4FR06: DECIMAL
    * AJ4FR07: DECIMAL
    * AJ4FR08: DECIMAL
    * AJ4FR09: DECIMAL
    * AJ4FR0A: DECIMAL
    * AJ4FR0B: DECIMAL
    * AJ4FR0C: DECIMAL
    * AJ4FR0D: DECIMAL
    * AJ4FR0E: DECIMAL
    * AJ4FR0F: DECIMAL
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.glmt
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47250
  47500
  47750
  48000
  48250
  48500
  48750
  49000
  49250
  49500
  49750
  50000
  50250
  50500
  50750
  51000
  51250
  51500
  51750
  52000
  52250
  52500
  52750
  53000
  53250
  53500
  53750
  54000
  54250
  54500
  54750
  55000
  55250
  55500
  55750
  56000
  56250
  56500
  56750
  57000
  57250
  57500
  57750
  58000
  58250
  58500
  58750
  59000
  59250
  59500
  59750
  60000
  60250
  60500
  60750
  61000
  61250
  61500
  61750
  62000
  62250
  62500
  62750
  63000
  63250
  63500
  63750
  64000
  64250
  64500
  64750
  65000
  65250
  65500
  65750
  66000
  66250
  66500
  66750
  67000
  67250
  67500
  67750
  68000
  68250
  68500
  68750
  69000
  69250
  69500
  69750
  70000
  70250
  70500
  70750
  71000
  71250
  71500
  71750
  72000
  72250
  72500
  72750
  73000
  73250
  73500
  73750
  74000
  74250
  74500
  74750
  75000
  75250
  75500
  75750
  76000
  76250
  76500
  76750
  77000
  77250
  77500
  77750
  78000
  78250
  78500
  78750
  79000
  79250
  79500
  79750
  80000
  80250
  80500
  80750
  81000
  81250
  81500
  81750
  82000
  82250
  82500
  82750
  83000
  83250
  83500
  83750
  84000
  84250
  84500
  84750
  85000
  85250
  85500
  85750
  86000
  86250
  86500
  86750
  87000
  87250
  87500
  87750
  88000
  88250
  88500
  88750
  89000
  89250
  89500
  89750
  90000
  90250
  90500
  90750
  91000
  91250
  91500
  91750
  92000
  92250
  92500
  92750
  93000
  93250
  93500
  93750
  94000
  94250
  94500
  94750
  95000
  95250
  95500
  95750
  96000
  96250
  96500
  96750
  97000
  97250
  97500
  97750
  98000
  98250
  98500
  98750
  99000
  99250
  99500
  99750
  100000
  100250
  100500
  100750
  101000
  101250
  101500
  101750
  102000
  102250
  102500
  102750
  103000
  103250
  103500
  103750
  104000
  104250
  104500
  104750
  105000
  105250
  105500
  105750
  106000
  106250
  106500
  106750
  107000
  107250
  107500
  107750
  108000
  108250
  108500
  108750
  109000
  109250
  109500
  109750
  110000
  110250
  110500
  110750
  111000
  111250
  111500
  111750
  112000
  112250
  112500
  112750
  113000
  113250
  113500
  113750
  114000
  114250
  114500
  114750
  115000
  115250
  115500
  115750
  116000
  116250
  116500
  116750
  117000
  117250
  117500
  117750
  118000
  118250
  118500
  118750
  119000
  119250
  119500
  119750
  120000
  120250
  120500
  120750
  121000
  121250
  121500
  121750
  122000
  122250
  122500
  122750
  123000
  123250
  123500
  123750
  124000
  124250
  124500
  124750
  125000
  125250
  125500
  125750
  126000
  126250
  126500
  126750
  127000
  127250
  127500
  127750
  128000
  128250
  128500
  128750
  129000
  129250
  129500
  129750
  130000
  130250
  130500
  130750
  131000
  131250
  131500
  131750
  132000
  132250
  132500
  132750
  133000
  133250
  133500
  133750
  134000
  134250
  134500
  134750
  135000
  135250
  135500
  135750
  136000
  136250
  136500
  136750
  137000
  137250
  137500
  137750
  138000
  138250
  138500
  138750
  139000
  139250
  139500
  139750
  140000
  140250
  140500
  140750
  141000
  141250
  141500
  141750
  142000
  142250
  142500
  142750
  143000
  143250
  143500
  143750
  144000
  144250
  144500
  144750
  145000
  145250
  145500
  145750
  146000
  146250
  146500
  146750
  147000
  147250
  147500
  147750
  148000
  148250
  148500
  148750
  149000
  149250
  149500
  149750
  150000
  150250
  150500
  150750
  151000
  151250
  151500
  151750
  152000
  152250
  152500
  152750
  153000
  153250
  153500
  153750
  154000
  154250
  154500
  154750
  155000
  155250
  155500
  155750
  156000
  156250
  156500
  156750
  157000
  157250
  157500
  157750
  158000
  158250
  158500
  158750
  159000
  159250
  159500
  159750
  160000
  160250
  160500
  160750
  161000
  161250
  161500
  161750
  162000
  162250
  162500
  162750
  163000
  163250
  163500
  163750
  164000
  164250
  164500
  164750
  165000
  165250
  165500
  165750
  166000
  166250
  166500
  166750
  167000
  167250
  167500
  167750
  168000
  168250
  168500
  168750
  169000
  169250
  169500
  169750
  170000
  170250
  170500
  170750
  171000
  171250
  171500
  171750
  172000
  172250
  172500
  172750
  173000
  173250
  173500
  173750
  174000
  174250
  174500
  174750
  175000
  175250
  175500
  175750
  176000
  176250
  176500
  176750
  177000
  177250
  177500
  177750
  178000
  178250
  178500
  178750
  179000
  179250
  179500
  179750
  180000
  180250
  180500
  180750
  181000
  181250
  181500
  181750
  182000
  182250
  182500
  182750
  183000
  183250
  183500
  183750
  184000
  184250
  184500
  184750
  185000
  185250
  185500
  185750
  186000
  186250
  186500
  186750
  187000
  187250
  187500
  187750
  188000
  188250
  188500
  188750
  189000
  189250
  189500
  189750
  190000
  190250
  190500
  190750
  191000
  191250
  191500
  191750
  192000
  192250
  192500
  192750
  193000
  193250
  193500
  193750
  194000
  194250
  194500
  194750
  195000
  195250
  195500
  195750
  196000
  196250
  196500
  196750
  197000
  197250
  197500
  197750
  198000
  198250
  198500
  198750
  199000
  199250
  199500
  199750
  200000
  200250
  200500
  200750
  201000
  201250
  201500
  201750
  202000
  202250
  202500
  202750
  203000
  203250
  203500
  203750
  204000
  204250
  204500
  204750
  205000
  205250
  205500
  205750
  206000
  206250
  206500
  206750
  207000
  207250
  207500
  207750
  208000
  208250
  208500
  208750
  209000
  209250
  209500
  209750
  210000
  210250
  210500
  210750
  211000
  211250
  211500
  211750
  212000
  212250
  212500
  212750
  213000
  213250
  213500
  213750
  214000
  214250
  214500
  214750
  215000
  215250
  215500
  215750
  216000
  216250
  216500
  216750
  217000
  217250
  217500
  217750
  218000
  218250
  218500
  218750
  219000
  219250
  219500
  219750
  220000
  220250
  220500
  220750
  221000
  221250
  221500
  221750
  222000
  222250
  222500
  222750
  223000
  223250
  223500
  223750
  224000
  224250
  224500
  224750
  225000
  225250
  225500
  225750
  226000
  226250
  226500
  226750
  227000
  227250
  227500
  227750
  228000
  228250
  228500
  228750
  229000
  229250
  229500
  229750
  230000
  230250
  230500
  230750
  231000
  231250
  231500
  231750
  232000
  232250
  232500
  232750
  233000
  233250
  233500
  233750
  234000
  234250
  234500
  234750
  235000
  235250
  235500
  235750
  236000
  236250
  236500
  236750
  237000
  237250
  237500
  237750
  238000
  238250
  238500
  238750
  239000
  239250
  239500
  239750
  240000
  240250
  240500
  240750
  241000
  241250
  241500
  241750
  242000
  242250
  242500
  242750
  243000
  243250
  243500
  243750
  244000
  244250
  244500
  244750
  245000
  245250
  245500
  245750
  246000
  246250
  246500
  246750
  247000
  247250
  247500
  247750
  248000
  248250
  248500
  248750
  249000
  249250
  249500
  249750
  250000
  250250
  250500
  250750
  251000
  251250
  251500
  251750
  252000
  252250
  252500
  252750
  253000
  253250
  253500
  253750
  254000
  254250
  254500
  254750
  255000
  255250
  255500
  255750
  256000
  256250
  256500
  256750
  257000
  257250
  257500
  257750
  258000
  258250
  258500
  258750
  259000
  259250
  259500
  259750
  260000
  260250
  260500
  260750
  261000
  261250
  261500
  261750
  262000
  262250
  262500
  262750
  263000
  263250
  263500
  263750
  264000
  264250
  264500
  264750
  265000
  265250
  265500
  265750
  266000
  266250
  266500
  266750
  267000
  267250
  267500
  267750
  268000
  268250
  268500
  268750
  269000
  269250
  269500
  269750
  270000
  270250
  270500
  270750
  271000
  271250
  271500
  271750
  272000
  272250
  272500
  272750
  273000
  273250
  273500
  273750
  274000
  274250
  274500
  274750
  275000
  275250
  275500
  275750
  276000
  276250
  276500
  276750
  277000
  277250
  277500
  277750
  278000
  278250
  278500
  278750
  279000
  279250
  279500
  279750
  280000
  280250
  280500
  280750
  281000
  281250
  281500
  281750
  282000
  282250
  282500
  282750
  283000
  283250
  283500
  283750
  284000
  284250
  284500
  284750
  285000
  285250
  285500
  285750
  286000
  286250
  286500
  286750
  287000
  287250
  287500
  287750
  288000
  288250
  288500
  288750
  289000
  289250
  289500
  289750
  290000
  290250
  290500
  290750
  291000
  291250
  291500
  291750
  292000
  292250
  292500
  292750
  293000
  293250
  293500
  293750
  294000
  294250
  294500
  294750
  295000
  295250
  295500
  295750
  296000
  296250
  296500
  296750
  297000
  297250
  297500
  297750
  298000
  298250
  298500
  298750
  299000
  299250
  299500
  299750
  300000
  300250
  300500
  300750
  301000
  301250
  301500
  301750
  302000
  302250
  302500
  302750
  303000
  303250
  303500
  303750
  304000
  304250
  304500
  304750
  305000
  305250
  305500
  305750
  306000
  306250
  306500
  306750
  307000
  307250
  307500
  307750
  308000
  308250
  308500
  308750
  309000
  309250
  309500
  309750
  310000
  310250
  310500
  310750
  311000
  311250
  311500
  311750
  312000
  312250
  312500
  312750
  313000
  313250
  313500
  313750
  314000
  314250
  314500
  314750
  315000
  315250
  315500
  315750
  316000
  316250
  316500
  316750
  317000
  317250
  317500
  317750
  318000
  318250
  318500
  318750
  319000
  319250
  319500
  319750
  320000
  320250
  320500
  320750
  321000
  321250
  321500
  321750
  322000
  322250
  322500
  322750
  323000
  323250
  323500
  323750
  324000
  324250
  324500
  324750
  325000
  325250
  325500
  325750
  326000
  326250
  326500
  326750
  327000
  327250
  327500
  327750
  328000
  328250
  328500
  328750
  329000
  329250
  329500
  329750
  330000
  330250
  330500
  330750
  331000
  331250
  331500
  331750
  332000
  332250
  332500
  332750
  333000
  333250
  333500
  333750
  334000
  334250
  334500
  334750
  335000
  335250
  335500
  335750
  336000
  336250
  336500
  336750
  337000
  337250
  337500
  337750
  338000
  338250
  338500
  338750
  339000
  339250
  339500
  339750
  340000
  340250
  340500
  340750
  341000
  341250
  341500
  341750
  342000
  342250
  342500
  342750
  343000
  343250
  343500
  343750
  344000
  344250
  344500
  344750
  345000
  345250
  345500
  345750
  346000
  346250
  346500
  346750
  347000
  347250
  347500
  347750
  348000
  348250
  348500
  348750
  349000
  349250
  349500
  349750
  350000
  350250
  350500
  350750
  351000
  351250
  351500
  351750
  352000
  352250
  352500
  352750
  353000
  353250
  353500
  353750
  354000
  354250
  354500
  354750
  355000
  355250
  355500
  355750
  356000
  356250
  356500
  356750
  357000
  357250
  357500
  357750
  358000
  358250
  358500
  358750
  359000
  359250
  359500
  359750
  360000
  360250
  360500
  360750
  361000
  361250
  361500
  361750
  362000
  362250
  362500
  362750
  363000
  363250
  363500
  363750
  364000
  364250
  364500
  364750
  365000
  365250
  365500
  365750
  366000
  366250
  366500
  366750
  367000
  367250
  367500
  367750
  368000
  368250
  368500
  368750
  369000
  369250
  369500
  369750
  370000
  370250
  370500
  370750
  371000
  371250
  371500
  371750
  372000
  372250
  372500
  372750
  373000
  373250
  373500
  373750
  374000
  374250
  374500
  374750
  375000
  375250
  375500
  375750
  376000
  376250
  376500
  376750
  377000
  377250
  377500
  377750
  378000
  378250
  378500
  378750
  379000
  379250
  379500
  379750
  380000
  380250
  380500
  380750
  381000
  381250
  381500
  381750
  382000
  382250
  382500
  382750
  383000
  383250
  383500
  383750
  384000
  384250
  384500
  384750
  385000
  385250
  385500
  385750
  386000
  386250
  386500
  386750
  387000
  387250
  387500
  387750
  388000
  388250
  388500
  388750
  389000
  389250
  389500
  389750
  390000
  390250
  390500
  390750
  391000
  391250
  391500
  391750
  392000
  392250
  392500
  392750
  393000
  393250
  393500
  393750
  394000
  394250
  394500
  394750
  395000
  395250
  395500
  395750
  396000
  396250
  396500
  396750
  397000
  397250
  397500
  397750
  398000
  398250
  398500
  398750
  399000
  399250
  399500
  399750
  400000
  400250
  400500
  400750
  401000
  401250
  401500
  401750
  402000
  402250
  402500
  402750
  403000
  403250
  403500
  403750
  404000
  404250
  404500
  404750
  405000
  405250
  405500
  405750
  406000
  406250
  406500
  406750
  407000
  407250
  407500
  407750
  408000
  408250
  408500
  408750
  409000
  409250
  409500
  409750
  410000
  410250
  410500
  410750
  411000
  411250
  411500
  411750
  412000
  412250
  412500
  412750
  413000
  413250
  413500
  413750
  414000
  414250
  414500
  414750
  415000
  415250
  415500
  415750
  416000
  416250
  416500
  416750
  417000
  417250
  417500
  417750
  418000
  418250
  418500
  418750
  419000
  419250
  419500
  419750
  420000
  420250
  420500
  420750
  421000
  421250
  421500
  421750
  422000
  422250
  422500
  422750
  423000
  423250
  423500
  423750
  424000
  424250
  424500
  424750
  425000
  425250
  425500
  425750
  426000
  426250
  426500
  426750
  427000
  427250
  427500
  427750
  428000
  428250
  428500
  428750
  429000
  429250
  429500
  429750
  430000
  430250
  430500
  430750
  431000
  431250
  431500
  431750
  432000
  432250
  432500
  432750
  433000
  433250
  433500
  433750
  434000
  434250
  434500
  434750
  435000
  435250
  435500
  435750
  436000
  436250
  436500
  436750
  437000
  437250
  437500
  437750
  438000
  438250
  438500
  438750
  439000
  439250
  439500
  439750
  440000
  440250
  440500
  440750
  441000
  441250
  441500
  441750
  442000
  442250
  442500
  442750
  443000
  443250
  443500
  443750
  444000
  444250
  444500
  444750
  445000
  445250
  445500
  445750
  446000
  446250
  446500
  446750
  447000
  447250
  447500
  447750
  448000
  448250
  448500
  448750
  449000
  449250
  449500
  449750
  450000
  450250
  450500
  450750
  451000
  451250
  451500
  451750
  452000
  452250
  452500
  452750
  453000
  453250
  453500
  453750
  454000
  454250
  454500
  454750
  455000
  455250
  455500
  455750
  456000
  456250
  456500
  456750
  457000
  457250
  457500
  457750
  458000
  458250
  458500
  458750
  459000
  459250
  459500
  459750
  460000
  460250
  460500
  460750
  461000
  461250
  461500
  461750
  462000
  462250
  462500
  462750
  463000
  463250
  463500
  463750
  464000
  464250
  464500
  464750
  465000
  465250
  465500
  465750
  466000
  466250
  466500
  466750
  467000
  467250
  467500
  467750
  468000
  468250
  468500
  468750
  469000
  469250
  469500
  469750
  470000
  470250
  470500
  470750
  471000
  471250
  471500
  471750
  472000
  472250
  472500
  472750
  473000
  473250
  473500
  473750
  474000
  474250
  474500
  474750
  475000
  475250
  475500
  475750
  476000
  476250
  476500
  476750
  477000
  477250
  477500
  477750
  478000
  478250
  478500
  478750
  479000
  479250
  479500
  479750
  480000
  480250
  480500
  480750
  481000
  481250
  481500
  481750
  482000
  482250
  482500
  482750
  483000
  483250
  483500
  483750
  484000
  484250
  484500
  484750
  485000
  485250
  485500
  485750
  486000
  486250
  486500
  486750
  487000
  487250
  487500
  487750
  488000
  488250
  488500
  488750
  489000
  489250
  489500
  489750
  490000
  490250
  490500
  490750
  491000
  491250
  491500
  491750
  492000
  492250
  492500
  492750
  493000
  493250
  493500
  493750
  494000
  494250
  494500
  494750
  495000
  495250
  495500
  495750
  496000
  496250
  496500
  496750
  497000
  497250
  497500
  497750
  498000
  498250
  498500
  498750
  499000
  499250
  499500
  499750
  500000
  500250
  500500
  500750
  501000
  501250
  501500
  501750
  502000
  502250
  502500
  502750
  503000
  503250
  503500
  503750
  504000
  504250
  504500
  504750
  505000
  505250
  505500
  505750
  506000
  506250
  506500
  506750
  507000
  507250
  507500
  507750
  508000
  508250
  508500
  508750
  509000
  509250
  509500
  509750
  510000
  510250
  510500
  510750
  511000
  511250
  511500
  511750
  512000
  512250
  512500
  512750
  513000
  513250
  513500
  513750
  514000
  514250
  514500
  514750
  515000
  515250
  515500
  515750
  516000
  516250
  516500
  516750
  517000
  517250
  517500
  517750
  518000
  518250
  518500
  518750
  519000
  519250
  519500
  519750
  520000
  520250
  520500
  520750
  521000
  521250
  521500
  521750
  522000
  522250
  522500
  522750
  523000
  523250
  523500
  523750
  524000
  524250
  524500
  524750
  525000
  525250
  525500
  525750
  526000
  526250
  526500
  526750
  527000
  527250
  527500
  527750
  528000
  528250
  528500
  528750
  529000
  529250
  529500
  529750
  530000
  530250
  530500
  530750
  531000
  531250
  531500
  531750
  532000
  532250
  532500
  532750
  533000
  533250
  533500
  533750
  534000
  534250
  534500
  534750
  535000
  535250
  535500
  535750
  536000
  536250
  536500
  536750
  537000
  537250
  537500
  537750
  538000
  538250
  538500
  538750
  539000
  539250
  539500
  539750
  540000
  540250
  540500
  540750
  541000
  541250
  541500
  541750
  542000
  542250
  542500
  542750
  543000
  543250
  543500
  543750
  544000
  544250
  544500
  544750
  545000
  545250
  545500
  545750
  546000
  546250
  546500
  546750
  547000
  547250
  547500
  547750
  548000
  548250
  548500
  548750
  549000
  549250
  549500
  549750
  550000
  550250
  550500
  550750
  551000
  551250
  551500
  551750
  552000
  552250
  552500
  552750
  553000
  553250
  553500
  553750
  554000
  554250
  554500
  554750
  555000
  555250
  555500
  555750
  556000
  556250
  556500
  556750
  557000
  557250
  557500
  557750
  558000
  558250
  558500
  558750
  559000
  559250
  559500
  559750
  560000
  560250
  560500
  560750
  561000
  561250
  561500
  561750
  562000
  562250
  562500
  562750
  563000
  563250
  563500
  563750
  564000
  564250
  564500
  564750
  565000
  565250
  565500
  565750
  566000
  566250
  566500
  566750
  567000
  567250
  567500
  567750
  568000
  568250
  568500
  568750
  569000
  569250
  569500
  569750
  570000
  570250
  570500
  570750
  571000
  571250
  571500
  571750
  572000
  572250
  572500
  572750
  573000
  573250
  573500
  573750
  574000
  574250
  574500
  574750
  575000
  575250
  575500
  575750
  576000
  576250
  576500
  576750
  577000
  577250
  577500
  577750
  578000
  578250
  578500
  578750
  579000
  579250
  579500
  579750
  580000
  580250
  580500
  580750
  581000
  581250
  581500
  581750
  582000
  582250
  582500
  582750
  583000
  583250
  583500
  583750
  584000
  584250
  584500
  584750
  585000
  585250
  585500
  585750
  586000
  586250
  586500
  586750
  587000
  587250
  587500
  587750
  588000
  588250
  588500
  588750
  589000
  589250
  589500
  589750
  590000
  590250
  590500
  590750
  591000
  591250
  591500
  591750
  592000
  592250
  592500
  592750
  593000
  593250
  593500
  593750
  594000
  594250
  594500
  594750
  595000
  595250
  595500
  595750
  596000
  596250
  596500
  596750
  597000
  597250
  597500
  597750
  598000
  598250
  598500
  598750
  599000
  599250
  599500
  599750
  600000
  600250
  600500
  600750
  601000
  601250
  601500
  601750
  602000
  602250
  602500
  602750
  603000
  603250
  603500
  603750
  604000
  604250
  604500
  604750
  605000
  605250
  605500
  605750
  606000
  606250
  606500
  606750
  607000
  607250
  607500
  607750
  608000
  608250
  608500
  608750
  609000
  609250
  609500
  609750
  610000
  610250
  610500
  610750
  611000
  611250
  611500
  611750
  612000
  612250
  612500
  612750
  613000
  613250
  613500
  613750
  614000
  614250
  614500
  614750
  615000
  615250
  615500
  615750
  616000
  616250
  616500
  616750
  617000
  617250
  617500
  617750
  618000
  618250
  618500
  618750
  619000
  619250
  619500
  619750
  620000
  620250
  620500
  620750
  621000
  621250
  621500
  621750
  622000
  622250
  622500
  622750
  623000
  623250
  623500
  623750
  624000
  624250
  624500
  624750
  625000
  625250
  625500
  625750
  626000
  626250
  626500
  626750
  627000
  627250
  627500
  627750
  628000
  628250
  628500
  628750
  629000
  629250
  629500
  629750
  630000
  630250
  630500
  630750
  631000
  631250
  631500
  631750
  632000
  632250
  632500
  632750
  633000
  633250
  633500
  633750
  634000
  634250
  634500
  634750
  635000
  635250
  635500
  635750
  636000
  636250
  636500
  636750
  637000
  637250
  637500
  637750
  638000
  638250
  638500
  638750
  639000
  639250
  639500
  639750
  640000
  640250
  640500
  640750
  641000
  641250
  641500
  641750
  642000
  642250
  642500
  642750
  643000
  643250
  643500
  643750
  644000
  644250
  644500
  644750
  645000
  645250
  645500
  645750
  646000
  646250
  646500
  646750
  647000
  647250
  647500
  647750
  648000
  648250
  648500
  648750
  649000
  649250
  649500
  649750
  650000
  650250
  650500
  650750
  651000
  651250
  651500
  651750
  652000
  652250
  652500
  652750
  653000
  653250
  653500
  653750
  654000
  654250
  654500
  654750
  655000
  655250
  655500
  655750
  656000
  656250
  656500
  656750
  657000
  657250
  657500
  657750
  658000
  658098 rows written
  2026-05-21 00:49:54.182983012
  2026-05-21 00:56:26.823447705

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    AJ4COMP AS aj4comp,
    "AJ4GL#1" AS "aj4gl#1",
    "AJ4GL#2" AS "aj4gl#2",
    AJ4CCYY AS aj4ccyy,
    AJ4TMD AS aj4tmd,
    AJ4TMC AS aj4tmc,
    AJ4TT01 AS aj4tt01,
    AJ4TT02 AS aj4tt02,
    AJ4TT03 AS aj4tt03,
    AJ4TT04 AS aj4tt04,
    AJ4TT05 AS aj4tt05,
    AJ4TT06 AS aj4tt06,
    AJ4TT07 AS aj4tt07,
    AJ4TT08 AS aj4tt08,
    AJ4TT09 AS aj4tt09,
    AJ4TT10 AS aj4tt10,
    AJ4TT11 AS aj4tt11,
    AJ4TT12 AS aj4tt12,
    AJ4TT13 AS aj4tt13,
    AJ4TT14 AS aj4tt14,
    AJ4TT15 AS aj4tt15,
    AJ4OB01 AS aj4ob01,
    AJ4OB02 AS aj4ob02,
    AJ4OB03 AS aj4ob03,
    AJ4OB04 AS aj4ob04,
    AJ4OB05 AS aj4ob05,
    AJ4OB06 AS aj4ob06,
    AJ4OB07 AS aj4ob07,
    AJ4OB08 AS aj4ob08,
    AJ4OB09 AS aj4ob09,
    AJ4OB10 AS aj4ob10,
    AJ4OB11 AS aj4ob11,
    AJ4OB12 AS aj4ob12,
    AJ4OB13 AS aj4ob13,
    AJ4OB14 AS aj4ob14,
    AJ4OB15 AS aj4ob15,
    AJ4CB01 AS aj4cb01,
    AJ4CB02 AS aj4cb02,
    AJ4CB03 AS aj4cb03,
    AJ4CB04 AS aj4cb04,
    AJ4CB05 AS aj4cb05,
    AJ4CB06 AS aj4cb06,
    AJ4CB07 AS aj4cb07,
    AJ4CB08 AS aj4cb08,
    AJ4CB09 AS aj4cb09,
    AJ4CB10 AS aj4cb10,
    AJ4CB11 AS aj4cb11,
    AJ4CB12 AS aj4cb12,
    AJ4CB13 AS aj4cb13,
    AJ4CB14 AS aj4cb14,
    AJ4CB15 AS aj4cb15,
    AJ4FPD1 AS aj4fpd1,
    AJ4FPD2 AS aj4fpd2,
    AJ4PER1 AS aj4per1,
    AJ4PER2 AS aj4per2,
    AJ4FR01 AS aj4fr01,
    AJ4FR02 AS aj4fr02,
    AJ4FR03 AS aj4fr03,
    AJ4FR04 AS aj4fr04,
    AJ4FR05 AS aj4fr05,
    AJ4FR06 AS aj4fr06,
    AJ4FR07 AS aj4fr07,
    AJ4FR08 AS aj4fr08,
    AJ4FR09 AS aj4fr09,
    AJ4FR0A AS aj4fr0a,
    AJ4FR0B AS aj4fr0b,
    AJ4FR0C AS aj4fr0c,
    AJ4FR0D AS aj4fr0d,
    AJ4FR0E AS aj4fr0e,
    AJ4FR0F AS aj4fr0f
  FROM LGDAT.GLMT
  ------------destination table-----------------------------
  pipekit_staging.glmt
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:49:54.182983012
  ------------source metadata-------------------------------
  number of cols: 70
    * AJ4COMP: NUMERIC
    * aj4gl#1: NUMERIC
    * aj4gl#2: NUMERIC
    * AJ4CCYY: NUMERIC
    * AJ4TMD: DECIMAL
    * AJ4TMC: DECIMAL
    * AJ4TT01: DECIMAL
    * AJ4TT02: DECIMAL
    * AJ4TT03: DECIMAL
    * AJ4TT04: DECIMAL
    * AJ4TT05: DECIMAL
    * AJ4TT06: DECIMAL
    * AJ4TT07: DECIMAL
    * AJ4TT08: DECIMAL
    * AJ4TT09: DECIMAL
    * AJ4TT10: DECIMAL
    * AJ4TT11: DECIMAL
    * AJ4TT12: DECIMAL
    * AJ4TT13: DECIMAL
    * AJ4TT14: DECIMAL
    * AJ4TT15: DECIMAL
    * AJ4OB01: DECIMAL
    * AJ4OB02: DECIMAL
    * AJ4OB03: DECIMAL
    * AJ4OB04: DECIMAL
    * AJ4OB05: DECIMAL
    * AJ4OB06: DECIMAL
    * AJ4OB07: DECIMAL
    * AJ4OB08: DECIMAL
    * AJ4OB09: DECIMAL
    * AJ4OB10: DECIMAL
    * AJ4OB11: DECIMAL
    * AJ4OB12: DECIMAL
    * AJ4OB13: DECIMAL
    * AJ4OB14: DECIMAL
    * AJ4OB15: DECIMAL
    * AJ4CB01: DECIMAL
    * AJ4CB02: DECIMAL
    * AJ4CB03: DECIMAL
    * AJ4CB04: DECIMAL
    * AJ4CB05: DECIMAL
    * AJ4CB06: DECIMAL
    * AJ4CB07: DECIMAL
    * AJ4CB08: DECIMAL
    * AJ4CB09: DECIMAL
    * AJ4CB10: DECIMAL
    * AJ4CB11: DECIMAL
    * AJ4CB12: DECIMAL
    * AJ4CB13: DECIMAL
    * AJ4CB14: DECIMAL
    * AJ4CB15: DECIMAL
    * AJ4FPD1: DECIMAL
    * AJ4FPD2: DECIMAL
    * AJ4PER1: NUMERIC
    * AJ4PER2: NUMERIC
    * AJ4FR01: DECIMAL
    * AJ4FR02: DECIMAL
    * AJ4FR03: DECIMAL
    * AJ4FR04: DECIMAL
    * AJ4FR05: DECIMAL
    * AJ4FR06: DECIMAL
    * AJ4FR07: DECIMAL
    * AJ4FR08: DECIMAL
    * AJ4FR09: DECIMAL
    * AJ4FR0A: DECIMAL
    * AJ4FR0B: DECIMAL
    * AJ4FR0C: DECIMAL
    * AJ4FR0D: DECIMAL
    * AJ4FR0E: DECIMAL
    * AJ4FR0F: DECIMAL
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.glmt
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47250
  47500
  47750
  48000
  48250
  48500
  48750
  49000
  49250
  49500
  49750
  50000
  50250
  50500
  50750
  51000
  51250
  51500
  51750
  52000
  52250
  52500
  52750
  53000
  53250
  53500
  53750
  54000
  54250
  54500
  54750
  55000
  55250
  55500
  55750
  56000
  56250
  56500
  56750
  57000
  57250
  57500
  57750
  58000
  58250
  58500
  58750
  59000
  59250
  59500
  59750
  60000
  60250
  60500
  60750
  61000
  61250
  61500
  61750
  62000
  62250
  62500
  62750
  63000
  63250
  63500
  63750
  64000
  64250
  64500
  64750
  65000
  65250
  65500
  65750
  66000
  66250
  66500
  66750
  67000
  67250
  67500
  67750
  68000
  68250
  68500
  68750
  69000
  69250
  69500
  69750
  70000
  70250
  70500
  70750
  71000
  71250
  71500
  71750
  72000
  72250
  72500
  72750
  73000
  73250
  73500
  73750
  74000
  74250
  74500
  74750
  75000
  75250
  75500
  75750
  76000
  76250
  76500
  76750
  77000
  77250
  77500
  77750
  78000
  78250
  78500
  78750
  79000
  79250
  79500
  79750
  80000
  80250
  80500
  80750
  81000
  81250
  81500
  81750
  82000
  82250
  82500
  82750
  83000
  83250
  83500
  83750
  84000
  84250
  84500
  84750
  85000
  85250
  85500
  85750
  86000
  86250
  86500
  86750
  87000
  87250
  87500
  87750
  88000
  88250
  88500
  88750
  89000
  89250
  89500
  89750
  90000
  90250
  90500
  90750
  91000
  91250
  91500
  91750
  92000
  92250
  92500
  92750
  93000
  93250
  93500
  93750
  94000
  94250
  94500
  94750
  95000
  95250
  95500
  95750
  96000
  96250
  96500
  96750
  97000
  97250
  97500
  97750
  98000
  98250
  98500
  98750
  99000
  99250
  99500
  99750
  100000
  100250
  100500
  100750
  101000
  101250
  101500
  101750
  102000
  102250
  102500
  102750
  103000
  103250
  103500
  103750
  104000
  104250
  104500
  104750
  105000
  105250
  105500
  105750
  106000
  106250
  106500
  106750
  107000
  107250
  107500
  107750
  108000
  108250
  108500
  108750
  109000
  109250
  109500
  109750
  110000
  110250
  110500
  110750
  111000
  111250
  111500
  111750
  112000
  112250
  112500
  112750
  113000
  113250
  113500
  113750
  114000
  114250
  114500
  114750
  115000
  115250
  115500
  115750
  116000
  116250
  116500
  116750
  117000
  117250
  117500
  117750
  118000
  118250
  118500
  118750
  119000
  119250
  119500
  119750
  120000
  120250
  120500
  120750
  121000
  121250
  121500
  121750
  122000
  122250
  122500
  122750
  123000
  123250
  123500
  123750
  124000
  124250
  124500
  124750
  125000
  125250
  125500
  125750
  126000
  126250
  126500
  126750
  127000
  127250
  127500
  127750
  128000
  128250
  128500
  128750
  129000
  129250
  129500
  129750
  130000
  130250
  130500
  130750
  131000
  131250
  131500
  131750
  132000
  132250
  132500
  132750
  133000
  133250
  133500
  133750
  134000
  134250
  134500
  134750
  135000
  135250
  135500
  135750
  136000
  136250
  136500
  136750
  137000
  137250
  137500
  137750
  138000
  138250
  138500
  138750
  139000
  139250
  139500
  139750
  140000
  140250
  140500
  140750
  141000
  141250
  141500
  141750
  142000
  142250
  142500
  142750
  143000
  143250
  143500
  143750
  144000
  144250
  144500
  144750
  145000
  145250
  145500
  145750
  146000
  146250
  146500
  146750
  147000
  147250
  147500
  147750
  148000
  148250
  148500
  148750
  149000
  149250
  149500
  149750
  150000
  150250
  150500
  150750
  151000
  151250
  151500
  151750
  152000
  152250
  152500
  152750
  153000
  153250
  153500
  153750
  154000
  154250
  154500
  154750
  155000
  155250
  155500
  155750
  156000
  156250
  156500
  156750
  157000
  157250
  157500
  157750
  158000
  158250
  158500
  158750
  159000
  159250
  159500
  159750
  160000
  160250
  160500
  160750
  161000
  161250
  161500
  161750
  162000
  162250
  162500
  162750
  163000
  163250
  163500
  163750
  164000
  164250
  164500
  164750
  165000
  165250
  165500
  165750
  166000
  166250
  166500
  166750
  167000
  167250
  167500
  167750
  168000
  168250
  168500
  168750
  169000
  169250
  169500
  169750
  170000
  170250
  170500
  170750
  171000
  171250
  171500
  171750
  172000
  172250
  172500
  172750
  173000
  173250
  173500
  173750
  174000
  174250
  174500
  174750
  175000
  175250
  175500
  175750
  176000
  176250
  176500
  176750
  177000
  177250
  177500
  177750
  178000
  178250
  178500
  178750
  179000
  179250
  179500
  179750
  180000
  180250
  180500
  180750
  181000
  181250
  181500
  181750
  182000
  182250
  182500
  182750
  183000
  183250
  183500
  183750
  184000
  184250
  184500
  184750
  185000
  185250
  185500
  185750
  186000
  186250
  186500
  186750
  187000
  187250
  187500
  187750
  188000
  188250
  188500
  188750
  189000
  189250
  189500
  189750
  190000
  190250
  190500
  190750
  191000
  191250
  191500
  191750
  192000
  192250
  192500
  192750
  193000
  193250
  193500
  193750
  194000
  194250
  194500
  194750
  195000
  195250
  195500
  195750
  196000
  196250
  196500
  196750
  197000
  197250
  197500
  197750
  198000
  198250
  198500
  198750
  199000
  199250
  199500
  199750
  200000
  200250
  200500
  200750
  201000
  201250
  201500
  201750
  202000
  202250
  202500
  202750
  203000
  203250
  203500
  203750
  204000
  204250
  204500
  204750
  205000
  205250
  205500
  205750
  206000
  206250
  206500
  206750
  207000
  207250
  207500
  207750
  208000
  208250
  208500
  208750
  209000
  209250
  209500
  209750
  210000
  210250
  210500
  210750
  211000
  211250
  211500
  211750
  212000
  212250
  212500
  212750
  213000
  213250
  213500
  213750
  214000
  214250
  214500
  214750
  215000
  215250
  215500
  215750
  216000
  216250
  216500
  216750
  217000
  217250
  217500
  217750
  218000
  218250
  218500
  218750
  219000
  219250
  219500
  219750
  220000
  220250
  220500
  220750
  221000
  221250
  221500
  221750
  222000
  222250
  222500
  222750
  223000
  223250
  223500
  223750
  224000
  224250
  224500
  224750
  225000
  225250
  225500
  225750
  226000
  226250
  226500
  226750
  227000
  227250
  227500
  227750
  228000
  228250
  228500
  228750
  229000
  229250
  229500
  229750
  230000
  230250
  230500
  230750
  231000
  231250
  231500
  231750
  232000
  232250
  232500
  232750
  233000
  233250
  233500
  233750
  234000
  234250
  234500
  234750
  235000
  235250
  235500
  235750
  236000
  236250
  236500
  236750
  237000
  237250
  237500
  237750
  238000
  238250
  238500
  238750
  239000
  239250
  239500
  239750
  240000
  240250
  240500
  240750
  241000
  241250
  241500
  241750
  242000
  242250
  242500
  242750
  243000
  243250
  243500
  243750
  244000
  244250
  244500
  244750
  245000
  245250
  245500
  245750
  246000
  246250
  246500
  246750
  247000
  247250
  247500
  247750
  248000
  248250
  248500
  248750
  249000
  249250
  249500
  249750
  250000
  250250
  250500
  250750
  251000
  251250
  251500
  251750
  252000
  252250
  252500
  252750
  253000
  253250
  253500
  253750
  254000
  254250
  254500
  254750
  255000
  255250
  255500
  255750
  256000
  256250
  256500
  256750
  257000
  257250
  257500
  257750
  258000
  258250
  258500
  258750
  259000
  259250
  259500
  259750
  260000
  260250
  260500
  260750
  261000
  261250
  261500
  261750
  262000
  262250
  262500
  262750
  263000
  263250
  263500
  263750
  264000
  264250
  264500
  264750
  265000
  265250
  265500
  265750
  266000
  266250
  266500
  266750
  267000
  267250
  267500
  267750
  268000
  268250
  268500
  268750
  269000
  269250
  269500
  269750
  270000
  270250
  270500
  270750
  271000
  271250
  271500
  271750
  272000
  272250
  272500
  272750
  273000
  273250
  273500
  273750
  274000
  274250
  274500
  274750
  275000
  275250
  275500
  275750
  276000
  276250
  276500
  276750
  277000
  277250
  277500
  277750
  278000
  278250
  278500
  278750
  279000
  279250
  279500
  279750
  280000
  280250
  280500
  280750
  281000
  281250
  281500
  281750
  282000
  282250
  282500
  282750
  283000
  283250
  283500
  283750
  284000
  284250
  284500
  284750
  285000
  285250
  285500
  285750
  286000
  286250
  286500
  286750
  287000
  287250
  287500
  287750
  288000
  288250
  288500
  288750
  289000
  289250
  289500
  289750
  290000
  290250
  290500
  290750
  291000
  291250
  291500
  291750
  292000
  292250
  292500
  292750
  293000
  293250
  293500
  293750
  294000
  294250
  294500
  294750
  295000
  295250
  295500
  295750
  296000
  296250
  296500
  296750
  297000
  297250
  297500
  297750
  298000
  298250
  298500
  298750
  299000
  299250
  299500
  299750
  300000
  300250
  300500
  300750
  301000
  301250
  301500
  301750
  302000
  302250
  302500
  302750
  303000
  303250
  303500
  303750
  304000
  304250
  304500
  304750
  305000
  305250
  305500
  305750
  306000
  306250
  306500
  306750
  307000
  307250
  307500
  307750
  308000
  308250
  308500
  308750
  309000
  309250
  309500
  309750
  310000
  310250
  310500
  310750
  311000
  311250
  311500
  311750
  312000
  312250
  312500
  312750
  313000
  313250
  313500
  313750
  314000
  314250
  314500
  314750
  315000
  315250
  315500
  315750
  316000
  316250
  316500
  316750
  317000
  317250
  317500
  317750
  318000
  318250
  318500
  318750
  319000
  319250
  319500
  319750
  320000
  320250
  320500
  320750
  321000
  321250
  321500
  321750
  322000
  322250
  322500
  322750
  323000
  323250
  323500
  323750
  324000
  324250
  324500
  324750
  325000
  325250
  325500
  325750
  326000
  326250
  326500
  326750
  327000
  327250
  327500
  327750
  328000
  328250
  328500
  328750
  329000
  329250
  329500
  329750
  330000
  330250
  330500
  330750
  331000
  331250
  331500
  331750
  332000
  332250
  332500
  332750
  333000
  333250
  333500
  333750
  334000
  334250
  334500
  334750
  335000
  335250
  335500
  335750
  336000
  336250
  336500
  336750
  337000
  337250
  337500
  337750
  338000
  338250
  338500
  338750
  339000
  339250
  339500
  339750
  340000
  340250
  340500
  340750
  341000
  341250
  341500
  341750
  342000
  342250
  342500
  342750
  343000
  343250
  343500
  343750
  344000
  344250
  344500
  344750
  345000
  345250
  345500
  345750
  346000
  346250
  346500
  346750
  347000
  347250
  347500
  347750
  348000
  348250
  348500
  348750
  349000
  349250
  349500
  349750
  350000
  350250
  350500
  350750
  351000
  351250
  351500
  351750
  352000
  352250
  352500
  352750
  353000
  353250
  353500
  353750
  354000
  354250
  354500
  354750
  355000
  355250
  355500
  355750
  356000
  356250
  356500
  356750
  357000
  357250
  357500
  357750
  358000
  358250
  358500
  358750
  359000
  359250
  359500
  359750
  360000
  360250
  360500
  360750
  361000
  361250
  361500
  361750
  362000
  362250
  362500
  362750
  363000
  363250
  363500
  363750
  364000
  364250
  364500
  364750
  365000
  365250
  365500
  365750
  366000
  366250
  366500
  366750
  367000
  367250
  367500
  367750
  368000
  368250
  368500
  368750
  369000
  369250
  369500
  369750
  370000
  370250
  370500
  370750
  371000
  371250
  371500
  371750
  372000
  372250
  372500
  372750
  373000
  373250
  373500
  373750
  374000
  374250
  374500
  374750
  375000
  375250
  375500
  375750
  376000
  376250
  376500
  376750
  377000
  377250
  377500
  377750
  378000
  378250
  378500
  378750
  379000
  379250
  379500
  379750
  380000
  380250
  380500
  380750
  381000
  381250
  381500
  381750
  382000
  382250
  382500
  382750
  383000
  383250
  383500
  383750
  384000
  384250
  384500
  384750
  385000
  385250
  385500
  385750
  386000
  386250
  386500
  386750
  387000
  387250
  387500
  387750
  388000
  388250
  388500
  388750
  389000
  389250
  389500
  389750
  390000
  390250
  390500
  390750
  391000
  391250
  391500
  391750
  392000
  392250
  392500
  392750
  393000
  393250
  393500
  393750
  394000
  394250
  394500
  394750
  395000
  395250
  395500
  395750
  396000
  396250
  396500
  396750
  397000
  397250
  397500
  397750
  398000
  398250
  398500
  398750
  399000
  399250
  399500
  399750
  400000
  400250
  400500
  400750
  401000
  401250
  401500
  401750
  402000
  402250
  402500
  402750
  403000
  403250
  403500
  403750
  404000
  404250
  404500
  404750
  405000
  405250
  405500
  405750
  406000
  406250
  406500
  406750
  407000
  407250
  407500
  407750
  408000
  408250
  408500
  408750
  409000
  409250
  409500
  409750
  410000
  410250
  410500
  410750
  411000
  411250
  411500
  411750
  412000
  412250
  412500
  412750
  413000
  413250
  413500
  413750
  414000
  414250
  414500
  414750
  415000
  415250
  415500
  415750
  416000
  416250
  416500
  416750
  417000
  417250
  417500
  417750
  418000
  418250
  418500
  418750
  419000
  419250
  419500
  419750
  420000
  420250
  420500
  420750
  421000
  421250
  421500
  421750
  422000
  422250
  422500
  422750
  423000
  423250
  423500
  423750
  424000
  424250
  424500
  424750
  425000
  425250
  425500
  425750
  426000
  426250
  426500
  426750
  427000
  427250
  427500
  427750
  428000
  428250
  428500
  428750
  429000
  429250
  429500
  429750
  430000
  430250
  430500
  430750
  431000
  431250
  431500
  431750
  432000
  432250
  432500
  432750
  433000
  433250
  433500
  433750
  434000
  434250
  434500
  434750
  435000
  435250
  435500
  435750
  436000
  436250
  436500
  436750
  437000
  437250
  437500
  437750
  438000
  438250
  438500
  438750
  439000
  439250
  439500
  439750
  440000
  440250
  440500
  440750
  441000
  441250
  441500
  441750
  442000
  442250
  442500
  442750
  443000
  443250
  443500
  443750
  444000
  444250
  444500
  444750
  445000
  445250
  445500
  445750
  446000
  446250
  446500
  446750
  447000
  447250
  447500
  447750
  448000
  448250
  448500
  448750
  449000
  449250
  449500
  449750
  450000
  450250
  450500
  450750
  451000
  451250
  451500
  451750
  452000
  452250
  452500
  452750
  453000
  453250
  453500
  453750
  454000
  454250
  454500
  454750
  455000
  455250
  455500
  455750
  456000
  456250
  456500
  456750
  457000
  457250
  457500
  457750
  458000
  458250
  458500
  458750
  459000
  459250
  459500
  459750
  460000
  460250
  460500
  460750
  461000
  461250
  461500
  461750
  462000
  462250
  462500
  462750
  463000
  463250
  463500
  463750
  464000
  464250
  464500
  464750
  465000
  465250
  465500
  465750
  466000
  466250
  466500
  466750
  467000
  467250
  467500
  467750
  468000
  468250
  468500
  468750
  469000
  469250
  469500
  469750
  470000
  470250
  470500
  470750
  471000
  471250
  471500
  471750
  472000
  472250
  472500
  472750
  473000
  473250
  473500
  473750
  474000
  474250
  474500
  474750
  475000
  475250
  475500
  475750
  476000
  476250
  476500
  476750
  477000
  477250
  477500
  477750
  478000
  478250
  478500
  478750
  479000
  479250
  479500
  479750
  480000
  480250
  480500
  480750
  481000
  481250
  481500
  481750
  482000
  482250
  482500
  482750
  483000
  483250
  483500
  483750
  484000
  484250
  484500
  484750
  485000
  485250
  485500
  485750
  486000
  486250
  486500
  486750
  487000
  487250
  487500
  487750
  488000
  488250
  488500
  488750
  489000
  489250
  489500
  489750
  490000
  490250
  490500
  490750
  491000
  491250
  491500
  491750
  492000
  492250
  492500
  492750
  493000
  493250
  493500
  493750
  494000
  494250
  494500
  494750
  495000
  495250
  495500
  495750
  496000
  496250
  496500
  496750
  497000
  497250
  497500
  497750
  498000
  498250
  498500
  498750
  499000
  499250
  499500
  499750
  500000
  500250
  500500
  500750
  501000
  501250
  501500
  501750
  502000
  502250
  502500
  502750
  503000
  503250
  503500
  503750
  504000
  504250
  504500
  504750
  505000
  505250
  505500
  505750
  506000
  506250
  506500
  506750
  507000
  507250
  507500
  507750
  508000
  508250
  508500
  508750
  509000
  509250
  509500
  509750
  510000
  510250
  510500
  510750
  511000
  511250
  511500
  511750
  512000
  512250
  512500
  512750
  513000
  513250
  513500
  513750
  514000
  514250
  514500
  514750
  515000
  515250
  515500
  515750
  516000
  516250
  516500
  516750
  517000
  517250
  517500
  517750
  518000
  518250
  518500
  518750
  519000
  519250
  519500
  519750
  520000
  520250
  520500
  520750
  521000
  521250
  521500
  521750
  522000
  522250
  522500
  522750
  523000
  523250
  523500
  523750
  524000
  524250
  524500
  524750
  525000
  525250
  525500
  525750
  526000
  526250
  526500
  526750
  527000
  527250
  527500
  527750
  528000
  528250
  528500
  528750
  529000
  529250
  529500
  529750
  530000
  530250
  530500
  530750
  531000
  531250
  531500
  531750
  532000
  532250
  532500
  532750
  533000
  533250
  533500
  533750
  534000
  534250
  534500
  534750
  535000
  535250
  535500
  535750
  536000
  536250
  536500
  536750
  537000
  537250
  537500
  537750
  538000
  538250
  538500
  538750
  539000
  539250
  539500
  539750
  540000
  540250
  540500
  540750
  541000
  541250
  541500
  541750
  542000
  542250
  542500
  542750
  543000
  543250
  543500
  543750
  544000
  544250
  544500
  544750
  545000
  545250
  545500
  545750
  546000
  546250
  546500
  546750
  547000
  547250
  547500
  547750
  548000
  548250
  548500
  548750
  549000
  549250
  549500
  549750
  550000
  550250
  550500
  550750
  551000
  551250
  551500
  551750
  552000
  552250
  552500
  552750
  553000
  553250
  553500
  553750
  554000
  554250
  554500
  554750
  555000
  555250
  555500
  555750
  556000
  556250
  556500
  556750
  557000
  557250
  557500
  557750
  558000
  558250
  558500
  558750
  559000
  559250
  559500
  559750
  560000
  560250
  560500
  560750
  561000
  561250
  561500
  561750
  562000
  562250
  562500
  562750
  563000
  563250
  563500
  563750
  564000
  564250
  564500
  564750
  565000
  565250
  565500
  565750
  566000
  566250
  566500
  566750
  567000
  567250
  567500
  567750
  568000
  568250
  568500
  568750
  569000
  569250
  569500
  569750
  570000
  570250
  570500
  570750
  571000
  571250
  571500
  571750
  572000
  572250
  572500
  572750
  573000
  573250
  573500
  573750
  574000
  574250
  574500
  574750
  575000
  575250
  575500
  575750
  576000
  576250
  576500
  576750
  577000
  577250
  577500
  577750
  578000
  578250
  578500
  578750
  579000
  579250
  579500
  579750
  580000
  580250
  580500
  580750
  581000
  581250
  581500
  581750
  582000
  582250
  582500
  582750
  583000
  583250
  583500
  583750
  584000
  584250
  584500
  584750
  585000
  585250
  585500
  585750
  586000
  586250
  586500
  586750
  587000
  587250
  587500
  587750
  588000
  588250
  588500
  588750
  589000
  589250
  589500
  589750
  590000
  590250
  590500
  590750
  591000
  591250
  591500
  591750
  592000
  592250
  592500
  592750
  593000
  593250
  593500
  593750
  594000
  594250
  594500
  594750
  595000
  595250
  595500
  595750
  596000
  596250
  596500
  596750
  597000
  597250
  597500
  597750
  598000
  598250
  598500
  598750
  599000
  599250
  599500
  599750
  600000
  600250
  600500
  600750
  601000
  601250
  601500
  601750
  602000
  602250
  602500
  602750
  603000
  603250
  603500
  603750
  604000
  604250
  604500
  604750
  605000
  605250
  605500
  605750
  606000
  606250
  606500
  606750
  607000
  607250
  607500
  607750
  608000
  608250
  608500
  608750
  609000
  609250
  609500
  609750
  610000
  610250
  610500
  610750
  611000
  611250
  611500
  611750
  612000
  612250
  612500
  612750
  613000
  613250
  613500
  613750
  614000
  614250
  614500
  614750
  615000
  615250
  615500
  615750
  616000
  616250
  616500
  616750
  617000
  617250
  617500
  617750
  618000
  618250
  618500
  618750
  619000
  619250
  619500
  619750
  620000
  620250
  620500
  620750
  621000
  621250
  621500
  621750
  622000
  622250
  622500
  622750
  623000
  623250
  623500
  623750
  624000
  624250
  624500
  624750
  625000
  625250
  625500
  625750
  626000
  626250
  626500
  626750
  627000
  627250
  627500
  627750
  628000
  628250
  628500
  628750
  629000
  629250
  629500
  629750
  630000
  630250
  630500
  630750
  631000
  631250
  631500
  631750
  632000
  632250
  632500
  632750
  633000
  633250
  633500
  633750
  634000
  634250
  634500
  634750
  635000
  635250
  635500
  635750
  636000
  636250
  636500
  636750
  637000
  637250
  637500
  637750
  638000
  638250
  638500
  638750
  639000
  639250
  639500
  639750
  640000
  640250
  640500
  640750
  641000
  641250
  641500
  641750
  642000
  642250
  642500
  642750
  643000
  643250
  643500
  643750
  644000
  644250
  644500
  644750
  645000
  645250
  645500
  645750
  646000
  646250
  646500
  646750
  647000
  647250
  647500
  647750
  648000
  648250
  648500
  648750
  649000
  649250
  649500
  649750
  650000
  650250
  650500
  650750
  651000
  651250
  651500
  651750
  652000
  652250
  652500
  652750
  653000
  653250
  653500
  653750
  654000
  654250
  654500
  654750
  655000
  655250
  655500
  655750
  656000
  656250
  656500
  656750
  657000
  657250
  657500
  657750
  658000
  658098 rows written
  2026-05-21 00:49:54.182983012
  2026-05-21 00:56:26.823447705


started_at: 2026-05-21 04:50:20
finished_at: 2026-05-21 04:50:24
status: success
watermark_values_json: {"stamp": "2026-05-20"}
resolved_source_sql:
  SELECT
    NWBTID AS nwbtid,
    NWLABL AS nwlabl,
    NWBPRT AS nwbprt,
    NWPOST AS nwpost,
    NWFSYY AS nwfsyy,
    NWFSPP AS nwfspp,
    NWRDAT AS nwrdat,
    NWTMZN AS nwtmzn,
    NWSHFT AS nwshft,
    NWSHGP AS nwshgp,
    NWNXT# AS nwnxt#,
    NWCRBY AS nwcrby,
    NWCDAT AS nwcdat,
    NWCTIM AS nwctim,
    NWUPBY AS nwupby,
    NWUDAT AS nwudat,
    NWUTIM AS nwutim,
    NWIUSE AS nwiuse,
    NWSRCE AS nwsrce,
    NWSTKL AS nwstkl,
    NWSCPR AS nwscpr,
    NWIUCN AS nwiucn,
    NWAPFC AS nwapfc,
    NWAPCP AS nwapcp,
    NWFUT1 AS nwfut1,
    NWFUT2 AS nwfut2,
    NWFUT3 AS nwfut3,
    NWFUT4 AS nwfut4,
    NWFUT5 AS nwfut5,
    NWFUT6 AS nwfut6,
    NWFUT7 AS nwfut7,
    NWFUT8 AS nwfut8,
    NWFUT9 AS nwfut9,
    NWFLG1 AS nwflg1,
    NWFLG2 AS nwflg2,
    NWFLG3 AS nwflg3,
    NWPLNT AS nwplnt,
    NWEDILN AS nwediln,
    NWEDILE AS nwedile,
    NWSHFS AS nwshfs,
    NWFLBH AS nwflbh,
    NWOBTID AS nwobtid,
    NWFUT10 AS nwfut10,
    NWFUT11 AS nwfut11,
    NWFUT12 AS nwfut12,
    NWFUT13 AS nwfut13,
    NWFUT14 AS nwfut14,
    NWFUT15 AS nwfut15,
    NWFUT16 AS nwfut16,
    NWFUT17 AS nwfut17,
    NWPUSR AS nwpusr,
    NWPDAT AS nwpdat,
    NWPTIM AS nwptim
  FROM LGDAT.RPRH
  WHERE NWPDAT >= DATE('2026-05-20')

merge_sql:
[cell repeats an earlier one in this file: 136 characters]

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    NWBTID AS nwbtid,
    NWLABL AS nwlabl,
    NWBPRT AS nwbprt,
    NWPOST AS nwpost,
    NWFSYY AS nwfsyy,
    NWFSPP AS nwfspp,
    NWRDAT AS nwrdat,
    NWTMZN AS nwtmzn,
    NWSHFT AS nwshft,
    NWSHGP AS nwshgp,
    NWNXT# AS nwnxt#,
    NWCRBY AS nwcrby,
    NWCDAT AS nwcdat,
    NWCTIM AS nwctim,
    NWUPBY AS nwupby,
    NWUDAT AS nwudat,
    NWUTIM AS nwutim,
    NWIUSE AS nwiuse,
    NWSRCE AS nwsrce,
    NWSTKL AS nwstkl,
    NWSCPR AS nwscpr,
    NWIUCN AS nwiucn,
    NWAPFC AS nwapfc,
    NWAPCP AS nwapcp,
    NWFUT1 AS nwfut1,
    NWFUT2 AS nwfut2,
    NWFUT3 AS nwfut3,
    NWFUT4 AS nwfut4,
    NWFUT5 AS nwfut5,
    NWFUT6 AS nwfut6,
    NWFUT7 AS nwfut7,
    NWFUT8 AS nwfut8,
    NWFUT9 AS nwfut9,
    NWFLG1 AS nwflg1,
    NWFLG2 AS nwflg2,
    NWFLG3 AS nwflg3,
    NWPLNT AS nwplnt,
    NWEDILN AS nwediln,
    NWEDILE AS nwedile,
    NWSHFS AS nwshfs,
    NWFLBH AS nwflbh,
    NWOBTID AS nwobtid,
    NWFUT10 AS nwfut10,
    NWFUT11 AS nwfut11,
    NWFUT12 AS nwfut12,
    NWFUT13 AS nwfut13,
    NWFUT14 AS nwfut14,
    NWFUT15 AS nwfut15,
    NWFUT16 AS nwfut16,
    NWFUT17 AS nwfut17,
    NWPUSR AS nwpusr,
    NWPDAT AS nwpdat,
    NWPTIM AS nwptim
  FROM LGDAT.RPRH
  WHERE NWPDAT >= DATE('2026-05-20')
  ------------destination table-----------------------------
  pipekit_staging.rprh
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:50:23.791873039
  ------------source metadata-------------------------------
  number of cols: 53
    * NWBTID: NUMERIC
    * NWLABL: CHAR
    * NWBPRT: CHAR
    * NWPOST: CHAR
    * NWFSYY: NUMERIC
    * NWFSPP: NUMERIC
    * NWRDAT: DATE
    * NWTMZN: CHAR
    * NWSHFT: NUMERIC
    * NWSHGP: CHAR
    * NWNXT#: NUMERIC
    * NWCRBY: CHAR
    * NWCDAT: DATE
    * NWCTIM: TIME
    * NWUPBY: CHAR
    * NWUDAT: DATE
    * NWUTIM: TIME
    * NWIUSE: CHAR
    * NWSRCE: CHAR
    * NWSTKL: CHAR
    * NWSCPR: CHAR
    * NWIUCN: NUMERIC
    * NWAPFC: CHAR
    * NWAPCP: CHAR
    * NWFUT1: CHAR
    * NWFUT2: CHAR
    * NWFUT3: CHAR
    * NWFUT4: CHAR
    * NWFUT5: CHAR
    * NWFUT6: CHAR
    * NWFUT7: NUMERIC
    * NWFUT8: NUMERIC
    * NWFUT9: NUMERIC
    * NWFLG1: CHAR
    * NWFLG2: CHAR
    * NWFLG3: CHAR
    * NWPLNT: CHAR
    * NWEDILN: NUMERIC
    * NWEDILE: NUMERIC
    * NWSHFS: NUMERIC
    * NWFLBH: CHAR
    * NWOBTID: NUMERIC
    * NWFUT10: CHAR
    * NWFUT11: CHAR
    * NWFUT12: CHAR
    * NWFUT13: CHAR
    * NWFUT14: CHAR
    * NWFUT15: CHAR
    * NWFUT16: NUMERIC
    * NWFUT17: NUMERIC
    * NWPUSR: CHAR
    * NWPDAT: DATE
    * NWPTIM: NUMERIC
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.rprh
  ------------row count-------------------------------------

  30 rows written
  2026-05-21 00:50:23.791873039
  2026-05-21 00:50:24.07388771

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    NWBTID AS nwbtid,
    NWLABL AS nwlabl,
    NWBPRT AS nwbprt,
    NWPOST AS nwpost,
    NWFSYY AS nwfsyy,
    NWFSPP AS nwfspp,
    NWRDAT AS nwrdat,
    NWTMZN AS nwtmzn,
    NWSHFT AS nwshft,
    NWSHGP AS nwshgp,
    NWNXT# AS nwnxt#,
    NWCRBY AS nwcrby,
    NWCDAT AS nwcdat,
    NWCTIM AS nwctim,
    NWUPBY AS nwupby,
    NWUDAT AS nwudat,
    NWUTIM AS nwutim,
    NWIUSE AS nwiuse,
    NWSRCE AS nwsrce,
    NWSTKL AS nwstkl,
    NWSCPR AS nwscpr,
    NWIUCN AS nwiucn,
    NWAPFC AS nwapfc,
    NWAPCP AS nwapcp,
    NWFUT1 AS nwfut1,
    NWFUT2 AS nwfut2,
    NWFUT3 AS nwfut3,
    NWFUT4 AS nwfut4,
    NWFUT5 AS nwfut5,
    NWFUT6 AS nwfut6,
    NWFUT7 AS nwfut7,
    NWFUT8 AS nwfut8,
    NWFUT9 AS nwfut9,
    NWFLG1 AS nwflg1,
    NWFLG2 AS nwflg2,
    NWFLG3 AS nwflg3,
    NWPLNT AS nwplnt,
    NWEDILN AS nwediln,
    NWEDILE AS nwedile,
    NWSHFS AS nwshfs,
    NWFLBH AS nwflbh,
    NWOBTID AS nwobtid,
    NWFUT10 AS nwfut10,
    NWFUT11 AS nwfut11,
    NWFUT12 AS nwfut12,
    NWFUT13 AS nwfut13,
    NWFUT14 AS nwfut14,
    NWFUT15 AS nwfut15,
    NWFUT16 AS nwfut16,
    NWFUT17 AS nwfut17,
    NWPUSR AS nwpusr,
    NWPDAT AS nwpdat,
    NWPTIM AS nwptim
  FROM LGDAT.RPRH
  WHERE NWPDAT >= DATE('2026-05-20')
  ------------destination table-----------------------------
  pipekit_staging.rprh
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:50:23.791873039
  ------------source metadata-------------------------------
  number of cols: 53
    * NWBTID: NUMERIC
    * NWLABL: CHAR
    * NWBPRT: CHAR
    * NWPOST: CHAR
    * NWFSYY: NUMERIC
    * NWFSPP: NUMERIC
    * NWRDAT: DATE
    * NWTMZN: CHAR
    * NWSHFT: NUMERIC
    * NWSHGP: CHAR
    * NWNXT#: NUMERIC
    * NWCRBY: CHAR
    * NWCDAT: DATE
    * NWCTIM: TIME
    * NWUPBY: CHAR
    * NWUDAT: DATE
    * NWUTIM: TIME
    * NWIUSE: CHAR
    * NWSRCE: CHAR
    * NWSTKL: CHAR
    * NWSCPR: CHAR
    * NWIUCN: NUMERIC
    * NWAPFC: CHAR
    * NWAPCP: CHAR
    * NWFUT1: CHAR
    * NWFUT2: CHAR
    * NWFUT3: CHAR
    * NWFUT4: CHAR
    * NWFUT5: CHAR
    * NWFUT6: CHAR
    * NWFUT7: NUMERIC
    * NWFUT8: NUMERIC
    * NWFUT9: NUMERIC
    * NWFLG1: CHAR
    * NWFLG2: CHAR
    * NWFLG3: CHAR
    * NWPLNT: CHAR
    * NWEDILN: NUMERIC
    * NWEDILE: NUMERIC
    * NWSHFS: NUMERIC
    * NWFLBH: CHAR
    * NWOBTID: NUMERIC
    * NWFUT10: CHAR
    * NWFUT11: CHAR
    * NWFUT12: CHAR
    * NWFUT13: CHAR
    * NWFUT14: CHAR
    * NWFUT15: CHAR
    * NWFUT16: NUMERIC
    * NWFUT17: NUMERIC
    * NWPUSR: CHAR
    * NWPDAT: DATE
    * NWPTIM: NUMERIC
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.rprh
  ------------row count-------------------------------------
  30 rows written
  2026-05-21 00:50:23.791873039
  2026-05-21 00:50:24.07388771


started_at: 2026-05-21 04:53:43
finished_at: 2026-05-21 04:54:12
status: success
merge_sql:
  TRUNCATE TABLE cms.mast;
  INSERT INTO cms.mast SELECT * FROM pipekit_staging.mast;

watermark_values_json: {}
resolved_source_sql:
  SELECT
    AZCOMP AS azcomp,
    "AZGL#1" AS "azgl#1",
    "AZGL#2" AS "azgl#2",
    AZBTYP AS azbtyp,
    RTRIM(AZTITL) AS aztitl,
    RTRIM(AZATYP) AS azatyp,
    RTRIM(AZGROP) AS azgrop,
    RTRIM(AZSTAT) AS azstat,
    RTRIM(AZUVER) AS azuver,
    AZGIFI AS azgifi,
    RTRIM(AZPJMN) AS azpjmn,
    RTRIM(AZCODE) AS azcode,
    RTRIM(AZFTCD) AS azftcd,
    RTRIM(AZFLG1) AS azflg1,
    RTRIM(AZFLG2) AS azflg2,
    RTRIM(AZFLG3) AS azflg3,
    RTRIM(AZFLG4) AS azflg4,
    RTRIM(AZFLG5) AS azflg5,
    RTRIM(AZFUT1) AS azfut1,
    RTRIM(AZFUT2) AS azfut2,
    RTRIM(AZFUT3) AS azfut3,
    RTRIM(AZFUT4) AS azfut4,
    RTRIM(AZFUT5) AS azfut5,
    RTRIM(AZFUT6) AS azfut6,
    RTRIM(AZFUT7) AS azfut7,
    AZFUT8 AS azfut8,
    AZFUT9 AS azfut9,
    AZFUT10 AS azfut10,
    AZFUT11 AS azfut11,
    AZFUT12 AS azfut12,
    RTRIM(AZCLSC) AS azclsc,
    AZBSLN AS azbsln,
    AZISLN AS azisln,
    RTRIM(AZTTL2) AS azttl2,
    RTRIM(AZICMA) AS azicma,
    RTRIM(AZCURC) AS azcurc,
    RTRIM(AZCATC) AS azcatc
  FROM LGDAT.MAST

jrunner_stdout:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    AZCOMP AS azcomp,
    "AZGL#1" AS "azgl#1",
    "AZGL#2" AS "azgl#2",
    AZBTYP AS azbtyp,
    RTRIM(AZTITL) AS aztitl,
    RTRIM(AZATYP) AS azatyp,
    RTRIM(AZGROP) AS azgrop,
    RTRIM(AZSTAT) AS azstat,
    RTRIM(AZUVER) AS azuver,
    AZGIFI AS azgifi,
    RTRIM(AZPJMN) AS azpjmn,
    RTRIM(AZCODE) AS azcode,
    RTRIM(AZFTCD) AS azftcd,
    RTRIM(AZFLG1) AS azflg1,
    RTRIM(AZFLG2) AS azflg2,
    RTRIM(AZFLG3) AS azflg3,
    RTRIM(AZFLG4) AS azflg4,
    RTRIM(AZFLG5) AS azflg5,
    RTRIM(AZFUT1) AS azfut1,
    RTRIM(AZFUT2) AS azfut2,
    RTRIM(AZFUT3) AS azfut3,
    RTRIM(AZFUT4) AS azfut4,
    RTRIM(AZFUT5) AS azfut5,
    RTRIM(AZFUT6) AS azfut6,
    RTRIM(AZFUT7) AS azfut7,
    AZFUT8 AS azfut8,
    AZFUT9 AS azfut9,
    AZFUT10 AS azfut10,
    AZFUT11 AS azfut11,
    AZFUT12 AS azfut12,
    RTRIM(AZCLSC) AS azclsc,
    AZBSLN AS azbsln,
    AZISLN AS azisln,
    RTRIM(AZTTL2) AS azttl2,
    RTRIM(AZICMA) AS azicma,
    RTRIM(AZCURC) AS azcurc,
    RTRIM(AZCATC) AS azcatc
  FROM LGDAT.MAST
  ------------destination table-----------------------------
  pipekit_staging.mast
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:53:46.042895482
  ------------source metadata-------------------------------
  number of cols: 37
    * AZCOMP: NUMERIC
    * azgl#1: NUMERIC
    * azgl#2: NUMERIC
    * AZBTYP: NUMERIC
    * AZTITL: VARCHAR
    * AZATYP: VARCHAR
    * AZGROP: VARCHAR
    * AZSTAT: VARCHAR
    * AZUVER: VARCHAR
    * AZGIFI: NUMERIC
    * AZPJMN: VARCHAR
    * AZCODE: VARCHAR
    * AZFTCD: VARCHAR
    * AZFLG1: VARCHAR
    * AZFLG2: VARCHAR
    * AZFLG3: VARCHAR
    * AZFLG4: VARCHAR
    * AZFLG5: VARCHAR
    * AZFUT1: VARCHAR
    * AZFUT2: VARCHAR
    * AZFUT3: VARCHAR
    * AZFUT4: VARCHAR
    * AZFUT5: VARCHAR
    * AZFUT6: VARCHAR
    * AZFUT7: VARCHAR
    * AZFUT8: NUMERIC
    * AZFUT9: NUMERIC
    * AZFUT10: NUMERIC
    * AZFUT11: NUMERIC
    * AZFUT12: NUMERIC
    * AZCLSC: VARCHAR
    * AZBSLN: NUMERIC
    * AZISLN: NUMERIC
    * AZTTL2: VARCHAR
    * AZICMA: VARCHAR
    * AZCURC: VARCHAR
    * AZCATC: VARCHAR
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.mast
  ------------row count-------------------------------------

  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47183 rows written
  2026-05-21 00:53:46.042895482
  2026-05-21 00:54:12.134255901

jrunner_stderr:
[cell repeats an earlier one in this file: 102 characters]

live_log:
  ------------db info---------------------------------------
  source db uri:        jdbc:as400://S7830956;libraries=RLARP,LGDAT,LGPGM
  source db username:   ptrowbridg
  destination db uri:   jdbc:postgresql://10.0.10.40:5432/ubm
  destination username: ptrowbridge
  ------------source sql------------------------------------
  SELECT
    AZCOMP AS azcomp,
    "AZGL#1" AS "azgl#1",
    "AZGL#2" AS "azgl#2",
    AZBTYP AS azbtyp,
    RTRIM(AZTITL) AS aztitl,
    RTRIM(AZATYP) AS azatyp,
    RTRIM(AZGROP) AS azgrop,
    RTRIM(AZSTAT) AS azstat,
    RTRIM(AZUVER) AS azuver,
    AZGIFI AS azgifi,
    RTRIM(AZPJMN) AS azpjmn,
    RTRIM(AZCODE) AS azcode,
    RTRIM(AZFTCD) AS azftcd,
    RTRIM(AZFLG1) AS azflg1,
    RTRIM(AZFLG2) AS azflg2,
    RTRIM(AZFLG3) AS azflg3,
    RTRIM(AZFLG4) AS azflg4,
    RTRIM(AZFLG5) AS azflg5,
    RTRIM(AZFUT1) AS azfut1,
    RTRIM(AZFUT2) AS azfut2,
    RTRIM(AZFUT3) AS azfut3,
    RTRIM(AZFUT4) AS azfut4,
    RTRIM(AZFUT5) AS azfut5,
    RTRIM(AZFUT6) AS azfut6,
    RTRIM(AZFUT7) AS azfut7,
    AZFUT8 AS azfut8,
    AZFUT9 AS azfut9,
    AZFUT10 AS azfut10,
    AZFUT11 AS azfut11,
    AZFUT12 AS azfut12,
    RTRIM(AZCLSC) AS azclsc,
    AZBSLN AS azbsln,
    AZISLN AS azisln,
    RTRIM(AZTTL2) AS azttl2,
    RTRIM(AZICMA) AS azicma,
    RTRIM(AZCURC) AS azcurc,
    RTRIM(AZCATC) AS azcatc
  FROM LGDAT.MAST
  ------------destination table-----------------------------
  pipekit_staging.mast
  ------------open database connections---------------------
   ✅ source database
   ✅ destination database
  2026-05-21 00:53:46.042895482
  ------------source metadata-------------------------------
  number of cols: 37
    * AZCOMP: NUMERIC
    * azgl#1: NUMERIC
    * azgl#2: NUMERIC
    * AZBTYP: NUMERIC
    * AZTITL: VARCHAR
    * AZATYP: VARCHAR
    * AZGROP: VARCHAR
    * AZSTAT: VARCHAR
    * AZUVER: VARCHAR
    * AZGIFI: NUMERIC
    * AZPJMN: VARCHAR
    * AZCODE: VARCHAR
    * AZFTCD: VARCHAR
    * AZFLG1: VARCHAR
    * AZFLG2: VARCHAR
    * AZFLG3: VARCHAR
    * AZFLG4: VARCHAR
    * AZFLG5: VARCHAR
    * AZFUT1: VARCHAR
    * AZFUT2: VARCHAR
    * AZFUT3: VARCHAR
    * AZFUT4: VARCHAR
    * AZFUT5: VARCHAR
    * AZFUT6: VARCHAR
    * AZFUT7: VARCHAR
    * AZFUT8: NUMERIC
    * AZFUT9: NUMERIC
    * AZFUT10: NUMERIC
    * AZFUT11: NUMERIC
    * AZFUT12: NUMERIC
    * AZCLSC: VARCHAR
    * AZBSLN: NUMERIC
    * AZISLN: NUMERIC
    * AZTTL2: VARCHAR
    * AZICMA: VARCHAR
    * AZCURC: VARCHAR
    * AZCATC: VARCHAR
  ------------clear target table----------------------------
   DELETE FROM pipekit_staging.mast
  ------------row count-------------------------------------
  250
  500
  750
  1000
  1250
  1500
  1750
  2000
  2250
  2500
  2750
  3000
  3250
  3500
  3750
  4000
  4250
  4500
  4750
  5000
  5250
  5500
  5750
  6000
  6250
  6500
  6750
  7000
  7250
  7500
  7750
  8000
  8250
  8500
  8750
  9000
  9250
  9500
  9750
  10000
  10250
  10500
  10750
  11000
  11250
  11500
  11750
  12000
  12250
  12500
  12750
  13000
  13250
  13500
  13750
  14000
  14250
  14500
  14750
  15000
  15250
  15500
  15750
  16000
  16250
  16500
  16750
  17000
  17250
  17500
  17750
  18000
  18250
  18500
  18750
  19000
  19250
  19500
  19750
  20000
  20250
  20500
  20750
  21000
  21250
  21500
  21750
  22000
  22250
  22500
  22750
  23000
  23250
  23500
  23750
  24000
  24250
  24500
  24750
  25000
  25250
  25500
  25750
  26000
  26250
  26500
  26750
  27000
  27250
  27500
  27750
  28000
  28250
  28500
  28750
  29000
  29250
  29500
  29750
  30000
  30250
  30500
  30750
  31000
  31250
  31500
  31750
  32000
  32250
  32500
  32750
  33000
  33250
  33500
  33750
  34000
  34250
  34500
  34750
  35000
  35250
  35500
  35750
  36000
  36250
  36500
  36750
  37000
  37250
  37500
  37750
  38000
  38250
  38500
  38750
  39000
  39250
  39500
  39750
  40000
  40250
  40500
  40750
  41000
  41250
  41500
  41750
  42000
  42250
  42500
  42750
  43000
  43250
  43500
  43750
  44000
  44250
  44500
  44750
  45000
  45250
  45500
  45750
  46000
  46250
  46500
  46750
  47000
  47183 rows written
  2026-05-21 00:53:46.042895482
  2026-05-21 00:54:12.134255901


