Skip to main content
simply more productive

The Data Specialist

Thanks to our intuitive transformation designer, you can convert data effortlessly to a variety of formats without knowing how to program. It’s not only efficient, it’s also easy to use.
Flowheater Download

cmd for initiating fhd-definition via FHBatch modu

  • Andrew Wojciak
  • Topic Author
  • Offline
  • User
  • User
More
8 years 11 months ago #2366 by Andrew Wojciak
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:

Please Log in to join the conversation.

  • Andrew Wojciak
  • Topic Author
  • Offline
  • User
  • User
More
8 years 11 months ago #2367 by Andrew Wojciak
Replied by Andrew Wojciak on topic cmd for initiating fhd-definition via FHBatch modu
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.

Please Log in to join the conversation.

Time to create page: 0.254 seconds

FlowHeater - The Data Specialist

Efficient data integration and transformation with FlowHeater – the perfect solution for a seamless transfer of your data.

Rechtliches

Support & Contact

Kontaktinformation

Telefon:0951 / 99339792 E-Mail:This email address is being protected from spambots. You need JavaScript enabled to view it.

Copyright © 2009-2024 by FlowHeater GmbH. All rights reserved.