|  |     Martin,
    
    Thanks for the suggestion but the problem is with my note not the
    script.  The code is actually in an IF statement within a FOR loop and
    looks more like:
    
    for whatever do -
       jumble \\ -
       .if whatever then -
          more jumble \\\\ -
          get oa$display = "String" \\\\ -
          force \\\\ -
          even more jumble
    
    Should I need the FORCE for the DISPLAY to work?  Is there some trick
    to displaying a message in the log file in batch mode?  I'm invoking
    ALL-IN-1 with a /NOINIT and then invoking OA$INI_INITIALIZE in case
    that matters.
    
    Thanks,
    
    Joe
 | 
|  | Joe,
i think that you need to check your DO loop and IF code to ensure
that it is actually executing how you think it is!
I just created the following simple DCL command file ...
$!------------------
$allin1/noinit
for oa$table:"ONE,TWO,THREE" do get oa$display="Hello World"
exit
$exit
... and when it ran it produced the following logfile ...
$allin1/noinit
for oa$table:"ONE,TWO,THREE" do get oa$display="Hello World"
%OA-I-LASTLINE, Hello World
%OA-I-LASTLINE, Hello World
%OA-I-LASTLINE, Hello World
exit
	BELL finished using ALL-IN-1 at 24-Aug-1993 15:54
... which implies that what you are trying to do should work, assuming
that the GET OA$DISPLAY is actually being executed. Note that i didn't
even have to include the \\FORCE.
Try replacing your FOR loop and IF expression with conditions that
will ALWAYS succeed, to check whether you syntax is correct (although
it looks ok).
mb
p.s.
i am on ALL-IN-1 v3.0
 | 
|  |     Martin,
    
    The trace indicates the code is being executed.  When I had the FORCE
    in place of the GET OA$FUN = "FORCE" the FOR loop was terminated early
    but the message was displayed in the log file.  Once I fixed the FORCE
    problem so that the FOR loop executed properly, the message was no
    longer displayed.
    
    Joe
 |