When adding a short sleep to a test program I made a simple syntax error.
Visual Cobol compiles with no error but Server Express flags an error.
Question is if the Visual Cobol compiler is smart or just confused?
identification division.
program-id. demo1.
environment division.
configuration section.
data division.
working-storage section.
procedure division.
call "sleep" using by value 5 size 4
on exception
display "first sleep failed"
upon syserr
end-call
call "sleep" using by value 5 length 4
on exception
display "second sleep failed"
upon syserr
end-call
goback.
end program demo1.
As explained, compiles in Visual Cobol, throws this error in Server Express
17 call "sleep" using by value 5 length 4
* 13-S****************************************** **
** User-name required
21 end-call
* 564-S************ **
** A scope-delimiter did not have a matching verb and was discarded.
Since it's very low impact, a support case feels excessive.
Enjoy,
Robert