CobolScript Logo
Do you know COBOL?
Anyone who already knows COBOL can easily use CobolScript with virtually no learning curve. CobolScript has familar COBOL syntax and is ideal for data conversion, batch interfaces, and server-side scripting. You can download a demo version with sample programs from the CobolScript Group at CobolScript at Google Groups

CobolScript Dino
Commands Functions
ACCEPT ABS
ACCEPTFROMSOCKET ACOS
ADD ACOSH
BANNER ALPHABETIC
BINDSOCKET ANNUITY
CALENDAR ANNUITYFV
CALL ASIN
CLOSE ASINH
CLOSEDB ATAN
CLOSESOCKET ATAN2
COMPUTE ATANH
CONNECTTOSOCKET CALTOJ
CONTINUE CCTOCIN
COPY CEILING
CREATESOCKET CHOOSE
DISPLAY CINTOCC
DISPLAYASCIIFILE CMTOIN
DISPLAYFILE COS
DISPLAYLF COSH
DIVIDE CTOFAHR
EXEC SQL DDBAMT
EXECUTE EXP
FD FACT
FTPASCII FAHRTOC
FTPBINARY FLOOR
FTPCD FTOM
FTPCLOSE FV
FTPCONNECT FVANNUITY
FTPGET GALTOL
FTPPUT GMTOOZ
GETBANNER HPTOKW
GETCALENDAR INTOCM
GETENV JTOCAL
GETHOSTBYNAME KGTOPD
GETHOSTNAME KMTOML
GETMAIL KWTOHP
GETMAILCOUNT LN
GETTIMEFROMSERVER LOG
GETWEBPAGE LTOGAL
GOBACK MLTOKM
IF MTOF
INCLUDE NUMERIC
INITIALIZE NUMPMTS
LISTENTOSOCKET OZTOGM
MOVE PDTOKG
MULTIPLY PERMUTAT
OPEN PI
OPENDB PV
PERFORM PVANNUITY
PERFORM...VARYING RANDOM
POSITION ROOT
READ ROUNDED
RECEIVESOCKET SIGN
REWRITE SIN
SENDMAIL SINH
SENDSOCKET SQRT
SET STRLINEAMT
SHUTDOWNSOCKET SYDAMT
SUBTRACT TAN
STOP RUN TANH
WRITE
CobolScript BadgeCobolScript®
As defined by Wikipedia, the free encyclopedia

In computer programming, CobolScript is a COBOL-based scripting language. CobolScript has familiar COBOL syntax and is used for data conversion, batch interfaces, and server-side scripting. It has versions for Microsoft Windows, Linux, SunOS and FreeBSD.


CobolScript Developers Guide Want more information? The best way to find answers to all of your questions about CobolScript is to take a look at the Developers Guide and then download a demo version. This 279 page manual is one of the most well written programming manuals you will find. Seriously, it is a good manual.

Additional CobolScript Features
In addition to the standard language commands and the internet processing commands available in CobolScript, other features provide the means to quickly and easily create programs with a wide range of functionality:

  • Internetworking commands such as FTPPUT, FTPGET, SENDMAIL, and GETMAIL for transferring files and emails from within a CobolScript program.
  • File processing commands for reading and parsing both fixed-format and delimited data files.
  • Flexible naming syntax that allows underscores ( _ ) and dashes ( - ) to be used interchangeably in variable names, to support both modern variable naming as well as COBOL-style variable naming.
  • Advanced expression evaluator that does not require explicit spaces between expression components, even for subtraction operations, for programmers who are used to coding mathematical expressions in C or similar languages.
  • Financial functions for calculating annuities and depreciation.
  • Scientific, stochastic, and other higher math functions.
  • Metric to English and English to metric system unit conversion functions.
  • TCP/IP socket programming commands such as SENDSOCKET and RECEIVESOCKET, for creating client-server communications programs without web server software or FTP configuration.
  • DNS commands such as GETHOSTNAME for incorporating internet information retrieval into programs.
  • PIC X(n) picture clause that automatically calculates variable size based on VALUE clause, eliminating the need for time-consuming computations with FILLER variables, and an implied version of PIC X(n) that allows the FILLER keyword and picture clause to be eliminated entirely.
  • REPLICA variable declaration syntax that permits the same elementary data item to be used in multiple group items.
  • EXECUTE command for dynamic statement creation and execution.
  • Intelligent error messaging that displays browser-based error messages when running programs from a browser, and text-based error messages when running programs from the command line, thereby speeding the debugging process. Using these CobolScript features, you can develop programs to get and save web pages to text files, transfer files via FTP, send simple emails, retrieve emails, accept data from web page forms, create virtual HTML documents, and perform various file input and output operations.
How do I buy the full version of CobolScript?
You pay $49.95USD through PayPal and after the transaction is complete, you will be directed to a web page where you can download the full version of the CobolScript interpreter. The sample programs and readme files are located with the demo version in the CobolScript Group at CobolScript at Google Groups
Please direct any additional questions to deskware @ yahoo.com.

Best Regards,

Matt Dean

CobolScript Copyright© 1996-2007