Razzak, You sneaky dog, this is very cool. I will start using this right away.
Thanks, Paul Buckley -----Original Message----- From: [email protected] <[email protected]> On Behalf Of A. Razzak Memon Sent: August 17, 2018 11:12 AM To: [email protected] Subject: Re: [RBASE-L] - Determining operating condition -- Standalone vs. Scripted Mike, You may also use the "-Txxx" executable option to add an additional text label to an R:BASE instance, where xxx is a custom text (e.g. Development) or "RandomID". The label will allow you to identify the running the instance in the Task Manager, which is useful in your case with multiple instances of R:BASE running. Examples: C:\RBTI\RBGX\RBGX.EXE "-TSuchAndSuch" C:\RBTI\RBGXE\RBGXE.EXE "-TNewDataImport" C:\RBTI\RBGXE\RBGXE.EXE "-TLogEnvChanges" To use a random value, specify "-T RandomID" to use the operating system TickCount value, which returns the number of milliseconds elapsed since the system started. Example: C:\RBTI\RBGXE\RBGXE.EXE "-T RandomID" [] Very Best R:egards, Razzak At 10:19 AM 8/17/2018, [email protected] wrote: >Good morning: > >Is there a way to determine the operating condition that R:BASE >programs are running in? I didn't see a CVAL function that would match >what I'm thinking of. > >For example, I have a set of 300+ programs that run daily in a set >sequence over a 3-hour time period. For various reasons any of these >programs may need to be run individually from the R>. > >For example at the R>: RUN SuchAndSuch.RMD > >There are situations where it would helpful to be able to determine >whether the program was launched separately with the RUN command vs. >running in a sequence of programs. > >Something like: > >IF (CVAL("Standalone")) = 1 THEN > >Do something > >ELSE > >Do something else > >ENDIF > >Is there something already in place that would let me test for this >situation? > >If not I might be contacting the Dream Team soon. > >Thanks for sharing any thoughts or suggestions. > > >Mike Ramsour >AK Steel Coshocton Works >Quality Department >Phone: 740-829-4340 >Cell: 740-502-1659 >Confidentiality Notice >This message is intended exclusively for the individual or entity to >which it is addressed and may contain privileged, proprietary, or >otherwise private information. >If you are not the named addressee, you are not authorized to read, >print, retain, copy or disseminate this message or any part of it. >If you have received this message in error, please notify the sender >immediately by e-mail and delete all copies of the message. -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

