Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
davidr262 Absent Member.
Absent Member.
690 views

ACUSQL question

Jump to solution

I have a column in my database that needs to be 20,000 characters. I defined it as varchar(max), using a cobol program I was able to insert the data using a host variable defined as Pic X(20000), however when I tried to read the data using the same host variable no data is retrieved but I get a sqlcode of 0. The primary key is a numeric value. I tried to use the host variable syntax definition as described in the documentation but that didn't work either. Any ideas on how I can get this to work? We are using Acucobol version 8.1.3.1.

Thanks

0 Likes
1 Solution

Accepted Solutions
DougP Outstanding Contributor.
Outstanding Contributor.

RE: ACUSQL question

Jump to solution

AcuSQL access to varchar columns is limited to <= 4000.  See the documentation here:

documentation.microfocus.com/.../GUID-EEC95B72-9D64-4546-AAB6-3367089F214B.html

View solution in original post

0 Likes
1 Reply
DougP Outstanding Contributor.
Outstanding Contributor.

RE: ACUSQL question

Jump to solution

AcuSQL access to varchar columns is limited to <= 4000.  See the documentation here:

documentation.microfocus.com/.../GUID-EEC95B72-9D64-4546-AAB6-3367089F214B.html

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.