Forum Post: RE: Encrypt And Un-Encrypt a Print file
Well, I have my version working, and it doesn't appear to have a problem with files of any sort. Here's the source. $set sourceformat(variable) $set ilusing(System) $set...
View ArticleForum Post: RE: Excel Interop
We were able to reproduce the problem and a fix has been created. The problem is occurring because the SaveAs method uses optional parameters, as do a number of these Interop methods and if not...
View ArticleForum Post: RE: Excel Interop
I copied and pasted your code and I got the same message. I then changed the filename parameter to be an absolute path and it worked. Apparently relative paths don't work with the saveas method....
View ArticleForum Post: RE: A new Visual COBOL Webinar Series is starting soon
It was my understanding that links and or other material were going to be sent out via email. Maybe this was done and my team was missed. Please let me know. Thanks
View ArticleForum Post: RE: Excel Interop
I also had a problem with relative path, but I actually found that when I did pass a relative path to SaveAs it was using the setting of the USERPROFILE environment variable as the path base. I...
View ArticleForum Post: RE: A new Visual COBOL Webinar Series is starting soon
Hi, please expect an email with links to the recording and other referenced materials very soon. Regards, Scot
View ArticleForum Post: RE: A new Visual COBOL Webinar Series is starting soon
Scot is right, video recording coming soon! Watch your inbox.. I'll also post a link to the recording here when it has been finalised.
View ArticleForum Post: Compiling Visual Cobol 2.2 with Oracle
We are having problem to compiling Visual Cobol 2.2 with SQL embedded (Oracle). We are not using neither Eclipse nor .NET environment development. We are compiling using a script, setting de compiler...
View ArticleForum Post: RE: Compiling Visual Cobol 2.2 with Oracle
Hi Jose, What does the second directives file contain? The error message is pointing to a completely different directives file than the ones that you show in your $SET statements. $SET...
View ArticleForum Post: RE: Compiling Visual Cobol 2.2 with Oracle
This piece of text is a part of the message that the compiler shows on screen. Here is the screen with complete message. The second directives file contains only directives for the compiler.
View ArticleForum Post: RE: Compiling Visual Cobol 2.2 with Oracle
Sorry but I think that the screen was not included. This is the content of .LST file. * Micro Focus COBOL V2.2 revision 000 03-Oct-14 10:44 Page 1 *...
View ArticleForum Post: RE: Compiling Visual Cobol 2.2 with Oracle
The lst file shows in the list of directives the "endp" directive which is actually supposed to have a matching "p" directive to turn on the precompiler. p(cobsql) should contain options and then end...
View ArticleForum Post: RE: Compiling Visual Cobol 2.2 with Oracle
The p (preprocess) compiler directive is documented as "$SET On very first source line only". I think that is your problem.
View ArticleForum Post: RE: Compiling Visual Cobol 2.2 with Oracle
This is the content of the first directives file: p(cobsql) csqlt=oracle8 nomakesyn end-c comp5=no sqlcheck=full mode=oracle dbms=V8 varchar=yes unsafe_null=yes close_on_commit=no end_of_fetch=1043...
View ArticleForum Post: RE: Compiling Visual Cobol 2.2 with Oracle
Yes this directive is in the first directives files.
View ArticleForum Post: RE: Compiling Visual Cobol 2.2 with Oracle
The directives file must be referenced on the "very first line". Your program has a comment line as the very first line, followed by the $SET USE directive. Thus, the P directive is not the very...
View ArticleForum Post: Visual Cobol personal edition debugging
Hi, when I try to start debugging with Visual Cobol Personal Edition (VS2012) I get "Unable to start debugging" (critical error). Someone else got the same error? Some idea before trying to...
View ArticleForum Post: Visual COBOL Personal Edition - Windows 8 - how to Compile and...
I have been using Net Express 4.0 for many years and it is an excellent product I want to be able to do the same with the new Personal Edition of Visual COBOL that I have on Win/8 I am at the stage...
View ArticleForum Post: Test insert update success
HI, I have many question to post because I returned to Cobol years later. The most important question regards the database pre-compiler. In particular: 1) With EXEC SQL Can I set isolation level and...
View ArticleForum Post: RE: Visual COBOL Personal Edition - Windows 8 - how to Compile...
Hi Paul, Try this first of all: Start up Visual Studio. File - New Project Choose the native console application project template: Add a DISPLAY "hello world" Use the build menu and then debug menu to...
View Article