Reading file using fastload script

Tools & Utilities
Enthusiast

Reading file using fastload script

I have define something like follows in my teradata fastload script and have given sample record. Is there any easyway where i can map attribute with correspoding data for easy error handling. 

 

0010 DEFINE
         cntnr_nm                  (CHAR(14)),
         space1                    (CHAR(1)),
         cntnr_type_cd             (CHAR(2)),
         space2                    (CHAR(1)),
         dest_sort_grp_nm          (CHAR(10)),
         space3                    (CHAR(1)),
         prcs_ctgy_cd              (CHAR(1)),
         space4                    (CHAR(1)),
         cntnr_event_type_cd       (CHAR(5)),
         space5                    (CHAR(1)),
         cntnr_event_tmstp             (CHAR(23), nullif=' '),
         space6                    (CHAR(1)),
         cntnr_event_tz_offset_nbr     (CHAR(4)),
         space7                    (CHAR(1)),
         pblsh_app_nm              (CHAR(30)),
         space8                    (CHAR(1)),
         uid_nm                    (CHAR(10)),
         space9                    (CHAR(1)),
         hub_cd                    (CHAR(4)),
         space10                   (CHAR(1)),
         chute_nm                  (CHAR(10)),
         space11                   (CHAR(1)),
         loc_nbr                   (CHAR(10)),
         space12                   (CHAR(1)),
         trip_nbr                  (CHAR(10)),
         space13                   (CHAR(1)),
         trip_stop_nbr             (CHAR(10)),
         space14                   (CHAR(1)),
         trgt_cntnr_nbr            (CHAR(14)),
         space15                   (CHAR(1)),
         pkg_barcd_nbr             (CHAR(30)),
         space16                   (CHAR(1)),
         unvsl_pkg_nbr             (CHAR(19)),
         space17                   (CHAR(1)),
         sort_shift_nbr            (CHAR(7)),
         space18                   (CHAR(1)),
         dock_layout_cd            (CHAR(1)),
         space19                   (CHAR(1)),
         vrfy_flg                  (CHAR(1)),
         space20                   (CHAR(1)),
         print_mode_cd             (CHAR(10)),
         space21                   (CHAR(1)),
         print_count_nbr           (CHAR(3)),
         space22                   (CHAR(1)),
         prtr_mac_addr_nbr         (CHAR(20)),
         space23                   (CHAR(1)),
         prtr_type_desc            (CHAR(30)),
         space24                   (CHAR(1)),
         cntnr_stat_cd             (CHAR(20)),
         space25                   (CHAR(1)),
         event_tmzn_tmstp          (CHAR(29), nullif=' '),
         space26                   (CHAR(1)),
         bol_pkg_qty               (CHAR(7)),
         space27                   (CHAR(1)),
         bol_cntnr_lbs_wgt_qty     (CHAR(9)),
         space28                   (CHAR(1)),
         cntnr_over_ride_flg       (CHAR(1)),
         space29                   (CHAR(1)),
         exception_type            (CHAR(4)),
         space30                   (CHAR(1)),
         sms_dlvry_excp_typ_nm     (CHAR(35)),
         space31                   (CHAR(1)),
         sms_dlvry_excp_phn_nbr    (CHAR(20)),
         space32                   (CHAR(1)),
         edi_dlvry_excp_arvl_rsn_cd_nm (CHAR(2)),
         space33                   (CHAR(1)),
         edi_dlvry_excp_ctgy_nm    (CHAR(10)),
         space34                   (CHAR(1)),
         jms_mesg_tz_tmstp         (CHAR(29), nullif=' '),
         space35                   (CHAR(1)),
         row_vers_nbr              (CHAR(10)),
        space36                   (CHAR(1)),
         actl_pkg_qty              (CHAR(7)),
         newline                   (CHAR(1))


WP598301304737 WP 0972       * CNTCL 2018-10-25 18:55:20.000 -420 cntr-master-proc               2834655    5983 SEZ01      0          0          0                         74899998941687257856           8200460331                                                                                                              2018-10-25 18:55:20.000-07:00                   0                                                                             2018-10-26 01:55:29.849+00:00