Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Dear sir, I have the following problem : Compiling JVMWorldClass1.cbl... [cobol] COBCH0829S Could not find method 'adoaseti' with this signature : C:\\Users\\Pedro\\workspace\\HelloJVMworld\\src\\com\\microfocus\\example\\JVMWorldClass1.cbl(45,14,14)
Scot Nielson said you could do this in the webinar Getting Started with Visual Studio 2010. On the COBOL page of my native project's properties, I am setting Additional Directives to: USE"..\\MYDIRECTIVES.DIR". In MYDIRECTIVES.DIR I am using the COPYPATH directive to point to where the copybooks are and am leaving Copybook Paths in project properties blank. This will make it easy for us the change directives and copybook paths for all projects. Is COPYPATH the correct way to do this ? The documentation on this directive says: "You should only use the COPYPATH directive when compiling using the cobol command line utility, and not when building programs from within the IDE".#VisualCOBOL
Greetings,Overnight, the following message started to appear whenever i do a run.ASLM: Sempahore failure.It is probable that licensing home location is not corrrectly set up.If using ASLMFNET check that it is set to a valid path, otherwise checkthat the location in the registry is valid (run aslmpclocate) and thatthe location exists and has appropriate access permissions.ASLM: Errno 1000I am at loss on what to do! I found this link:kb.microfocus.com/.../article.aspxBut when i run appptrack it gives me the message:The Application Server license database cannot be created. I tried reinstalling the Server 5.0 for Deployment but the problem continues. How should i proceed?
I find there are multiple ways to improve current SupportLine web site: Correct time out issue: When entering a long answer in the incident interface, we often get trapped. Apparently, there is some timout because after clicking on "Submit", we just get back to the incident with no new message. I can't get why there could be some timeout as all the needed information (incident ID, note type and the note itself) is included in the form. Anyway, the longer the answer, the more time we lose answering our incidents Reply via mail: We work with a lot of supplier and you are the only one I know I can't update my tickets by replying to mail. All the other provider I know can sort the mail using the incident ID in the subject. This could be a workaround to the first problem as well Restore suggestion box: When clicking on suggestion box in the SupportLine web site, I get redirected to the forum, to a section that no longer exists. You should definitively do something ab
Where is SEMMNU parameter in Linux Red Hat 5? Because i have problems with connection.
Hi everyone In our project there are call to c code from the cobol programs. When i do debugging of cobol programs the execution of c prorgrams is done immediately but I want to do debug the c code also.What can i do. Thanks In advance#debugging
Hello, i have the next problem with Excel to give a cell a name. Excel Macro looks like this:ActiveWorkbook.Names.Add Name:="David", RefersToR1C1:= _ "='Table 1'!R1C1" I tested several spellings to get it to work and i am atm at this point:modify xls-book @Names::@Add ( "David", "='Table 1'!$A$1" ).This is the only spelling which is accepted from Excel without an Error. But in Excel i get i reference to Cell:='Table 1'!#REF When i set a Range before and use it to set the Cell:inquire xls-sheet @CELLS::@ITEM(1, "A") xls-range.modify xls-book @Names::@Add ("David", xls-range ). Then i get also in Excel the reference to the Cell:='Table 1'#REF When i use the R1C1-Spelling i get a Formula Error from Excel. Can anyone give some advice?
We’re working on a number of areas to help make the move from ACUCOBOL-GT and RM/COBOL over to Visual COBOL as quick and as easy as we can. One area is support for Standard Library routines, sometimes referred to as C$ routines. In Visual COBOL 2.1, we've implemented the following routines across native, JVM and .NET unless stated otherwise: C$CALLEDBY C$CALLERR C$CHDIR C$MAKEDIR C$MEMCPY C$MYFILE C$NARG: Not .NET/JVM C$PARAMSIZE: Not .NET/JVM M$ALLOC M$COPY M$FILL M$FREE M$GET M$PUT WIN$VERSION C$RERRNAME C$COPY C$DELETE C$FILEINFO C$GETLASTFILEOP C$Century C$ConvertAnsiToOem C$ConvertOemToAnsi C$DARG: Not in .NET and Java C$Delay C$GetEnv C$GetNativeCharset C$LogicalAnd C$LogicalComplement C$LogicalOr C$LogicalShiftLeft C$LogicalShiftRight C$LogicalXor C$NARG C$SetEnv C$GetLastFileName DELETE C$RERR SYSTEM RENAME If you have any other routines you commonly use you’d like to see supported in coming releases, please reply to this post or to me d
Hello, i habe a problem to set a FormulaArray in Excel. I get following Error: "Unable to set the FormulaArray property of the Range class." When i search for that error:I get an MS Articel that the error occurs when the Formula is longer then 255 characters. But my Formula is shorter. The Formla written looks like this: (German writing){=Summe(Wenn((G13:G349="Ot")*(H13:H349="Lag");E13:E349))} When i Record the Formula i get this in the MacroEditor:Selection.FormulaArray = _ "=SUM(IF((R[-339]C[2]:R[-3]C[2]=""Ot"")*(R[-339]C[3]:R[-3]C[3]=""Lag""),R[-339]C:R[-3]C))" I build in my program a display that i see the generated Form and it is exact the same as in the Macro generated by Excel. Cobol-Code i use: compute tab-zeile(xls-idx) = tab-zeile(xls-idx) 1. move tab-zeile(x
Hello! Althought I'm a programmer, I'm new to the whole cobol world. So please excuse me if my questions sound stupid. I'm having a hard time finding the documents that I need, because I'm unfamiliar with the terms that are used with Cobol programming. My or rather my employers situation is like this: we essentially have a website that runs on Cobol programs compiled as .exes. These programs are made with .net express 5.1 and we are now trying to migrate to Vsual Cobol, for it's SQL database connector support. So whats bothering me is: Does the visual cobol runtime need MF server installed for it to work Are .net express 5.1 compiled exes compatible with with visual cobol runtime Are the global variables/settings, that affect for example file sharing and file handler, global system (windows/unix) variables or are they in the MF Server or runtime. #VisualCOBOL
[Migrated content. Thread originally posted on 24 October 2011]I could verify that all the characteristics of RM/COBOL we use are working fine, except pop-up windows. Normally, we define the structure below: 01 WCB. 03 WCB-HANDLE PIC 999 BINARY VALUE 0. 03 WCB-NUM-FILAS PIC 999 BINARY. 03 WCB-NUM-COLUMNAS PIC 999 BINARY. 03 WCB-POSICION PIC X VALUE "W". 88 WCB-POSICION-RELATIVA-PANTALLA VALUE "S". 88 WCB-POSICION-RELATIVA-VENTANA VALUE "W". 03 WCB-BORDE PIC X VALUE "Y". 88 WCB-BORDER-ON VALUE "Y". 03 WCB-TIPO-BORDE PIC 9. 03 WCB-CARACTER-BORDE PIC X. 03 WCB-RECUBRIR PIC X. 88 WCB-RECUBRIR-ON VALUE "Y". 03 WCB-CARACTER-RECUBRIR PIC X.
We are converting a large admin system to managed Visual COBOL 2.0 from native Net Express 5.0 and have noticed a significant performance decrease in our batch processes. Running the same process on the same PC with the same data, Visual COBOL appears to be up to 4.5 times slower than the natively compiled code. I read in one post that a configuration setting to license manager solved the problem and in a prior incident report switching from comp-3 to comp-2 was a work-around. Are there any performance tuning tips you can send my way?
In VisCOBOL using multiple form programs (.cbl) in a single solution... ...can you tell me please if I open file A in the main form (Form A)...make a call out to another form ( FORM B) in same solution)..is the file I opened in the main form still opened as I opened it to begin with (e.g as I-O or extend etc) or do I have to close it in the main form and re-open it in FORM B in order to continue to work with it?
The executable I want to debug is in C:\\PSMJ\\bin\\Release, but the data files the program accesses are in c:\\Surveys\\Bonus\\2011. When I start debugging it immediately tells me it can't find the files referenced in the program. How can I tell the debugger where to look for the data files?
This is a how-to COBOL question. We run acu-cobol with a customized runtime that includes a C routine for a custom form/screen handler. We are in the process of converting our source code to use accepts & displays instead of our custom forms routines. In our old routines, if you choose to edit an alphanumeric field, we display the current value of the field & let the user type over it. To change a field with the value "WASHINGTON", you could type the word "ADAMS" & press enter and all characters after ADAMS were erased. When we do the same action using accept/displays, the trailing letters are not erased when you press enter, and you are left with the value "ADAMSNGTON". Is there any way around this, other than simply resetting the field to spaces before entry?
Looking for possible SFTP client options that are open source, and provide a CLI, a .NET assembly and/or COM library. (using Axdefgen or Netdefgen) Tried WinSCP, but AcuCobol does not support passing .NET objects as parameters. Any suggestions?
Is there a limit on the size or number of screen section items? I have a screen with 10 tabs and the usual labels, entry fields, etc. on each tab. I added another tab and screen items, and now I get the error "Statement too large at code address 4058". I can add the tab and the first 4 lines of screen items, but the 5th line of screen items seems to send it over the top. Any suggestions on how to get around this?
I'm an old pro at COBOL, and have a suite of programs I want to implement in MicroFocus Cobol. Unfortunately, I am utterly confused about basic terminology and structure of MicroFocus and Visual Studio. If you've think you could maybe spend an hour to help me get set up (via my GoToMeeting), I'd be more than happy to pay you for your time. Please respond here, or to carrfamily@mindspring.com Thank Tim Carr
Hi, Now I can log on to the FTP Server whats the COBOL code to send a small text file. Thanks Neil.
Hi, Does any one know of any cobol code to check if a local pc has an internet connection? Many thanks Neil.
Hi All, Found how to call an FTP site from with in a Visual Cobol program, but can any one advise how to add a username password so it logs in? set cFtpWebRequest to type "System.Net.FtpWebRequest"::"Create"("ftp://ftp.TestSite.com") as type "System.Net.FtpWebRequest" Thanks in advance. Neil.
I would like to open the main COBOL program and drill down to the copybooks, then the IDE “remembers” the variables used in the main program and don’t mark them as unused (strikethrough), but if this feature is “faraway” I would suggest to be able to turn off the feature only for copybooks.
[Migrated content. Thread originally posted on 08 May 2012]Have a problem with x"91" call outs in managed code.Code reads as... 01 command-lin-string pic x(80) value "dir/w". 01 RESULT PIC X COMP-X. 01 FUNC PIC X COMP-X VALUE 35. 01 COMMAND-LIN. 03 COMMAND-LIN-LENGTH PIC X COMP-X VALUE 0.:: DISPLAY COMMAND-LIN-STRING UPON COMMAND-LINE. CALL x"91" USING RESULT, FUNC, COMMAND-LIN. IF RESULT = 0 MOVE "01" to lnk-error-status END-IF.No DOS box appears showing a directory listing (as it does in UNMANAGED code) but RESULT comes back as 0! Managed code as defined by Application (program) output as Class library under .Net Framework 4.0
Hello friends, I'm obtaining the follow error when trying to access a cgi program through IE "I/O error : file '\\\\SERVER01\\payroll\\FP014.TXT' error code: 3/7 (ANS85), pc=0, call=1, seg=0" What does this error code means? I created a group "HR" wich can acess the folder payroll and its contents. The program called FP014H.exe is trying to read the "FP014.txt" file on \\\\server01\\payroll. The program is located on C:\\Inetpub\\intranet\\CGI-BIN\\FP014H.exe, i'm acessing on IE: "server01/.../FP014H.exe" This problem occurs wheter i call the program on IE, when logged on a HR group user or not.
Thanks to all those for attending the Visual COBOL webinar on Thursday. Here's the Q & A transcript from the webinar: Q: I’m currently using Object COBOL on Server Express in a Linux environment. We use a main menu program and then via linkage call in up to 1000 other programs. All is good except that still limited to 80 char line displays @ 24 rows and want to break out. A: Visual COBOL character applications can use more than the standard 80 cols by 24 rows, see our ACCEPT/DISPLAY documentation for more details. If you really want to breakout, then it’s time to switch to a more graphical presentation. As Mike demonstrated on the webinar, .NET has some great options for you. Amongst other things, the effort involved will depend upon how many screens you have, how coupled the business logic is to the user interface and whether you want web or thick client access to the application. Good news is, we can help assess and advise. If you want to know more, please contact me directly: sc
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.