Kbase 18078: How to run 2 _printrb.p in the same dir. at the same time
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  9/1/1999 |
|
How to run 2 _printrb.p in the same dir. at the same time
When you try to run 2 instances of _printrb.p from one .p file,
an error is displayed that says the db for the second report is
already in use in single user mode.
You can do the following to avoid this (This is new in Version 8.3A):
In V8.3A, there is a new procedure named aderb/_prntrb2.p which should
be used when running multiple reports simultaneously. This procedure
generates a unique name for the parameter file instead of hard-coding
it to "rbrun.txt" as aderb/_printrb.p does. Also, aderb/_prntrb2.p
takes an additional parameter (the last parameter) which provides a
filename for the report status file (aderb/_printrb.p always creates
a report status file named "rbrun.out"). If an empty string is
specified, no report status file will be generated.
The parameter file is now deleted by Report Engine when the report is
finished (to avoid cluttering up the disk with these uniquely-named
parameter files). If you want to preserve the parameter file for
debugging, specify the -rbfilenodel parameter in the Startup.pf file.
SAS
(07/07/98)