Below is a snippet of my programming. Please review the final field called "dfpin".
This programming is embedded in a view that is used by my SQL Reporting Services (SSRS) report.
When I run the report, I generate it to a tab-delimited file. Since Equifax requires that there be no special tabs, I use Find and Replace to remove said tabs.
In any case, here's the problem. The attached Equifax file is a zipped Notepad file. dfpin is to begin at position 392 in Notepad. Instead, it is starting at position 380. I'm twelve characters short. Why is that?
An example of dfpin is in line three and begins with the phrase on that line "92081900".
It is incredibly important for Equifax that I get the positions of these fields correct. I'm very surprised that the programming is not doing this.
SELECT 'MED' AS company, CAST('202EMPLPIM' AS CHAR(15)) AS rectype,
CAST('16860' AS CHAR(16)) AS cocode,
CNUM AS CHAR(11))
OYID AS CHAR(64)) AS empl_id,
CNUM AS CHAR(64)) AS user_id,
CAST('A868' AS CHAR(4))
KDT), 112) AS pasofdate,
NAME AS CHAR(64)) AS fn,
NAME AS CHAR(64)) AS mn,
NAME AS CHAR(64)) AS ln,
CAST('' AS CHAR(12)) AS suffix,
CAST('' AS CHAR(5)) AS title,
M, 10) AS VARCHAR(10))) + CAST(YEAR(MED.dbo.UPR00100
AS VARCHAR(4)) AS CHAR(8))