Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to do the basics???? 2

Status
Not open for further replies.

Watty

Programmer
Sep 30, 1998
1
0
0
US
I'm trying to help a friend get Cobol on their Pc so they can do some of their Cobol homework from school at home. I've downloaded several versions of Deskware Cobol (latest version 015) but can't seem to figure out the basics on how to get something to run. Is there somewhere I can go to get the basics???? Mike.Watson@Navistar.com<br>

 
Mike,<br>
<br>
Deskware COBOL is not ANSI85 compliant. This may cause a problem for someone trying to use it for homework. They are probably developing ANSI85 specific programs in the class. You maybe be able to do some of the programs depending on what commands they are using. Here is some additonal information about Deskware COBOL that might help you out.<br>
<br>
Deskware COBOL is a compact, easy-to-using COBOL development tool. With it, you can develop system interfaces, web-based CGI applications, transfer files over the Internet, send and receive simple emails, and gather web pages.<br>
<br>
<br>
Deskware COBOL is ran from the command line. You will need to bring up a "DOS prompt" or "Xterm" depending on what operationg system<br>
you are using, and type "COBOL.EXE &lt;filename&gt;" to run Deskware COBOL. <br>
<br>
<br>
The command line options are as follows:<br>
<br>
COBOL.EXE "filename" - interprets source code<br>
COBOL.EXE -i "filename" - loads the source and starts interactive mode <br>
COBOL.EXE -b "filename" - builds an executable file<br>
COBOL.EXE -l "filename" - interprets source code and creates a .log file<br>
<br>
<br>
<br>
We used to sell a manual for $30.00US, but stopped because we were not happy with the quality. We will be putting together a new manual in a couple of months. Right now, your best source for examples will be the example programs on <br>
<br>
<br>
If you are using the Win32 release on NT4.0, you might have some trouble with the command line options. Try upper case "COBOL.EXE" when executing or building executables. Otherwise it works find under Win95. <br>
<br>
The releases for Solaris and Linux are the same as the ones for Win32, but do not include the TCP/IP commands. We should have a SCO release 0.007 in the very near future.<br>
<br>
<br>
<br>
<br>
<br>
<br>
Deskware COBOL is not ANSI85 compatible. It is currently still under development and does not have all of the COBOL commands implemented. I have grouped the ones that have been implemented into three categories. <br>
They are below:<br>
<br>
<br>
DESKWARE COBOL COMMANDS THAT ARE ANSI LIKE<br>
================================================<br>
ACCEPT<br>
ADD<br>
DIVIDE<br>
GOBACK<br>
INTIALIZE<br>
MOVE<br>
MULTIPLY<br>
SET<br>
STOPRUN<br>
SUBTRACT<br>
DISPLAY<br>
CLOSE <br>
<br>
<br>
DESKWARE COBOL COMMANDS THAT ARE NOT YET ANSI LIKE<br>
====================================================<br>
CALL - No USING option<br>
COPY - No REPLACING option, No VLAUE option<br>
WRITE - No AFTER ADVANCING option<br>
IF - No LESS THAN, GREATER THAN, EQUAL, NOT, AND, or OR support<br>
READ - Does not support the RECORD keyword<br>
PERFORM - Does not support inline performs or PERFORM VARYING<br>
OPEN - Does not support the keywords OUTPUT or INPUT<br>
<br>
<br>
<br>
<br>
DESKWARE COBOL COMMANDS THAT ARE NOT PART OF THE ANSI STANDARD<br>
=============================================================<br>
BANNER<br>
CALENDAR<br>
GETBAN<br>
GETCAL<br>
ACCEPT &lt;VARIABLE&gt; FROM KEYBOARD &lt;--- use this to accept standard input<br>
FTPASCII<br>
FTPBINARY<br>
FTPCD<br>
FTPCLOSE<br>
FTPCONNECT<br>
FTPGET<br>
FTPPUT<br>
GETHOSTNAME<br>
GETHOSTBYNAME<br>
GETTIMEFROMSERVER<br>
GETMAILCOUNT<br>
GETMAIL<br>
GETWEBPAGE<br>
SENDMAIL<br>
CREATESOCKET<br>
BINDSOCKET<br>
LISTENTOSOCKET<br>
CONNECTTOSOCKET<br>
ACCEPTFROMSOCKET<br>
RECEIVESOCKET<br>
SENDSOCKET<br>
SHUTDOWNSOCKET<br>
CLOSESOCKET<br>
GETENV<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
DESKWARE COBOL DIVISION INCOMPATABILITIES WITH THE ANSI STANDARD.<br>
<br>
<br>
IDENTIFICAITON DIVISION<br>
=======================<br>
No support for INSTALLATION keyword.<br>
<br>
<br>
ENVIRONMENT DIVISION<br>
====================<br>
No support for SPECIAL-NAMES.<br>
<br>
<br>
DATA DIVISION<br>
=============<br>
No support for 77 or 88 level variables.<br>
No support for REDEFINES.<br>
FDs are not ANSI compatible.<br>
FILE-CONTROL SECTION is not ANSI compatible.<br>
<br>
<br>
PROCEDURE DIVISION<br>
==================<br>
No support for DECLARATIVES.<br>
No support for SECTIONS.<br>
<br>
<br>
<br>
If you have any additional questions, feel free to let us know.<br>
<br>
<br>
Best Regards,<br>
<br>
<br>
<br>
<br>
Matt Dean<br>
dean@deskware.com<br>
<br>
<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top