Dennis,

Just got back and am reading through this thread.

Sounds good to me.

At this point I'm getting nervous.  Datax quits to BTW, both are 
codelocked, never had a problem.... which leaves me feeling like 
I'm walking about with no pants <g>.

Ben Petersen


On 1 Sep 2001, at 15:22, Dennis McGrath wrote:

> I have a suggestion for those who want to use the QUIT TO syntax with
> codelocked files and do not want the overhead of all those extra APX's.
> After all, one of the advantages of codelocking is that the number of files
> to distribute is small, usually just 1.
> 
> create a file: QUITTOME.CMD containing the following:
> RUN &vRunFile
> RETURN
> 
> Use Codelock to make this into an APX say QUITTOME.APX
> 
> In your app you can put the command block to execute in the vRunFile
> variable and quit to the QUITTOME.APX
> 
> SET VAR vRunFile = 'WHATEVER IN WHICHEVER.APX'
> QUIT TO QUITTOME.APX
> 
> This method will allow you to use the cleanup advantages of QUIT TO while
> keeping your file count low.  You only have the everhead of one run level to
> give you this desirable result.
> 
> I have not tested this method, so those of you who wish this functionality
> will have to experiment with it.  Would be interested in knowing the
> results.  If it works out well I will probably add support for this to
> RClass, even including the QUITTOME.APX nicely precodelocked in the correct
> mode.  So theme RClass would be able to rewrite your QUIT TO FILENAME calls
> so they use this method.
> 
> What say all you RClass users?  Do you need this functionality?
> 
> -- Dennis McGrath
> mailto:[EMAIL PROTECTED]
> 
> -- Productivity Tools for R:Base Programmers
> http://www.enteract.com/~mcgrath/dennis
> 
> -- Full time consultant with:
> SQL Resources Group
> Steve Hartmann
> Oak Park, IL
> mailto:[EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Bernie Corrigan
> Sent: Saturday, September 01, 2001 12:37 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Q. about QUIT TO command
> 
> 
> >In your example the blockname and file name were
> >very short (BT IN BTW.APX).
> >Perhaps there is a limit there?
> 
> I just tested that theory and it had no effect.
> 
> QUIT TO b IN f
> 
> didn't work whereas
> 
> RUN b IN f
> 
> did.
> --------------------------------------
> In a separate issue an attempted QUIT TO a codelocked command file resulted
> in a string of bad command error messages.  I then used RUN and the file
> executed perfectly.  Tried QUIT TO immediately after that and the same file
> executed okay.  Restarted RBase and the problem disappeared.  This was in
> RBW 6.5++.
> ======================================
> At 11:50 AM 9/1/2001 -0400, you wrote:
> >> I tried it from R> and all was fine.  The block being called is the first
> >> in the APX file... maybe that makes a difference.
> >>
> >> I can't think of anything else that would make it work.
> >
> >In your example the blockname and file name were very short (BT IN
> BTW.APX).
> >Perhaps there is a limit there?
> >--
> >Larry
> >
> >
> >
> >_________________________________________________________
> >Do You Yahoo!?
> >Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> 
> 
> 
> 


Reply via email to