WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Printing Information

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Print error 3383 Wait Parameter bad

 Keywords:  Print error 3383 Wait Parameter bad

Question:

I copied the 'PRINT' example from the WIL help file, and recieved the error '3383 execute function error: Wait parameter bad'.

Any ideas as to what causes this? I am using WinBatch version 2001.

Answer:

There was a problem, in some early versions of WinBatch 2001, in how the Print function handled the last parameter. The 'Print' function previously required you to specify @WAIT (constant value 34)or @NOWAIT (constant value 33), for the last parameter.

However the @WAIT parameter was not supported on 32 bit platforms, so 'Print' was modified to no longer require the last parameter to be @NOWAIT. This change was reflected in the documentation. The documentation now states that the last parameter should be zero.

In some early versions of WinBatch 2001, you will receive the error '3383 execute function error: Wait parameter bad'. Because the 'Print' function did not properly handle zero as the last parameter.

Workaround for those versions: Specify @NOWAIT for the last parameter of the Print function.

Print(source,workdir,@NORMAL,@NOWAIT)

Article ID:   W14943
File Created: 2001:12:10:10:34:22
Last Updated: 2001:12:10:10:34:22