Published on InterSystems Developer Community (https://community.intersystems.com)

Home > ERROR: demoroutine.int(1) #1026: Invalid command : 'write

Question
Muhammad Waseem · Aug 5, 2021

ERROR: demoroutine.int(1) #1026: Invalid command : 'write

Hi,

I am getting following error while compiling a routine :

Compilation started on 08/05/2021 12:58:31 with qualifiers 'cku /checkuptodate=expandedonly'
Compiling routine : demoroutine.mac
ERROR: demoroutine.int(1) #1026: Invalid command : 'write "Use one of the following options"' : Offset:6 [write^demoroutine]
 TEXT: write "Use one of the following options"
Detected 1 errors during compilation in 0.022s.

Please note that Routine contains just a below simple write command :
write "Use one of the following options"

Thanks

#ObjectScript #InterSystems IRIS for Health
Product version: IRIS 2021.1

Source URL:https://community.intersystems.com/post/error-demoroutineint1-1026-invalid-command-write