Quantcast
Channel: Visual COBOL
Browsing all 5819 articles
Browse latest View live

Forum Post: smtp mail with cURL (was in wrong forum)

Hello, I have been trying to send mail using cURL from Cobol. I took an example from this forum but I am stuck with the mail body: Here is the link to the example from cURL...

View Article


Forum Post: RE: Printing

If you are writing the file to disk first then perhaps you could try using PC_PRINT_FILE instead of the printer redirection shown in the example which is really for writing your print line directly to...

View Article


Wiki Page: Change Oracle password without recompile

Problem: How can I change my Oracle password without having to recompile my COBOL programs? Resolution:   Propose using environment variables and having COBOL access those. Since Unix jobs are started...

View Article

Wiki Page: Overlapping PERFORM...THRU...EXIT

Problem: My program appears to be losing its ability to perform thru exit. It falls to the next para instead of returning to the location where it was performed from. . Resolution: This customer's...

View Article

Wiki Page: Gathering test data

Problem: How do I generate a file of test data for testing COBOL syntax? Resolution: There is a website, http://www.briandunning.com/sample-data/, that has free sample data for testing. They are 500...

View Article


Wiki Page: Demo retrieving pid from Server Express

 Problem:  How do I retrieve the program id (PID) on a Unix machine running Server Express?  Resolution: These two demos demonstrate how to retrieve the program id (PID) on a Unix machine running...

View Article

Forum Post: Method description

The following code is part of the ExceptionDemo. There is a description for the New method but this is not shown in Object Browser after selecting the method. Only the class Name "TimedException"...

View Article

Wiki Page: Location of cobsetenv on Unix/Linux

Problem: The cobsetenv shell script is used to set the COBOL environment for Visual COBOL products on Unix and Linux. This includes Visual COBOL for Eclipse, Enterprise Developer, and COBOL Server. In...

View Article


Forum Post: Visual COBOL eclipse - Debugger Run-time error 253 Cannot load...

Program "a" CHAINS to program "b.exe" resulting in this error.  However, I can debug program "b" if it is the initial program started in the debugger.  I'm having the same error in Run mode.

View Article


Forum Post: RE: Printing

Can that file be an external file that is created during the select assign to statement?

View Article

Wiki Page: Visual COBOL support for Solaris 9

Problem: Visual COBOL installation fails when attempting to install on Solaris 9. Solution: Visual COBOL for Solaris has dependencies that are not present on Solaris 9 installations. Visual COBOL is...

View Article

Forum Post: RE: Printing

Take a look at PC_PRINT_FILE routine in the docs under Library routines. The first parameter that you pass in is a variable containing the filename to print. This could be the same variable that you...

View Article

Forum Post: RE: Visual COBOL eclipse - Debugger Run-time error 253 Cannot...

I changed it to a CALL and got the same error.  I am wondering if there is something wrong with the environment.  Running on a Windows 7, 64 bit machine.  I just want the code to run local right now....

View Article


Forum Post: RE: Visual COBOL eclipse - Debugger Run-time error 253 Cannot...

How do you have your projects setup? It seems like you are generating .EXE files for both your main program and subprogram which is not allowed. If your main program is an .exe then you can call...

View Article

Forum Post: RE: Visual COBOL eclipse - Debugger Run-time error 253 Cannot...

From the 253 error, it appears that you are calling the subprogram with an explicit reference to the extension on the subprogram, something like CALL "b.exe". Once you change the subprogram to be one...

View Article


Forum Post: RE: Printing

Sorry for the back and forth questions.  I am relearning COBOL.  It is quite different from when I studied it in 1984.  In reference to the code you sent to me, is this the exact code I use replacing...

View Article

Forum Post: RE: Printing

No, that was an example for assigning to an environment variable because you mentioned you were using an external name which uses an environment variable. If your select statement is assigning...

View Article


Forum Post: RE: Printing

This is for a school project that I am running on my pc at home.  I wasn't sure if it were best for managed for native.  I am assuming native since I am not uploading to a server or anything.  So,...

View Article

Forum Post: RE: Printing

No need to send the file.  It is working great using the PC_PRINT_FILE.  I now want to look into the option of having the dialog box pop up to choose the printer name.  Maybe another day however....

View Article

Forum Post: RE: Installation Visual Cobol stops with 0x80004005 - unspecified...

I have the same problem and checked the TMP and TEMP settings. The actual used temp env. variable is TMP. I have set TMP to C:\TMP and TEMP to C:\TEMP. TMP was used. The C:\TMP directory contained the...

View Article
Browsing all 5819 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>