RE: System.IO.FileStream
method-id btnGo_Click final private. 01 ls-CharsRead pic 9(09). 01 ls-CharsReadx redefines ls-CharsRead. 03 filler pic 9(06). 03 ls-Chars1000 pic 9(03)....
View ArticleRE: System.IO.FileStream
Above works on a Button Click called "BthGo" then reads the import file which is over 1MB in size one byte at a time.
View ArticleRE: What options are there for embedded SQL access in COBOL?
Sorry, please try this link instead.
View ArticleRE: Consuming WCF in NAtive Code via Managed Code in Visual COBOL
Our Service methods are accepting Value by Reference and Binary Long parameters.But I am getting error as "Wrong Parameter or Parameter not correct".Following is the scenario -When i tried to use the...
View ArticleRE: Consuming a WCF Service Created in .NET 4.5 in Visual COBOL.
Chris,I am able to successfully consume WCF in the Native code Via Generate Client Using WSDL tool.There are two COBOL programs and One Copybook is created using WSDL.The Proxy Program which contains...
View ArticleConsuming a WCF Service Created in .NET 4.5 in Visual COBOL.
Hi Our Objective is to consume the WCF Service Created in .NET 4.5.We are trying to Consume the Same WCF Service in Visual COBOL.As per my initial understanding, To achieve this in Visual COBOL, We...
View ArticleRE: Consuming WCF in NAtive Code via Managed Code in Visual COBOL
I believe the problem is that you are trying to pass in certain non-managed data types to the web service when they should be managed.I would recommend packaging these separate parameters into a COBOL...
View ArticleRE: Consuming a WCF Service Created in .NET 4.5 in Visual COBOL.
The userid and password fields if specified, will be passed as part of the SOAP message in order to do basic Web Service authentication if your Web Service supports this.If you do not require basic...
View ArticleRE: System.IO.FileStream
There are many ways to do this but a simple way would be to use the Read method to handle the entire file in a single operation instead of a byte at a time.Example: declare ws-cFileStream as...
View ArticleRE: C$OSLockInfo not works with MF format files
Hello mikmng,Thanks for posting your question on the Micro Focus Community Site. To better help you, could you let us know which Micro Focus product and version you're using, and the Operating System...
View ArticleRE: C$OSLockInfo not works with MF format files
Thank you Blair.I tested the utility and seems to work . However, we use C$SOLockInfo in Cobol Programs to know which process is blocking a particular register...It is possible to do this with wholock...
View ArticleRE: Consuming WCF in NAtive Code via Managed Code in Visual COBOL
Thanks Chris!!! I was able to solve the problem.It was related to the type of parameter passed (By Ref, By Value). Was wrongly passing by Value data type as By reference.I have one more query for the...
View ArticleRE: C$OSLockInfo not works with MF format files
Hi mikmng,Since wholock is not a subprogram like C$OSLockInfo, I don't believe you'll be able to call it directly as a subroutine. However, you can use the Micro Focus function CALL "SYSTEM" to invoke...
View ArticleC$OSLockInfo not works with MF format files
We use C$OSLockInfo rutine to know which process is blocking one register file; the rutine returns the PID. It works OK with RM files format, but when we use it with MF files format, the rutine returns...
View ArticleRM/COBOL File Conversion
\Documents\Micro Focus\Visual COBOL\Samples\Convert_ACU_and_RM_Files_to_MF\rm2mf\Readme.xml says "This utility converts an RM/COBOL indexed file or directory of files to Micro Focus indexed files. The...
View ArticleRE: C$OSLockInfo not works with MF format files
Thank you Blair, but with the contents of wholock_results.txt, how can I know which process is blocking a particular record if I know its key? It seems that the wholock output don't show which record...
View ArticleRE: CALLRB error 12336
12336 is actually 0x3030, i.e. two ASCII zero characters. It looks to me as though CALLRB is actually returning a 'good' status value, but it needs to be interpreted differently. Maybe something...
View ArticleCALLRB error 12336
Good morning.I'm working with microsoft visual studio 2010 version 10.0.40219 . I am trying to call the function " CALLRB " but it does the following error " 12336 " . syntax follows :class-id...
View Article