Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I use AcuBench 8 for compiling. The -Ci option must I use because otherwise the data in vision-file-record is not anymore correct. The solution for barcode printing is working on a other systeem where is not ICobol the base. There I don'nt use -Ci. #extend#COBOL
I have a project in VC 2.1 with 150 managed programs and adding to about 225 in the end. I am running Windows 7 with intel i3 cpu at 2.53 gz 4 gb ram and 133 gb harddrive, To load my solution takes at least 3 minutes and to build to full solution and debug take at least 15 minutes. Of course as I add projects to the solution it gets slower. The only thing running besides Visual studio is my outlook. Do I need a better PC or are there other tricks to speed this up?
If i download the free version of visual cobol personal edition can i use visual studio free when I use this cobolversion ? or must i have a licence for it. /Hans
I'm a newbie. Please forbear. In the Visual Studio listing of my COBOL program, what do the vertical green and yellow bars to the left of some lines of source code mean? Thanks.
We are addressing security issues & can't figure out what determines the read-write access on vision data files created in unix by our acucobol programs. We have played with the umasks in the user profiles & they seem to have no affect, so I'm thinking there's a umask somewhere in a config file but I can't find any documentation. Need to know how this works in AIX, Linux & SCO. Does anybody know?#umask#unix#COBOL
A job and program that has been running for 15 years, fails in the 'OPEN' statement. What do I specifically do to capture the error? If I remove input file 'MINI-FILE', it makes it past the 'OPEN' statement, (DISPLAY statements everywhere), so I think that file is the problem
This article discusses how to meet certain criteria for an animation to succeed. Problem: Even though Animator is started with the "anim" command, or COBSW= A, or by another valid means, the code executes without animating, or shows "ERROR: File incompatibility". Why is this? Resolution: On a system experiencing animation problems, it is helpful to begin troubleshooting by performing a simple test in a temporary directory away from the main application. Consider this quick demonstration of animation with .int code: If any of the environment variables COBPATH, COBDATA, COBCPY, COBIDY, and DISPLAY are set, unset them. Then enter these commands: mkdir /tmp/cob_test cd $COBDIR/demo/debug cp pi.cbl /tmp/cob_test cd /tmp/cob_test cob pi.cbl As long as the COBPATH, COBDATA, COBCPY, and COBIDY environment variables are not set, these five commands will result in the following three files being created in /tmp/cob_test: pi.cbl pi.idy pi.int If these files are not created,
imtkmake says to run imtkmake as root, where it should say to run casperm as root During installation of Server Express, at one point the "install" script says: Your Enterprise Server requires configuration. You can either do it now or later. To do it now you need to know the alphanumeric user ID of the Enterprise Server System Administrator. To do it later, enter the following commands whilst logged in as root : [cobdir]/bin/eslminstall [cobdir]/bin/casperm (In the above, [cobdir] means the directory where you installed the product). If you choose "n" for "no", Enterprise Server won't be configured. Then later if you try to invoke the imtkmake utility, the following error appears: Enterprise Server has not yet been configured. This tool cannot be run without that being done. If you wish to configure now, execute [cobdir]/bin/imtkmake whilst logged in as root. The trouble is the error should tell you to execute "casperm" as root, not &quo
Problem: The file-status 98,02 identifies a corruption in an indexed Vision file.The header's next record pointer points to an area that is invalid. Resolution: To avoid this error, add the following variables in the cblconfi file: FLUSH_ON_OPEN 1FLUSH_COUNT 1 Please review the extend(R) Documentation Set for further information about these two environment variables. #Vision
Problem: AcuXDBC works fine when installed on Windows 7 or Windows Server 2008.It works from DOS prompt, but it gives the following error [TOD][ODBC Driver]DLLLOAD: xvision, The operating system cannot run %1 trying to link a table in MS Access, MS Excel and Open Office. Resolution: The solution is to modify the environment variable PATH, making sure that the directory which contains AcuXDBC libraries is the first of the ACU/Micro Focus occurences. I.e.: if the original PATH contains something like this:C:\\Acucorp\\Acucbl620\\AcuGT\\bin;C:\\WINDOWS;C:\\Program Files\\Micro Focus\\Acucbl911\\AcuGT\\bin It must be changed this way:C:\\Program Files\\Micro Focus\\Acucbl911\\AcuGT\\bin;C:\\Acucorp\\Acucbl620\\AcuGT\\bin;C:\\WINDOWS Incidents: 2575400#AcuXDBC#ACUCOBOL-GT
the numberformat = "@" only gives positive numbers. how can i represent a negative number in a cell?
Hi guys, I'm got an error trying to compile a program using a stored procedure. Somebody knows this problem? I'm using this sentence to compile: cob -C IBMCOMP -C "p(cobsql) p(cp) endp" -x -o isismq02 isismq02.cbl ISISMQA2.cbl CONEXAO.CBL -L/dados/OracleSDK/10.2.0l_64/lib/ /dados/OracleSDK/10.2.0l_64/precomp/lib/cobsqlintf.o -lclntsh `cat /dados/OracleSDK/10.2.0l_64/lib/ldflags` `cat /dados/OracleSDK/10.2.0l_64/lib/sysliblist` -ldl -lm /dados/cobol/Password/libPassword.so –lmqicb � And I got this error: * Micro Focus Cobsql Integrated Preprocessor * CSQL-I-003: COBSQLTYPE is incorrect defaulting to ORACLE8 * CSQL-I-008: Invoking cp Preprocessor * CSQL-I-018: Invoking Oracle Precompiler/Translator System default option values taken from: /dados/OracleSDK/10.2.0l_64/precomp/adm Error at line 4411, column 21 in file ISISMQA2.sks EXEC SQL EXECUTE ....................1 PCB-S-00008,
Hi, which compiler parameter is to use for a list of all linked subprograms when a main program is compiled? Is it one of these Options? Compiler Control - ListingCOPYEXT Copybook extensions COPYLIST List copybooks COPYLISTCOMMENT Specify the type of comment DATAMAP List data items DATE Date for listings ERRLIST List source and error messages FORM Page length LINE-COUNT Controls detail of information at end of listing LIST File for source listing LISTPATH Specify the list-file path LISTWIDTH Page width MFCOMMENT Alternate-format comments PREPLIST Preprocess debug list PRINT File for source listing RAWLIST Static list REFNO Show Compiler version number in listings RESEQ Generate line numbers SEQCHK Check line numbers SETTING Print directives SHOW-DIR Print directives files TIME Put time on listings VERBOSE Compiler messages XREF Produce cross-ref listing ZEROSEQ Zeros in line numbers
I'm trying to install Visual Cobol using the "visualcobolvisualstudio21pe.exe" Visual Cobol Installer, in Windows 7, with Microsoft Visual Studio 2012 installed. The installer does NOT recognize Visual Studio 2012 and wants to instal VS 2010 elements. Is there any way to circumvent this, so that the installer and the VC 2.1 package recognizes VS 2012? Thanks!#VisualStudio#installationMFVC#VisualCOBOL
Acubench demo with the programs seen on the live webinars "Take Control with 9.2".p920.zip#HowTo-BestPractice
Using BIS 9.1 under Windows, using a standard BREAD function, if the client attempts to add a record and includes invalid data in a numeric field, the BIS process aborts with an error. Since we will (or hope to) allow third-party apps from our customers to access certain web services, it would be better (more graceful) if we handled invalid data within our program, and returned a meaningful message to the client. However, the current behaviour causes BIS to raise an error (a generic one) and doesn't even call our BREAD program. Is there any way for BIS to allow our program to do the validation? Thanks Tony
One of our clients is getting error 93, file locked by another user, when the program is trying to create a flat output file (.csv file) on a networked drive. No other users are doing anything with this file. The client also says that if the old output file from a previous run is present, the new file is created without any problems, but if the old file has been deleted the error 93 occurs when trying to create the new version of this file. The client has many users and this problem only occurs on one machine, so it is something specific to this machine, I suspect something to do with permissions, but I cant think what, if the user didn’t have access to the networked drive/folder it would make no difference whether the old file was present or not. Any suggestions? (this using Extend 8.1)
Hi there, we are working with Visual Studio 2012 with Update 2 and Visual Cobol 2.1 (2.1.0.01044) on Windows 7. If we create and compile a native cobol program (exe) and run it on a Windows XP maschine, we get the error "*.exe is not a valid win32 application". Is there a knowing issue? GreetingsDennis#windowsxp#VisualCOBOL#VisualStudio2012
We are working with relativity dserver but when the file has more or less 2 GB appears 94,67 error. the enviroment is unix open server v 6.0 ,dataserver#Relativity
Hello, We have a program created by Acubench 7.2 running on a thin client with a 64 bit OS. When the user uses the menu option (File - Exit) to close the program, all is fine. When the user clicks on the X in the upper right hand corner to close the program, a process hangs on the client's computer. Is there any way to modify how the X works when closing? It seems that all the routines are ones that are automatically created by Acubench, and I cannot seem to find away around them. Thanks so much.
Hi all; Been trying to find the .pdf (or any for that matter) manuals for Visual Cobol but with no success other than the install docs. Can anyone advise where they are for download as I assume printed manuals are not available or seriously over priced? Vince #VCVisualCobolManuals
I am unable to understand why I am getting a 'subscript out of range' error with the following:A 'next-record' table with 99 entries subscripted by 'bom-level': 05 next-record occurs 99 pic S9(9) comp. 05 bom-level pic 9(2) comp. I have put in debugging code and the subscript (bom-level) never breaks the 99 entry limit - in fact it never gets higher than 3 (see 'Lvl' below):---Enter assembly to explode...A<enter> to continue ...Lvl Ass Comp 1 A B 1 A C 2 C D 3 D F 3 D G 2 C
Problem: Customer is converting from a Server Express native application using Oracle's Pro*COBOL precompiler to Visual COBOL for Visual Studio managed code using OpenESQL with Oracles ADO Provider.They are using both cursor fetches and singleton SELECT INTO statements that specify the FOR UPDATE and FOR UPDATE NOWAIT clauses.When this is used with Pro*COBOL the FOR UPDATE clause causes a lock to be placed on rows when they are fetched from a cursor and also on a SELECT INTO statement. The locks are held until the next fetch or select INTO is executed.Likewise if the FOR UPDATE NOWAIT clause is used then a sqlcode of -54 will be returned when attempting to fetch or select a row which is currently locked.When using these constructs in Visual COBOL using DBMAN=ADO with Oracle ODP.NET Provider it seems that these clauses are being ignored and no locking of any kind is being done.How can this be remedied? Resolution: The FOR UPDATE and NOWAIT clauses were being stripped off by the Open
Problem: Customer has a native code Visual COBOL application that uses OpenESQL to access a database through ODBC. The application is linked with the dynamic option so that it will find required run-time files in production by looking to the Registry entries for the COBOL Server product. The application runs fine in Development when running under Visual COBOL but when the application is moved to the deployment computer on which COBOL Server is installed it displays the following error when it is run: "This application has failed to start because mfsqlsmf.dll was not found. Re-installing the application may fix the problem." The file mfsqlsmf.dll is in the COBOL Server\\bin folder yet it cannot be found even though the application is linked as dynamic. How can this be resolved without having to explicitly set the system PATH to include the bin folder? Resolution: If you add the sql directive: $set sql(NOHSFTRACE) to your application then it
Problem: Customer needs to set some file handler configuration options for a file which resides on a network server.In the application the file appears in the select assign to clause as: select test-file assign to \\\\compname\\filefolder\\testfile.dat How should this name be specifed within the extfh.cfg file in order for the name to be resolved correctly? Resolution: You can use a UNC name in an extfh.cfg file tag but you have to double the slashes in order for the file to be found. Example: to set a tag for the following: \\\\compname\\filefolder\\testfile.datYou would use: [\\\\\\\\compname\\\\filefolder\\\\testfile.dat]alternatively, if you set the basename=on option in the xfh-default tag then you can just specify the file name without the full path: [XFH-DEFAULT] BASENAME=ON [testfile.dat]
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.