Dynamic data import / export

datenbank

simply more productive
Up to 10,000 records can be processed with the freeware version!
Welcome, Guest
Username: Password: Remember me
Welcome to the FlowHeater support forum.

Questions about using FlowHeater are answered here.

TOPIC: cmd for initiating fhd-definition via FHBatch modu

cmd for initiating fhd-definition via FHBatch modu 1 year 7 months ago #2366

  • Andrew Wojciak
  • Andrew Wojciak's Avatar
  • Offline
  • Junior Member
  • Posts: 21
I have created a .fhd definition/adapter
Next, I want to use cmd script to run adapter but for some reason is not working.

My .fhd definition is for Text-to-Text and when I run it manually using a 'DoWork'screen, there is always check-mark on "Test run, read-only no changes to output" Does it mean this .fhd definition will always run in a Test mode and cannot be autorun?
Any suggestions why?

Attached is my .fhd definition
My cmd is like this:
@echo off

REM adapt the following to the actual path of FHBatch.exe
set FHBATCH="d:\FlowHeaterV3\FHBatch.exe"

REM set the path and file name you can use wildcards
set FILES=d:\SFTP\daimleredi\ImportForecast\DTNA_FOREtestCAST_FH.txt

REM Check whether file available
if exist %FILES% goto IMPORT
echo No files available
goto END

:IMPORT
%FHBATCH% /ReadFileName %FILES% d:\FlowHeaterV3\Adapters\DTNA_FORECAST to FH_FORECAST_040715_wOUT_spaces.fhd

:END
echo END
Attachments:
The administrator has disabled public write access.

cmd for initiating fhd-definition via FHBatch modu 1 year 7 months ago #2367

  • Andrew Wojciak
  • Andrew Wojciak's Avatar
  • Offline
  • Junior Member
  • Posts: 21
I was able to solve it. No cmd code needed. Simply schedule in Task Scheduler and I make sure program=>link to FHBatch.exe and argument is => link to .fhd file.
The administrator has disabled public write access.
Moderators: FlowHeater-Team
Time to create page: 0.071 seconds