![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Passing Filename as a Parameter to Another script | ravisg | Shell Programming and Scripting | 1 | 05-07-2008 11:28 PM |
| url calling and parameter passing to url in script | gander_ss | UNIX for Advanced & Expert Users | 1 | 05-07-2008 12:34 PM |
| passing parameter 4m shell script to a DB stored procedure | hema2026 | Shell Programming and Scripting | 0 | 11-16-2007 06:55 AM |
| passing parameter from Shell-script to Sql-script | subodhbansal | Shell Programming and Scripting | 0 | 09-21-2007 06:15 AM |
| parameter file for a shell script | bryan | Shell Programming and Scripting | 2 | 02-25-2005 12:58 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Passing parameter from one file to shell script
Hi All,
I have a 2 files. File1 i am generating using an ETL tool, which is a comman seperated delimited file which contains country code & load date. everytime, this country code will be updated from a table. It might be AB or BA & ld_date will be for which date we need to load the file. In file2.sh script which is doing feed validation test for the feed file, i need to pass this country code & load date. File1 ==== COUNTRYCODE,LD_DATE AB,20081210 File2.sh ====== echo $1 $2 Can someone tell me if it is possible to pass in this manner. Because i need to call File2.sh thru ETL tool. so i cannot manually change the parameter daily. I need to pass this parameter dynamically for each run. |
![]() |
| Bookmarks |
| Tags |
| parameter passing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|