I am trying to export a subset of data from one table in SS 2000 with fixed positions. Here is an example of the Export file spec:
From this spec and fields I need to export, there are a total of about 50 fields that need to feed into this text file. Half of these fields are not in the database and thus such should be blank, e.g. 123TEST 34239. I would also like to timestamp these export files with the day's date, i.e. export should run daily.
Can someone please direct me to some good sources and/or give me a starting point? Any and all information will be greatly appreciated.
Code:
[b]Field Type Bytes First Pos Last Pos Format[/b]
mkk Char 11 1 11 LJ
bnu Number 6 12 17 RJ,zero-fill
date Char 8 18 25 YYYYMMDD
amount Number 13 26 38 s999999999.99
type Char 10 39 48 LJ
Can someone please direct me to some good sources and/or give me a starting point? Any and all information will be greatly appreciated.