Controlling the location for NODEJSAPP output, logs, and trace

Output from Node.js applications, the Node.js runtime and CICS are written to z/OS® UNIX files. The z/OS UNIX files are specified using the STDOUT, STDERR, LOG, and TRACE options in the CICS Node.js profile.

By default, the output from Node.js applications is written to the z/OS UNIX file system. The default file name convention is WORK_DIR/APPLID/BUNDLEID/NODEJSAPP/D<date>.T<time>.<stdxxx>, where WORK_DIR, APPLID, BUNDLEID, NODEJSAPP, date and time are symbols that are replaced with values detailed in the topic Node.js profile validation and properties.

If you want to override the defaults, you can specify a zFS file name for each of the STDOUT, STDERR, LOG, and TRACE profile options. If you use a file name that already exists, output is appended to it. In this situation it is recommended to prefix each line of output with a header to identify the Node.js application instance in order to help with problem determination.