Search Results

Search: Posts Made By: Mihirjani
12,571
Posted By Mihirjani
Below is the content of the abc_refresh.ksh shell...
Below is the content of the abc_refresh.ksh shell

#!/bin/ksh

PLAN=$1

export PLAN

echo $PLAN

inner_shell.ksh

Below is the content of inner_shell.ksh

#!/bin/ksh

echo "Script...
12,571
Posted By Mihirjani
I tried the export option.....The inner_shell.ksh...
I tried the export option.....The inner_shell.ksh has a sql script and I want to pass the argument value to the sql code. But it is not recognizing it. Any ideas?
12,571
Posted By Mihirjani
Passing arguments to the subshell
I have a shell script which is invoked by passing an argument. The outer shell script calls another subshell and I want the argument passed down to flow down to the subshell.


E.g

Invoking...
7,564
Posted By Mihirjani
I took your advise and used the script below(made...
I took your advise and used the script below(made it simpler to see if it worked) and still get the error else statement unexpected... :-(

#!/bin/ksh

dt=`date +"%a"`

if [[$dt -eq "Sat"];]...
7,564
Posted By Mihirjani
unix script for conditional execution
Below is my shell script. I am trying to execute two different BTEQ scripts depending on the day of the week. So on a saturday I will execute a certain BTEQ script and on other weekdays I will run...
2,338
Posted By Mihirjani
Script
The script is very simple....I am running a sql script rec_dly_clms.txt on bteq and the standard output is captured in rec_out file. My output has long fields with 30 columns. This data does not fit...
2,338
Posted By Mihirjani
Output file question
I am running a shell script which executes a bteq script and the output of the BTEQ script is dumped in the standard output file. The output of the bteq execution is a table with 30 columns and the...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 08:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy