Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Dear Sir, When I executed this Code in Visual Cobol for Visual Studio, Thge Output File is Empty : $set p(prexml) endp program-id grabaxml as "XMLDemo.grabaxml". Environment Division. Input-Output Section. File-Control. Select xml-stream assign TO not line advancing "C:\\MByB\\out.xml" organization is XML document-type is "group" file status is xml-status. data division. xd xml-stream. 01 xmls-group. 05 xmls-Number pic 9(18) identified by "group". 05 xmls-Alpha pic x(80) identified by "elementAlpha". Working-Storage section. 01 xml-status pic xx value 99. procedure division. open output xml-stream. move 1235  
Dear Sir, I am Getting the Error enclosed when I Build an Application in Visual Cobol fot Visual Studio. When I Debuggins with animation I see That all is fine but not Find de File "C:\\FILE1C.DAT"that I defined in App.config following the Tutorial Instructions.(Error 7 COBCH0829 : Could not find method 'text' with this signature C:\\Users\\Pedro\\Documents\\Visual Studio 2012\\Projects\\VCDemo\\CobolWinForm\\Form1.cbl 27 48 CobolWinForm) The Informatives erros in the following Syntaxi : move NEUTRALNAME to TextboxFname::text SURNAME to TextBoxSname::text Many Thanks in Advanced PJM
I am a first time user. I downloaded the trial version with eclipse. I followed it's getting started example til it told me to choose new>project>COBOL. There is on COBOL anything in the list. Any ideas?
Does the CALL "HttpPost" library routine have a built-in timeout, or is it conceivable that it could hang indefinitely while waiting for a response?#RMNet#ACUCOBOL9.2.1#HttpPost#timeout
Hello,I've got a question regarding file locking and the 'wholock' utility. I'm running on Solaris 10 with version cat $COBDIR/etc/cobvercobol v5.0.00-ePRN=R9CTH/AAH:9l.a5.50.03PTI=WrapPack 4 (7276.7659)PTI=ESPTI=Fixpack50.03_13 Process A is reading a file with fcd.LockModeFlags,FCD_LM_MANUAL. wholock shows that process A holds 0 read and 1 write lock. Process 26709 (user1) on tty ? holds 0 read and 1 write locks What confuses me is that while Process A holds a write lock, Process B is able to WRITE and REWRITE records on that same file with no problems. Should this be possible and can I rely on 'wholock'? Thanks in advance for any insight or advice. - Rich
If I have to make a certain field of a record larger I use to define the new PIC biger, example PIC x(20) to PIC X(30). But afterwards it is necesary to convert the old file to the new structure. That is quite tedious, because I have to read the old file, move all the corresponding fields to the new, write the new record. If that is finished I must rename the new file so that it has the old name. This procedure Works good, but is sometimes a big job just for this conversión. Does someone know an easier method? MOVE CORR helps a litle bit, but not at all. Thanks for any help Rolf
When downloading the VS Cobol PE; I receive a message that indicates I need to download Visual Studio 2012 Content Help Manager?
I have two solutions running on one server, one is a managed code windows based application, the second is old mainframe code that is running in naïve code. My managed code application runs fine, but when I try to start one of the naïve code program .exe, I get an error message 245 no valid product license. Do I have something setup incorrect? Confused how one solution can find the license but not the other. Thanks
Hello out there ... I have the following JVM Cobol Programm "XUSERVG" (compiled with ILSMARTLINKAGE) ... stub below : LINKAGE SECTION. *---------------- 01 SL-EXT-UEBERGABE PIC 9(7). 01 S-EXT-UEBERGABE. 02 SHARK-LEN PIC X(2). 02 EXT-UEBERGABE PIC X(50). 01 SL-USERVG-IO PIC 9(7). 01 S-USERVG-IO. 02 SHARK-LEN PIC X(2). 02 USERVG-IO PIC X(4085). PROCEDURE DIVISION USING BY VALUE SL-EXT-UEBERGABE BY REFERENCE S-EXT-UEBERGABE BY VALUE SL-USERVG-IO BY REFERENCE S-USERVG-IO. The Call in Java looks like : int SExtUebergabeLen = 815; SExtUebergabe sExtUebergabe = new SExtUebergabe(); int SUservgIoLen = 4711; SUservgIo sUservgIo = new SUservgIo(); XUSERVG xuservg = new XUSERVG (); RunUnit runUnit = new RunUnit(); runUnit.Add((IObjectControl) xuservg); // retValue = xuservg.XUSERVG(SExtUebergabeLen, sExtUebergabe, SUservgIoLen, sUservgIo); Object params [] = {SExtUebergabeLen, sExtUebergabe, SUservgIoLen, sUservgIo}; retValue = runUnit.Call("de.lv1871.cobol.XUSERVG"
Deasr Larry, Enclosed the Result of Command Execution.....
I am fetching an excel file into an acu grid but some cells isnt transfered properly. An excel cell of text format that contains "1" its tranfered as "1,000000000000000E0" in the Acu Grid. Does anyone know why? 01 W-BX-CELL-DATA pic X(100) VALUE SPACES. INQUIRE olWrkSh Range(TARGET)::Value IN W-BX-CELL-DATA#excelgridformattextnumber
In Visual Studio 2010 Pro (on a virtual machine VirtualBox with Windows XP) when I try a new project with Visual Cobol PE I have the message you can see in attached file. Thank you for your help. #VisualCOBOL
Dear Sirs, When I try to to Debug a Project Build with Visual Cobol for Visual Studio I get the Following enclosed with POST. Many Thanks in Advanced. PJM
Dear Sirs, Can I execute a Program.EXE generated in Visual Cobol for Eclipse Windows in a UNIX or Linux Environment ? Many Thanks, PJM
Dear All, I Make the LINK in Windows following the instruction given for Micro Focus : The LINK RUN Well Then I Tested the program : Not RUN well (Was generated as ojala.int) Then I Generated the program as Ojala.exe : The program Generated the POP UP Windows that we were finding. Enclosed the Figures to see that. Many thanks to all and we can CLOSE this Ocurrence.
Problem After Net Express 5.1 has been installed you might find that you are unable to generate a Request key. When you go to the MICRO FOCUS License Management System Configuration screen (i.e. Windows ‘Start’ > ‘All Programs’ > ‘Micro Focus Net Express 5.1’ > ‘Configuration’ > ‘License Management System’ you might find that although Net Express has been installed and there were no errors during installation that ‘Net Express’ does not appear under the heading ‘Product’. If Net Express does not appear under the heading ‘Product’ it means the License Manager does not recognize that Net Express has been installed on that machine. Resolution One of the most likely causes of this error is that the user who installed Net Express did not have sufficient user permissions. For example, if Net Express (and subsequently the License Manager) had previously been installed
Problem: The error “Micro Focus License Manager service is not running” almost always occurs when attempting to RUN a COBOL application – eg on a production machine with Application Server/Server for COBOL installed. However, there are circumstances when this error might also occur when building a Project in the Net Express IDE. The project can be opened and worked on without issue, but when building the Project this error can sometimes arise. Resolution: This error might occur if Net Express has been upgraded from an earlier version or if the machine was originally a runtime server with Application Server installed but is now being used as a development machine. The problem can be the result of the COBDIR environment variable setting. If COBDIR has been set at a System or User level in Windows (Control Panel > System > Advanced System Settings and then the ‘Environment Variables’ tab) for a previous version of Net Express or Application Server
PROBLEM : System.Drawing.Image is not recognised ------------------------------------------------ I want to read the contents of a jpg file and *>1 - Create a thumbnail from a photo (quality 100 % , 320, 320) *>2 - resize the photo to a maximum size (quality 100, 1680, 1050) *>3 - Get exif info as one string *> One of the MAIN problems i encounter is that all references to : type System.Drawing.Image is not recognised by the compiler as a valid class or method ????????????? (the method : System.Drawing.Image.Fromfile(filename string) looks usefull here ) When i open Namespaces in the property tab of the project, System.Drawing is not present. I am using Visual Cobol 2.2. , Visual Studio 2012 , .framework 4.5 and the program is defined as : managed console application. The program reads an input text-file containing the full path and file name of one foto ( one per line). REMARK: I can not use windows forms , because the
Dear Bruce, Enclosed the result after your suggestion.. TKS
Dear Mr. Larry Hines, Could You please be more especific about HOW we can do that?.
Mr Larry Hines, were tested the projects submitted? Since the solution sent by ustes of is not for Visual Cobol for Eclipce. Ver 2.2.00247 Please Run the projects submitted in visual studio platform and copy them to Visual Cobol for Eclipse and see what does not work. Please send us the solution for V. C. for Eclipse. thanks Atte. Luciano Ulloa.
Problem: After upgrading Visual COBOL to Version 2.2 Update 1 the following error may be encountered when using Managed Code Projects where code does not use specific properties of a method: COBCH1712 <object type> has no visible instance method '<value>' with 0 parameters. Resolution: The release notes of Visual COBOL 2.2 Update 1 state: In member reference in managed COBOL syntax, parentheses can only be used when referencing methods. Parentheses can no longer be used when referencing fields or properties, as this will produce a syntax error. For example: set intLength to testString::Length() must change to: set intLength to testString::Length
Dear Chris, Enclosed the projects in ZIP Fprmat to you test. TKS
Hi, I'm trying to disable opportunistic locking, and I've been reading documentation in this same foro about it. My question is the next: I'm using mapped drives to access to vision files (not acuserver). Would it be enough by turning off opportunistic locking from client pc, or should I turn off opportunistic locking in the 'server' machine too? The problem is that I never know if the opportunistic locking is disabled in the server machine, while I'm running the application from the client. Thanks and regards
Hi all I cannot get the runtime tunable command_line_linkage to work. There is warning in the documentation that this works only for executables. Does this mean this tunable will not work for program compiled to GNT or INT? I am using NetExpress 5.1 with MTO regardsRico
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.