View previous topic :: View next topic
|
Author |
Message |
Zilla
New User
Joined: 03 Jun 2023 Posts: 11 Location: india
|
|
|
|
Hi Team, Any idea how can I store an extra large object in PL/I variable? I know there is a limit of 32766 chars in PL/I, what if I want to store 500,000 bytes of data? Is there is any way? I have this CLOB data in one of the table column with 500,000 bytes which I want to read in PL/I host variable. Thanks in advance. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1315 Location: Vilnius, Lithuania
|
|
|
|
Code: |
dcl array(5000000) char(1); |
|
|
Back to top |
|
|
Zilla
New User
Joined: 03 Jun 2023 Posts: 11 Location: india
|
|
|
|
thanks prino for this. It gives me "Unsupported use of aggregate expression." because I want to use INDEX function on array variable and it seems is not allowed. Even I tried a slight variation thinking I will be able to use array as a combined variable with all concatenated values but same issue "Unsupported or invalid use of structure expression."
Code: |
dcl 1 array,
5 a(500000) char (1);
|
|
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1315 Location: Vilnius, Lithuania
|
|
|
|
Actually, nowadays in Enterprise PL/I there's an option to allow for very big character strings. RTFM, because I don't have the inclination to do it for you. |
|
Back to top |
|
|
Zilla
New User
Joined: 03 Jun 2023 Posts: 11 Location: india
|
|
|
|
no worries, I will check it out, thanks |
|
Back to top |
|
|
|