Search Results

Search: Posts Made By: ltzwoman
5,098
Posted By ltzwoman
Hi Don My apologies, I'm trying to do too...
Hi Don

My apologies, I'm trying to do too much at once. For testing purposes, I changed my code to -le 5 so I could get the email. The current code is as-follows:

if [[ -e $OUTFILE ]]; then...
5,098
Posted By ltzwoman
Yup, did that and it echoes the correct value of...
Yup, did that and it echoes the correct value of 0, which stumped me even more. I totally don't understand why it displays in the previous line (i.e the echo) but not in the subject line.
5,098
Posted By ltzwoman
Hi rdrtx Thanks, but that is a single line...
Hi rdrtx

Thanks, but that is a single line and works fine. My issue is that the variable $GAPNUM does not show in the subject line, even though the other variable in the subject line...
5,098
Posted By ltzwoman
Thanks Corona, but I'm not sure how that code in...
Thanks Corona, but I'm not sure how that code in my post as it's not in my code. The line reads as-follows:

mailx -s "Possible Redo Apply Issue at $ORACLE_SID - Log Gap is ${GAPNUM}" $MAIL_TO <...
5,098
Posted By ltzwoman
Variable not displaying in subject line of mailx email
Hi

Newbie here with first post. I've got a shell script (ksh) whereby I run a SQL*Plus script and output the results to a file. I then check the output file in an if statement that looks like...
Showing results 1 to 5 of 5

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