• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » how pass a parameter in command line job script for use in job

#1 2009-07-14 16:30:28

phil
Member
Registered: 2009-01-27
Posts: 11

how pass a parameter in command line job script for use in job

hello,

i would like to know
how pass a parameter in command line job script for use in job java


thank you for your help

phil

Offline

#2 2009-07-15 05:12:20

shong
Talend team
Registered: 2007-08-29
Posts: 10310
Website

Re: how pass a parameter in command line job script for use in job

Hello guy
See the related [Forum, topic 1615] Passing variable (context) value from the command line.
Let me know if you have any trouble.

Best regards

         shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#3 2011-12-27 16:44:12

share
Member
Registered: 1970-01-01
Posts: 48

Re: how pass a parameter in command line job script for use in job

I'm not sure to understand. I tried but no result ...

I've got a scriptFile(CommandlineScript) with :

initRemote ...../....
logonProject -pn DEILAB -ul share@cdc.fr -up zorglub12
listItem -if (type=process)and(status=CFG)
exportJob getLicence -dd C:/tmp/ -af livraisonx


I've got a script that run commandLine (cmdLine.bat) with this scriptFile
Talend-win32-x86.exe -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace scriptFile ./CommandlineScript

------> It works

Now I want to use cmdLine.bat for each project, so projectName should be a parameter .
How do I put it.
Is there a documentation for commandline (I'm a TIS subscriber, so I've got a lot of doc. wich one ?)

Thx in advance

Sophie

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » how pass a parameter in command line job script for use in job

Board footer

Powered by FluxBB