Length Nesting - Data Import

The Romac Length Nesting program can read comma delimited ASCII files and optionally write the nested results to a comma delimited ASCII file. To read and write ASCII files, the program must be run with command line arguments.

Command line syntax:

LenNest[.exe] [/a] [/ap] [/i datainfile] [/o dataoutfile]

The parts of the command line switch syntax are:

Example command line:

C:\LenNest.exe /a /i C:\temp\sample.in /o C:\temp\sample.out

This command line would read data from the file C:\temp\sample.in, process the data then write the results to the file C:\temp\sample.out. The user interface will not be displayed.

The input and output file for the length nesting program are in standard ASCII format with fields separated by commas. The first field in each record will be an upper case character denoting the type of record. Commas are not permitted in numeric fields. If commas are included in alphanumeric fields, the field must be enclosed in quotes ("field with, comma"). The double quote character is not permitted in data fields.

Input file record layout

Here is a sample input file:

C,Tower Project
T,"W 8 X 21, A992"
U, 2
K, 0
Q, 0
I,16,420,I1
I,48,480,I2
I,14,600,I3
I,2,660,I4
I,38,720,I5
I,1,370,I6
I,1,306,I7
O,3,204,1B1
O,1,180 1/4,1B2
O,1,168 1/2,1B3
O,3,156,1B4
E

Output file record layout

Here is a sample output file:

C,Tower Project
T,"W 8 X 21, A992"
U, 2
K, 0
Q, 0
I, 16, 0,420,I1
I, 48, 0,480,I2
I, 14, 0,600,I3
I, 2, 0,660,I4
I, 38, 2,720,I5
I, 1, 0,370,I6
I, 1, 0,306,I7
O, 3, 3,204,1B1
O, 1, 1,180 1/4,1B2
O, 1, 1,168 1/2,1B3
O, 3, 3,156,1B4
P, 1,5,0,1,1,4,4
P, 1,5,11 1/4,1,2,3,4
E


Romac Computer Services, Inc.
332 South Main Street
P.O. Box 660
Lake City, TN 37769
Ph: (865) 426-9634 Fax: (865) 426-6454
E-mail: romac@romacinc.com

Home | Whats New | Products