I've never used cobol, but I'm pretty sure doing so would fail. "node-exec-path.cbl" is for this, you can give it a path to a script to run. The example uses it as
CALL 'EXEC_NODEJS_FILE' USING "example/server.js".
Alternatively, you can escape double quotations to \" and they'll work with node -e (I'm pretty sure it's not doing this automatically though).I think I found another bug too, my only experience with cobol is the 10 minutes spent trying to understand this, so maybe someone can explain? Since in EXEC_NODEJS, NODEJS_CODE is defined as "NODEJS_CODE PIC A(100)", doesn't that limit it to 100 alphabetic characters, so even the example of "console.log('Hello World!')" would not work because of the period, parentheses, and exclamation mark?