Re: echo from inside a ACE report
Posted in 1996
a (a) wrote: : I have an ACE report that is prompting for a begin and end date and then : doing a join with one accounting table against 15 state data tables: this : takes time to process. I have a customer that would like to see : "Processing started, please wait ..." displayed to the screen right after : they enter the end date. : This report is being executed from a kshell using the lines: : sacego -s -d "$OURDBNAME" "$OURPATH/${arcName}" > $RptFile : retval=$? : Does anyone know of a way do print/echo/diplay a message out to the : user's screen from inside the execution of "sacego arcName"? My : experience shows that sdterr and stdout are both being sent to my : $RptFile. : Help..... : Thanks in advance, Don Lewis : easiest email address to use for me: dblewi2@uswest.com Simple. Use PARAM variables in your ACE report. For the beg_date and end_date,then in your script do somthing like this (untested): echo "Enter begin date \\c" read begdate echo "Enter end date \\c" read enddate echo " " echo "Processing started, please wait ..." sacego -s -d "$OURDBNAME" "$OURPATH/${arcName} $begdate $enddate" > $RptFile echo "Processing finished, Thank You for waiting." HTH -- John Regep, || _______ || ZenaComp, Incorporated Information Consultant || -----/ / || 17187 N.Laurel Park Dr. #351 jregep@zenacomp.com || / /______ || Livonia, Michigan 48152 1-(313)-464-3700 || -------- || FAX (313)-464-3730