As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
if [[ ${NUM_CHG_PARTS} -eq 0 ]] then COUNT=1 else ((COUNT=NUM_CHG_PARTS)) fi + [[ 48 -eq 0 ]] + (( COUNT=NUM_CHG_PARTS ))
I=1 + I=1 FILE_COUNT=0 + FILE_COUNT=0 while [[ ${I} -le ${COUNT} ]] do if [[ ${I} -lt 10 ]] then export PARTITION_ID="P0"${I} else export PARTITION_ID="P"${I} fi
CD01_EXTRACT_FILE_TEMP='ar.ARCD-01.'$REPORT_DATE'.extract.'$CYCLE_NO'_'$CYCLE_MM'_'$CYCLE_YYYY.$PARTITION_ID if (test -r $CD01_EXTRACT_FILE_TEMP) then cat $CD01_EXTRACT_FILE_TEMP >> $CD01_EXTRACT_FILE ((FILE_COUNT=FILE_COUNT+1)) fi ((I=I+1)) done
and in the end its comparing as below
if [[ (${FILE_COUNT} -eq 0) || (${FILE_COUNT} -lt ${NUM_CHG_PARTS}) ]] then echo "Not all the Extract files were created" TlgFilePlacer $IR01_EXTRACT_FILE FAILURE ExitProcess 1 fi
i am not understanding why its getting 49 file count when i have only 48
as this code is working on unix something went wrong on linux If someone can help me with this.This message has been edited. Last edited by: FP Mod Chuck,