sasjs / core

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

fix: adding support for multilabel and notsorted formats #338

Closed allanbowe closed 1 year ago

allanbowe commented 1 year ago

included additional test job covering multiple scenarios. Closes #337

Issue

337

Intent

support for multilable and notsored formats

Implementation

Created a calculated FMTROW variable, and used this (plus TYPE and FMTNAME) as the primary key when dealing with format catalogs

A format catalog can contain duplicate rows when working with multilabel data. The order is also important. Therefore the (relative) position of the format (row) entry must be part of the key.

Also added a header to the mp_ds2md() macro when printing to the log (for ease of identification)

Now that START/END are not part of the key, we can support values back up to 32767.

Checks

sasjsbot commented 1 year ago

:tada: This PR is included in version 4.46.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: