[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: [sqr-users] Call System question



EJ,
    The Status can be any value you. So if you have your own Unix
Script or a Program then return status can be the value you want to
send back to sqr. 

else the solution of writing to file can be used. 

HTH 
Datta. 
--- Don Mellen <donm@ontko.com> wrote:
> Probably...   ;)
> 
> Whatever is being called that has this value you want to pass, put it
> in a
> file.  Then, in the SQR, open and read that file.  
> 
> If the value is from std_out of something you don't have programmatic
> control of, then redirect to a file.  
> 
> Or create a .sh script if it's more complex than std_out.  You can
> even
> write a shell script file from the sqr, close it, call system to make
> it
> executable, then call system to run it.  
> 
> HTH,
> Don
> 
> 
> On Fri, 21 May 2004, Lock, Edward J wrote:
> 
> > When using the sqr Call System command to make a call to Unix, is
> there
> > a way to return an actual value (such as a numeric value) to the
> sqr
> > program, as opposed to just the #status? 
> > 
> > Thanks,
> > EJ Lock 
> > 
> > _______________________________________________
> > sqr-users mailing list
> > sqr-users@sqrug.org
> > http://www.sqrug.org/mailman/listinfo/sqr-users
> > 
> 
>
-----------------------------------------------------------------------
> Donald Mellen  | Ray Ontko & Co. - Richmond, IN -
> http://www.ontko.com/
> donm@ontko.com |  "In the beginning, there was nothing, which
> exploded"
> 
> 
> 
> 
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users



        
                
__________________________________
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users