qwerty1204 Posted February 24, 2012 Author Report Posted February 24, 2012 [quote name='Silver_mani' timestamp='1330059202' post='1301447148'] Neeku ye Unix/linux command kavalo...ade raastavu bhaaya Execute command stage lo [/quote] prefix ga "Execsh" not required aa baa?
McDowellMurthy Posted February 24, 2012 Report Posted February 24, 2012 I tried to pass the values as below. Command:ksh Parameter:#/datastage/scripts#/main_script.sh #datastage/scripts/script_param.sh# This is not working..can some one pls help me out.. Thanks guys
Silver_mani Posted February 24, 2012 Report Posted February 24, 2012 [quote name='arey ooo samba' timestamp='1330059275' post='1301447153'] prefix ga "Execsh" not required aa baa? [/quote] naaku artham kale baa ??? Execsh subroutine kada baa
Silver_mani Posted February 24, 2012 Report Posted February 24, 2012 [quote name='McDowellMurthy' timestamp='1330059287' post='1301447155'] I tried to pass the values as below. Command:ksh Parameter:#/datastage/scripts#/main_script.sh #datastage/scripts/script_param.sh# This is not working..can some one pls help me out.. Thanks guys [/quote] if i am not wrong .... nuvvu script pass chestunnavu baa parameter lo ............ i dont think it will support ... Only command aithe Execute command stage vaadu
qwerty1204 Posted February 24, 2012 Author Report Posted February 24, 2012 [quote name='McDowellMurthy' timestamp='1330059287' post='1301447155'] I tried to pass the values as below. Command:ksh Parameter:#/datastage/scripts#/main_script.sh #datastage/scripts/script_param.sh# This is not working..can some one pls help me out.. Thanks guys [/quote] nuvvu two script files ni run chestunnva baa? andhuloo main_script.sh and script_param.sh anevi ee naa aa two script files?? if tht's true..then there might be some problem in the script itself..don't for sure
qwerty1204 Posted February 24, 2012 Author Report Posted February 24, 2012 [quote name='Silver_mani' timestamp='1330059364' post='1301447159'] naaku artham kale baa ??? Execsh subroutine kada baa [/quote] my bad confuse ayya [img]http://lh3.ggpht.com/-RxikW40hh5U/TdsrdBJD9nI/AAAAAAAAAME/UEy1noMTT2Y/s288/Ye%2BMaaya%2BChesave%2B%25282010%2529%2B-%2BBRRip%2B-%2BmHD%2B-%2B720p%2B-%2Bx264%2B-%2BAAC%2B-%2Bameet6233%2B%25282%2529.gif[/img]
qwerty1204 Posted February 24, 2012 Author Report Posted February 24, 2012 [quote name='Silver_mani' timestamp='1330059460' post='1301447166'] if i am not wrong .... nuvvu script pass chestunnavu baa parameter lo ............ i dont think it will support ... Only command aithe Execute command stage vaadu [/quote] execute command stage loo script file ni input ga ivvachu baa..
McDowellMurthy Posted February 24, 2012 Report Posted February 24, 2012 [quote name='arey ooo samba' timestamp='1330059479' post='1301447168'] nuvvu two script files ni run chestunnva baa? andhuloo main_script.sh and script_param.sh anevi ee naa aa two script files?? if tht's true..then there might be some problem in the script itself..don't for sure [/quote] Basic ga nenu main_script ni execute cheyali..For this script, nenu param_script(parameter script) ni pass cheyali.. So ela cheyalo konchem cheppara? I tried putting command: execsh "[color=#282828][font=helvetica, arial, sans-serif][size=3]/datastage/scripts#/main_script.sh[/size][/font][/color] [color=#282828][font=helvetica, arial, sans-serif][size=3]parameter:[/size][/font][/color][color=#282828][font=helvetica, arial, sans-serif][size=3]datastage/scripts/script_param.sh[/size][/font][/color] [color=#282828][font=helvetica, arial, sans-serif][size=3]Even this did not work.. [/size][/font][/color]
Silver_mani Posted February 24, 2012 Report Posted February 24, 2012 [quote name='McDowellMurthy' timestamp='1330059729' post='1301447182'] Basic ga nenu main_script ni execute cheyali..For this script, nenu param_script(parameter script) ni pass cheyali.. So ela cheyalo konchem cheppara? I tried putting command: execsh "[color=#282828][font=helvetica, arial, sans-serif][size=3]/datastage/scripts#/main_script.sh[/size][/font][/color] [color=#282828][font=helvetica, arial, sans-serif][size=3]parameter:[/size][/font][/color][color=#282828][font=helvetica, arial, sans-serif][size=3]datastage/scripts/script_param.sh[/size][/font][/color] [color=#282828][font=helvetica, arial, sans-serif][size=3]Even this did not work.. [/size][/font][/color] [/quote] Command line nunchi run chey baa .......... dsjob -run -jobstatus -mode NORMAL -paramfile filename jobname project name
Silver_mani Posted February 24, 2012 Report Posted February 24, 2012 so akkada manam main script is calling ur parameter file
McDowellMurthy Posted February 24, 2012 Report Posted February 24, 2012 [quote name='Silver_mani' timestamp='1330059849' post='1301447185'] Command line nunchi run chey baa .......... dsjob -run -jobstatus -mode NORMAL -paramfile filename jobname project name [/quote] Maa jaffa naa manager gadiki anni jobs nunchi run cheyali anta..How to pass the values can someone explain..??
Silver_mani Posted February 24, 2012 Report Posted February 24, 2012 [quote name='arey ooo samba' timestamp='1330059625' post='1301447176'] execute command stage loo script file ni input ga ivvachu baa.. [/quote] ela baa .......script path iste saripotunda ??
qwerty1204 Posted February 24, 2012 Author Report Posted February 24, 2012 [quote name='McDowellMurthy' timestamp='1330059729' post='1301447182'] Basic ga nenu main_script ni execute cheyali..For this script, nenu param_script(parameter script) ni pass cheyali.. So ela cheyalo konchem cheppara? I tried putting command: execsh "[color=#282828][font=helvetica, arial, sans-serif][size=3]/datastage/scripts#/main_script.sh[/size][/font][/color] [color=#282828][font=helvetica, arial, sans-serif][size=3]parameter:[/size][/font][/color][color=#282828][font=helvetica, arial, sans-serif][size=3]datastage/scripts/script_param.sh[/size][/font][/color] [color=#282828][font=helvetica, arial, sans-serif][size=3]Even this did not work.. [/size][/font][/color] [/quote] exec sh ane command ni lite tesukoo baa..tht's incorrect param_script ni pass cheyali annavu kada..adhi main script loo unna content ki pass cheyali aa?/ if so, then you write the entire thng in one file only..I dont think execute command stage supports that kind of input
qwerty1204 Posted February 24, 2012 Author Report Posted February 24, 2012 [quote name='Silver_mani' timestamp='1330059936' post='1301447190'] ela baa .......script path iste saripotunda ?? [/quote] avnu baa..I saw tht case in my proj..just by giving file path it will execute
Silver_mani Posted February 24, 2012 Report Posted February 24, 2012 [quote name='McDowellMurthy' timestamp='1330059924' post='1301447189'] Maa jaffa naa manager gadiki anni jobs nunchi run cheyali anta..How to pass the values can someone explain..?? [/quote] emo baa ............effudu try cheyaledu ..............repu oppice ki poyaka try chesta okasari ............
Recommended Posts