Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Dear forum members, With my AcuCorp AcuCobolGT runtime (v7, v8 and v9) I create email messages with attachments. These go directly to Outlook (through a generated outlook.def) and to bypass the warnings of Outlook I use a product called “Redemption”. My question is the following, when I would switch to Visual Cobol (managed and / or unmanaged) is it necessary to still keep using Redemption, to not get the warning from Outlook, or can I just create and send emails from Cobol through Outlook without getting the warning window?
I use WINPRINT-GET-PRINTER-MEDIA to search for the paper-trays. For how to do that, I used the source-lines in PRNDEMOX.cbl(version 9.1.1). Here are the result out of 2 different printers. HP CM4730; the values to WS-HB are 15, 257, 258, 259, 260, 261, 262, 1257,1258,1269,1270,1002,1272. This printer has 4 tray's. HP2050; the values to WS-HB are 15, 262, 258, 259, 260, 261, 262. The standard model has 1 big tray and under it a second tray. With value I have to move to WINPRINT-CURR-TRAY? The value 7 is WPRT-AUTO-TRAY. Or do I have to use/make an other solutions. #WINPRINTER
One of our users is getting a run time error when our program is connecting to excel in Office 2013 which does not occur connecting to Office 2007. Problem is I cannot remember the command line for the compiler to get the address of the procedure division so I can see what statement is causing the problem. It gives me Cobol error at 0003AF, but I need to know where 0003AF is in the program? Any help on this please?
We are installing a new server running Server Express 5.1 under Sco UNIX 7.1.4 We have 2 developer licenses. I've copied the Cobol programs, copy files and data from our old server and regenerated all the code, which is running OK. However there are some different results in some of the reports to our original system and I want to animate to find out why. On the Developer Environment I compiled the first program I want to animate and checked that an idy and an int were created from the original cbl I then press F4 to start the animation and type my program name into the file parameter. When I press enter I am returned straight back to the developer screen without any messages and without entering an animation screen. I guessed I might have a problem with my environment variables, but I can't see where I'm going wrong. The variables set up are: COBDIR=/opt/lib/cobol export COBDIR COBIDY=/source/cobol/idy export COBIDY COBCPY=/source/copy export COBCPY LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIB
Micro Focus’s Legacy COBOL Modernization toolkit provides tools and processes with which legacy COBOL developers may easily and speedily translate their desktop ACUCOBOL-GT or RM/COBOL applications into Visual COBOL. ACUCOBOL-GT and RM/COBOL are extensions of 1985 ANSI COBOL as is Visual COBOL. All of ACU’s 1985 elements and behaviors are compatible with Visual COBOL and modernization will not need to modify them. Some of ACU’s and RM’s extensions are fully supported in Visual COBOL and, likewise, need not be modified. Modernizing the remaining constructs is essentially translation process which can be semi-automated in Visual Studio or Eclipse. The process analyzes legacy source code using the Visual COBOL compiler with the KenlyGen option to produce an abstract syntax tree. The process identifies legacy constructs in the abstract syntax tree to be modernized and posts modernization tasks for the constructs to the IDE’s task window. 
Hi everyone !! I need to dev a schema with a java program invoking a cobol on unix, I saw on microfocus documentation, but I wasn't find where to get ths package: "import com.microfocus.cobol.*; " Any one has this link or how/where can I do that? Thanks!#Java#package#COBOL#import#library
Modernization projects are created with a directives.dir file. This file provides a set of Visual COBOL directives to more closely approximate the legacy COBOL compilation and run-time. Almost all of the directives are to add or remove reserved words. Users may find that they need to adjust these directives for their system. For example, if your code uses METHOD as a data item name, the first time you create modernization tasks you will get a manual serious error task. Reserved word used as data name or unknown data description qualifier. Is a reserved word being used as a data item? To proceed you may either rename the data item through out your system or remove METHOD as a reserved word in the directives.dir file. remove(METHOD) We suggest the latter option. Insert a remove(METHOD) directive in the directives.dir file. Delete all of the *.KenlyGen.xml and *.KenlyErr.xml files from your project directory. &nb
Hi, I have installed Net Express 5.1 personal edition on Windows 7 64 bits and never appears the Unix Option option (according to this document supportline.microfocus.com/.../mcdsys.htm it should appear).
I'm trying to call the email, with the "c$run".The parameter i've pass to the function is as follows:"c:\\program files\\windows live\\mail\\wlmail.exe" / mailurl:mailto:mail@mail.com?subject=&body=&attach:c:\\ temp\\test.txtThe email I opened properly but the problem is I do not attach the file.Anyone know if there is something wrong with the parameter? Thanks.
Hi, I'm new to Visual Cobol (I have Version 2.1 Upgrade with Visual Studio 2012 running in Windows 8). In Net Express I used an OO program to call registered COM objects. Using VC (Form Designer) I have made references to these objects: They are described as Interop.ObjectName, Type ActiveX. But, I haven't found any explanation or instructions on how to code these objects and call their entry points. I'd appreciate some help on the subject.
I am about to get a brand-spankin'-new desktop that will be running Windows 7, which makes me very excited, except for one thing. We are currently running Net Express 5.0 as our development environment. My recent experiences with installing Net Express 5.0 have been, shall we say, adventurous. Does anyone have any experience installing 5.0 on Windows 7? Any compatibility issues? Anything to watch out for or beware of? Or does it run just fine and I am worrying about nothing? Thanks! Mike#windows7#Windows#netexpress#NetExpress5.0
When I try to run my application I'm getting a 173 error on DSGRUN. Where can I find the documentation for deploying Dialog System runtime for Visual Cobol?
In a program i call "c$system" to launch another cobol program in a separate process with the following: add CSYS-ASYNC to CSYS-HIDDEN giving csys-flag call "c$system" using "bin\\wrun32 -c OUR-CONFIG.CFG myProgram" The program correctly starts and performs its operations, however on some of our customers' PCs it opens a black dos prompt window until it' s done. The program does some background operations so it doesn't even have the screen section. I can't reproduce on my PC. It may not be a problem has it suffice to minize the window, but our customers are really scared by this bad, ugly black screen so they are attacking our help desk service (we have more than 8000 customers). Any idea about why this happens? I have already tried also with CSYS-MINIMIZED flag.
The problem about create coverage report. I have a error when I create coverage report again after the source of program has been modified.The error is [TC041E Matching source file not found.Program MUSJ2401. NOTE no source code available].But the MUSJ2401.idy is in the current path which is I run the [cobtcreport tcresult.tcz].And I can create thereport at the first time.When I modified the source and create the report again,the error has occured.The .idy file copy from the same path.The default.tcf is[RESULT /home/admin/workspace/A20130501/unittest/coverage/tcresult.tcz]. Who can tell me why? My operation flow is [compile COBOL program]-[compile JVM COBOL program for test]-[run the JVM COBOL]-[create report](OK)-[modified COBOL program]-[compile COBOL program]-[compile JVM COBOL program for test]--[run the JVM COBOL]-[create report](error has occured) The screen copy[admin@rhcs32 coverage]$ lltotal 1692-rw-rw-r--. 1 admin admin 1434 May 7 16:05 default.tcf-rw-rw-r--. 1 admin admin 27
Hi all, I would like to identify if a disk is removable or fixed. I found that the relative function is "GetDriveType" but I couldn't make it work... Thank you
We have a hybrid application that runs both native and managed functions from a native menu. The first program run is managed. I want to start a message loop in this program then show each managed form with the Form::Show() method. When I execute Application..Run(ApplicationContext) in the debugger the output window displays "Step into: Stepping over non-user code 'System.Windows.Forms.Application.ThreadContext.ThreadContext'" and it just hangs. This is my code: class-id. Mgload as "Mgload.Mgload". method-id Startup static attribute STAThread() local-storage section. 01 context type MgLoad.MyApplicationContext. procedure division. set context to new type MgLoad.MyApplicationContext &nbs
Hi All, We run with extend 9.0.1 web thin client/AcuConnetc via a client Internet Explorer. We have found that on many occassions a wrun32.exe will be sitting on the server running at 6%. The wrun32.exe process can be viewed in AcuConnect and looks active. The web thin client however has disconnected so by all accounts the wrun32.exe should have shut down aswell. Has anyone else come across these high running orphans or have any idea how to troubleshoot something like this. Thanks in advance.
hi all, Is there a way to let know MF plugin (enterprise Developer for Eclipse, actually) taht files w/out extensions are INCLUDE files, and they should be treated as copybooks. Ive tried to add type (eclipse eindows->preferences->general->content types-> text->microfocus project types-> cobol copy book) but it doesnt allow.. Thanks in advance, Alex#eclipseMFcobolcontenttypewithoutextension
Hi Guys and Gals, This should be a real simple one to resolve. I'm converting a bunch of Mainframe COBOL to Unix V6. All is going reasonably well except that when my COBOL program needs to produce an ABEND condition back to the calling shell, it is always the PID or 0. I do my compiles as cob64 -x foo.cbl -o foo. Any Suggestions? Thanks#COBOLserver
Hello I need to read and write files larger than 4 Gb on V6 Enterprise. I opened an incident but still no joy. I can work around this by processing the files as splits in and out and putting them back together in Unix, but I really don't want the next guy to have to know Unix and COBOL to figure out what I did. Is there a flag or something that will let me work around this?
Hi, we have a problem on an Citrix Server running Thin Client connectet to an Linux Server. Sometimes the ThinClient crashes without a message and the acuthin process is still running and have to cancel manually in task manager. 30-40 Users most work on the system. The process slow down the performance and make working on the server impossible. I have no idea how to get near a solution. Have anybody an idea for me? (Citrix Receiver Version: 3.4.0.29577 Thanks#9.1.2.1ThinClientAcucorpCitrix
Hi, I got a error , when NET EXPRESS complier source like : " 316 EXEC SQL 317 SELECT ITEMA 318 INTO :ITEM_A 319 FROM MY_TABLE 320 END-EXEC " error message * 801-S******************** ( 0)**** External Compiler Module message** ES0109 ITEM-A I don't know why host varible was changed , and how to fix that problem. Regards
Hi Running on a Citrix server with a thin Client I need to accept CLIENTNAME from the local computer. We normally use this line to accept Environment variables. Accept w-clientname from Environment "CLIENTNAME" But when we run this line, we got nothing in the var W-CLIENTNAME. When inspected the client in a Command prompt, I can see that the CLIENTNAME is filled with name of the local computer. Therefor I think that the reason for not geting anything in the w-clientname, is that the Accept is executed on the server and not on the client. Could anybodt tell me how to force the accept to run on the client ? Regards Steen
We are running Acu 9.1.1 on Windows - on WInXP, Win7, etc., we do a C$SYSTEM call to invoke a function, using 98 as the flags, the command executes and control returns to Cobol upon completion (this is the expected behaviour). When we run the exact same program, same system call, on Windows8, the command executes asynchronously, returning control to Cobol immediately. This causes problems because we expect the command to execute fully before returning. Is this different behaviour in Windows8, or do we need to upgrade from 9.1.1 to 9.2 for Windows 8, or is there something else happening here? Thanks Tony
Hi there, I ran this past MicroFocus a while ago but did not get very far so thought I would open it up to the community. I have noticed that on some servers the wrun32.exe is very slow to start. We have a client running on windows 2008 server 64-bit with the 32-bit Acu4gl extend 9.01 runtime. The runtime resides on a SAN physical drive and when RDPing into the server and double cliking on the wrun32.exe it can take up to 60 seconds before getting the cbl.out message of no parameters appears. You can see the wrun32.exe building in memory size very slowly until it is launched. Even if I put the runtime on the local c drive the performance is very slow to start up. Once you are in the application the performance is fine. Has anyone else experienced this. The server does not have internet access. Interesting point is that if the wrun32.exe is executed via Web Thin Client it starts really quickly which makes it even more perplexing. Other servers f
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.