Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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 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 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 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]
Problem: Customer asks: Is it possible to compile a Visual COBOL native program with Target CPU as AnyCPU? I know it is possible for .NET support, but I am not using it. I read some info about ILTARGET directive, but it is only available for .NET. Is this correct? Resolution: The TargetCPU anyCPU option is only available for managed code applications that target the .NET Framework. Managed code applications are generated as MSIL object code which is the Microsoft Intermediate Language format. Although these are generated as .EXE and .DLL assemblies they are not in an executable format but are instead in an intermediate format that are actually compiled as necessary when they are run. Because of this you can set the TargetCPU in these files so the .NET compiler knows how to generate the code at run-time. By setting this to anyCPU, when you run these assemblies on a 32-bit system they will be generated as 32-bit executables and if run on a 64-bit system then they will be genera
Problem: Customer is accessing an Oracle database via OpenESQL (not Pro*COBOL).They need to check the sql syntax at compilation time. They are using the following directive: SQL(TARGETDB=ORACLEOCI) Is it possible to use the SQL(CHECK) directive to pass the embedded sql statements to Oracle at compile time for syntax checking? Resolution: SQL(CHECK) is not supported with TARGETDB=ORACEOCI. To use SQL(CHECK), you need to use the DBMAN=ODBC directive. ORACLEOCI is being deprecated.
Created On: 12 November 2012 Problem: In RM/COBOL the PROGRAM-ID is a special register that returns the program name. For example in RM/COBOL the following code sets the data item ws-pgmid with the value of the program-id. 03 ws-pgmid pic x(30) value PROGRAM-ID. This is not valid in Visual COBOL Resolution: Visual COBOL has its own set of Library routines that can be found in the documentation under Reference > Library Routines. An example of how to return program information about the current program and other program in the run-unit is as follows: (please see entry for CBL_GET_PROGRAM_INFO for more detailed information), solution although it means code change…. Get Program-ID into Visual COBOL program program-id. testProgram. data division. working-storage section. 01 wsfunction pic x(4) comp-5. 01 param-block. 05 cblte-gpi-size pic x(4) comp-5. 05 cblte-gpi-flags pic x(4) comp-5. 05 cblte-gpi-
Hi, We have GDG with the scratch limit as 99. But we have seen that the GDG biases are getting overwritten even before the maximum limit is reached. For example, If we have 10 biases present and now when the job runs it should create 11th one. But it is not creating the 11th ! Instead, it is overwriting the 2nd or 3rd version. And when the job runs after this, version 12th is getting created. It seems so wierd and we have lost data because of this !!I don not understand why is this happening !! Can anyone help me on this? Thanks in advacne! Vamshi Rathnaa. #ServerExpress
Using Net Express 5.0, I'm trying to call a cobol program compiled as an EXE from an AJAX call in Javascript, passing the data to the program using POST. If I pass the data with the URL, and I accept it in the cobol program from the command-line, everything works peachy. However, I have an application where I want to POST a really long string, so I'm trying to do a proper post, and just do ACCEPT rather than ACCEPT ... FROM COMMAND-LINE. When I try that, the program just hangs and I get a CGI timeout. Here is the source of my test program: $set preprocess(htmlpp) endp *>**************************************************************** identification division. *>**************************************************************** program-id. "ajaxtest". &
Beginning to implement web services using BIS with Extend; when creating a new session (ie when a user logs in), we want to generate a unique access token for that user (so we can validate subsequent requests to other services, timeout sessions, etc.) - I recall seeing a sample program either in a tutorial, or during a webinar, or maybe at the users conference in Newark, but my memory fails as to where I saw it. Can anyone point me to a method of generating a unique access token that would be straight-forward to implement in Extend? Thanks Tony
Until recently I dis not see this message. In the last fortnight I have encountered this message on about five occasions. The first time it occurred I ended up replacing my profile. Last week I was debugging a program and observed that when using "WIN$PRINTER" without any additional features, my programs were running OK. Today, I ran a program which has terminated normally for years, but today it threw up the above message. As I was running in debug mode at the time, I notices that it terminated abnormally when it reached the section of code below: INITIALIZE WINPRINT-SELECTION. INITIALIZE WINPRINT-NO-OF-PRINTERS. MOVE "CutePDF Writer" TO WINPRINT-NAME. CALL "WIN$PRINTER" USING WINPRINT-GET-PRINTER-INFO-EX,
Hello, if i use a HTML-Form with a "multi checkbox set" i have the same issue like in php:http://www.wastedpotential.com/html-multi-checkbox-set-the-correct-way-to-group-checkboxes/ When i use the brackets like in the description i get no date when i use "identified by" Sample of my HTML-Part: <fieldset> <table> <tr><td><label for="fGrund"><strong>Anlagegrund: *</strong></label></td> <td><input type="checkbox" class="checkbox" id="fPote" name="Grund[]" value="P" /> <i>(Lieferant mit gro&szlig;em Potential)</i><br /> <input type="checkbox" class=&qu
Hello Everyone, I'm interested to come back on COBOL, never worked with since 15 years. I have downloaded Visual Cobol for Visual Studio 2012. I have VS2012 Express Web, Windows and Windows 8. The installation of Visual Cobol don't give me error, but when i try to start VC, i get this error someone already get this kind of error? does i need to uninstall and install again? Thanks for your help.
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.