Hello, Adrian:

Thank you for reviewing my question.

I run R:BASE eXtreme on a local computer under Windows 7 Pro.

My command file resides in D:\RBASE\DATA\MNT_RELD.RMD and the databases 
reside in D:\RBASE\AUTOMATION.

I did some additional testing today with the nagging thought of PATH 
issues in the back of my mind. 

I updated the commands to fully spell out the program locations.  They are 
called using the QUIT TO syntax.

Revised syntax:

IF DBS_TYPE = 'P' THEN

  QUIT TO D:\RBASE\DATA\MNT_RELD.RMD -- (This was the problem program.)

ELSE

  QUIT TO D:\RBASE\DATA\MNT_COPY.RMD -- (This one worked OK working on the 
same databases.)

ENDIF

After making this revision it appears that I have found the solution.  The 
MNT_RELD.RMD program ran as designed after this change.

The puzzling thing is that I use a similar command structure in the 
MNT_COPY.RMD program but it only does an AUOTCHK on databases and then, if 
they check out OK, copies them to a backup folder.  The difference appears 
to be that running the commands in the ".ALL" file to create a new 
database makes the difference.  Maybe it's something with the memory 
stack?

Whatever the case I am happy to have found what seems to be the solution.

Thanks again for giving me some things to consider.

Kind regards.

Mike Ramsour
AK Steel Coshocton Works
Quality Department
Phone:  740-829-4340
Cell:  740-502-1659



From:   Adrian Hüssy <[email protected]>
To:     "'[email protected]'" <[email protected]>, 
Date:   05/03/2017 04:28 AM
Subject:        Re: [RBASE-L] - Command file PATH question
Sent by:        [email protected]



How do you call R:BASE, is it installed typically or as a server and you 
use start parameter ?a?
Any used procedure file available after AUTOCHK?
How it works, if you prepare new database locally and move the database 
after AutoChk to the needed location?
 
Adrian
 
Von: [email protected] [mailto:[email protected]] Im Auftrag 
von [email protected]
Gesendet: Dienstag, 2. Mai 2017 19:07
An: [email protected]
Betreff: [RBASE-L] - Command file PATH question
 
Greetings: 

Using R:BASE eXtreme 9.5, I'm having an issue with running a command file 
from one folder that performs maintenance on databases in a separate 
folder. 

The program runs fine as long as the UNLOAD ALL, AUTOCHK and running the 
".ALL" file is done in the same folder as the command file.  The program 
processes 10 large databases this way. 

However, if I try to run the program from the home folder 
("D:\RBASE\DATA") on databases in another folder ("D:\RBASE\AUTOMATION") 
it's as if at some point R:BASE loses track of where it was in the running 
program.  I'm not saying that's the case it's just the way it appears. 

I use the CHDIR command to change to the appropriate folder where the 
database is located to do the maintenance and then use CHDIR to return to 
the folder of the main command file when the operation is complete.  I 
then update a database with pertinent information regarding how the 
program ran and then proceed to the next database. 

The program will get as far as running the ".ALL" program to create a 
fresh database and performing an AUTOCHK but then it just stops.  The 
database is fine and no errors are generated. 

I have meticulously TRACEd the command file and monitored all of the 
variables.  Nothing's apparent as far as a logic problem. 

Is there something akin to a PATH environment variable that should be set? 


I would greatly appreciate some guidance. 

Thank you., 

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.
-- 
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.
-- 
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.

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.

-- 
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.

Reply via email to