{   "comment": "IRX data for a VECTOR:Sort Codeline Data Match (CDM) file",
 
    "type": "CDM", "name": "IRX VECTOR:Sort CDM data", "format": "fixed", "recordLength": 200, "suffixes": [ "cdm" ],
    "description": "VECTOR:Sort codeline data match fine sort data. Converted to a packed CDM by NBRVEC01.",
 
    "records": [
        { "type": "H", "name": "File Header", "description": "Contains subpass fine sort job information.",
          "fields": [ [ "Record Type Code",        1, "M", "H", "H", "Record Type - H for Header Record." ],
                      [ "Bank Number",             5, "M", "N", "",  "Bank number, converted to signed packed (COMP-3) by NBRVEC02." ],
                      [ "Job Name",                8, "M", "ANC", "" ],
                      [ "Sort Input Switch",       1, "M", "A", "" ],
                      [ "User Info",              12, "M", "A", "" ],                     
                      [ "Posting Date",            8, "M", "YYYYMMDD", "" ],   
                      [ "Filler",                 20, "O", "", "" ],                        
                      [ "Capture Count",          10, "M", "N",   "" ],  
                      [ "Host ID",                 5, "M", "AN",  "" ], 
                      [ "Site",                   10, "M", "ANC", "" ],   
                      [ "Pass IDs",               14, "M", "ANC", "" ],    
                      [ "Filler",                 98, "O", "", "", "Reserved for possible future use." ]]                
        },
        
        { "type": "D", "parent": "H", "name": "Detail Record", 
          "fields": [ [ "Record Type Code",        1, "M", "D", "D" ],
                      [ "Item Seq Num", 12 ],
                      [ "Cycle", 3 ],
                      [ "Exception Code", 3, "M", "N", "", "Exception Code", [],
                        [ "001 = Defer", "002 = Defer to EOD", "003 = Chargeback", "004 = Represent", 
                          "005 = Guarantee Endorsement", "006 = RCK Re-present - Hold", "007 = RCK Re-present - Return to Depositor", 
                          "008 = Advice Data File", "009 = Priority Account Breakout", "010 = IRD Truncation", 
                          "011 = Online Decision", "012 = Img Exch. Truncation" ]],
                      [ "Posting Serial", 16 ],
                      [ "Posting Opt 4/6", 6 ],
                      [ "Posting Routing/Transit", 8 ],	
                      [ "Posting Account Number", 16 ],
                      [ "Posting Process Ctl", 6 ],
                      [ "Posting Amount", 10 ],			
                      [ "MICR Serial", 16 ],
                      [ "MICR Opt 4/6", 6 ],
                      [ "MICR Routing/Transit", 8 ],
                      [ "MICR Account Number", 16 ],
                      [ "MICR Proc Ctl", 6 ],
                      [ "MICR Amount", 10 ],						
                      [ "Relationship Account", 16 ],
                      [ "Pocket Seg", 1 ],
                      [ "Sort - Decision", 1, "M", "N", "",
                            "Sort decision code", [],
                            [ "0 = Defer", "1 = Charge Back", "2 = Redeposit", "3 = Re-clear", "4 = RCK - Hold", "5 = RCK - Return",
                              "8 = Advice Data File", "9 = Priority Account"]],                       
                      [ "Sort - Return Reason", 2 ],
                      [ "Sort - Dep Acct #", 20 ],
                      [ "Sort - Prime Reject", 1 ],
                      [ "Sort - Defer to EOD", 1 ],
                      [ "Sort - Overdraft", 1 ],
                      [ "Sort - Account Group", 2 ],
                      [ "Sort - Mail Group", 2 ],
                      [ "Advice Control #", 7 ],
                      [ "Advice Type", 1 ],	
                      [ "Final Exc. Code", 2, "O", "AN", "", "Final Exception Code", [],
                        [ "01 = Defer", "02 = Defer to EOD", "03 = Chargeback", "04 = Represent", 
                          "05 = Guarantee Endorsement", "06 = RCK Re-present - Hold", "07 = RCK Re-present - Return to Depositor", 
                          "08 = Advice Data File", "09 = Priority Account Breakout", "10 = IRD Truncation", 
                          "11 = Online Decision", "12 = Img Exch. Truncation" ]]] 
        }        
    ]
}