sasjs / core

Macros for SAS® App Developers
https://core.sasjs.io
MIT License
119 stars 17 forks source link

mm_assigndirectlib does not open passthrough if library already assigned #375

Closed allanbowe closed 2 months ago

allanbowe commented 2 months ago

This is causing a hard to detect error:

</font>MPRINT(POSTDATA.MPE_TARGETLOADER.BITEMPORAL_DATALOADER.DC_ASSIGNLIB):   options metarepository=Foundation;
<strong><font color=red>180: LINE and COLUMN cannot be determined.
</font></strong><font color=blue>NOTE: NOSPOOL is on. Rerunning with OPTION SPOOL might allow recovery of the LINE and COLUMN where the error has occurred.
</font><strong><font color=red>ERROR 180-322: Statement is not valid or it is used out of proper order.

Fix - check for passthrough before returning

%length(&open_passthrough)=0

github-actions[bot] commented 2 months ago

:tada: This issue has been resolved in version 4.52.5 :tada:

The release is available on:

Your semantic-release bot :package::rocket: