NCF file with %IF statement calling other NCF file with %IF statement does not return server prompt

  • 3970009
  • 20-Jul-2006
  • 27-Apr-2012

Environment


Novell NetWare 6.5
Novell NetWare 6.0

Situation

When using an NCF file on the server console using an %IF statement that is calling another NCF file which is also using an %IF this results in access to the server console prompt never being returned.

We duplicated this with creating two sample NCF files:

(1) GO.NCF
%if loaded NSS.NLM then cmd GO1.NCF

(2) GO1.NCF
%if loaded LIBC.NLM then cmd SPEED

When now starting GO.NCF this will call GO1.NCF and start an endless loop.
Access to console prompt is never returned, it will not time-out and you cannot break the running script.


Resolution

We fixed a bug in the percent command handlers which will be put in an upcoming release of server.exe. The release is currently scheduled for Novell Open Enterprise Server Support Pack 3 / Novell NetWare 6.5 Support Pack 6.