Search found 4 matches

by vinodpatel
Tue Aug 22, 2006 8:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with DSExecute
Replies: 3
Views: 638

this my test.sh getopts "D" option STARTDATE=${OPTARG} echo ${STARTDATE} cd /prop/shr/tng/data/cim ftp -v -n servername <<EOF user username password cd /prod/shr/tng/data/tinaarbor/rejects/tina mget CDR_DATA_ARCHIVE_${STARTDATE}.dat bye EOF to execute this i am calling routine DSExecute("UNIX", "tes...
by vinodpatel
Tue Aug 22, 2006 7:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with DSExecute
Replies: 3
Views: 638

problem with DSExecute

Hi,
I am calling a shell script through DSExecute also giving option with it e.g. test.sh -D 20060101 & this parameter I m using in test.sh

But when i run this null value goes into that parameter.

Is there any routine to execute the same ???

thanks,
Vinod
by vinodpatel
Tue Aug 22, 2006 3:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to pass parameter from Datastage Job to shell script
Replies: 4
Views: 4675

Ya I have one separate Job for calulating date which writes into the Hash file.Now I read this file with routine GetParameterFromHash. But how should I pass this value into the shell script. Again I am calling this script through routine ExSH in the workflow. Flow is like this 1. JobActivity (callin...
by vinodpatel
Tue Aug 22, 2006 1:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to pass parameter from Datastage Job to shell script
Replies: 4
Views: 4675

How to pass parameter from Datastage Job to shell script

Hi, My job design is like that I am calculating a date in one job & want to pass that calcuated parameter in shell script whcih would be called in the workflow with Routine ExSH. Shell script is doing nothing but just copy the file from one location to another. As the file name is having date pa...