Forum Post: Checking value of alphanumeric and numeric zero
We are converting some GCOS (Bull) mainframe programs to work on a Microfocus platform. I have a lot of calls for this particular item. The variable is defined as pic x, and 0 is moved to it,...
View ArticleForum Post: Accessing RM Data files from Managed Visual COBOL
Hi, I know it is possible to access RM/COBOL indexed files from a Visual COBOL Console app and that this app can be called by a Managed VC app. But is it possible to use RM/COBOL indexed files...
View ArticleForum Post: RE: Checking value of alphanumeric and numeric zero
It's not clear what you mean by "works" in your description. Can you be more specific? In standard (and Micro Focus) COBOL, moving 0 to an PIC X item results in the character "0" being stored in the...
View ArticleForum Post: RE: Checking value of alphanumeric and numeric zero
My second paragraph in my previous response needs a punctuation change to be clearer. It should have read as follows: In standard (and Micro Focus) COBOL, moving 0 to an PIC X item results in the...
View ArticleForum Post: RE: Accessing RM Data files from Managed Visual COBOL
The capability of directly accessing both RM and ACU data files from within a managed code application is already in Visual COBOL. Please see the product documentation here: Thanks
View ArticleForum Post: RE: Checking value of alphanumeric and numeric zero
Thank you for your clarification. I came to find out that this value (IN-STATUS) was in a copybook, and the definition was changed to PIC X(10). As a status value, it should be Pic X(02). When...
View ArticleForum Post: RE: Accessing RM Data files from Managed Visual COBOL
Hi Chris, Since what version is this supported? I am using 2.1 and no error happens but all data is empty. Regards
View ArticleForum Post: RE: Accessing RM Data files from Managed Visual COBOL
Latest 2.2 version does not show RM data. Do you have a sample?
View ArticleForum Post: RE: Accessing RM Data files from Managed Visual COBOL
Access to ACU and RM data files has been supported since 2.1 through the IDXFORMAT directive or FILETYPE directive where 17 correcsponds to ACU and 21 corresponds to RM. We have also added some...
View ArticleForum Post: RE: Accessing RM Data files from Managed Visual COBOL
Hi Chris, It works fine on a Console application (native), but on a Windows Form Managed Cobol no error is shown but data is empty. Is anyone using RM/COBOL indexed files inside a Windows Form Cobol...
View ArticleForum Post: RE: Accessing RM Data files from Managed Visual COBOL
I have the same problem using a Managed Console Application. Only works with native.
View ArticleForum Post: RE: Accessing RM Data files from Managed Visual COBOL
Well, I found the solution in ahother thread: I have found that the 9/198 error when reading a vision file is a result of compiling the application for "Any CPU" on a 64 bit windows machine. The fix...
View ArticleForum Post: RE: Accessing RM Data files from Managed Visual COBOL
This is not a limitation in the latest product release. I just tested this using a Winform application set to anyCPU using Visual COBOL 2.2 update 1 and it created and accessed both RM and ACU files...
View ArticleForum Post: Adiscf in AIX 7.x
Dear Sir, We use adiscf.exe in Visual Cobol for Visual Studio and Visual Cobol for Eclipse without problema. When we go to production environment (AIX 7.1) we try to replicate the same with adiscf for...
View ArticleForum Post: clustering
Hi, Currently our application is running on one server and a cold standby. All in Suse linux Anyone has experience with clustering visual cobol applications? To be more concrete : I'm looking at...
View ArticleForum Post: Invalid picture strings
I have 2 picture strings that seems to be valid per the documentation (coming from ACUCOBOL), but the compiler is giving errors. Any ideas why these are invalid? They are: This one gives error saying...
View ArticleForum Post: RE: Invalid picture strings
The "Incompatible qualifiers" is because COBOL does not allow the SIGN clause for other than DISPLAY usage. ACUCOBOL ignores this error. The "illegal precedence" is because if any symbols after the...
View ArticleForum Post: Callback function in Visual COBOL .NET
Hello, I´m trying to implement in Visual COBOL the following code (C#): report.Render("Image", deviceInfo, CreateStream , out warnings); CreateStream is not a dataitem but a function call... that is,...
View ArticleForum Post: RE: Callback function in Visual COBOL .NET
Hi jcamacho, I think you need to make two changes: 1) the parameters in CreateStreamCallBack need to be BY VALUE, so: method-id CreateStreamCallBack. procedure division USING BY VALUE nombre as...
View ArticleForum Post: Accessing XML Files In WinForms App
Hi could anyone point me in the right direction as I'm trying to read an XML document into a Windows Forms application with little success? I currently have the following code (which gives compilation...
View Article