I am trying to create an array where the array occurs 1000 times and with in this array 2 fields occur 1000 times each

I am converting a program from sqr to Pro*c. The sqr version has an array of:

      MAXTABLES = 1000
    create-array name=tabColumns
            size={MAXTABLES}
            field=table:char
            field=column:char:1000
            field=datatype:char:1000'

Basically each table occurance can have 1000 columns and 1000 datatypes. I have no knowledge how to accomplish this.

Any help is appreciated.



Read more here: https://stackoverflow.com/questions/66340883/i-am-trying-to-create-an-array-where-the-array-occurs-1000-times-and-with-in-thi

Content Attribution

This content was originally published by Gman at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: