In lua pds.convert does not work correctly if called multiple times for the same PDS
search cancel

In lua pds.convert does not work correctly if called multiple times for the same PDS

book

Article ID: 269419

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

In Lua, I am running pds.convert(x) on a PDS to convert it to a table.

Then I add more items to the PDS and run pds.convert(x) again.

The result is that only the "new" items are included in the second table whereas I would expect the entire PDS to be re-converted.

Environment

Release : 20.4

Cause

When running pds.convert() there is a pointer to the "top" of the PDS which is not being reset correctly after the function is called.

Resolution

This is resolved in NAS 9.39 and NSA 20.60 delivered with UIM 20.4 CU8.