Micro-mainframe Transmission Command Generator for IBM Mainframes

From Free Pascal wiki
Revision as of 20:47, 14 June 2006 by Nightrider (talk | contribs) (Usage)


The application was written to run under windows. I suppose that it runs under any version of windows. It uses basic constructions and commands of Lazarus.


This application can be used under Lazarus modified LGPL and MPL, this allows making commercial projects that use this code but NO WARANTY, you are the only responsable if this code doesn't work or causes any problems to your computer. (I have doubts about this mr. Snijders)


Arí Ricardo Ody - Sao Paulo - Brazil


You can download zip with windows executable and source or just a source zip from the Lazarus CCR sourceforge download area.

Change log

  • 16 December 2005: Initial version.
  • Last version: may, 2006.


To use the program simply run it. In the first screen click the left screen button to go to the next screen(The idea is to implement new functions in this screen in the future). In the second screen you must inform the name of a partitioned or a sequential data set existing in the mainframe disks. One of these data sets will be used as input or output of the transmissions. You will inform the type of transmission(texto for ASCII-EBCDIC and vice versa convertion or binario for no convertion), the type of emulator you will use and the direction of the transmission. You can go to the next screen, clean the fields of the current screen or go to one level above. Depending upon the selection you do the processing goes to one of two screens:

Micro-Mainframe Transmission

In this screen, when you click the first button on the top of the screen, you will receive a dialog for select the file(s) you want to transmit. You can click this button more than once and select another files in another directories. You can select files in the list and exclude them with enter or space keys. When you click the “Confirma” button the program shows a dialog where you must inform the name of the file where you want the program to write the output of its processing(it will be the command that the emulator will use). You can clean the screen via “Limpa” button or exit and go to one level above via “Sair” button.

MainFrame-Micro Transmission

In this screen you'll inform a name of a text file that will contain the list of file names that you want to download from the mainframe(these files must be recorded in one of the data sets mentioned in the second screen above). Next you will inform the file extension the downloaded files must be recorded in the destination hard disk. Next you will inform the directory where the downloaded files will be written in the destination hard disk. And, finally you will inform the path and the name of the file where the command to the emulator will be written. When you click “executa” the command is generated and written in the file you have informed early in this screen. You can clean the screen via “Limpa” button or exit and go to one level above via “Sair” button.

If some people really need the screens of this program translated to english I can do this. But only if you'll really use it, please.


These tool permits us a huge work economy in massive transmitions to and from the IBM mainframes we use. I work in a company that make migration from old databases to IBM DB2.