kettle中Pan kitchen用法及bat写法

bat文件

cd C:\data-integration---kettle 目录

 

例:

@echo off
cd C:\data-integration
pan /rep mssql /user admin /pass admin /trans trans1 /dir /lianshu/

TRANS:

资源库目录(mssql为资源库名, /lianshu/为资源库路径)
Pan.bat /rep:"mssql"  /user:admin /pass:admin  /trans:"trans1" /dir:/lianshu/
pan /rep mssql /user admin /pass admin /trans trans1 /dir /lianshu/

指定目录

Pan.bat /rep mssql /user admin /pass admin /file C:\Users\lee\Desktop\KETTLE\ktr\tran.ktr //成功运行


JOB:
资源库目录
kitchen /rep mssql /user admin /pass admin /job 获取变量值 /dir /lianshu/

指定目录(需要转换文件同一文件夹)
kitchen   /file C:\Users\lee\Desktop\KETTLE\ktr\获取变量值.kjb

你可能感兴趣的:(Kettle)