Untitled

 avatar
unknown
plain_text
5 months ago
655 B
3
Indexable
source ~ /.bashrc
basePath = "/MARS/scripts/RNIV"
path_library = "/MARS/scripts/library"

as0fDate =$1
report =$2

url =$(sh ${path_library} / get_url_machine.sh "ATOTI_LIQUIDITY" "ALL")
# NO UNLOAD FOR THIS TOPIC

# LOAD STORE
body =$(sh ${basePath} / bodys / body_AsOfDateReport.sh "${asOfDate}" "${report}" TREND_IR_DELTA_TENOR_UNDERLYING LOAD)
echo "${body}-"
output =$(sh ${basePath} / modifyData.sh "${url}" "${body}")
if [[ ${output} != "Success" *]]; then
    echo "Error loading."
    echo    "${output}"
    exit 1

fi
echo "Successfully loaded the store with as0fDate: ${as0fDate} and scenario set ${scenario_set}"

exit 0
Editor is loading...
Leave a Comment