Forum Post: RE: Record Locking in Visual Cobol
The conversion tool for RM/COBOL to Visual COBOL provides a directives file legacy_dialect.dir that removes the IGNORE keyword from the language. This is because IGNORE is not an RM/COBOL reserved...
View ArticleForum Post: RE: Record Locking in Visual Cobol
One more thing. The tool also provides a directives.dir file that contains the remove(IGNORE) directive. The legacy_dialect.dir file is used during the conversion process. The directives.dir file...
View ArticleForum Post: RE: Record Locking in Visual Cobol
This worked. Could there be another directive that allows a program that's open for input to ignore the lock anyways? Seems to us that even if it is open for I-o in one program, the program open for...
View ArticleForum Post: RE: Record Locking in Visual Cobol
I don't think there is a compiler directive, but there is a file handler configuration option for ignoring locks at run time when a file is open for input. The default name for the file handler...
View ArticleForum Post: RE: Consuming WCF in NAtive Code via Managed Code in Visual COBOL
Because the project which is calling the WCF service is a Class library so that it can be registered for COM it does not pick up the app.config file which is generated by adding the service reference....
View ArticleForum Post: RE: Consuming a WCF Service Created in .NET 4.5 in Visual COBOL.
I do not know of another way to consume the WCF service other than the two approaches you mention here. I have added an example to your other posts which shows how to get the COM approach working.
View ArticleForum Post: Missing CBLRTSS.dll
I have just converted a NetExpress to Visual Cobol 2012, and when I start the project, I get an error message that CBLRTSS.dll is not found. I have looked in the BIN64 folder and it is not there....
View ArticleForum Post: RE: Missing CBLRTSS.dll
Hello, cblrts S .dll was the s ingle-threaded runtime module in Net Express, which is no longer supported in Visual COBOL where everything is built with the m ulti-threaded runtime module, i.e....
View ArticleForum Post: RE: Missing CBLRTSS.dll
This is the startup program for my system, I have a single .exe, where the error occurs, that call multiple .dll. How could I check to see if the cblrtss.lib file is being linked? This error was...
View ArticleForum Post: RE: Missing CBLRTSS.dll
Have you recompiled the .dll files with Visual COBOL as well? Or are they built with Net Express? The cblrtss.lib file is not available in Visual COBOL, so the only way to have it linked in the .exe...
View ArticleForum Post: RE: Missing CBLRTSS.dll
I get the error when I start the .exe. I have recompile all of the programs in Visual Cobol. Let me look at the programs to see if maybe we have a hard link in one of the .dll
View ArticleForum Post: RE: Missing CBLRTSS.dll
You might want to debug the .exe to see if it fails as soon as you debug the .exe or at a specific call to one of the .dll's.
View ArticleForum Post: RE: Listing a Folder's contents
This sample return folder content: documentation.microfocus.com/.../HRCLRHCALL7I.html Is there a way to get folder and sub-folders content by using CBL_DIR_SCAN_START, CBL_DIR_SCAN_READ or any other...
View ArticleForum Post: RE: Listing a Folder's contents
You should be able to do this simply by changing the flag used in the CBL_DIR_SCAN_START from: compute search-attributes = find-file + find-directory +...
View ArticleForum Post: RE: Listing a Folder's contents
Hi Chris, i want to list files in subfolders not only subfolders. Here is mu code from sample: copy "cblproto.cpy". identification division. program-id. SCANDIR. environment...
View ArticleForum Post: RE: Listing a Folder's contents
If you wish to find both folders and files then you should set flags to 3: find-file + find-directory
View ArticleForum Post: RE: Listing a Folder's contents
I am able to list files and folders, i not able to list files and folders recursively. Fo example i have C:\dir_A\dir_B\file_X and i set dir-name-pattern to C:\dir_A i want to get dir_B and file_X,...
View ArticleForum Post: RE: Listing a Folder's contents
That you cannot do using these calls. You would have to do one folder level at a time and then for each subfolder you would have to do another call to cbl_dir_scan_start and read thru to end, etc. etc...
View ArticleForum Post: RE: Listing a Folder's contents
OK, thanks for confirmation. Would it be possible to invoke Powershell and get files list back to my COBOL program?
View Article