List folder content in native mode

SUGGESTED

Hi

We have tried listing folder contents using this two approaches without success. First approach used to work in classic mode.

1. Call SYSTEME2(adxmac(0),"LSADX"-FOLDER,"",FILCOUNT, FILLIST) From ORDSYS (error, 'Unexpected end of JSON input')

2. System FILES = adxmac(1)+"@DIR/b/o:n"+DIRECTORY (no result)

Any suggestion?

Rgds