Hello.
Correct me if I'm wrong when I say a data structure array and an occurrence data structure are represented exactly the same in memory, all things being equal (same subfields, same dimension/occurrences).
The reason I ask is: suppose PGMA calls PGMB. PGMA passes a data structure array to PGMB. PGMB defines an occurrence ds (same subfields and dimension) named "dsRec" and uses it in a SQL "fetch c1 for 50 rows into :dsRec". When the SQL statement finished PGMA's data structure array is filled.
It seems to work fine but I'm wondering if there's some nuance that I'm missing.
Thanks in advance,
Mike
Correct me if I'm wrong when I say a data structure array and an occurrence data structure are represented exactly the same in memory, all things being equal (same subfields, same dimension/occurrences).
The reason I ask is: suppose PGMA calls PGMB. PGMA passes a data structure array to PGMB. PGMB defines an occurrence ds (same subfields and dimension) named "dsRec" and uses it in a SQL "fetch c1 for 50 rows into :dsRec". When the SQL statement finished PGMA's data structure array is filled.
It seems to work fine but I'm wondering if there's some nuance that I'm missing.
Thanks in advance,
Mike
Comment