Page 1 of 1

Parameter from a file

Posted: Fri Feb 10, 2006 2:16 pm
by kommven
can I head or tail a flat file and use them as parameter to a job.

We have to run our jobs with parameters coming from a flat file.

Any suggestions?

I have heard that I can use a hash stage and query it using routine to get the parameter file. But again its a parallel job.

-R

Posted: Fri Feb 10, 2006 2:29 pm
by srividhya
Hi,

Use the execute command in job sequence , get the tail or head of the file using the unix scripts .
then pass the ouput of the unix script as a parameter to the 2nd job using
Execute_command .$CommandOutput

It works for me .

Thanks
Sri

Posted: Fri Feb 10, 2006 2:49 pm
by kommven
Thanks,
It worked....

-R