sasjs / server

Build Apps on Base SAS

Home Page:https://server.sasjs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support PRINT destination natively

allanbowe opened this issue ยท comments

Currently we direct the PRINT destination to the log, to enable output using a single return file (log)

#254

This actually breaks on windows due to file locks. Instead we should implement actual print destination handling.

The print output is created here: https://github.com/sasjs/server/blob/main/api/src/controllers/internal/Session.ts#L132

path.join(session.path, 'output.lst'),

This file should be returned in the same response, using the same separator as used in the log.

This change will require a corresponding update in the sasjs/adapter repo (such change should be backwards compatible)

To dos:

  • Capture PRINT output in SASjs Studio (new tab)
  • Capture PRINT output in VS Code extension

actually this is a duplicate of (or would be handled by) #274

๐ŸŽ‰ This issue has been resolved in version 0.35.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€