06 enhanced macro file without field compression es2emac

© 2019 - State of Utah - Department of Technology Services
Jump to navigation Jump to search

Enhanced Macro File (without field compression) (ES2EMAC)

ES2EMAC - Length 121 - Revised 2/13/2018

​Columns​LenKeyTypeCOBOL Field NameDescription & Notes
111KeyCharEMAC-IND-TYPEThe type of data that will follow; 'N' = NAICS; 'S' = SIC
21110KeyCharEMAC-CONCombined County (EMAC-CNTY), Owner (EMAC-OWN) NAICS (EMAC-NAICS or SIC (EMAC-SIC) with two blank digits – EMAC-NAICS-5-6)
21110KeyCharEMAC-ONCFor states that have ownership first, it would be a combination of ownership (EMACO-OWN), NAICS (EMACO-NAICS) or SIC (EMACO-SIC) with two blank digits (EMACO-NAICS-5-6), and county (EMACO-CNTY)
12165KeyCharEMAC-YRQA combination of 4-digit year (EMAC-YEAR) and 1-digit quarter (EMAC-QTR); both of these sub-fields would be numeric
172610 NumEMAC-LARGEST-UIAccount number of largest contributor to the cell
27359 NumEMAC-LARGEST-EMPLLargest account's third month employment; signed numeric with picture of -99999999
35449 NumEMAC-UNIQUE-ACCTSNumber of unique accounts (10-digit accounts); signed numeric with picture of -9(08)
44539 NumEMAC-UNITSNumber of worksites and singles; signed numeric, with a picture of -99999999
54629 NumEMAC-NON-ZERO-UNITSNumber of non-zero worksites and singles; signed numeric with picture of -99999999
63719 NumEMAC-MON1-EMPLFirst month's employment; signed numeric with picture of -99999999
72809 NumEMAC-MON2-EMPLSecond month's employment; signed numeric with picture of -99999999
81899 NumEMAC-MON3-EMPLThird month's employment; signed numeric with picture of -99999999
9010011 NumEMAC-TOTAL-WAGESummed total wages; an unsigned numeric value
10111111 NumEMAC-TAX-WAGESummed taxable wages; an unsigned numeric value
11212110 NumEMAC-CONTRIBSummed contributions due; a signed numeric with a picture of -999999999

Enhanced Macro Output File

Data Set Name:                   ES2.SEQL.MACRO

Service Center DSN:           YBUssX.A145.SEQL.MACRO, ('ss' = State FIPS code)

Type of File:                         Sequential

File Layout:                          ES2EMAC

The Enhanced Macro (EMAC) Output File is essentially the same as the standard Macro File, except that all of the fields that had been packed, have been re-expanded.  This causes the expanded version of the file to have over 70% longer records than the production Macro File.  The EMAC File is most useful for States that desire to have all of their macro data put up front.

​Job 099B has been developed in part to convert the Macro File to the Enhanced Macro format.  This job can be run only by a programmer, which also runs the Micro conversion. An oddity of this job has the record length is 113 characters rather than the 113 that this file claims; perhaps the sign byte is embedded within the records, which would be 8 bytes less.​ ​ ​ ​ ​ ​

Related Links