Inline Parser

Model : C1D0N484
[ Home ] [ Support ]

Table of Contents

Section 1. - Overview Inline Parser
Section 2. - Features and Specifications
Section 3. - Parser Mapping
Section 4. - Using the Parser
Section 5. - Parser Options
Section 6. - List of X12 Transactions
Section 7. - Order Products


Section 1

Overview Inline Parser

[Table of Contents]

Inline Parser
Model C1D0U484 64bit
Model C1D0N484 32bit
Standard License

Copyright (c)1992-2017 Com1 Software Development
Com1 Software, Inc.
P.O. Box 482
Hudson, Ohio 44236
(330) 653-3771


    This computer program is protected by copyright law and
    international treaties. Any unauthorized reproduction or
    distribution of this program or any portion of it may result
    in severe civil or criminal penalties, and will be prosecuted
    under the maximum extent possible under the law.

    This program and all support programs and documents are
    provided "AS IS" without warranty of any kind, either
    expressed or implied, including and not limited to the
    implied warranties of merchantability and fitness for a
    particular purpose.

    In no event shall Com1 Software, Inc. or Com1 Software
    Development be liable for any damages arising out of the
    use or inability to use this program, support programs or
    documentation. All prices and other information is subject
    to change without notice.

    This program and support documents are for trial and
    demonstration purposes. Any other use is strictly prohibited.

Section 2

Features and Specifications

[Table of Contents]


The X12 Inline Parser allows a user to convert
X12 files into a CSV or XML files.

The X12 Inline Parser can be run from a command prompt
using parameters to specify format,input file,
output file, and options. 

The X12 Inline Parser can parse all the x12 files in a
specified folder with a single execution.

The view function allows you to display and print
the contents of standard ANSI X12 837,277,276,835,864,
and 997 files in a user friendly format.

837 Health Care Claims
276 Claim Status Inquiry
277 Claim Status
835 Remittance Advice
997 Functional Acknowledgement
864 Informational Report

Data is displayed in context sensitive screens relative
to their transaction set.

- Ability to call and run the Parser from another
  application without user intervention.
- Create CSV or XML 
- Designed for parsing large files.
- View or Print Listings of Claims
- View or Print Data Sheet of Individual Claims
- View or Print Listings of Remittance
- View or Print Data Sheet of Remittance
- View or Print Functional Acknowledgements
- View or Print X12 Data in segmented lines


Requires a Microsoft Windows Operating System.

Section 3

Parser Mapping

[Table of Contents]

Default mapping for the Inline Parser can be stored in a file 
called c1map.cfg.

Maps for the Inline Parser can be generated using the Mapping Tool. 
The mapping tool lets you generate a map based on the type of
X12 transaction that you wish to parse. Map file names are based 
on the version and transaction specification and example of this 
is the file 004010X098A1.cfg that is used when a file is detected 
to be a 837 Professional Claims version 4010A1. X12 File determination
is done using the GS segment Element 8. If a map is not found for 
that version the c1map.cfg will be used.

 - - -


Syntax : KEYHEADERFIELD=segmet,element1,element2,element3,ect...

The KEYHEADERFIELD is mapped to a segment that is used to determine
the separation for header data within the batch.

  - - -


Syntax : KEYFIELD=segmet,element1,element2,element3,ect...

The KEYFIELD is mapped to a segment that is used to determine
the separation for each transaction within the file.

 - - -


Syntax : KEYDOCFIELD=segmet,element1,element2,element3,ect...

The KEYDOCFIELD is mapped to a segment that is used to determine
the separation for each document within a transaction.

  - - -


Syntax : KEYLINEFIELD=segmet,element1,element2,element3,ect...

The KEYLINEFIELD is mapped to a segment that is used to determine
the separation for each service line with a transaction.

  - - -


Syntax  FIELD=a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s

 A =Field Name
    Any Alpha/Numeric value. No duplicates.

 B =Field Width
     1 - 999

 C = Segment Type
     Based on the 1st Segment

 D = Segment Qualifier

 E = Qualifier Position
     Position includes all segments.

 F = Element Position
     Position does not include 1st segment.

 G = Sub Element Position

 H = Conditional Field 	
     The name of another field within the map
     that must be populated for this field to

 I = Occurrence
     The identified record in a repeating segment.  

 J = Level
     Blank = Default 
     1 = Header
     2 = Document
     3 = Line
     4 = Trailer
     5 = Source File Name
     6 = Destination File Name

 K = Service Line Number

 L = Field Description

 M = Data Starting Position within theField

 N = Length of data

 O = Function
     Name of file that contains functional script
 P = Previous Segment
     Checks an 8 segment buffer for a valid segment and 

 Q = Previous Segment Qualifier

 R = Previous Segment Qualifier Position

 S = Toggle Off Field
     Turns off field population if this field is populated

The FIELD is used to map all data that is to be parsed.

  - - -


Syntax  SEGMENT=a,b,c,d,e - z

 A = Level
       1 - Header
       2 - Invoice / Claim
       3 - Line 
       4 - Trailer

 B = Segment 
       : - Qualifier Separator
              Note : If $OCCURRENCECODE01 in HI:$OCCURRENCECODE01 is not populated the segment
                     will be dropped.

 C - Z = Segment Data
         $ - Returns data for $filedname
             Example : $CLAIMID
         & - Returns counter for internal counter &counter
             Example : &HL1            

         % - Starts use for subvalue within an element.
             Example : %BH;$OCCURRENCECODE01;D8;$OCCURRENCEDATE01

         ; - Subvalue separator





  - - -


Syntax  SCREEN=a,b,c,d,e,f

 A =Screen Number

 B =Type
    - TITLE
      C = Screen Type
         1=Record Listing
         2=Record Detail
         3=Line Item Listing
         4=Line Item Detail

    - BUTTON
      C = SCREEN TO Go TO

    - FIELD
      C = Field Name
      D = Field Description
      E = New Line Control
          0=No New Line
          1=Create New Line after the field
      F = Field Type
          1=Line Item

Section 4

Using the Parser

[Table of Contents]

The Inline Parser can be run in two ways, either in the screen interface 
mode or using a command line call.

Before you can parse a file you will need to generate a mapping file 
using the Inline Parser Mapping Tool or use one of the maps provided
in the examples.


To Parse a file using the Inline Parser screens click on the Parse X12 
File Button. 

In the Inline Parser interface screen select your IO type, 
source file options are X12, CSV, or XML.
If you select X12 as your source type you will have the option of
selecting a destination file type of CSV or XML. 

If you select CSV or XML as your source type, X12 will be set as your
destination type.

Select your Source File, set your destination folder and select or set any
options that you would like.

Click Begin and you file will begin parsing.

A destination file with the same name as the source should be created in 
the destination folder.

The PARSE.LOG can be viewed to verify and troubleshoot the results of the


To parse a file using the command line interface use the following 

To run the Inline X12 Parser from a Command Line:

Syntax: C1D0U484    

NOTE : There are four separate parameters being passed to the parser.
       - Parameteres are separated by a space.
       - I/O Types are separated by a comma.
       - Options in the option string are separated by a comma.

       1) The I/O Type.
        Valid options are:
        X12,CSV for X12 to CSV
        X12,XML for X12 to XML
        CSV,X12 for CSV to X12
        XML,X12 for XML to X12

       2) The Source.
          The second parameter is the source file or source directory.
          If a directory is specified, all valid files in that directory will be 

       3) The Destination.
          The third paramter is the destination file or destination folder.  
          If a file is not specified or if a source is a folder the parser will
          name the destination file based on the source file name.

       4) The Option String.
          The fourth parameter is the options. Options are separated commas.


One easy way to get started with the Inline Parser is

to use a pre-built  maps available through the

Inline Parser Examples.

From the Functions dropdown menu, select Inline Parser

Examples. There will be the option to download a list of

available examples. Select and download the example you

are interested in. After the download it will be displayed

in your local examples list.

Select one of your local examples to load the user interface

to the Inline Parser with the example you have selected.

Click begin to start the Inline Parser. I will ask if you 
want to have Headers on. 
HINT : If you are interested in creating a CSV file that will be used
to create a ne X12 file, you may not want to include headers. 

After the file has been parsed you will be asked if you would 
like to view it.

You are next asked if you would like to create an X12 file from the 
CSV file that you have just created. If you say yes, you will
load the user interface to the Inline Parser. Click Begin and
it will create a new X12 file from your CSV file. Once complete
you will be asked if you wish to view it.  

X12 to CSV

To convert X12 to CSV from the inerface screen:
 - Set the I/O type to X12,CSV
 - Select your source file or folder.
 - Set your destination directory.
 - Set your options string.
   Example : ow,ho,outfile=\qa\qat2\output.csv,map=\qa\qat2\qat2a.cfg
   HINT: We have set our specific output file and map using the 
         options. This the helps guarantee which map is being used and
         the name of the output file and its location.

To convert X12 to CSV from a command line:

c1d0u484 X12,CSV \test\src.x12 \test ow,ho,outfile=\test\out.csv,map=\test\map.cfg


CSV to X12

To convert CSV to X12 from the inerface screen:
 - Set the I/O type to CSV,X12
 - Select your source file or folder.
 - Set your destination directory.
 - Set your options string.
   Example : ow,ho,outfile=\qa\qat2\output.x12,map=\qa\qat2\qat2a.cfg
   HINT: We have set our specific output file and map using the 
         options. This the helps guarantee which map is being used and
         the name of the output file and its location.
IMPORTANT: To get started we suggest you create your first CSV file from
           an X12 file so that your columns within the cSV match the mapping.

To convert CSV to X12 from a command line:

c1d0u484 CSV,X12 \test\src.csv \test ow,outfile=\test\out.x12,map=\test\map.cfg


The options of ML,DEBUG=ON can be used to create a MAP.LOG and add
debug information to the PARSE.LOG.

The Inline Parser first loads its map into memory based on the
version of X12 it sees in segment GS08. 

Valid detected versions and transactions:

Version 4010

837I 004010X096A1.cfg
835  004010X091A1.cfg
276  004010X093A1A.cfg
277  004010X093A1B.cfg
270  004010X092A1A.cfg
271  004010X092A1B.cfg
278  Request  004010X094A1A.cfg
278  Response 004010X094A1B.cfg
834  004010X095A1.cfg
837p 004010X098A1.cfg
837d 004010X097A1.cfg

version 5010

837i 005010X223A2.cfg
835  005010X221.cfg
276  005010X212A.cfg
277  005010X212B.cfg
270  005010X279A.cfg
271  005010X279B.cfg
278  Request 005010X217A.cfg
278  Response 005010X217B.cfg
834  005010X220.cfg
837p 005010X222A2.cfg
837d 005010X224A2.cfg

If you encouter a file that did not parse, verify 
the the version of X12 in the GS08 using the X12 Viewer
in the View Data screen. 

An example of an issue would be an 837I file that contains
005010X223 in the GS08. Since the there has been a 
second addendum added to the 5010 X12 specification
we use 005010X223A2 as the valid name
for a 837i version 5010 mapping configuration.

To get around this problem simply save the 005010X223A2.cfg
file as 005010X223.cfg 

Section 5

Parser Options

[Table of Contents]

The following is a list of options available for use with the Inline Parser.
Options are specified in the options parameter and are separated by commas.

  OW - Overwrite the destination file.
  RPMN - Rename with Prefix Map Name.
  MAPLOG - Turn Map Log ON.

  HO - Header ON (X12,CSV) only.

  DS - Delete Source File.

  ERR - Error Files set to Yes.

  DEBUG - Turns on DEBUG

  DEFAULTMAPPATH= - Path to locate the default c1map.cfg 

  MAPPATH= - Path to find primary maps.

  MAP= - Specify a specific map to use.

  PARSELOG= - Set the parse log file name.

  SO - Display Screens OFF

  CE - Convert destination file extension to CSV or XML

  RE - Retain File Extension.
  OUTFILE= Destination File Name

  MF - Merge into single output file.
  SL - The Single-Line mapping option will process each service line as 
       a single record. This option is used when service lines are
       mapped in the map.cfg. An example is a map that was created for
       10 service lines. Each service line will create a complete CSV 
       or XML record that contains claim level data. 

  ML - The Multi-Line dynamic service line mapping option uses a map with a
       single service line. As the parser parses a claim it determines 
       the number of service lines within the claim and parses a single
       complete CSV or XML record for each service line.

Section 6

List of X12 Transactions

[Table of Contents]

X12C Communications & Controls
102 Associated Data
242 Data Status Tracking
815 Cryptographic Service Message
864 Text Message
868 Electronic Form Structure
993 Secured Receipt or Acknowledgment
997 Functional Acknowledgment
999 Implementation Acknowledgment
X12F Finance
130 Student Educational Record (Transcript)
131 Student Educational Record (Transcript) Acknowledgment
132 Human Resource Information
133 Educational Institution Record
135 Student Aid Origination Record
138 Education Testing and Prospect Request and Report
139 Student Loan Guarantee Result
144 Student Loan Transfer and Status Verification
146 Request for Student Educational Record (Transcript)
147 Response to Request for Student Educational Record (Transcript)
155 Business Credit Report
188 Educational Course Inventory
189 Application for Admission to Educational Institutions
190 Student Enrollment Verifi cation
191 Student Loan Pre-Claims and Claims
197 Real Estate Title Evidence
198 Loan Verifi cation Information
199 Real Estate Settlement Information
200 Mortgage Credit Report
201 Residential Loan Application
202 Secondary Mortgage Market Loan Delivery
203 Secondary Mortgage Market Investor Report
205 Mortgage Note
206 Real Estate Inspection
245 Real Estate Tax Service Response
248 Account Assignment/Inquiry and Service/Status
259 Residential Mortgage Insurance Explanation of Benefi ts
260 Application for Mortgage Insurance Benefi ts
261 Real Estate Information Request
262 Real Estate Information Report
263 Residential Mortgage Insurance Application Response
264 Mortgage Loan Default Status
265 Real Estate Title Insurance Services Order
266 Mortgage or Property Record Change Notification
810 Invoice
811 Consolidated Service Invoice/Statement
812 Credit/Debit Adjustment
814 General Request, Response or Confirmation
819 Joint Interest Billing and Operating Expense Statement
820 Payment Order/Remittance Advice
821 Financial Information Reporting
822 Account Analysis
823 Lockbox
824 Application Advice
827 Financial Return Notice
828 Debit Authorization
829 Payment Cancellation Request
831 Application Control Totals
833 Mortgage Credit Report Order
844 Product Transfer Account Adjustment
849 Response to Product Transfer Account Adjustment
872 Residential Mortgage Insurance Application
880 Grocery Products Invoice
X12G Government
103 Abandoned Property Filings
105 Business Entity Filings
113 Election Campaign & Lobbyist Reporting
149 Notice of Tax Adjustment or Assessment
150 Tax Rate Notifi cation
151 Electronic Filing of Tax Return Data Acknowledgment
152 Statistical Government Information
153 Unemployment Insurance Tax Claim or Charge Information
154 Secured Interest Filing
157 Notice of Power of Attorney
158 Tax Jurisdiction Sourcing
175 Court and Law Enforcement Notice
176 Court Submission
179 Environmental Compliance Reporting
185 Royalty Regulatory Report
194 Grant or Assistance Application
195 Federal Communications Commission (FCC) License Application
196 Contractor Cost Data Reporting
249 Animal Toxicological Data
251 Pricing Support
280 Voter Registration Information
283 Tax or Fee Exemption Certifi cation
284 Commercial Vehicle Safety Reports
285 Commercial Vehicle Safety and Credentials Information Exchange
286 Commercial Vehicle Credentials
288 Wage Determination
500 Medical Event Reporting
501 Vendor Performance Review
511 Requisition
517 Material Obligation Validation
521 Income or Asset Offset
527 Material Due-In and Receipt
536 Logistics Reassignment
540 Notice of Employment Status
561 Contract Abstract
567 Contract Completion Status
568 Contract Payment Management Report
650 Maintenance Service Order
805 Contract Pricing Proposal
806 Project Schedule Reporting
813 Electronic Filing of Tax Return Data
826 Tax Information Exchange
836 Procurement Notices
838 Trading Partner Profi le
839 Project Cost Reporting
996 File Transfer
X12I Transportation
104 Air Shipment Information
106 Motor Carrier Rate Proposal
107 Request for Motor Carrier Rate Proposal
108 Response to a Motor Carrier Rate Proposal
109 Vessel Content Details
110 Air Freight Details and Invoice
120 Vehicle Shipping Order
121 Vehicle Service
125 Multilevel Railcar Load Details
126 Vehicle Application Advice
127 Vehicle Baying Order
128 Dealer Information
129 Vehicle Carrier Rate Update
160 Transportation Automatic Equipment Identifi cation
161 Train Sheet
163 Transportation Appointment Schedule Information
204 Motor Carrier Load Tender
210 Motor Carrier Freight Details and Invoice
211 Motor Carrier Bill of Lading
212 Motor Carrier Delivery Trailer Manifest
213 Motor Carrier Shipment Status Inquiry
214 Transportation Carrier Ship. Status Message
215 Motor Carrier Pick-up Manifest
216 Motor Carrier Shipment Pick-up Notifi cation
217 Motor Carrier Loading and Route Guide
219 Logistics Service Request
220 Logistics Service Response
222 Cartage Work Assignment
223 Consolidators Freight Bill and Invoice
224 Motor Carrier Summary Freight Bill Manifest
225 Response to a Cartage Work Assignment
227 Trailer Usage Report
228 Equipment Inspection Report
240 Motor Carrier Package Status
250 Purchase Order Shipment Management Document
300 Reservation (Booking Request) (Ocean)
301 Confirmation (Ocean)
303 Booking Cancellation (Ocean)
304 Shipping Instructions
309 Customs Manifest
310 Freight Receipt and Invoice (Ocean)
311 Canada Customs Information
312 Arrival Notice (Ocean)
313 Shipment Status Inquiry (Ocean)
315 Status Details (Ocean)
317 Delivery/Pickup Order
319 Terminal Information
322 Terminal Operations and Intermodal Ramp Activity
323 Vessel Schedule and Itinerary (Ocean)
324 Vessel Stow Plan (Ocean)
325 Consolidation of Goods in Container
326 Consignment Summary List
350 Customs Status Information
352 U.S. Customs Carrier General Order Status
353 Customs Events Advisory Details
354 U.S. Customs Auto. Manifest Archive Status
355 U.S. Customs Acceptance/Rejection
356 U.S. Customs Permit to Transfer Request
357 U.S. Customs In-Bond Information
358 Customs Consist Information
359 Customs Customer Profile Management
361 Carrier Interchange Agreement (Ocean)
404 Rail Carrier Shipment Information
410 Rail Carrier Freight Details and Invoice
412 Trailer or Container Repair Billing
414 Rail Carhire Settlements
417 Rail Carrier Waybill Interchange
418 Rail Advance Interchange Consist
419 Advance Car Disposition
420 Car Handling Information
421 Estimated Time of Arrival Car Scheduling
422 Equipment Order
423 Rail Industrial Switch List
424 Rail Carrier Services Settlement
425 Rail Waybill Request
426 Rail Revenue Waybill
429 Railroad Retirement Activity
431 Railroad Station Master File
432 Rail Deprescription
433 Railroad Reciprocal Switch File
434 Railroad Mark Register Update Activity
435 Standard Transportation Commodity Code Master
436 Locomotive Information
437 Railroad Junctions & Interchanges Activity
440 Shipment Weights
451 Railroad Event Report
452 Railroad Problem Log Inquiry or Advice
453 Railroad Service Commitment Advice
455 Railroad Parameter Trace Registration
456 Railroad Equipment Inquiry or Advice
460 Railroad Price Distribution Request or Response
463 Rail Rate Reply
466 Rate Request
468 Rate Docket Journal Log
470 Railroad Clearance
475 Rail Route File Maintenance
485 Ratemaking Action
486 Rate Docket Expiration
490 Rate Group Definition
492 Miscellaneous Rates
494 Rail Scale Rates
601 U.S. Customs Export Shipment Information
603 Transportation Equipment Registration
715 Intermodal Group Loading Plan
854 Shipment Delivery Discrepancy Info.
858 Shipment Information
859 Freight Invoice
920 Loss or Damage Claim - Gen. Commodities
924 Loss or Damage Claim - Motor Vehicle
925 Claim Tracer
926 Claim Status Report and Tracer Reply
928 Automotive Inspection Detail
980 Functional Group Totals
990 Response to a Load Tender
998 Set Cancellation
X12M Supply Chain
101 Name and Address Lists
140 Product Registration
141 Product Service Claim Response
142 Product Service Claim
143 Product Service Notification
159 Motion Picture Booking Confirmation
170 Revenue Receipts Statement
180 Return Merchandise Authorization & Notification
244 Product Source Information
290 Cooperative Advertising Agreements
503 Pricing History
504 Clauses and Provisions
620 Excavation Communication
625 Well Information
753 Request For Routing Instructions
754 Routing Instructions
816 Organizational Relationships
818 Commission Sales Report
830 Planning Schedule w/ Release Capability
832 Price/Sales Catalog
840 Request for Quotation
841 Specifications/Technical Information
842 Nonconformance Report
843 Response to Request for Quotation
845 Price Authorization Acknowledgment/Status
846 Inventory Inquiry/Advice
847 Material Claim
848 Material Safety Data Sheet
850 Purchase Order
851 Asset Schedule
852 Product Activity Data
853 Routing and Carrier Instruction
855 Purchase Order Acknowledgment
856 Ship Notice/Manifest
857 Shipment and Billing Notice
860 Purchase Order Change Request - Buyer Initiated
861 Receiving Advice/Acceptance Certificate
862 Shipping Schedule
863 Report of Test Results
865 Purchase Order Change Acknowledgment/Request - Seller Initiated
866 Production Sequence
867 Product Transfer and Resale Report
869 Order Status Inquiry
870 Order Status Report
873 Commodity Movement Services
874 Commodity Movement Services Response
875 Grocery Products Purchase Order
876 Grocery Products Purchase Order Change
877 Manufacturer Coupon Family Code Structure
878 Product Authorization/De-authorization
879 Price Information
881 Manufacturer Coupon Redemption Detail
882 Direct Store Delivery Summary Information
883 Market Development Fund Allocation
884 Market Development Fund Settlement
885 Retail Account Characteristics
886 Customer Call Reporting
887 Coupon Notification
888 Item Maintenance
889 Promotion Announcement
890 Contract & Rebate Management
891 Deduction Research Report
893 Item Information Request
894 Delivery/Return Base Record
895 Delivery/Return Acknowledgment or Adjustment
896 Product Dimension Maintenance
940 Warehouse Shipping Order
943 Warehouse Stock Transfer Shipment Advice
944 Warehouse Stock Transfer Receipt Advice
945 Warehouse Shipping Advice
947 Warehouse Inventory Adjustment Advice
X12N Insurance
100 Insurance Plan Description
111 Individual Insurance Policy & Client Info.
112 Property Damage Report
124 Vehicle Damage
148 Report of Injury, Illness, or Incident
186 Insurance Underwriting Requirements Reporting
187 Premium Audit Request and Return
252 Insurance Producer Administration
255 Underwriting Information Services
256 Periodic Compensation
267 Individual Life Annuity & Disability Application
268 Annuity Activity
269 Health Care Benefit Coordination Verification
270 Eligibility, Coverage or Benefit Inquiry
271 Eligibility, Coverage or Benefit Information
272 Property and Casualty Loss Notification
273 Insurance/Annuity Application Status
274 Health Care Provider Information
275 Patient Information
276 Health Care Claim Status Request
277 Health Care Information Status Notification
278 Health Care Services Review Information
362 Cargo Insurance Advice of Shipment
834 Benefit Enrollment and Maintenance
835 Health Care Claim Payment/Advice
837 Health Care Clai
924 Loss or Damage Claim - Motor Vehicle
925 Claim Tracer
926 Claim Status Report and Tracer Reply
928 Automotive Inspection Detail
997 Functional Acknowledgment
999 Functional Acknowledgment

Section 7

Order Products

[Table of Contents]

You can order products online at:

(c) 1992-2015 Com1 Software, Inc.