home *** CD-ROM | disk | FTP | other *** search
- /* $Revision Header built automatically *************** (do not edit) ************
- **
- ** © Copyright by Dirk Federlein
- **
- ** File : makephonelist.ced
- ** Created on : Monday, 04.04.94 18:48:58
- ** Created by : Dirk Federlein
- ** Current revision : V2.0
- **
- **
- ** Purpose
- ** -------
- **
- ** Gets all addresses stored in the running DFA's database and puts
- ** them in the current CED file. The different fields of the address
- ** are formatted into column.
- **
- ** The parts of the inserted addresses may be modified to suit your
- ** needs.
- **
- **
- ** Revision V2.0
- ** --------------
- ** created on Monday, 04.04.94 18:48:58 by Dirk Federlein. LogMessage :
- ** --- Initial release ---
- **
- *********************************************************************************/
-
- options results
-
- address 'rexx_ced'
-
- tabchar = '09'X
- cr = '0A'X
-
- text cr
-
- UP
-
- /* Make sure that DFA is running */
-
- if ~show(ports, DFA) then
- do
- 'okay1' 'You should have DFA running, if you' cr 'want to get an address from it!'
- exit 0
- end
-
-
- address 'DFA' FIRST STEM ADR.
-
- do while RC = 0
- text ADR.ADDRESS.1
- "Beg of line"
- do i=1 to 20
- RIGHT
- end
-
- text ' '
-
- "Delete to EOL"
-
- text ADR.ADDRESS.2
-
- "beg of line"
-
- do i=1 to 40
- RIGHT
- end
-
- text ' '
-
- "Delete to EOL"
-
- text ADR.ADDRESS.10
-
- text cr
- address 'DFA' next stem adr.
- end
-
- exit
-