View Single Post
Old 07-25-2005, 03:22 PM   #8 (permalink)
rhack
Junior Member

Activity Longevity
1/20 20/20
Today Posts
0/0 ssssss164
Location: Chlt-NC
Rep Power: 6rhack is on a distinguished road

Total Points:
Donate
Country:

Discounting ftp, you can still use Procomm. It works very well. To get all of the analog lines, try going into IBNLINES next time:

TABLE: IBNLINES
>FORMAT PACK
<line length>: 76 columns can be output per line.
<pack mode>: Pack mode is ON.
<indent column>: Indented lines will begin in column 1.
<first column>: The first column of output is column 1.
>LIS 10
TOPs 10
LEN DNNO RESULT
---------------
HOST 00 0 02 00 0 DT MDN IBN 5557474 NOV 0 11 704 MCA 0 Y Y (LNR) $
HOST 00 0 02 01 0 DT STN IBN 5557477 NOV 0 12 704 (LNR) $
HOST 00 0 02 02 0 DT STN IBN 5557451 NOV 0 11 704 (3WC) (LNR) $
HOST 00 0 02 03 0 DT STN IBN 5557455 NOV 0 11 704 (3WC) (LNR) $
HOST 00 0 02 04 0 DT STN IBN 5557473 NOV 0 11 704 (LNR) $

You can then easily import into excel. Delete the LENS you don't want to change, then delete all columns except the LEN. Next insert a column before the LEN. In the first cell of the new column enter ADO $, then either copy and paste or just drag the cell to all the cells below to auto fill the column. Do the same with the column after the LEN, add your feature, CFD N 5551234 $ Y for example. You will end up with a spreadsheet with all of the changes you need to make. Next save the sheet as a text file. If you rename the file to CKLN.TXT you can use the script I sent to you as is. Just make sure the text file is in the same folder as the script. The file I attached previously will need to be opened in procom with the Aspect editor and compiled.
rhack is offline   sendpm.gif Reply With Quote