Also das wirft hier unter V5R4 einen MCH3601 (Zeiger für angegebene Position nicht gesetzt.) gefolgt von einem RNQ0222 (Zeiger- oder Parameterfehler).
PHP-Code:D Arrayptr S * Inz(*Null)
D cArray DS Based(Arrayptr)
D aArray dim(1000)
D aField1 10 overlay(aArray)
D Value S 10A INZ('Test01')
D X S 10P 0 INZ(1)
D Y S 10P 0
/Free
aField1(X) = Value;
*INLR = *ON;
/End-Free
![[NEWSboard IBMi Forum]](images/duke/nblogo.gif)



Mit Zitat antworten
Bookmarks