Product Trials Community

General Programming Techniques

Filename Description Posted This file contains a sample program from the 2006 Developers’ Conference presentation, Proven Tools and Techniques to Boost Performance. Aug. 2006 This file contains a sample program from the 2006 Developers’ Conference presentation, ACUCOBOL-GT® Tips and Tricks. Aug. 2006 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$ This sample program demonstrates how to use C$XML to parse documents in XML format. Mar. 2004 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 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 This program demonstrates the use of Pseudo-piping in Windows, a new feature available in version 6.1.0. Dec. 2003 This program uses AcuSQL to connect to a MS SQL Database and execute an existing Store Procedure. Sept. 2003 This program demonstrates the use of alternate entry points May 2003
C$ This program demonstrates how C$REDIRECT routine is used Apr. 2003 This program demonstrates how to enable highlighting of multiple records in a grid Apr. 2003 This example program demonstrates the activation of standard Windows Edit keys in an AcuCOBOL-GT program Mar. 2003 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 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 Adds and retrieves sample data via AcuSQL Feb. 2003 Shows how to send an email using Microsoft Outlook. Oct. 2002 Shows how to translate a process ID into a user name under Linux. Oct. 2002 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 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 This program shows how to use ACUCOBOL-GT as an Automation Controller Apr. 2001 Demonstrates how to send email on a Unix server from an ACUCOBOL-GT program Apr. 2001 Demonstrates WIN$PRINTER function used to check if printer supports collating Apr. 2001 Demonstrates how to access client desktop via ActiveX when running with Thin Client Apr. 2001 Shows how to link ACUCOBOL-GT graphical controls to a Windows help system. Apr. 2001 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
Demonstrates how to code ACUCOBOL-GT threads, including sending and receiving thread messages. Apr. 2001

Displays all ascii characters (1 thru 255) in non-gui mode. Also demonstrates how to use the DISPLAY LINE verb. Apr. 2001 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 Takes as input a single character, then displays the ASCII numeric equivalent in decimal. Apr. 2001 Program to convert data to and from various numeric bases such as Octal, Hex, etc. Apr. 2001 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 VAX VMS command file which aids in the conversion of ACUCOBOL-GT Vision files to VAX RMS. Apr. 2001 Displays a clock in a window. This program could be called in a thread to display the time. Apr. 2001
Example of how to code a COMB sort. Apr. 2001 Program and instructions which can be used to convert Vision files to other file systems supported by ACUCOBOL-GT. Apr. 2001 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 Demonstrates exception key handling. Apr. 2001 Demonstrates the use of the DECIMAL IS COMMA phrase, as well as illustrates a few edited numeric displays. Apr. 2001 Subroutine which deletes a file. Apr. 2001 Program to test whether or not default record locking is working as expected. Apr. 2001 Demonstrates the EVALUATE verb. Apr. 2001 Example of how to use exponentiation. Apr. 2001 Sample file test program which uses I$IO routines. Apr. 2001 Demonstrates method for retrieving the internal file error status independent of which file status codes being used. Apr. 2001 Demonstrates use of INSPECT CONVERTING. Apr. 2001 Two programs to test file and record locking. Apr. 2001 Generic subroutine to create a subdirectory. Apr. 2001 Example of how to send control sequences to a printer. Note that the exact sequences vary from one printer to another. Apr. 2001 Subroutine which renames a file from one name to another. Apr. 2001 Demonstrates use of search and replace using reference modification. Apr. 2001 Creates a file checksum. Apr. 2001 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 Calculates various trigonometric functions. Apr. 2001 Subroutine demonstrating how to use the C$TOUPPER and C$TOLOWER system routines. Apr. 2001 Demonstrates the UNSTRING verb. Apr. 2001 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 Demonstrates how to switch a terminal into 132 column mode. Apr. 2001 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 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 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 Demonstrates one method for coding scrolling in a non-graphical, non screen section environment. Apr. 2001 Demonstrates how to display Microsoft Windows-type frames in a non-graphical environment. Apr. 2001 Returns the current cursor row and column. Apr. 2001 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 Sample character Screen Section program. Useful for learning the Screen Section concepts. Apr. 2001 Demonstrates one method to code scrolling and highlight a list of items in a character mode program. Apr. 2001 Program supplied by an Acucorp customer which draws a bar graph (histogram) from information sent to it in linkage section. Apr. 2001 Subroutine that demonstrates the basics of using W$KEYBUF to record or playback keystrokes. Apr. 2001 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 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