So I have some big data structures. the program compiles fine but when i get to use the DS it blows up and gives me the Automatic Storage Overflow.
I seen that on a service program you can specify STGMDL(*TERASPACE) but I do not see an option on CRTSQLRPGI. Anyone know of a work around. Sadly I can not trim the size of the DS. I have changed all Zoned to packed hoping that would help but no go. I have some arrays in there as well and I really really don't want to trim the dim down.
What I am trying to do is build a DS for a set of tables. This DS is then passed to and from a service program to get the data or update the data.
I seen that on a service program you can specify STGMDL(*TERASPACE) but I do not see an option on CRTSQLRPGI. Anyone know of a work around. Sadly I can not trim the size of the DS. I have changed all Zoned to packed hoping that would help but no go. I have some arrays in there as well and I really really don't want to trim the dim down.
What I am trying to do is build a DS for a set of tables. This DS is then passed to and from a service program to get the data or update the data.
Comment