Product Trials Community

General Programming Techniques


Filename Description Posted
ToolsTechniques-2006.zip This file contains a sample program from the 2006 Developers’ Conference presentation, Proven Tools and Techniques to Boost Performance. Aug. 2006
TipsTricks-2006.zip This file contains a sample program from the 2006 Developers’ Conference presentation, ACUCOBOL-GT® Tips and Tricks. Aug. 2006
TipsTricks-2005.zip This file contains sample programs and a handout and is intended as a supplement to the COBOL Tips and Tricks presentation at the 2005 Developers' Conference. Aug. 2005
C$XML.zip This sample program demonstrates how to use C$XML to parse documents in XML format. Mar. 2004
sendmail.zip Contains the complete source code for the sample program that demonstrates how to send email from any Acucorp-supported platform, as discussed in "Email Anyone?" by Gisle Forseth (Acucorp News, 2004, Issue 1). Feb. 2004
ThinClientReport.zip Contains the complete source code for the sample program that demonstrates how to print graphical reports in thin client, as discussed in "The AcuBench® Report Composer: Printing Reports in a Thin Client Environment" by Bob Cavanagh (Acucorp News, 2004, Issue 1). Feb. 2004
610pseudopiping.zip This program demonstrates the use of Pseudo-piping in Windows, a new feature available in version 6.1.0. Dec. 2003
asqlsp.zip This program uses AcuSQL to connect to a MS SQL Database and execute an existing Store Procedure. Sept. 2003
AltEntry.zip This program demonstrates the use of alternate entry points May 2003
C$REDIRECT.zip This program demonstrates how C$REDIRECT routine is used Apr. 2003
GRID_DEMO.zip This program demonstrates how to enable highlighting of multiple records in a grid Apr. 2003
EditKeys.zip This example program demonstrates the activation of standard Windows Edit keys in an AcuCOBOL-GT program Mar. 2003
sortlist.zip Sortlist.zip shows one way to move an individual item in a list box up or down by shuffling through the adjacent (upper and lower) items Mar. 2003
CB-LBSample.zip how to load a simple combo-box and list-box from a file ordering the entries by any key field - how to capture the user's choice inside the combo-box or list-box to act upon programmatically (in this case, display in an entry-field) Mar. 2003
acusqldemo.zip Adds and retrieves sample data via AcuSQL Feb. 2003
MSemail.zip Shows how to send an email using Microsoft Outlook. Oct. 2002
get-pid.zip Shows how to translate a process ID into a user name under Linux. Oct. 2002
project.zip Contains a sample Acubench® project that demonstrates the techniques discussed in "Batch Processing Under Windows Made Easy" by Nigel Eaton (Acucorp News, 2002, Issue 2). May 2002
testio.zip Contains the complete source code for the program described in "AcuServer™ Versus Shared Drive Performance" by Randy Zack (Acucorp News, 2002, Issue 2). May 2002
word_ole.zip This program shows how to use ACUCOBOL-GT as an Automation Controller Apr. 2001
unix_email.zip Demonstrates how to send email on a Unix server from an ACUCOBOL-GT program Apr. 2001
collate.zip Demonstrates WIN$PRINTER function used to check if printer supports collating Apr. 2001
activexthin.zip Demonstrates how to access client desktop via ActiveX when running with Thin Client Apr. 2001
helpid.zip Shows how to link ACUCOBOL-GT graphical controls to a Windows help system. Apr. 2001
loadkbd.zip Demonstrates how to switch between keyboards under Windows. The keyboards must be installed in order for the program to work; this program uses Arabic and US English keyboards to illustrate the technique. Apr. 2001
sendrcv.zip
Demonstrates how to code ACUCOBOL-GT threads, including sending and receiving thread messages. Apr. 2001
ascii.zip

Displays all ascii characters (1 thru 255) in non-gui mode. Also demonstrates how to use the DISPLAY LINE verb. Apr. 2001
ansi2term.zip This sample preprocessor converts COBOL source code from ANSI format to terminal format, and can be used with the ACUCOBOL-GT compiler's (version 5.1 and later) general preprocessor interface feature. Apr. 2001
askey.zip Takes as input a single character, then displays the ASCII numeric equivalent in decimal. Apr. 2001
base.zip Program to convert data to and from various numeric bases such as Octal, Hex, etc. Apr. 2001
bigprog1.zip This program attempts to create and open 256 indexed files. Useful test if you have a problem opening a large number of files. Apr. 2001
bintorms.com VAX VMS command file which aids in the conversion of ACUCOBOL-GT Vision files to VAX RMS. Apr. 2001
clock.zip Displays a clock in a window. This program could be called in a thread to display the time. Apr. 2001
comb.zip
Example of how to code a COMB sort. Apr. 2001
convert.zip Program and instructions which can be used to convert Vision files to other file systems supported by ACUCOBOL-GT. Apr. 2001
copyfile.zip Example of how to copy a file from one location and/or name to another. Program is in form of callable generic subroutine. Apr. 2001
ctlkey.zip Demonstrates exception key handling. Apr. 2001
dcomma.zip Demonstrates the use of the DECIMAL IS COMMA phrase, as well as illustrates a few edited numeric displays. Apr. 2001
delfile.zip Subroutine which deletes a file. Apr. 2001
err99cod.zip Program to test whether or not default record locking is working as expected. Apr. 2001
evaluate.zip Demonstrates the EVALUATE verb. Apr. 2001
exponent.zip Example of how to use exponentiation. Apr. 2001
ftestio.zip Sample file test program which uses I$IO routines. Apr. 2001
geterr.zip Demonstrates method for retrieving the internal file error status independent of which file status codes being used. Apr. 2001
inpct2.zip Demonstrates use of INSPECT CONVERTING. Apr. 2001
locktst.zip Two programs to test file and record locking. Apr. 2001
mkdir.zip Generic subroutine to create a subdirectory. Apr. 2001
prtdec.zip Example of how to send control sequences to a printer. Note that the exact sequences vary from one printer to another. Apr. 2001
renfile.zip Subroutine which renames a file from one name to another. Apr. 2001
replac21.zip Demonstrates use of search and replace using reference modification. Apr. 2001
sum.zip Creates a file checksum. Apr. 2001
timer.zip Subroutine useful for timing programs. Call first time to start timer; call second time to return number of seconds and, optionally hours, minutes, seconds and 100ths. Apr. 2001
trig.zip Calculates various trigonometric functions. Apr. 2001
tolower.zip Subroutine demonstrating how to use the C$TOUPPER and C$TOLOWER system routines. Apr. 2001
unstrng.zip Demonstrates the UNSTRING verb. Apr. 2001
walter.zip Demonstrations of the ACUCOBOL-GT I$IO routines that can be used to read a Vision file without an FD or SELECT. Includes README.TXT. Apr. 2001
132_col.zip Demonstrates how to switch a terminal into 132 column mode. Apr. 2001
bigtext.zip Subroutine which takes as input a 21 x 77 character array and, without using the screen section, allows you to edit the text, including inserting information, changing data, using the up and down arrows, etc. Apr. 2001
control.zip Demonstrates the use of the Special Names item, SCREEN CONTROL, to control the cursor inside of the screen section. Logic also valid for GUI screen sections. Apr. 2001
dscreen.zip Demonstrates Screen Section, and Special Names item, SCREEN CONTROL. Although this program does not use graphical controls, the logic and concepts could be useful for a GUI program as well. Apr. 2001
doscroll.zip Demonstrates one method for coding scrolling in a non-graphical, non screen section environment. Apr. 2001
frame.zip Demonstrates how to display Microsoft Windows-type frames in a non-graphical environment. Apr. 2001
getcur.zip Returns the current cursor row and column. Apr. 2001
query.zip Accepts terminal input one character at a time and then displays the records which match the data put in so far. While a data file is not included with this program, the program can be used as a template for the concept. Apr. 2001
screen21.zip Sample character Screen Section program. Useful for learning the Screen Section concepts. Apr. 2001
scroll.zip Demonstrates one method to code scrolling and highlight a list of items in a character mode program. Apr. 2001
utbargph.zip Program supplied by an Acucorp customer which draws a bar graph (histogram) from information sent to it in linkage section. Apr. 2001
wkeybuf.zip Subroutine that demonstrates the basics of using W$KEYBUF to record or playback keystrokes. Apr. 2001
winsize.zip Demonstrates technique for increasing the font size for character mode programs running under Windows. This increases the size of the window on systems running 600X800 or 768X1024. The font size can be placed in the config file. Apr. 2001
Search.zip Demonstrates how to search a directory for a specific file when you don't know the name of the file. This program appeared in "Do You Speak Windows" by Gisle Forseth (Acucorp News, 2000, Issue 2) - view sample code Apr. 2000