INSERT INTO dbo.ZFILE3_01 VALUES
('ALISO3','SU',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALISO3','SU',2,'CODICE SOCIO',2,'CODICE',1,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALISO3','SU',3,'TIPO RECORD = "SU"',2,'TIPREC',2,4,1,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALISO3','SU',4,'DATA MOVIMENTO',2,'DATMOV',3,2,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALISO3','SU',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALISO3','SU',6,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALISO3','SU',7,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALISO3','SU',8,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALISO3','SU',9,'CODICE CAUSALE',2,'CODCAU',4,3,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALISO3','SU',10,'NUMERO QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('ALISO3','SU',11,'PREZZO QUOTA',2,'PREQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('ALISO3','SU',12,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('ALISO3','SU',13,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ALISO3','SU',14,'TIPO MOVIMENTO',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALISO3','SU',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ALISO3','TA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALISO3','TA',2,'CODICE SOCIO',2,'CODICE',1,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALISO3','TA',3,'TIPO RECORD = "TA"',2,'TIPREC',2,4,1,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALISO3','TA',4,'DATA MOVIMENTO',2,'DATMOV',3,2,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALISO3','TA',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALISO3','TA',6,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALISO3','TA',7,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALISO3','TA',8,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALISO3','TA',9,'CODICE CAUSALE',2,'CODCAU',4,3,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALISO3','TA',10,'IMPORTO PER QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('ALISO3','TA',11,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ALISO3','TA',12,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('ALISO3','TA',13,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ALISO3','TA',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ALISO4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALISO4','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALISO4','01',3,'CODICE SOCIO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALISO4','01',4,'TITOLO NOMINATIVO ASSEGNATO',2,'NUMTIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALISO4','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ALISO5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALISO5','01',2,'CODICE SOCIO',2,'CODICE',1,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALISO5','01',3,'TIPO RECORD',2,'TIPREC',2,4,1,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALISO5','01',18,'DATA MOVIMENTO',2,'DATMOV',3,2,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALISO5','01',19,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALISO5','01',20,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALISO5','01',21,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALISO5','01',22,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALISO5','01',23,'CODICE CAUSALE',2,'CODCAU',4,3,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALISO5','01',24,'NUMERO QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('ALISO5','01',25,'PREZZO QUOTA',2,'PREQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('ALISO5','01',26,'IMPORTO SOTTOSCRITTO',2,'IMPSOT',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('ALISO5','01',27,'IMPORTO VERSATO',2,'IMPVER',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ALISO5','01',28,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ALISO5','01',29,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('ALISO5','01',30,'ANNO CONFERIMENTO',2,'AAACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALISO5','01',31,'QUINTALI CONFERITI',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ALISO5','01',32,'IMPORTO DARE',2,'IMPDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,2,'9(12)','9(10)V99',0,'',0,0,'' )
,('ALISO5','01',33,'IMPORTO AVERE',2,'IMPAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,2,'9(12)','9(10)V99',0,'',0,0,'' )
,('ALISO5','01',34,'ETTARI',2,'ETTARI',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('ALISO5','01',35,'TIPO MOVIMENTO',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALISO5','01',38,'IMPORTO PER QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('ALISO5','01',39,'ETTARI CRONISTORIA',2,'ETTCRO',0,0,0,0,0,0,0,0,0,0,'',1,1,8,10,4,0,'S9(4)V9(4)','',0,'',0,0,'' )
,('ALISO5','01',40,'ANNO CRONISTORIA ETTARI',2,'AAETCR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALISO5','01',41,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,188,188,0,0,'X(188)','',0,'',0,0,'' )
,('ALISOA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALISOA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALISOA','01',3,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ALISOA','01',4,'ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ALISOA','01',5,'RESA CONVENZIONALE',2,'RESCON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9(4)V99','',0,'',0,0,'' )
,('ALISOA','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('ALISOB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALISOB','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALISOB','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALISOB','01',4,'SUPERFICE',2,'SUPCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('ALIU02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALIU02','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALIU02','01',3,'CODICE UVAGGIO',2,'CODUVA',2,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ALIU02','01',4,'CODICE SCELTA',2,'CODSCE',3,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALIU02','01',5,'TIPO RIGA 1/2',2,'TIPRIG',4,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALIU02','01',6,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ALIU02','01',7,'MONTEGRADI CONFERITO',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('ALIU02','01',8,'GRADO MEDIO',2,'GRAMED',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('ALIU02','01',9,'IMPORTO AL QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,3,'9(6)','999V999',0,'',0,0,'' )
,('ALIU02','01',10,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ALIU02','01',11,'SUPERFICE (TIPO 2)',2,'SUPERF',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('ALIU02','01',12,'IMPORTO A QUINTALE (SCELTE)',2,'IMPEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('ALIULT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALIULT','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,2,3,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALIULT','01',3,'EVENTUALE CODICE EREDE',2,'CODERE',2,3,3,4,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALIULT','01',4,'TIPO DOCUMENTO',2,'TIPDOC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALIULT','01',7,'TIPO PAGAMENTO',2,'TIPPAG',0,0,1,1,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALIULT','01',10,'CODICE BANCA',2,'CODBAN',0,0,0,2,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALIULT','01',11,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ALIULT','01',12,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ALIULT','01',13,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ALIULT','01',14,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALIULT','01',15,'IMPORTO LIQUIDAZIONE',2,'IMPLIQ',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ALIULT','01',16,'ACCONTI PRECEDENTI',2,'ACCPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ALIULT','01',17,'CODICE CAUSALE CONTABILE DOCUMENTO',2,'CAUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',18,'DATA REGISTRAZIONE DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALIULT','01',19,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALIULT','01',20,'ANNO REGISTRAZIONE DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',21,'MESE REGISTRAZIONE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALIULT','01',22,'GIORNO REGISTRAZIONE DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALIULT','01',23,'CONTO DOCUMENTO',2,'GCSDOC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ALIULT','01',24,'GRUPPO DOCUMENTO',3,'GRUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',25,'CONTO DOCUMENTO',3,'CONDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',26,'SOTTOCONTO DOCUMENTO',3,'SOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALIULT','01',27,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALIULT','01',28,'DATA STAMPA DOCUMENTO',2,'DATSTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALIULT','01',29,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALIULT','01',30,'ANNO STAMPA DOCUMENTO',3,'AAASTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',31,'MESE STAMPA DOCUMENTO',3,'MMMSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALIULT','01',32,'GIORNO STAMPA DOCUMENTO',3,'GGGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALIULT','01',33,'CONTABILIZZATO DOCUMENTO  /S',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALIULT','01',34,'EVENTUALE IMPORTO RATEO',2,'IMPRAT',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ALIULT','01',35,'CAUSALE RATEO',2,'CODRAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',36,'DATA REGISTRAZIONE RATEO',2,'DATRAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALIULT','01',37,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALIULT','01',38,'ANNO REGISTRAZIONE RATEO',3,'AAARAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',39,'MESE REGISTRAZIONE RATEO',3,'MMMRAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALIULT','01',40,'GIORNO REGISTRAZIONE RATEO',3,'GGGRAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALIULT','01',41,'GR/CO/SO RATEO',2,'GCSRAT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALIULT','01',42,'GRUPPO RATEO',3,'GRURAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',43,'CONTO RATEO',3,'CONRAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',44,'SOTTOCONTO RATEO',3,'SOTRAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALIULT','01',45,'GRUPPO/CONTO ANTICIPI',2,'GCANTI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALIULT','01',46,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALIULT','01',47,'GRUPPO ANTICIPI',3,'GRUANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',48,'CONTO ANTICIPI',3,'CONANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',49,'CONTABILIZZAZIONE RATEO /S',2,'FLGRAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALIULT','01',50,'IMPORTO PAGAMENTO (ORSAGO)',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ALIULT','01',51,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALIULT','01',52,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',53,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',54,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALIULT','01',55,'DATA PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALIULT','01',56,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALIULT','01',57,'ANNO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',58,'MESE',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALIULT','01',59,'GIORNO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALIULT','01',60,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALIULT','01',61,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALIULT','01',62,'ANNO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',63,'MESE',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALIULT','01',64,'GIORNO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALIULT','01',65,'CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',66,'CONTABILIZZAZIONE PAGAMENTO /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALIULT','01',67,'QUINTALI CONFERITI (SE SERVE)',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ALIULT','01',68,'NUMERO ASSEGNO',2,'NUMASS',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('ALIULT','01',69,'DATA RITIRO QUIETANZA (SOLO C. EUGANEI)',2,'DATRIT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALIULT','01',70,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALIULT','01',71,'ANNO',3,'AAARIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALIULT','01',72,'MESE',3,'MMMRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALIULT','01',73,'GIORNO',3,'GGGRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALIULT','01',74,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,57,57,0,0,'X(57)','',0,'',0,0,'' )
,('ALL011','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','01',2,'TIPO RECORD = 0',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','01',3,'CODICE IDENTIFICATIVO VALE SEMPRE ART21',2,'CODIID',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ALL011','01',4,'CODICE ID ANNO RIFERIMENTO SEMPRE 47',2,'IDFORN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL011','01',5,'TIPOLOGIA INVIO 0/1/2',2,'TIPINV',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','01',6,'PROTOCOLLO DA ANNULLARE (SOLO SE ANN)',2,'CODANN',0,0,0,0,0,0,0,0,0,0,'',1,0,17,17,0,0,'9(17)','',0,'',0,0,'' )
,('ALL011','01',7,'CODICE FISCALE SOGG. OBB.',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL011','01',8,'PARTITA IVA SOGG OBB.',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ALL011','01',9,'DESCRIZIONE',2,'DESGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ALL011','01',10,'COMUNE DOMICILIO FISCALE',2,'COMGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL011','01',11,'PROVINCIA DOMICILIO FISCALE ESTERO=EE',2,'PROGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL011','01',13,'COGNOME',2,'COGNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('ALL011','01',14,'NOME',2,'NOMEFI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALL011','01',15,'SESSO',2,'FLGSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','01',16,'DATA NASCITA',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL011','01',17,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','01',18,'GIORNO NASCITA',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','01',19,'MESE NASCITA',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','01',20,'ANNO NASCITA',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','01',21,'COMUNE O STATO ESTERO DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL011','01',22,'PROVINCIA DI NASCITA ESTERO=EE',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL011','01',23,'ANNO RIFERIMENTO DICHIARAZIONE',2,'ANNRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','01',24,'COMUNICAZIONE DATI SOC. INCORPORATA',2,'SOCINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','01',25,'PROGRESSIVO INVIO (SEMPRE 1)',2,'PROINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','01',26,'TOTALI INVII (SEMPRE 1)',2,'TOTINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','01',28,'C.F. INTERMEDIARIO CHE TRASMETTE',2,'CFINTE',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL011','01',29,'N. ISCRIZIONE ALL''ALBO DEL C.A.F.',2,'NUMCAF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ALL011','01',30,'IMPEGNO A TRASMETTERE 1=CONT. 2=INTERM.',2,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','01',31,'DATA IMPEGNO',2,'DATIMP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL011','01',32,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','01',33,'GIORNO IMPEGNO',3,'GGGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','01',34,'MESE IMPEGNO',3,'MMMIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','01',35,'ANNO IMPEGNO',3,'AAAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','01',36,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,504,504,0,0,'X(1504)','',0,'',0,0,'' )
,('ALL011','01',37,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','01',38,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','02',2,'TIPO RECORD = 1',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','02',3,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL011','02',4,'DATA OPERAZIONE',2,'DATOPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL011','02',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','02',6,'GIORNO OPERAZIONE',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','02',7,'MESE OPERAZIONE',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','02',8,'ANNO OPERAZIONE',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','02',9,'MODALITA'' DI PAGAMENTO (1/2/3)',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','02',10,'IMPORTO CORRISPETTIVO (IMP+IVA)',2,'IMPCOR',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','02',11,'NATURA OPERAZIONE 1/2/3/4/5',2,'NATOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','02',12,'TIPO OPERAZIONE 1=CESS BENI 2=PRES SERV',2,'TIPOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','02',13,'IMPORTO TOTALE DELL''OPERAZIONE',2,'IMPTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ALL011','02',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,751,751,0,0,'X(1751)','',0,'',0,0,'' )
,('ALL011','02',15,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','02',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','03',2,'TIPO RECORD = 2',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','03',3,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ALL011','03',4,'DATA OPERAZIONE',2,'DATOPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL011','03',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','03',6,'GIORNO OPERAZIONE',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','03',7,'MESE OPERAZIONE',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','03',8,'ANNO OPERAZIONE',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','03',9,'MODALITA'' DI PAGAMENTO 1/2/3',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','03',10,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','03',11,'IMPOSTA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','03',12,'NATURA DELL''OPERAZIONE 1/2/3/4/5',2,'NATOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','03',13,'TIPO OPERAZIONE 1/2/3/4',2,'TIPOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','03',14,'IMPONIBILE TOTALE',2,'IMPTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','03',15,'IMPOSTA TOTALE',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','03',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,738,738,0,0,'X(1738)','',0,'',0,0,'' )
,('ALL011','03',17,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','03',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','04',2,'TIPO RECORD = 3',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','04',4,'COGNOME',2,'COGNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('ALL011','04',5,'NOME',2,'NOMEFI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALL011','04',6,'DATA NASCITA',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL011','04',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','04',8,'GIORNO NASCITA',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','04',9,'MESE NASCITA',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','04',10,'ANNO NASCITA',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','04',11,'COMUNE O STATO ESTERO DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL011','04',12,'PROVINCIA DI NASCITA ESTERO=EE',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL011','04',13,'STATO ESTERO DOMICILIO FISCALE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALL011','04',15,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ALL011','04',16,'CITTA ESTERA DOMICILIO FISCALE',2,'CITTAE',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL011','04',17,'STATO ESTERO DOM. FISCALE',2,'STATOE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALL011','04',18,'INDIRIZZO ESTERO DOM. FISCALE',2,'DOMEST',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL011','04',19,'DATA OPERAZIONE',2,'DATOPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL011','04',20,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','04',21,'GIORNO OPERAZIONE',3,'GGGOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','04',22,'MESE OPERAZIONE',3,'MMMOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','04',23,'ANNO OPERAZIONE',3,'AAAOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','04',24,'MODALITA'' DI PAGAMENTO 1/2/3',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','04',25,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','04',26,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','04',27,'NATURA OPERAZIONE 1/2/3/4/5',2,'NATOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','04',28,'TIPO OPERAZIONE 1/2/3/4',2,'TIPOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','04',29,'IMPONIBILE TOTALE OPERAZIONE',2,'IMPTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','04',30,'IMPOSTA TOTALE OPERAZIONE',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','04',31,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,509,509,0,0,'X(1509)','',0,'',0,0,'' )
,('ALL011','04',32,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','04',33,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','05',2,'TIPO RECORD = 4',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','05',3,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ALL011','05',4,'DATA OPERAZIONE',2,'DATOPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL011','05',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','05',6,'GIORNO OPERAZIONE',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','05',7,'MESE OPERAZIONE',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','05',8,'ANNO OPERAZIONE',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','05',9,'NUMERO NOTA DI VARIAZIONE',2,'NUMNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ALL011','05',10,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','05',11,'IMPOSTA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','05',12,'DATA FATTURA DA RETTIFICARE',2,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL011','05',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','05',14,'GIORNO FATTURA DA RETTIFICARE',3,'GGGFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','05',15,'MESE FATTURA DA RETTIFICARE',3,'MMMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','05',16,'ANNO FATTURA DA RETTIFICARE',3,'AAMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','05',17,'NUMERO DELLA FATTURA DA RETTIFICARE',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ALL011','05',18,'IMPONIBILE FATTURA DA RETTIFICARE',2,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','05',19,'IMPOSTA FATTURA DA RETTIFICARE',2,'IMPIVF',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','05',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,713,713,0,0,'X(1713)','',0,'',0,0,'' )
,('ALL011','05',21,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','05',22,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','06',2,'TIPO RECORD = 5',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','06',4,'COGNOME',2,'COGNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('ALL011','06',5,'NOME',2,'NOMEFI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALL011','06',6,'DATA NASCITA',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL011','06',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','06',8,'GIORNO NASCITA',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','06',9,'MESE NASCITA',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','06',10,'ANNO NASCITA',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','06',11,'COMUNE O STATO ESTERO DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL011','06',12,'PROVINCIA DI NASCITA ESTERO=EE',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL011','06',13,'STATO ESTERO DOMICILIO FISCALE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALL011','06',15,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ALL011','06',16,'CITTA ESTERA DOMICILIO FISCALE',2,'CITTAE',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL011','06',17,'STATO ESTERO DOM. FISCALE',2,'STATOE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALL011','06',18,'INDIRIZZO ESTERO DOM. FISCALE',2,'DOMEST',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL011','06',19,'DATA OPERAZIONE',2,'DATOPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL011','06',20,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','06',21,'GIORNO OPERAZIONE',3,'GGGOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','06',22,'MESE OPERAZIONE',3,'MMMOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','06',23,'ANNO OPERAZIONE',3,'AAAOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','06',24,'NUMERO NOTA DI VARIAZIONE',2,'NUMNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ALL011','06',25,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','06',26,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','06',27,'DATA FATTURA DA RETTIFICARE',2,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL011','06',28,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ALL011','06',29,'GIORNO FATTURA DA RETTIFICARE',3,'GGGFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','06',30,'MESE FATTURA DA RETTIFICARE',3,'MMMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','06',31,'ANNO FATTURA DA RETTIFICARE',3,'AAAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','06',32,'NUMERO FATTURA DA RETTIFICARE',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ALL011','06',33,'IMPONIBILE FATTURA DA RETTIFICARE',2,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','06',34,'IMPOSTA FATTURA DA RETTIFICARE',2,'IMPOSF',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL011','06',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,484,484,0,0,'X(1484)','',0,'',0,0,'' )
,('ALL011','06',36,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','06',37,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','07',2,'TIPO RECORD = 9',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','07',3,'CODICE IDENTIFICATIVO VALE SEMPRE ART21',2,'CODIID',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ALL011','07',4,'CODICE ID ANNO RIFERIMENTO SEMPRE 47',2,'IDFORN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL011','07',5,'TIPOLOGIA INVIO 0/1/2',2,'TIPINV',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','07',6,'PROTOCOLLO DA ANNULLARE (SOLO SE ANN)',2,'CODANN',0,0,0,0,0,0,0,0,0,0,'',1,0,17,17,0,0,'9(17)','',0,'',0,0,'' )
,('ALL011','07',7,'CODICE FISCALE SOGG. OBB.',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL011','07',8,'PARTITA IVA SOGG OBB.',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ALL011','07',10,'DESCRIZIONE',2,'DESGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ALL011','07',11,'COMUNE DOMICILIO FISCALE',2,'COMGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL011','07',12,'PROVINCIA DOMICILIO FISCALE ESTERO=EE',2,'PROGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL011','07',14,'COGNOME',2,'COGNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('ALL011','07',15,'NOME',2,'NOMEFI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALL011','07',16,'SESSO',2,'FLGSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','07',17,'DATA NASCITA',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL011','07',18,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','07',19,'GIORNO NASCITA',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','07',20,'MESE NASCITA',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','07',21,'ANNO NASCITA',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','07',22,'COMUNE O STATO ESTERO DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL011','07',23,'PROVINCIA DI NASCITA ESTERO=EE',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL011','07',24,'ANNO RIFERIMENTO DICHIARAZIONE',2,'ANNRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','07',25,'COMUNICAZIONE DATI SOC. INCORPORATA',2,'SOCINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','07',26,'PROGRESSIVO INVIO (SEMPRE 1)',2,'PROINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','07',27,'NUMERO TOTALE INVII (SEMPRE 1)',2,'TOTINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','07',29,'C.F. INTERMEDIARIO CHE TRASMETTE',2,'CFINTE',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL011','07',30,'N. ISCRIZIONE ALL''ALBO DEL C.A.F.',2,'NUMCAF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ALL011','07',31,'IMPEGNO A TRASMETTERE 1=CONT. 2=INTERM.',2,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL011','07',32,'DATA IMPEGNO',2,'DATIMP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL011','07',33,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL011','07',34,'GIORNO IMPEGNO',3,'GGGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','07',35,'MESE IMPEGNO',3,'MMMIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL011','07',36,'ANNO IMPEGNO',3,'AAAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL011','07',37,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,504,504,0,0,'X(1504)','',0,'',0,0,'' )
,('ALL011','07',38,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL011','07',39,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL067','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL067','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL067','01',3,'ANNO DICHIARAZIONE',3,'ANNODI',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL067','01',4,'TIPO CODICE',3,'TIPCOD',0,3,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL067','01',10,'CODICE CLIENTE/FORNITORE/SOCIO/PROD',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALL067','01',11,'PARTITA IVA/C.FISC',3,'PARIVA',0,2,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL067','01',12,'CHIAVE DOCUMENTO',3,'KEYDOC',0,5,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL067','01',13,'TIPO DOCUMENTO 1=FATT 2=NOTA ACC',4,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL067','01',14,'DATA REGISTRAZIONE',4,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL067','01',15,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL067','01',16,'ANNO REGISTRAZIONE',5,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL067','01',17,'MESE REGISTRAZIONE',5,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL067','01',18,'GIORNO REGISTRAZIONE',5,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL067','01',19,'NUMERO DOCUMENTO',4,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALL067','01',20,'DATA DOCUMENTO',4,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL067','01',21,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL067','01',22,'ANNO DOCUMENTO',5,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL067','01',23,'MESE DOCUMENTO',5,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL067','01',24,'GIORNO DOCUMENTO',5,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL067','01',25,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL067','01',26,'IMPONIBILE',3,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ALL067','01',27,'IMPOSTA',3,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ALL067','01',28,'REVERSE CHARGE',3,'REVCHA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL067','01',29,'AUTOFATTURA',3,'AUTOFA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL067','01',30,'DOCUMENTO RIEPILOGATIVO',3,'DOCRIE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','01',2,'TIPO RECORD = 0',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','01',3,'CODICE IDENTIFICATIVO VALE SEMPRE ART21',2,'CODIID',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ALL211','01',4,'CODICE ID ANNO RIFERIMENTO SEMPRE 47',2,'IDFORN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL211','01',5,'TIPOLOGIA INVIO 0/1/2',2,'TIPINV',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','01',6,'PER METTERE SPAZI',2,'CODANX',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','01',7,'PROT DA ANNULLARE SOLO SE ANN O INV SOS',3,'CODANN',0,0,0,0,0,0,0,0,0,0,'',1,0,17,17,0,0,'9(17)','',0,'',0,0,'' )
,('ALL211','01',8,'PER METTERE SPAZI',2,'CODPRX',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','01',9,'PROTOCOLLO (SOLO SE ANN O INVIO SOST.)',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALL211','01',10,'CODICE FISCALE SOGG. OBB.',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL211','01',11,'PARTITA IVA SOGG OBB.',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ALL211','01',12,'DESCRIZIONE',2,'DESGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ALL211','01',13,'COMUNE DOMICILIO FISCALE',2,'COMGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL211','01',14,'PROVINCIA DOMICILIO FISCALE ESTERO=EE',2,'PROGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL211','01',16,'COGNOME',2,'COGNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('ALL211','01',17,'NOME',2,'NOMEFI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALL211','01',18,'SESSO',2,'FLGSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','01',19,'DATA NASCITA',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL211','01',20,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','01',21,'GIORNO NASCITA',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','01',22,'MESE NASCITA',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','01',23,'ANNO NASCITA',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','01',24,'COMUNE O STATO ESTERO DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL211','01',25,'PROVINCIA DI NASCITA ESTERO=EE',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL211','01',26,'ANNO RIFERIMENTO DICHIARAZIONE',2,'ANNRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','01',27,'COMUNICAZIONE DATI SOC. INCORPORATA',2,'SOCINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','01',28,'PROGRESSIVO INVIO (SEMPRE 1)',2,'PROINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','01',29,'TOTALI INVII (SEMPRE 1)',2,'TOTINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','01',30,'AREA DATI INTERMEDIARIO',2,'AREAIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','01',31,'C.F. INTERMEDIARIO CHE TRASMETTE',3,'CFINTE',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ALL211','01',32,'N. ISCRIZIONE ALL''ALBO DEL C.A.F.',3,'NUMCAF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ALL211','01',33,'IMPEGNO A TRASMETTERE 1=CONT. 2=INTERM.',3,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','01',34,'DATA IMPEGNO',3,'DATIMP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL211','01',35,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','01',36,'GIORNO IMPEGNO',4,'GGGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','01',37,'MESE IMPEGNO',4,'MMMIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','01',38,'ANNO IMPEGNO',4,'AAAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','01',39,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,498,498,0,0,'X(1498)','',0,'',0,0,'' )
,('ALL211','01',40,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','01',41,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','02',2,'TIPO RECORD = 1',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','02',3,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL211','02',4,'DATA OPERAZIONE',2,'DATOPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL211','02',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','02',6,'GIORNO OPERAZIONE',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','02',7,'MESE OPERAZIONE',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','02',8,'ANNO OPERAZIONE',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','02',9,'MODALITA'' DI PAGAMENTO (1/2/3)',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','02',10,'IMPORTO TOTALE DELL''OPERAZIONE',2,'IMPTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL211','02',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,762,762,0,0,'X(1762)','',0,'',0,0,'' )
,('ALL211','02',12,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','02',13,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','03',2,'TIPO RECORD = 2',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','03',3,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ALL211','03',4,'DATA OPERAZIONE',2,'DATOPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL211','03',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','03',6,'GIORNO OPERAZIONE',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','03',7,'MESE OPERAZIONE',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','03',8,'ANNO OPERAZIONE',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','03',9,'N. FATTURA OBB. SE TIPOLOGIA OPER = 1',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALL211','03',10,'MODALITA'' DI PAGAMENTO 1/2/3',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','03',11,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL211','03',12,'IMPOSTA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL211','03',13,'TIPO OPERAZIONE 1/2',2,'TIPOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','03',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,742,742,0,0,'X(1742)','',0,'',0,0,'' )
,('ALL211','03',15,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','03',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','04',2,'TIPO RECORD = 3',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','04',4,'COGNOME',2,'COGNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('ALL211','04',5,'NOME',2,'NOMEFI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALL211','04',6,'DATA NASCITA',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL211','04',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','04',8,'GIORNO NASCITA',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','04',9,'MESE NASCITA',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','04',10,'ANNO NASCITA',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','04',11,'COMUNE O STATO ESTERO DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL211','04',12,'PROVINCIA DI NASCITA ESTERO=EE',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL211','04',13,'STATO ESTERO DOMICILIO FISCALE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALL211','04',15,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ALL211','04',16,'CITTA ESTERA DOMICILIO FISCALE',2,'CITTAE',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL211','04',17,'STATO ESTERO DOM. FISCALE',2,'STATOE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALL211','04',18,'INDIRIZZO ESTERO DOM. FISCALE',2,'DOMEST',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL211','04',19,'DATA OPERAZIONE',2,'DATOPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL211','04',20,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','04',21,'GIORNO OPERAZIONE',3,'GGGOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','04',22,'MESE OPERAZIONE',3,'MMMOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','04',23,'ANNO OPERAZIONE',3,'AAAOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','04',24,'N. FATTURA SE TIPOLOGIA OPERAZIONE = 1',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALL211','04',25,'MODALITA'' DI PAGAMENTO 1/2/3',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','04',26,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL211','04',27,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL211','04',28,'TIPO OPERAZIONE 1/2',2,'TIPOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','04',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,513,513,0,0,'X(1513)','',0,'',0,0,'' )
,('ALL211','04',30,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','04',31,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','05',2,'TIPO RECORD = 4',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','05',3,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ALL211','05',4,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL211','05',5,'DATA OPERAZIONE',2,'DATOPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL211','05',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','05',7,'GIORNO OPERAZIONE',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','05',8,'MESE OPERAZIONE',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','05',9,'ANNO OPERAZIONE',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','05',10,'NUMERO NOTA DI VARIAZIONE',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALL211','05',11,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL211','05',12,'IMPOSTA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL211','05',13,'DATA FATTURA DA RETTIFICARE',2,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL211','05',14,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','05',15,'GIORNO FATTURA DA RETTIFICARE',3,'GGGFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','05',16,'MESE FATTURA DA RETTIFICARE',3,'MMMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','05',17,'ANNO FATTURA DA RETTIFICARE',3,'AAMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','05',18,'NUMERO DELLA FATTURA DA RETTIFICARE',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALL211','05',19,'VARIAZIONE IMPONIBILE CREDITO/DEBITO',2,'VARIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','05',20,'VARIAZIONE IMPOSTA CREDITO/DEBITO',2,'VARIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','05',21,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,703,703,0,0,'X(1703)','',0,'',0,0,'' )
,('ALL211','05',22,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','05',23,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','06',2,'TIPO RECORD = 5',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','06',4,'COGNOME',2,'COGNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('ALL211','06',5,'NOME',2,'NOMEFI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALL211','06',6,'DATA NASCITA',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL211','06',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','06',8,'GIORNO NASCITA',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','06',9,'MESE NASCITA',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','06',10,'ANNO NASCITA',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ALL211','06',11,'COMUNE O STATO ESTERO DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL211','06',12,'PROVINCIA DI NASCITA ESTERO=EE',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL211','06',13,'STATO ESTERO DOMICILIO FISCALE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALL211','06',15,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ALL211','06',16,'CITTA ESTERA DOMICILIO FISCALE',2,'CITTAE',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL211','06',17,'STATO ESTERO DOM. FISCALE',2,'STATOE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALL211','06',18,'INDIRIZZO ESTERO DOM. FISCALE',2,'DOMEST',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL211','06',19,'DATA OPERAZIONE',2,'DATOPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL211','06',20,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','06',21,'GIORNO OPERAZIONE',3,'GGGOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','06',22,'MESE OPERAZIONE',3,'MMMOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','06',23,'ANNO OPERAZIONE',3,'AAAOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','06',24,'NUMERO NOTA DI VARIAZIONE',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALL211','06',25,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL211','06',26,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL211','06',27,'DATA FATTURA DA RETTIFICARE',2,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL211','06',28,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','06',29,'GIORNO FATTURA DA RETTIFICARE',3,'GGGFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','06',30,'MESE FATTURA DA RETTIFICARE',3,'MMMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','06',31,'ANNO FATTURA DA RETTIFICARE',3,'AAAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','06',32,'NUMERO FATTURA DA RETTIFICARE',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALL211','06',33,'VARIAZIONE IMPONIBILE DEBITO/CREDITO',2,'VARIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','06',34,'VARIAZIONE IMPOSTA DEBITO/CREDITO',2,'VARIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','06',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,490,490,0,0,'X(1490)','',0,'',0,0,'' )
,('ALL211','06',36,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','06',37,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','07',2,'TIPO RECORD = 9',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','07',3,'CODICE IDENTIFICATIVO VALE SEMPRE ART21',2,'CODIID',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ALL211','07',4,'CODICE ID ANNO RIFERIMENTO SEMPRE 47',2,'IDFORN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL211','07',5,'TIPOLOGIA INVIO 0/1/2',2,'TIPINV',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','07',6,'PER METTERE SPAZI',2,'CODANX',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','07',7,'PROTDA ANNULLARE (SOLO SE ANN O INV SOS)',3,'CODANN',0,0,0,0,0,0,0,0,0,0,'',1,0,17,17,0,0,'9(17)','',0,'',0,0,'' )
,('ALL211','07',8,'PER METTERE SPAZI',2,'CODPRX',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','07',9,'PROTOCOLLO (SOLO SE ANN O INV. SOSTIT.)',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALL211','07',10,'CODICE FISCALE SOGG. OBB.',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL211','07',11,'PARTITA IVA SOGG OBB.',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ALL211','07',13,'DESCRIZIONE',2,'DESGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ALL211','07',14,'COMUNE DOMICILIO FISCALE',2,'COMGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL211','07',15,'PROVINCIA DOMICILIO FISCALE ESTERO=EE',2,'PROGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL211','07',17,'COGNOME',2,'COGNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('ALL211','07',18,'NOME',2,'NOMEFI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALL211','07',19,'SESSO',2,'FLGSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','07',20,'DATA NASCITA',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL211','07',21,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','07',22,'GIORNO NASCITA',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','07',23,'MESE NASCITA',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','07',24,'ANNO NASCITA',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','07',25,'COMUNE O STATO ESTERO DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL211','07',26,'PROVINCIA DI NASCITA ESTERO=EE',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL211','07',27,'ANNO RIFERIMENTO DICHIARAZIONE',2,'ANNRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','07',28,'COMUNICAZIONE DATI SOC. INCORPORATA',2,'SOCINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','07',29,'PROGRESSIVO INVIO (SEMPRE 1)',2,'PROINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','07',30,'NUMERO TOTALE INVII (SEMPRE 1)',2,'TOTINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','07',31,'AREA INTERMEDIARIO',2,'AREAIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','07',32,'C.F. INTERMEDIARIO CHE TRASMETTE',3,'CFINTE',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL211','07',33,'N. ISCRIZIONE ALL''ALBO DEL C.A.F.',3,'NUMCAF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ALL211','07',34,'IMPEGNO A TRASMETTERE 1=CONT. 2=INTERM.',3,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL211','07',35,'DATA IMPEGNO',3,'DATIMP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL211','07',36,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL211','07',37,'GIORNO IMPEGNO',4,'GGGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','07',38,'MESE IMPEGNO',4,'MMMIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL211','07',39,'ANNO IMPEGNO',4,'AAAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL211','07',40,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,498,498,0,0,'X(1498)','',0,'',0,0,'' )
,('ALL211','07',41,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL211','07',42,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','01',2,'TIPO RECORD = A',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','01',3,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('ALL212','01',4,'CODICE IDENTIFICATIVO VALE SEMPRE NSP00',2,'CODIID',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ALL212','01',5,'TIPO FORNITORE 01=SOGG 10=INTERMEDIARIO',2,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL212','01',6,'CODICE FISCALE S.OBB O INTERMEDIARIO',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL212','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,483,483,0,0,'X(483)','',0,'',0,0,'' )
,('ALL212','01',8,'PROGRESSIVO INVIO',2,'PROINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL212','01',9,'NUMERO TOTALE INVII',2,'TOTINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL212','01',10,'SPAZIO A DISPOSIZIONE DELL''UTENTE',2,'SPAUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ALL212','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,68,68,0,0,'X(1068)','',0,'',0,0,'' )
,('ALL212','01',12,'SPAZIO RISERVATO AL SERV. TELEMATICO',2,'SPASER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('ALL212','01',13,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','01',14,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','02',2,'TIPO RECORD = C',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','02',3,'CODICE FISCALE SOGGETTO OBBLIGATO',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL212','02',4,'PROGRESSIVO MODULO (SEMPRE 1)',2,'PROMOD',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALL212','02',5,'SPAZIO A DISPOSIZIONE DEL''UTENTE',2,'SPAUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALL212','02',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ALL212','02',7,'SPAZIO A DISPOSIZIONE DELL''UTENTE',2,'SPAUT1',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALL212','02',8,'CODICE FISCALE CIDIEMME',2,'CODFPR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL212','02',9,'AREA ELEMENTI',2,'AREAEL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','02',10,'ELEMENTO',3,'ELEMEN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',75,'',0,0,'' )
,('ALL212','02',11,'CHIAVE ELEMENTO',4,'ELEKEY',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','02',12,'QUADRO',5,'ELEK01',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL212','02',13,'NUMERO RIGO DEL QUADRO',5,'ELEK02',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALL212','02',14,'COLONNA ALL''INTERNO DEL RIGO',5,'ELEK03',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALL212','02',15,'DATI ELEMENTO',4,'ELEDAT',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL212','02',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ALL212','02',17,'CARATTERE A',2,'CHRAAA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','02',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','03',2,'TIPO RECORD = D',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ALL212','03',3,'CODICE FISCALE SOGGETTO OBBLIGATO',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL212','03',4,'PROGRESSIVO MODULO (SEMPRE 1)',2,'PROMOD',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALL212','03',5,'SPAZIO A DISPOSIZIONE DEL''UTENTE',2,'SPAUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALL212','03',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ALL212','03',7,'SPAZIO A DISPOSIZIONE DELL''UTENTE',2,'SPAUT1',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALL212','03',8,'CODICE FISCALE CIDIEMME',2,'CODFPR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL212','03',9,'AREA ELEMENTI',2,'AREAEL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','03',10,'ELEMENTO',3,'ELEMEN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',75,'',0,0,'' )
,('ALL212','03',11,'CHIAVE ELEMENTO',4,'ELEKEY',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','03',12,'QUADRO',5,'ELEK01',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL212','03',13,'NUMERO RIGO DEL QUADRO',5,'ELEK02',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALL212','03',14,'COLONNA ALL''INTERNO DEL RIGO',5,'ELEK03',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALL212','03',15,'DATI ELEMENTO',4,'ELEDAT',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL212','03',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ALL212','03',17,'FISSO LETTERA A',2,'CHRAAA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','03',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','04',2,'TIPO RECORD = E',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','04',3,'CODICE FISCALE SOGGETTO OBBLIGATO',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL212','04',4,'PROGRESSIVO MODULO (SEMPRE 1)',2,'PROMOD',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALL212','04',5,'SPAZIO A DISPOSIZIONE DEL''UTENTE',2,'SPAUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALL212','04',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ALL212','04',7,'SPAZIO A DISPOSIZIONE DELL''UTENTE',2,'SPAUT1',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALL212','04',8,'CODICE FISCALE CIDIEMME',2,'CODFPR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL212','04',9,'ELEMENTO',2,'ELEMEN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',75,'',0,0,'' )
,('ALL212','04',10,'CHIAVE ELEMENTO',3,'ELEKEY',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','04',11,'QUADRO',4,'ELEK01',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL212','04',12,'NUMERO RIGO DEL QUADRO',4,'ELEK02',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALL212','04',13,'COLONNA ALL''INTERNO DEL RIGO',4,'ELEK03',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALL212','04',14,'DATI ELEMENTO',3,'ELEDAT',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL212','04',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ALL212','04',16,'CARATTERE A',2,'CHRAAA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','04',17,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','05',2,'TIPO RECORD = Z',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','05',3,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('ALL212','05',4,'NUMERO RECORDS TIPO B',2,'NRRECB',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL212','05',5,'NUMERO RECORDS TIPO C',2,'NRRECC',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL212','05',6,'NUMERO RECORDS TIPO D',2,'NRRECD',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL212','05',7,'NUMERO RECORDS TIPO E',2,'NRRECE',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ALL212','05',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,846,846,0,0,'X(1846)','',0,'',0,0,'' )
,('ALL212','05',9,'CARATTERE DI CONTROLLO (SEMPRE A)',2,'CTRCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','05',10,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','10',2,'TIPO RECORD = B',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',3,'CODICE FISCALE SOGGETTO OBBLIGATO',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL212','10',4,'PROGRESSIVO MODULO (SEMPRE 1)',2,'PROMOD',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALL212','10',5,'SPAZIO A DISPOSIZIONE DEL''UTENTE',2,'SPAUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALL212','10',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ALL212','10',7,'SPAZIO A DISPOSIZIONE DELL''UTENTE',2,'SPAUT1',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALL212','10',8,'CODICE FISCALE CIDIEMME',2,'CODFPR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL212','10',9,'INVIO ORDINARIO',2,'INVORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',10,'INVIO SOSTITUTIVO',2,'INVSOS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',11,'COMUNICAZIONE ANNULLAMENTO',2,'INVANN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',12,'PROTOCOLLO DA SOSTITUIRE O ANNULLARE',2,'PROANN',0,0,0,0,0,0,0,0,0,0,'',1,0,17,17,0,0,'9(17)','',0,'',0,0,'' )
,('ALL212','10',13,'DOCUMENTO DA SOSTITUIRE O ANNULLARE',2,'DOCANN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALL212','10',14,'COMUNICAZIONE CON DATI AGGREGATI',2,'COMAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',15,'COMUNICAZIONE CON DATI ANALITICI',2,'COMANA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',16,'AREA QUADRI',2,'AREAQU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','10',17,'QUADRO FA',3,'QUADFA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',18,'QUADRO SA',3,'QUADSA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',19,'QUADRO BL',3,'QUADBL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',20,'QUADRO FE',3,'QUADFE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',21,'QUADRO FR',3,'QUADFR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',22,'QUADRO NE',3,'QUADNE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',23,'QUADRO NR',3,'QUADNR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',24,'QUADRO DF',3,'QUADDF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',25,'QUADRO FN',3,'QUADFN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',26,'QUADRO SE',3,'QUADSE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',27,'QUADRO TU',3,'QUADTU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',28,'QUADRO TA',3,'QUADTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',30,'PARTITA IVA SOGGETTO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ALL212','10',31,'CODICE ATTIVITA',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ALL212','10',32,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ALL212','10',33,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ALL212','10',34,'INDIRIZZO E-MAIL',2,'INDMAI',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ALL212','10',36,'COGNOME',2,'COGNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('ALL212','10',37,'NOME',2,'NOMEFI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALL212','10',38,'SESSO',2,'FLGSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',39,'DATA DI NASCITA',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL212','10',40,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','10',41,'GIORNO',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL212','10',42,'MESE',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL212','10',43,'ANNO',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL212','10',44,'COMUNE O STATO ESTERO DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL212','10',45,'PROVINCIA DI NASCITA ESTERO=EE',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL212','10',47,'DESCRIZIONE',2,'DESGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ALL212','10',48,'ANNO RIFERIMENTO DICHIARAZIONE',2,'ANNRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL212','10',49,'MESE DI RIFERIMENTO (SOLO PER S. MARINO)',2,'MESRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALL212','10',50,'AREA SOGGETTO SE DIVERSO',2,'AREASO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','10',51,'CODICE FISCALE',3,'CFSOGC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL212','10',52,'CODICE CARICA',3,'CODCAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL212','10',53,'DATA INIZIO PROCEDURA O DECESSO....',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL212','10',54,'DATA FINE PROCEDURA O DECESSO....',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL212','10',55,'COGNOME',3,'COGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('ALL212','10',56,'COGNOME',3,'NOMSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALL212','10',57,'SESSO',3,'SEXSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',58,'DATA DI NASCITA',3,'DASSOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL212','10',59,'COMUNE DI NASCITA',3,'COSSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALL212','10',60,'PROVINCIA DI NASCITA',3,'PRSSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ALL212','10',61,'DENOMINAZIONE (SE PERS. GIURIDICA)',3,'DENOMI',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ALL212','10',62,'AREA DATI INTERMEDIARIO',2,'AREAIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','10',63,'C.F. INTERMEDIARIO CHE TRASMETTE',3,'CODCFI',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALL212','10',64,'N. ISCRIZIONE ALL''ALBO DEL C.A.F.',3,'NUMCAF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ALL212','10',65,'IMPEGNO A TRASMETTERE 1=CONT. 2=INTERM.',3,'OBBTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALL212','10',66,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',67,'DATA IMPEGNO',3,'DATIMP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALL212','10',68,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALL212','10',69,'GIORNO IMPEGNO',4,'GGGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL212','10',70,'MESE IMPEGNO',4,'MMMIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALL212','10',71,'ANNO IMPEGNO',4,'AAAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALL212','10',72,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,258,258,0,0,'X(1258)','',0,'',0,0,'' )
,('ALL212','10',73,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALL212','10',74,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ALL212','10',75,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALL212','10',76,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLGCF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLGCF','01',2,'TIPO SOGGETTO C/F',2,'TIPSOG',1,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLGCF','01',5,'CODICE GRUPPO',2,'CODICE',2,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLGCF','01',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ALLGCF','01',7,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALLGCF','01',8,'RIFERIMENTO TELEMATICO',2,'RIFTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ALLGCF','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ALLGRP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLGRP','01',2,'TIPO SOGGETTO C/F',2,'TIPSOG',1,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLGRP','01',5,'CODICE GRUPPO',2,'CODGRP',2,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLGRP','01',6,'PRIMA PARTE CODICE (CL/FR)',3,'CODGR1',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALLGRP','01',7,'SECONDA PARTE CODICE',3,'CODGR2',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ALLGRP','01',8,'DESCRIZIONE GRUPPO',2,'DESGRP',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('ALLGRP','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ALLI11','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLI11','01',2,'ANNO DICHIARAZIONE',2,'ANNODI',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLI11','01',3,'DATA ESTRAZIONE INIZIALE',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLI11','01',4,'DATA ESTRAZIONE FINALE',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLI11','01',5,'DATA PRESENTAZIONE ALLEGATO',2,'DATPRE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLI11','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('ALLI12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLI12','01',2,'ANNO DICHIARAZIONE',2,'ANNODI',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLI12','01',3,'DATA ESTRAZIONE INIZIALE',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLI12','01',4,'DATA ESTRAZIONE FINALE',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLI12','01',5,'DATA PRESENTAZIONE ALLEGATO',2,'DATPRE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLI12','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('ALLI17','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLI17','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLI17','01',3,'ANNO DICHIARAZIONE',3,'ANNODI',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLI17','01',4,'TRIMESTRE',3,'NUMTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALLI17','01',5,'DATA ESTRAZIONE INIZIALE',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLI17','01',6,'DATA ESTRAZIONE FINALE',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLI17','01',7,'DATA PRESENTAZIONE ALLEGATO',2,'DATPRE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLIES','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLIES','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLIES','01',3,'ANNO DICHIARAZIONE',3,'ANNODI',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLIES','01',4,'MESE',3,'NUMMES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLIES','01',5,'DATA ESTRAZIONE INIZIALE',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLIES','01',6,'DATA ESTRAZIONE FINALE',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLIES','01',7,'DATA PRESENTAZIONE ALLEGATO',2,'DATPRE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLIMP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLIMP','01',2,'TIPO CODICE',2,'TIPCOD',1,2,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLIMP','01',5,'PARTITA IVA',2,'PARIVA',2,1,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLIMP','01',6,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLIMP','01',7,'PROGRESSIVO',2,'ELEPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,0,'S9(13)','',10,'',0,0,'' )
,('ALLIMP','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ALLIVA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLIVA','01',2,'TIPO CODICE',2,'TIPCOD',2,1,3,3,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLIVA','01',7,'CODICE CLIENTE/FORNITORE/SOCIO/PROD',2,'CODICE',3,2,4,4,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALLIVA','01',8,'PARTITA IVA',2,'PARIVA',4,3,2,5,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLIVA','01',9,'CODICE FISCALE',2,'CODFIS',5,4,5,2,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLIVA','01',10,'ANNO DICHIARAZIONE',2,'ANNODI',1,5,1,1,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLIVA','01',11,'PROGRESSIVO',2,'ELEPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',10,'',0,0,'' )
,('ALLIVA','01',12,'PROGRESSIVO ANNO PRECEDENTE',2,'ELEPRE',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',10,'',0,0,'' )
,('ALLIVA','01',13,'NUMERO DI FATTURE DI ACQUISTO RICEVUTE',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALLIVA','01',15,'NUMERO FATTURE RICEVUTE ANNO PRECEDENTE',2,'NUMPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALLIVA','01',17,'FLAG MOVIMENTATO /X',2,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',10,'',0,0,'' )
,('ALLIVA','01',18,'FLAG MOVIMENTATO /X',2,'FLGPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',10,'',0,0,'' )
,('ALLIVA','01',19,'S = INSERITO DA MANUTENZIONE',2,'FLGNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLIVA','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('ALLLIM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLLIM','01',2,'ANNO DICHIARAZIONE',2,'ANNODI',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLLIM','01',3,'DATA ESTRAZIONE INIZIALE',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLLIM','01',4,'DATA ESTRAZIONE FINALE',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLLIM','01',5,'TIPO ELABORAZIONE 1/2',2,'TIPELA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLLIM','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('ALLN11','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN11','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN11','01',3,'ANNO DICHIARAZIONE',3,'ANNODI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLN11','01',4,'TIPO CODICE',3,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN11','01',10,'CODICE CLIENTE/FORNITORE/SOCIO/PROD',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALLN11','01',11,'PARTITA IVA/C.FISC SE NOM. P.VENDITA',3,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLN11','01',12,'CODICE FISCALE',3,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLN11','01',13,'DATA OPERAZIONE',3,'DATOPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLN11','01',14,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN11','01',15,'ANNO OPERAZIONE',4,'AAAOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLN11','01',16,'MESE OPERAZIONE',4,'MMMOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLN11','01',17,'GIORNO OPERAZIONE',4,'GGGOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLN11','01',18,'1=FATTURA/NOTA 2=NOTA DI VARIAZIONE',3,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN11','01',19,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALLN11','01',20,'TIPO OPERAZIONE (ACQUISTO/VENDITA)',3,'TIPOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN11','01',21,'MODALITA'' PAGAMENTO',3,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN11','01',22,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN11','01',23,'IMPONIBILE',3,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ALLN11','01',24,'IMPOSTA',3,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ALLN11','01',25,'S = INSERITO DA MANUTENZIONE',3,'FLGNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN11','01',27,'IMPONIBILE NOTA DI VARIAZIONE',3,'IMPNOT',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ALLN11','01',28,'IMPOSTA NOTA DI VARIAZIONE',3,'IMPIVN',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ALLN11','01',29,'DATA FATTURA DA RETTIFICARE',3,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLN11','01',30,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN11','01',31,'ANNO FATTURA',4,'AAAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLN11','01',32,'MESE FATTURA',4,'MMMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLN11','01',33,'GIORNO FATTURA',4,'GGGFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLN11','01',34,'NUMERO FATTURA DA RETTIFICARE',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALLN11','01',35,'VARIAZIONE IMPONIBILE DEBITO/CREDITO',3,'VARIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN11','01',36,'VARIAZIONE IMPOSTA DEBITO/CREDITO',3,'VARIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN11','01',37,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ALLN12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN12','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN12','01',3,'ANNO DICHIARAZIONE',3,'ANNODI',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLN12','01',4,'TIPO CODICE',3,'TIPCOD',0,3,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN12','01',10,'CODICE CLIENTE/FORNITORE/SOCIO/PROD',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALLN12','01',11,'PARTITA IVA/C.FISC',3,'PARIVA',0,2,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLN12','01',12,'CHIAVE DOCUMENTO',3,'KEYDOC',0,5,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN12','01',13,'TIPO DOCUMENTO 1=FATT 2=NOTA ACC',4,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN12','01',14,'DATA REGISTRAZIONE',4,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLN12','01',15,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN12','01',16,'ANNO REGISTRAZIONE',5,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLN12','01',17,'MESE REGISTRAZIONE',5,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLN12','01',18,'GIORNO REGISTRAZIONE',5,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLN12','01',19,'NUMERO DOCUMENTO',4,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALLN12','01',20,'DATA DOCUMENTO',4,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLN12','01',21,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN12','01',22,'ANNO DOCUMENTO',5,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLN12','01',23,'MESE DOCUMENTO',5,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLN12','01',24,'GIORNO DOCUMENTO',5,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLN12','01',25,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN12','01',26,'IMPONIBILE',3,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ALLN12','01',27,'IMPOSTA',3,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ALLN12','01',28,'S = INSERITO DA MANUTENZIONE',3,'FLGNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN12','01',30,'REVERSE CHARGE',3,'REVCHA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN12','01',31,'AUTOFATTURA',3,'AUTOFA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN12','01',32,'DOCUMENTO RIEPILOGATIVO',3,'DOCRIE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN12','01',33,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,47,47,0,0,'X(47)','',0,'',0,0,'' )
,('ALLN17','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN17','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN17','01',3,'ID PERIODO',3,'IDPERI',0,1,1,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN17','01',4,'ANNO DICHIARAZIONE',4,'ANNODI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLN17','01',5,'TRIMESTRE 1-2-3-4',4,'NUMTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALLN17','01',6,'ID SOGGETTO',3,'IDSOGG',0,5,2,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN17','01',7,'TIPO CODICE',4,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN17','01',12,'CODICE CLIENTE/FORNITORE/SOCIO',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALLN17','01',13,'PARTITA IVA/C.FISC',3,'PARIVA',0,2,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLN17','01',14,'REGISTRAZIONE CONTABILE',3,'NUMREG',0,4,3,2,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALLN17','01',15,'CHIAVE DOCUMENTO',3,'KEYDOC',0,3,4,4,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN17','01',16,'TIPO DOCUMENTO DA TABELLA',4,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ALLN17','01',17,'DATA DOCUMENTO',4,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLN17','01',18,'REDEFINES',4,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN17','01',19,'ANNO DOCUMENTO',5,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLN17','01',20,'MESE DOCUMENTO',5,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLN17','01',21,'GIORNO DOCUMENTO',5,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLN17','01',22,'NUMERO DOCUMENTO',4,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALLN17','01',23,'DATA REGISTRAZIONE (FATTURE RICEVUTE)',4,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLN17','01',24,'REDEFINES',4,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLN17','01',25,'ANNO REGISTRAZIONE',5,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLN17','01',26,'MESE REGISTRAZIONE',5,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLN17','01',27,'GIORNO REGISTRAZIONE',5,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLN17','01',28,'ALIQUOTA',4,'ALIQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ALLN17','01',29,'NATURA DA TABELLA',4,'NATURA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ALLN17','01',30,'PERCENTUALE DETRAIBILITA''',4,'PERDET',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ALLN17','01',31,'DEDUCIBILITA''',4,'DEDUCI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN17','01',32,'ESIGIBILITA'' IVA',4,'ESIGIB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLN17','01',33,'IMPONIBILLE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('ALLN17','01',34,'IMPOSTA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('ALLNES','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLNES','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLNES','01',3,'ID PERIODO',3,'IDPERI',0,1,1,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLNES','01',4,'ANNO DICHIARAZIONE',4,'ANNODI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLNES','01',5,'MESE',4,'NUMMES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLNES','01',6,'ID SOGGETTO',3,'IDSOGG',0,5,2,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLNES','01',7,'TIPO CODICE',4,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLNES','01',12,'CODICE CLIENTE/FORNITORE/SOCIO',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALLNES','01',13,'PARTITA IVA/C.FISC',3,'PARIVA',0,2,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLNES','01',14,'REGISTRAZIONE CONTABILE',3,'NUMREG',0,4,3,2,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALLNES','01',15,'CHIAVE DOCUMENTO',3,'KEYDOC',0,3,4,4,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLNES','01',16,'TIPO DOCUMENTO DA TABELLA',4,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ALLNES','01',17,'DATA DOCUMENTO',4,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLNES','01',18,'REDEFINES',4,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLNES','01',19,'ANNO DOCUMENTO',5,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLNES','01',20,'MESE DOCUMENTO',5,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLNES','01',21,'GIORNO DOCUMENTO',5,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLNES','01',22,'NUMERO DOCUMENTO',4,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALLNES','01',23,'DATA REGISTRAZIONE (FATTURE RICEVUTE)',4,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLNES','01',24,'REDEFINES',4,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLNES','01',25,'ANNO REGISTRAZIONE',5,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLNES','01',26,'MESE REGISTRAZIONE',5,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLNES','01',27,'GIORNO REGISTRAZIONE',5,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLNES','01',28,'ALIQUOTA',4,'ALIQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ALLNES','01',29,'NATURA DA TABELLA',4,'NATURA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ALLNES','01',30,'PERCENTUALE DETRAIBILITA''',4,'PERDET',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ALLNES','01',31,'DEDUCIBILITA''',4,'DEDUCI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLNES','01',32,'ESIGIBILITA'' IVA',4,'ESIGIB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLNES','01',33,'IMPONIBILLE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('ALLNES','01',34,'IMPOSTA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ALLNOA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLNOA','01',2,'TIPO CODICE',2,'TIPCOD',2,1,3,3,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLNOA','01',7,'CODICE CLIENTE/FORNITORE/SOCIO/PROD',2,'CODICE',3,2,4,4,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALLNOA','01',8,'PARTITA IVA',2,'PARIVA',4,3,2,5,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLNOA','01',9,'CODICE FISCALE',2,'CODFIS',5,4,5,2,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLNOA','01',10,'ANNO DICHIARAZIONE',2,'ANNODI',1,5,1,1,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLNOA','01',11,'PROGRESSIVO',2,'ELEPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',10,'',0,0,'' )
,('ALLNOA','01',12,'PROGRESSIVO ANNO PRECEDENTE',2,'ELEPRE',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',10,'',0,0,'' )
,('ALLNOA','01',13,'NUMERO DI FATTURE DI ACQUISTO RICEVUTE',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALLNOA','01',15,'NUMERO FATTURE RICEVUTE ANNO PRECEDENTE',2,'NUMPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALLNOA','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ALLR11','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLR11','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLR11','01',3,'TIPO CODICE',3,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLR11','01',6,'PARTITA IVA/C.FISC SE NOM. P.VENDITA',3,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLR11','01',7,'DATA OPERAZIONE',3,'DATOPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLR11','01',8,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLR11','01',9,'ANNO OPERAZIONE',4,'AAAOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLR11','01',10,'MESE OPERAZIONE',4,'MMMOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLR11','01',11,'GIORNO OPERAZIONE',4,'GGGOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLR11','01',12,'1=FATTURA/NOTA 2=NOTA DI VARIAZIONE',3,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLR11','01',13,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALLR11','01',14,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLR11','01',15,'IMPONIBILE',3,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ALLR11','01',16,'IMPOSTA',3,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ALLR11','01',17,'IMPONIBILE NOTA DI VARIAZIONE',3,'IMPNOT',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ALLR11','01',18,'IMPOSTA NOTA DI VARIAZIONE',3,'IMPIVN',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ALLR11','01',19,'DATA FATTURA DA RETTIFICARE',3,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLR11','01',20,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLR11','01',21,'ANNO FATTURA',4,'AAAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLR11','01',22,'MESE FATTURA',4,'MMMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLR11','01',23,'GIORNO FATTURA',4,'GGGFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLR11','01',24,'NUMERO FATTURA DA RETTIFICARE',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALLR11','01',25,'VARIAZIONE IMPONIBILE DEBITO/CREDITO',3,'VARIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLR11','01',26,'VARIAZIONE IMPOSTA DEBITO/CREDITO',3,'VARIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLR11','01',27,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ALLTEL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLTEL','01',2,'TIPO RECORD = 0',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALLTEL','01',3,'CODICE IDENTIFICATIVO FORNITURA ECF',2,'CODIID',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALLTEL','01',4,'CODICE ID ANNO RIFERIMENTO SEMPRE 00',2,'IDANNO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLTEL','01',5,'CODICE FORNITURA SEMPRE 38',2,'IDFORN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLTEL','01',6,'CODICE FISCALE CONTRIBUENTE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLTEL','01',7,'PARTITA IVA CONTRIBUENTE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ALLTEL','01',9,'COGNOME',2,'COGNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,26,26,0,0,'X(26)','',0,'',0,0,'' )
,('ALLTEL','01',10,'NOME',2,'NOMEFI',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ALLTEL','01',11,'SESSO',2,'FLGSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLTEL','01',12,'DATA DOCUMENTO',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLTEL','01',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLTEL','01',14,'GIORNO NASCITA',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLTEL','01',15,'MESE NASCITA',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLTEL','01',16,'GIORNO NASCITA',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLTEL','01',17,'COMUNE O STATO ESTERO DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALLTEL','01',18,'PROVINCIA DI NASCITA',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALLTEL','01',20,'DENOMINAZIONE',2,'DENOMI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('ALLTEL','01',21,'COMUNE DELLA SEDE LEGALE',2,'COMLEG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALLTEL','01',22,'PROVINCIA DELLA SEDE LEGALE',2,'PROLEG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALLTEL','01',23,'C.F. SOGGETTO OBBLIGATO SE DIVERSO',2,'CFSOGO',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLTEL','01',24,'ANNO RIFERIMENTO DICHIARAZIONE',2,'ANNRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLTEL','01',25,'PROGRESSIVO INVIO (SE PIU'' INVII)',2,'PROINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLTEL','01',26,'NUMERO TOTALE INVII (SE PIU'' INVII)',2,'TOTINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLTEL','01',28,'C.F. INTERMEDIARIO CHE TRASMETTE',2,'CFINTE',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLTEL','01',29,'N. ISCRIZIONE ALL''ALBO DEL C.A.F.',2,'NUMCAF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ALLTEL','01',30,'IMPEGNO A TRASMETTERE 1=CONT. 2=INTERM.',2,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALLTEL','01',31,'DATA IMPEGNO',2,'DATIMP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLTEL','01',32,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLTEL','01',33,'GIORNO IMPEGNO',3,'GGGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLTEL','01',34,'MESE IMPEGNO',3,'MMMIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLTEL','01',35,'ANNO IMPEGNO',3,'AAAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLTEL','01',36,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,490,490,0,0,'X(1490)','',0,'',0,0,'' )
,('ALLTEL','01',37,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLTEL','01',38,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLTEL','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLTEL','02',2,'TIPO RECORD = 1',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALLTEL','02',3,'ELEMENTO',2,'ELECLI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',70,'',0,0,'' )
,('ALLTEL','02',4,'TIPOLOGIA ELEMENTO',3,'TIPELE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ALLTEL','02',5,'VALORE ELEMENTO',3,'VALELE',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLTEL','02',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,116,116,0,0,'X(116)','',0,'',0,0,'' )
,('ALLTEL','02',7,'CARATTERE DI CONTROLLO SEMPRE = A',2,'CARCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLTEL','02',8,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLTEL','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLTEL','03',2,'TIPO RECORD = 2',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALLTEL','03',3,'ELEMENTO',2,'ELECLI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',70,'',0,0,'' )
,('ALLTEL','03',4,'TIPOLOGIA ELEMENTO',3,'TIPELE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ALLTEL','03',5,'VALORE ELEMENTO',3,'VALELE',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLTEL','03',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,116,116,0,0,'X(116)','',0,'',0,0,'' )
,('ALLTEL','03',7,'CARATTERE DI CONTROLLO SEMPRE = A',2,'CARCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLTEL','03',8,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLTEL','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLTEL','04',2,'TIPO RECORD = 3',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALLTEL','04',3,'NUMERO COMPLESSIVO CLIENTI',2,'TOTCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALLTEL','04',4,'NUMERO COMPLESSIVO FORNITORI',2,'TOTFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALLTEL','04',5,'TABELLA VALORI RIEPILOGATIVI',2,'TATTOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLTEL','04',6,'ELEMENTO TOTALE',3,'ELETOT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',22,'',0,0,'' )
,('ALLTEL','04',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,340,340,0,0,'X(1340)','',0,'',0,0,'' )
,('ALLTEL','04',8,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLTEL','04',9,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLTEL','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLTEL','05',2,'TIPO RECORD = 9',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALLTEL','05',3,'CODICE IDENTIFICATIVO FORNITURA ECF',2,'CODIID',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALLTEL','05',4,'CODICE ID ANNO RIFERIMENTO SEMPRE 00',2,'IDANNO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ALLTEL','05',5,'CODICE FORNITURA SEMPRE 38',2,'IDFORN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLTEL','05',6,'CODICE FISCALE CONTRIBUENTE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLTEL','05',7,'PARTITA IVA CONTRIBUENTE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ALLTEL','05',9,'COGNOME',2,'COGNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,26,26,0,0,'X(26)','',0,'',0,0,'' )
,('ALLTEL','05',10,'NOME',2,'NOMEFI',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ALLTEL','05',11,'SESSO',2,'FLGSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLTEL','05',12,'DATA DOCUMENTO',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLTEL','05',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLTEL','05',14,'GIORNO NASCITA',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLTEL','05',15,'MESE NASCITA',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLTEL','05',16,'GIORNO NASCITA',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLTEL','05',17,'COMUNE O STATO ESTERO DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALLTEL','05',18,'PROVINCIA DI NASCITA',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALLTEL','05',20,'DENOMINAZIONE',2,'DENOMI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('ALLTEL','05',21,'COMUNE DELLA SEDE LEGALE',2,'COMLEG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALLTEL','05',22,'PROVINCIA DELLA SEDE LEGALE',2,'PROLEG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALLTEL','05',23,'C.F. SOGGETTO OBBLIGATO SE DIVERSO',2,'CFSOGO',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLTEL','05',24,'ANNO RIFERIMENTO DICHIARAZIONE',2,'ANNRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLTEL','05',25,'PROGRESSIVO INVIO (SE PIU'' INVII)',2,'PROINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLTEL','05',26,'NUMERO TOTALE INVII (SE PIU'' INVII)',2,'TOTINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLTEL','05',28,'C.F. INTERMEDIARIO CHE TRASMETTE',2,'CFINTE',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLTEL','05',29,'N. ISCRIZIONE ALL''ALBO DEL C.A.F.',2,'NUMCAF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ALLTEL','05',30,'IMPEGNO A TRASMETTERE 1=CONT. 2=INTERM.',2,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALLTEL','05',31,'DATA IMPEGNO',2,'DATIMP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALLTEL','05',32,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLTEL','05',33,'GIORNO IMPEGNO',3,'GGGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLTEL','05',34,'MESE IMPEGNO',3,'MMMIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALLTEL','05',35,'ANNO IMPEGNO',3,'AAAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLTEL','05',36,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,490,490,0,0,'X(1490)','',0,'',0,0,'' )
,('ALLTEL','05',37,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLTEL','05',38,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLVAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALLVAR','01',2,'TIPO CODICE',2,'TIPCOD',2,1,3,3,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALLVAR','01',7,'CODICE CLIENTE/FORNITORE/SOCIO/PROD',2,'CODICE',3,2,4,4,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALLVAR','01',8,'PARTITA IVA',2,'PARIVA',4,3,2,5,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLVAR','01',9,'CODICE FISCALE',2,'CODFIS',5,4,5,2,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALLVAR','01',10,'ANNO DICHIARAZIONE',2,'ANNODI',1,5,1,1,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALLVAR','01',11,'PROGRESSIVO',2,'ELEPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',10,'',0,0,'' )
,('ALLVAR','01',12,'PROGRESSIVO ANNO PRECEDENTE',2,'ELEPRE',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',10,'',0,0,'' )
,('ALLVAR','01',13,'NUMERO DI FATTURE DI ACQUISTO RICEVUTE',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALLVAR','01',15,'NUMERO FATTURE RICEVUTE ANNO PRECEDENTE',2,'NUMPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALLVAR','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ALNKQU','AF',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALNKQU','AF',2,'CHIAVE MOVIMENTO ACQUISTO VASCHE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALNKQU','AF',3,'NUMERO MOVIMENTO ACQUISTO FRUTTA',3,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALNKQU','AF',4,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALNKQU','AF',5,'SPAZI',3,'SPAC01',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('ALNKQU','AF',6,'MOVIMENTO MAGAZZINO AV2000',2,'KEY002',2,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALNKQU','AF',7,'NUMERO MOVIMENTO MAGAZZINO AV2000',3,'MAGNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALNKQU','AF',8,'SPAZI',3,'SPAC02',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALNKSE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALNKSE','01',2,'ID ORIGINE FONTE ESTERNA',2,'ID-ORI',1,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ALNKSE','01',3,'LORO CODICE',2,'CODLOR',2,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ALNKSE','01',4,'CODICE CLIENTE AV2000',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALNKSE','01',5,'CODICE NOMINATIVO AV2000',2,'CODNOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALNKSE','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,87,87,0,0,'X(87)','',0,'',0,0,'' )
,('ALNKVU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALNKVU','01',2,'CODICE VITIGNO',2,'CODVIT',1,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALNKVU','01',3,'CODICE UVA',2,'CODUVA',2,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ALOCDI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOCDI','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOCDI','01',3,'CODICE COMUNE ISTAT',3,'CODCOM',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALOCDI','01',4,'CAP',3,'CODCAP',0,1,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ALOCDI','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(48)','',0,'',0,0,'' )
,('ALOCKS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOCKS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOCKS','01',3,'SSCC',3,'CODSSC',0,2,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALOCKS','01',4,'CASUALE BLOCCO',3,'CODCAU',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALOCKS','01',7,'UTENTE CHE HA OPERATO IL BLOCCO',2,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALOCKS','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,37,37,0,0,'X(37)','',0,'',0,0,'' )
,('ALOEDI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOEDI','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOEDI','01',3,'PROGRESSIVO',3,'PROGRE',0,4,4,4,4,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('ALOEDI','01',4,'DATA INVIO',2,'DATINV',0,2,3,1,2,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALOEDI','01',5,'REDEFINES',2,'AMGINV',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOEDI','01',6,'ANNO INVIO',3,'AAAINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALOEDI','01',7,'MESE INVIO',3,'MMMINV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALOEDI','01',8,'GIORNO INVIO',3,'GGGINV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALOEDI','01',9,'CODICE CLIENTE',2,'CODCLI',0,1,1,2,3,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALOEDI','01',10,'TIPO DOCUMENTO O B F',2,'TIPDOC',0,3,2,3,1,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALOEDI','01',11,'STRINGA EVENTO',2,'DESEVE',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('ALOGFA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOGFA','01',2,'AREA ROTTURA FATTURE',2,'AREARO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOGFA','01',3,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALOGFA','01',4,'FATTURA RIEPILOGATIVA S/N (N. BOLLA)',3,'RIEPSN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALOGFA','01',5,'CAUSALE FATTURA',3,'CAUFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ALOGFA','01',6,'RIFERIMENTO PER RESI',3,'RIFNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALOGFA','01',7,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOGFA','01',8,'ANNO RIFERIMENTO',4,'AAANOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALOGFA','01',9,'MESE RIFERIMENTO',4,'MMMNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALOGFA','01',10,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALOGFA','01',11,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALOGFA','01',12,'CODICE AGENTE',3,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ALOGFA','01',13,'CODICE CAPO AREA',3,'CODACA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ALOGFA','01',14,'CODICE PAGAMENTO',3,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ALOGFA','01',15,'CODICE ABI BANCA',3,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ALOGFA','01',16,'CODICE CAB BANCA',3,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ALOGFA','01',17,'CODICE VALUTA',3,'VALUTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALOGFA','01',18,'CODICE LISTINO',3,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ALOGFA','01',19,'FLAG LISTINO',3,'FLGLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ALOGFA','01',20,'FLAG SCONTO QUANTITA''',3,'FLGSCQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALOGFA','01',21,'SOGGETTO SPESE INCASSO',3,'SPEINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALOGFA','01',22,'SOGGETTO CAUZIONI VUOTI',3,'SOGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALOGFA','01',23,'SOGGETTO BOLLO CAUZIONI VUOTI',3,'BOLCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALOGFA','01',24,'CODICE PORTO',3,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALOGFA','01',25,'CODICE MEZZO DI TRASPORTO',3,'CODMEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALOGFA','01',26,'CODICE DESTINATARIO',3,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALOGFA','01',27,'CODICE LUOGO DI CONSEGNA',3,'CODLUC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALOGFA','01',28,'PERCENTUALE PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ALOGFA','01',29,'PERCENTUALE PROVVIGIONE CAPO AREA',3,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ALOGFA','01',30,'PERCENTUALE SCONTO PAGAMENTO',3,'SCOPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ALOGFA','01',31,'SCONTI COMMERCIALI',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('ALOGFA','01',32,'SCONTO A LITRO',3,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('ALOGFA','01',33,'NUMERO CONTRATTO',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALOGFA','01',34,'RIFERIMENTO ORDINE',3,'RIFORD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ALOGFA','01',35,'DATI DESTINATARIO MANUALE',3,'DESMAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOGFA','01',36,'RAGIONE SOCIALE',4,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALOGFA','01',37,'INDIRIZZO',4,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALOGFA','01',38,'C.A.P.',4,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ALOGFA','01',39,'LOCALITA''',4,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALOGFA','01',40,'PROVINCIA',4,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALOGFA','01',41,'CODICE ISO',4,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALOGFA','01',42,'CODICE ACCISA',4,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ALOGFA','01',43,'PARTITA IVA',4,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALOGFA','01',44,'CODICE TRASPORTATORE',3,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ALOGFA','01',45,'CODICE TRIANGOLARE',3,'CODTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALOGFA','01',46,'CAMPI TRIANGOLARE',3,'DESTRI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOGFA','01',47,'RAGIONE SOCIALE TRIANGOLARE',4,'TRIRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALOGFA','01',48,'INDIRIZZO TRIANGOLARE',4,'TRIIND',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALOGFA','01',49,'CAP TRIANGOLARE',4,'TRICAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ALOGFA','01',50,'LOCALITA'' TRIANGOLARE',4,'TRILOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ALOGFA','01',51,'PROVINCIA TRIANGOLARE',4,'TRIPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALOGFA','01',52,'ISO TRIANGOLARE',4,'TRIISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALOGFA','01',53,'ACCISA TRIANGOLARE',4,'TRIACC',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ALOGFA','01',54,'P.IVA TRIANGOLARE',4,'TRIPIV',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALOGFA','01',55,'NUMERO IVA BOLLA',3,'IVABOL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALOGFA','01',56,'DATA BOLLA',3,'DTABOL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALOGFA','01',57,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOGFA','01',58,'NUMERO BOLLA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALOGFA','01',59,'NUMERO FATTURA',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALOGFI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOGFI','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOGFI','01',3,'CHIAVE PER ROTTURA STAMPA',3,'KEYROT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOGFI','01',4,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALOGFI','01',5,'ANNATA ARTICOLO',4,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALOGFI','01',6,'CODICE MAGAZZINO',4,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALOGFI','01',7,'DATA VALORIZZAZIONE',4,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALOGFI','01',8,'NUMERO MOVIMENTO MAGAZZINO',3,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALOGFI','01',9,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALOGFI','01',10,'TIPO ARTICOLO',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ALOGFI','01',11,'PREZZO MOVIMENTO',2,'PREMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('ALOGFI','01',12,'NUMERO ORIGINE',2,'NUMORI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALOGFI','01',13,'NUMERO RIGA ORIGINE',2,'RIGORI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALOGFI','01',14,'NUMERO PRODUZIONE',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALOGFI','01',15,'DATA PRODUZIONE',2,'DATPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALOGFI','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,68,68,0,0,'X(68)','',0,'',0,0,'' )
,('ALOGLO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOGLO','01',2,'CHIAVE ARTICOLO+DATA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOGLO','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALOGLO','01',4,'DATA INSERIMENTO',3,'DATINS',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALOGLO','01',5,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOGLO','01',6,'ANNO INSERIMENTO',4,'AAAINS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALOGLO','01',7,'MESE INSERIMENTO',4,'MMMINS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALOGLO','01',8,'GIORNO INSERIMENTO',4,'GGGINS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALOGLO','01',9,'LOTTO',3,'NLOTTO',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ALOGLO','01',10,'CODICE ARTICOLO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALOGLO','01',11,'ANNATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALOGLO','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ALOGPV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOGPV','01',2,'CHIAVE CLIFOR+DATA+NUMERO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOGPV','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,0,2,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALOGPV','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOGPV','01',5,'NUMERO INTERNO BOLLETTA',4,'NUMBOL',0,0,3,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALOGPV','01',6,'DATA BOLLETTA',4,'DTABOL',0,0,1,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALOGPV','01',7,'ORA BOLLETTA',4,'ORABOL',0,0,4,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALOGPV','01',8,'TOTALE BOLLETTA',2,'TOTBOL',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ALOGPV','01',9,'UTENTE',2,'CODUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ALOGPV','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ALOTGG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOTGG','01',2,'DATA PRODUZIONE',2,'DTAPRO',1,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALOTGG','01',3,'ULTIMO SUBLOTTO STAMPATO (ASCI)',2,'SUBLOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALOTGG','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,90,90,0,0,'X(90)','',0,'',0,0,'' )
,('ALOTPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOTPR','01',2,'NUMERO PRODUZIONE',2,'NUMPRO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALOTPR','01',3,'ULTIMO LOTTO STAMPATO',2,'LOTTON',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ALOTPR','01',4,'TOTALE PALETTE STAMPATE',2,'TOTPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALOTPR','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,76,76,0,0,'X(76)','',0,'',0,0,'' )
,('ALOTSF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOTSF','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALOTSF','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALOTSF','01',4,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ALOTSF','01',5,'LOTTO PRODOTTO',3,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ALOTSF','01',6,'CODICE COMBINAZIONE MANIPOLAZIONI',2,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ALOTSF','01',7,'CODICE PARTITA RU',2,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ALOTSF','01',8,'CODICE CERTIFICATO RU',2,'CODCER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALOTSF','01',9,'DATA CERTIFICATO RU',2,'DTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALOTSF','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALPA02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALPA02','01',2,'CODICE ATTRIBUTO',2,'CODATT',1,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALPA02','01',3,'GRADO MEDIO CALCOLATO',2,'GRACAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ALPA02','01',4,'EVENTUALE GRADO MEDIO MANUALE',2,'GRAMAN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ALPA02','01',5,'PUNTI GRADO MEDIO DOC',2,'PUNDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ALPA02','01',6,'% DI VARIAZIONE PUNTI OTTENUTI DOC',2,'PERDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('ALPA02','01',7,'PUNTI GRADO MEDIO IGT',2,'PUNIGT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ALPA02','01',8,'% DI VARIAZIONE PUNTI OTTENUTI IGT',2,'PERIGT',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('ALPA02','01',9,'PUNTI GRADO MEDIO TAVOLA',2,'PUNTAV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ALPA02','01',10,'% DI VARIAZIONE PUNTI OTTENUTI TAVOLA',2,'PERTAV',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('ALPA02','01',11,'FILLER',2,'FINNER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ALPE02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALPE02','01',2,'CODICE UVAGGIO',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ALPE02','01',3,'IMPORTO FISSO AD ETTARO',2,'IMPETT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('ALPE02','01',4,'NUMERO ATTRIBUTO BOLLETTE DA SCARTARE',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALPE02','01',5,'CODICE ATTRIBUTO BOLLETTE DA SCARTARE',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALPE02','01',6,'IMPORTO A QUINTALE SOTTO RESA MINIMA',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('ALPE02','01',7,'RESA MINIMA',2,'RESMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ALPE02','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ALRSTB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALRSTB','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALRSTB','01',3,'NUMERO CONFERIMENTO ORIGINALE',3,'NUMORI',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALRSTB','01',4,'DATA RINUMERAZIONE',3,'DTARIN',0,2,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALRSTB','01',5,'ORA RINUMERAZIONE',3,'ORARIN',0,3,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALRSTB','01',6,'NUOVO NUMERO CONFERIMENTO',2,'NUMNEW',0,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALRSTB','01',7,'TIPO OPERAZIONE',2,'TIPOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALSD08','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALSD08','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALSD08','01',3,'MONTEGRADI CONFERITO',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('ALSD08','01',4,'IMPONIBILE LIQUIDAZIONE',2,'IMPLIQ',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ALSD08','01',5,'IMPORTO AUTOFINANZIAMENTO',2,'IMPAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ALSP01','TM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALSP01','TM',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALSP01','TM',3,'TIPO RECORD = "TM"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALSP01','TM',4,'CODICE MOVIMENTO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALSP01','TM',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('ALSP01','TM',6,'CODICE CIRCOLARE ASSOCIATO',2,'CODSTP',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ALSP01','TM',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,137,137,0,0,'X(137)','',0,'',0,0,'' )
,('ALSP02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALSP02','01',2,'CODICE SOCIO',2,'CODICE',1,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALSP02','01',3,'TIPO RECORD = "SU"',2,'TIPREC',2,4,1,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ALSP02','01',4,'DATA MOVIMENTO',2,'DATMOV',3,2,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALSP02','01',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALSP02','01',6,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALSP02','01',7,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALSP02','01',8,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALSP02','01',9,'CODICE CAUSALE',2,'CODCAU',4,3,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALSP02','01',10,'NUMERO QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('ALSP02','01',11,'PREZZO QUOTA',2,'PREQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('ALSP02','01',12,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ALSP02','01',13,'TIPO MOVIMENTO',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALSP02','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ALSPA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALSPA1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALSPA1','01',3,'NUMERO CERTIFICATO',3,'NUMCER',0,2,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALSPA1','01',4,'CODICE SOCIO',3,'CODSOC',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALSPA1','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ALSPA2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALSPA2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,4,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALSPA2','01',3,'NUMERO INTERNO',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALSPA2','01',4,'NUMERO CERTIFICATO AZIONARIO',2,'NUMCER',0,1,2,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ALSPA2','01',5,'DATA MOVIMENTO',2,'DATMOV',0,2,1,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALSPA2','01',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALSPA2','01',7,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALSPA2','01',8,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALSPA2','01',9,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALSPA2','01',10,'CODICE CAUSALE',2,'CODCAU',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALSPA2','01',11,'NUMERO AZIONI',2,'NUMAZI',0,0,0,0,0,0,0,0,0,0,'',1,1,5,6,0,0,'S9(5)','',0,'',0,0,'' )
,('ALSPA2','01',12,'VALORE AZIONE',2,'VALAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('ALSPA2','01',13,'NUMERO STAMPA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALSPA2','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALSPA3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALSPA3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALSPA3','01',3,'NUMERO INTERNO',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALSPA3','01',4,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALSPA3','01',5,'COMMENTO',2,'RIGCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ALSPA3','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('ALSU02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALSU02','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALSU02','01',3,'CODICE UVA',2,'CODUVA',2,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ALSU02','01',4,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('ALSU02','01',5,'IMPORTO A QUINTALE VARIAZIONE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,7,2,0,'S999V99','',0,'',0,0,'' )
,('ALSU02','01',6,'VARIAZIONE PER ZONA /N',2,'VARZON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALSU02','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('ALUE02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALUE02','01',2,'CODICE UVAGGIO',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALUE02','01',3,'IMPORTO FISSO AD ETTARO',2,'IMPETT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('ALUE02','01',4,'NUMERO ATTRIBUTO BOLLETTE DA SCARTARE',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALUE02','01',5,'CODICE ATTRIBUTO BOLLETTE DA SCARTARE',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ALUE02','01',6,'IMPORTO A QUINTALE SOTTO RESA MINIMA',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('ALUE02','01',7,'RESA MINIMA',2,'RESMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ALUE02','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ALVN11','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN11','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN11','01',3,'ANNO DICHIARAZIONE',3,'ANNODI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALVN11','01',4,'TIPO CODICE',3,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN11','01',10,'CODICE CLIENTE/FORNITORE/SOCIO/PROD',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALVN11','01',11,'PARTITA IVA/C.FISC SE NOM. P.VENDITA',3,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALVN11','01',12,'CODICE FISCALE',3,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALVN11','01',13,'DATA OPERAZIONE',3,'DATOPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALVN11','01',14,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN11','01',15,'ANNO OPERAZIONE',4,'AAAOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALVN11','01',16,'MESE OPERAZIONE',4,'MMMOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ALVN11','01',17,'GIORNO OPERAZIONE',4,'GGGOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVN11','01',18,'1=FATTURA/NOTA 2=NOTA DI VARIAZIONE',3,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN11','01',19,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALVN11','01',20,'TIPO OPERAZIONE (ACQUISTO/VENDITA)',3,'TIPOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN11','01',21,'MODALITA'' PAGAMENTO',3,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN11','01',22,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN11','01',23,'IMPONIBILE',3,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ALVN11','01',24,'IMPOSTA',3,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ALVN11','01',25,'S = INSERITO DA MANUTENZIONE',3,'FLGNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN11','01',27,'IMPONIBILE NOTA DI VARIAZIONE',3,'IMPNOT',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ALVN11','01',28,'IMPOSTA NOTA DI VARIAZIONE',3,'IMPIVN',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ALVN11','01',29,'DATA FATTURA DA RETTIFICARE',3,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALVN11','01',30,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN11','01',31,'ANNO FATTURA',4,'AAAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALVN11','01',32,'MESE FATTURA',4,'MMMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVN11','01',33,'GIORNO FATTURA',4,'GGGFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVN11','01',34,'NUMERO FATTURA DA RETTIFICARE',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALVN11','01',35,'VARIAZIONE IMPONIBILE DEBITO/CREDITO',3,'VARIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN11','01',36,'VARIAZIONE IMPOSTA DEBITO/CREDITO',3,'VARIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN11','01',37,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ALVN12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN12','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN12','01',3,'ANNO DICHIARAZIONE',3,'ANNODI',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALVN12','01',4,'TIPO CODICE',3,'TIPCOD',0,3,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN12','01',10,'CODICE CLIENTE/FORNITORE/SOCIO/PROD',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALVN12','01',11,'PARTITA IVA/C.FISC',3,'PARIVA',0,2,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALVN12','01',12,'CHIAVE DOCUMENTO',3,'KEYDOC',0,5,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN12','01',13,'TIPO DOCUMENTO 1=FATT 2=NOTA ACC',4,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN12','01',14,'DATA REGISTRAZIONE',4,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALVN12','01',15,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN12','01',16,'ANNO REGISTRAZIONE',5,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALVN12','01',17,'MESE REGISTRAZIONE',5,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVN12','01',18,'GIORNO REGISTRAZIONE',5,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVN12','01',19,'NUMERO DOCUMENTO',4,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALVN12','01',20,'DATA DOCUMENTO',4,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALVN12','01',21,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN12','01',22,'ANNO DOCUMENTO',5,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALVN12','01',23,'MESE DOCUMENTO',5,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVN12','01',24,'GIORNO DOCUMENTO',5,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVN12','01',25,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN12','01',26,'IMPONIBILE',3,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ALVN12','01',27,'IMPOSTA',3,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ALVN12','01',28,'S = INSERITO DA MANUTENZIONE',3,'FLGNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN12','01',30,'REVERSE CHARGE',3,'REVCHA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN12','01',31,'AUTOFATTURA',3,'AUTOFA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN12','01',32,'DOCUMENTO RIEPILOGATIVO',3,'DOCRIE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN12','01',33,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,47,47,0,0,'X(47)','',0,'',0,0,'' )
,('ALVN17','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN17','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN17','01',3,'ID PERIODO',3,'IDPERI',0,1,1,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN17','01',4,'ANNO DICHIARAZIONE',4,'ANNODI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALVN17','01',5,'TRIMESTRE 1-2-3-4',4,'NUMTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ALVN17','01',6,'ID SOGGETTO',3,'IDSOGG',0,5,2,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN17','01',7,'TIPO CODICE',4,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN17','01',12,'CODICE CLIENTE/FORNITORE/SOCIO',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALVN17','01',13,'PARTITA IVA/C.FISC',3,'PARIVA',0,2,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALVN17','01',14,'REGISTRAZIONE CONTABILE',3,'NUMREG',0,4,3,2,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALVN17','01',15,'CHIAVE DOCUMENTO',3,'KEYDOC',0,3,4,4,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN17','01',16,'TIPO DOCUMENTO DA TABELLA',4,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ALVN17','01',17,'DATA DOCUMENTO',4,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALVN17','01',18,'REDEFINES',4,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN17','01',19,'ANNO DOCUMENTO',5,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALVN17','01',20,'MESE DOCUMENTO',5,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVN17','01',21,'GIORNO DOCUMENTO',5,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVN17','01',22,'NUMERO DOCUMENTO',4,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALVN17','01',23,'DATA REGISTRAZIONE (FATTURE RICEVUTE)',4,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALVN17','01',24,'REDEFINES',4,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVN17','01',25,'ANNO REGISTRAZIONE',5,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALVN17','01',26,'MESE REGISTRAZIONE',5,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVN17','01',27,'GIORNO REGISTRAZIONE',5,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVN17','01',28,'ALIQUOTA',4,'ALIQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ALVN17','01',29,'NATURA DA TABELLA',4,'NATURA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ALVN17','01',30,'PERCENTUALE DETRAIBILITA''',4,'PERDET',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ALVN17','01',31,'DEDUCIBILITA''',4,'DEDUCI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN17','01',32,'ESIGIBILITA'' IVA',4,'ESIGIB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVN17','01',33,'IMPONIBILLE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('ALVN17','01',34,'IMPOSTA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('ALVN17','01',35,'NUOVO TIPO DOCUMENTO (SOLO SE DIVERSO)',2,'TIPNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ALVN17','01',36,'S=REGISTRAZIONE NON VALIDA',2,'NOVALI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVNES','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVNES','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVNES','01',3,'ID PERIODO',3,'IDPERI',0,1,1,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVNES','01',4,'ANNO DICHIARAZIONE',4,'ANNODI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALVNES','01',5,'MESE',4,'NUMMES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVNES','01',6,'ID SOGGETTO',3,'IDSOGG',0,5,2,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVNES','01',7,'TIPO CODICE',4,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVNES','01',12,'CODICE CLIENTE/FORNITORE/SOCIO',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ALVNES','01',13,'PARTITA IVA/C.FISC',3,'PARIVA',0,2,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ALVNES','01',14,'REGISTRAZIONE CONTABILE',3,'NUMREG',0,4,3,2,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ALVNES','01',15,'CHIAVE DOCUMENTO',3,'KEYDOC',0,3,4,4,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVNES','01',16,'TIPO DOCUMENTO DA TABELLA',4,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ALVNES','01',17,'DATA DOCUMENTO',4,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALVNES','01',18,'REDEFINES',4,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVNES','01',19,'ANNO DOCUMENTO',5,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ALVNES','01',20,'MESE DOCUMENTO',5,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVNES','01',21,'GIORNO DOCUMENTO',5,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVNES','01',22,'NUMERO DOCUMENTO',4,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ALVNES','01',23,'DATA REGISTRAZIONE (FATTURE RICEVUTE)',4,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ALVNES','01',24,'REDEFINES',4,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVNES','01',25,'ANNO REGISTRAZIONE',5,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ALVNES','01',26,'MESE REGISTRAZIONE',5,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVNES','01',27,'GIORNO REGISTRAZIONE',5,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ALVNES','01',28,'ALIQUOTA',4,'ALIQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ALVNES','01',29,'NATURA DA TABELLA',4,'NATURA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ALVNES','01',30,'PERCENTUALE DETRAIBILITA''',4,'PERDET',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ALVNES','01',31,'DEDUCIBILITA''',4,'DEDUCI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVNES','01',32,'ESIGIBILITA'' IVA',4,'ESIGIB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVNES','01',33,'IMPONIBILLE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('ALVNES','01',34,'IMPOSTA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('ALVNES','01',35,'NUOVO TIPO DOCUMENTO (SOLO SE DIVERSO)',2,'TIPNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ALVNES','01',36,'S=REGISTRAZIONE NON VALIDA',2,'NOVALI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVS02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVS02','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALVS02','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('ALVS02','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ALVS16','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVS16','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ALVS16','01',3,'IMPORTO VARIAZIONE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,3,'S9(7)','S9(4)V999',0,'',0,0,'' )
,('ALVS16','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ALVU02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVU02','01',2,'CODICE UVA',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ALVU02','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,7,2,0,'S999V99','',0,'',0,0,'' )
,('ALVU02','01',4,'GRADO MINIMO',2,'GRAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ALVZ02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ALVZ02','01',2,'CODICE ZONA',2,'CODZON',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ALVZ02','01',3,'PERCENTUALE VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('ALVZ02','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AM0109','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AM0109','01',2,'CODICE VASCA VECCHIO',2,'CODOLD',1,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AM0109','01',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AM0109','01',4,'STABILIMENTO',3,'STAOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AM0109','01',5,'SETTORE',3,'SETOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AM0109','01',6,'NUMERO',3,'NRVOLD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AM0109','01',7,'CODICE VASCA NUOVO',2,'CODNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AM0109','01',8,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AM0109','01',9,'STABILIMENTO',3,'STANEW',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AM0109','01',10,'SETTORE',3,'SETNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AM0109','01',11,'NUMEROE',3,'NRVNEW',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMAHTA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAHTA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAHTA','01',3,'ID SESSIONE',3,'ID-SES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMAHTA','01',4,'STRINGA ID SESSIONE',3,'STRSES',0,0,0,0,0,0,0,0,0,0,'S',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMAHTA','01',5,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMAHTA','01',6,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMAHTA','01',7,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMAHTA','01',8,'DATI RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAHTA','01',9,'DESCRIZIONE DA VISUALIZZARE',3,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMAHTA','01',10,'QUANTITA'' MOVIMENTATA 0=NON SELEZIONATO',3,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AMAHTA','01',11,'QUANTITA'' MOVIMENTATA 0=NON SELEZIONATO',3,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,0,0,'9(7) COMP-3','',0,'',0,0,'' )
,('AMAHTA','01',12,'CAPACITA'' NOMINALE CESTONE',3,'QTACES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,0,0,'9(7) COMP-3','',0,'',0,0,'' )
,('AMAHTA','01',13,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('AMAHTM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAHTM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAHTM','01',3,'ID SESSIONE',3,'ID-SES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMAHTM','01',4,'STRINGA ID SESSIONE',3,'STRSES',0,0,0,0,0,0,0,0,0,0,'S',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMAHTM','01',5,'DATI RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAHTM','01',6,'ENTRY POINT ENTRANTE',3,'ENTRYP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMAHTM','01',7,'LOCAZIONE DI LAVORO',3,'LOCATI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMAHTM','01',8,'CODICE AZIENDA',3,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMAHTM','01',9,'MAGAZZINO DI STOCCAGGIO',3,'MAGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMAHTM','01',10,'MAGAZZINO A TERRA',3,'MAGTER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMAHTM','01',11,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMAHTM','01',12,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMAHTM','01',13,'RIDEFINIZONE ANNATA',3,'ANNSTR',0,0,0,0,0,0,0,0,0,0,'S',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMAHTM','01',14,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMAHTM','01',15,'CODICE ALVEOLO',3,'CODALV',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMAHTM','01',16,'CAUSALE MAGAZZINO PER CARICHI',3,'CAUCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMAHTM','01',17,'CAUSALE MAGAZZINO PER SCARICHI',3,'CAUSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMAHTM','01',18,'CODICE COLONNA ALVEOLO',3,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AMAHTM','01',19,'NUMERO ALVEOLO (RIFERITO ALLA COLONNA)',3,'NUMALV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMAHTM','01',20,'filler',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,675,675,0,0,'X(675)','',0,'',0,0,'' )
,('AMAHTM','01',21,'ERRORE APPLICAZIONE NON RECUPERABILE',3,'SEVERE',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AMAHTM','01',22,'ERRORE GESTIBILE',3,'ERRORE',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AMAHTP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAHTP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAHTP','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMAHTP','01',4,'ID SESSIONE',2,'ID-SES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMAHTP','01',5,'STRINGA ID SESSIONE',2,'STRSES',0,0,0,0,0,0,0,0,0,0,'S',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMAHTP','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AMAIED','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAIED','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAIED','01',3,'NOME PROGRAMMA',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMAIED','01',4,'SERVER SMTP',2,'SESMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMAIED','01',5,'USER SMTP',2,'USSMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMAIED','01',6,'PASSWORD SMTP',2,'PWSMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMAIED','01',7,'DA',2,'DAMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMAIED','01',8,'CC (COPIA CONOSCENZA)',2,'CCMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMAIED','01',9,'RICEVUTA DI RITORNO A',2,'RRMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMAIED','01',10,'percorso file contenente testo e-mail',2,'FILTES',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AMAIED','01',11,'TESTO MAIL (INALTERNATIVA AL FILE)',2,'TESTOM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAIED','01',12,'RIGA DI TESTO',3,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',10,'',0,0,'' )
,('AMAIED','01',13,'INDIRIZZO MAIL A CUI SPEDIRE',2,'ATMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMAIED','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,812,812,0,0,'X(812)','',0,'',0,0,'' )
,('AMAILF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAILF','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAILF','01',3,'CODICE FUNZIONARIO',3,'CODFUN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMAILF','01',4,'INDIRIZZO E-MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',3,'',0,0,'' )
,('AMAILF','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,210,210,0,0,'X(210)','',0,'',0,0,'' )
,('AMAILU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAILU','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMAILU','01',3,'CODICE PAGAMENTO',3,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMAILU','01',4,'CODICE UTENTE AV2000',3,'CODUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMAILU','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,400,400,0,0,'X(400)','',0,'',0,0,'' )
,('AMAL32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAL32','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAL32','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMAL32','01',4,'CODICE MOVIMENTO',3,'CODMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMAL32','01',5,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('AMAL32','01',6,'CONTABILIZZAZIONE VARIO /S',2,'FLGVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMAL32','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMAN12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAN12','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAN12','01',3,'CODICE AGENTE',3,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AMAN12','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMAN32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAN32','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAN32','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMAN32','01',4,'CODICE MOVIMENTO',3,'CODMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMAN32','01',5,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('AMAN32','01',6,'CONTABILIZZAZIONE VARIO /S',2,'FLGVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMAN32','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMANPC','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANPC','10',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','10',3,'TIPO RECORD = "10"',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMANPC','10',4,'PROGRESSIVO',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('AMANPC','10',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMANPC','10',6,'DATA ESECUZIONE BONIFICO',2,'DATESE',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AMANPC','10',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANPC','10',8,'GIORNO ESECUZIONE BONIFICO',3,'GGGESE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANPC','10',9,'MESE ESECUZIONE BONIFICO',3,'MMMESE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANPC','10',10,'ANNO ESECUZIONE BONIFICO',3,'AAAESE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANPC','10',11,'DATA VALUTA BENEFICIARIO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AMANPC','10',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANPC','10',13,'GIORNO VALUTA BENEFICIARIO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANPC','10',14,'MESE VALUTA BENEFICIARIO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANPC','10',15,'ANNO VALUTA BENEFICIARIO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANPC','10',16,'CODICE CAUSALE (FISSO = 48000)',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMANPC','10',17,'IMPORTO BONIFICO',2,'IMPBON',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AMANPC','10',18,'SEGNO (FISSO = +)',2,'SEGBON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','10',19,'CODICE ABI BANCA ORDINANTE',2,'ABIORD',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMANPC','10',20,'CODICE CAB BANCA ORDINANTE',2,'CABORD',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMANPC','10',21,'CONTO CORRENTE DITTA ORDINANTE',2,'CONORD',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AMANPC','10',22,'CODICE ABI BANCA DESTINATARIA',2,'ABIDES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMANPC','10',23,'CODICE CAB BANCA DESTINATARIA',2,'CABDES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMANPC','10',24,'CONTO CORRENTE BENEFICIARIO',2,'CONDES',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AMANPC','10',25,'CODICE SIA',2,'CODSIA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AMANPC','10',26,'TIPO CODICE (FISSO = 1)',2,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','10',27,'CODICE BENEFICIARIO',2,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AMANPC','10',28,'MODALITA'' DI PAGAMENTO (FISSO = 1)',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','10',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AMANPC','10',30,'CODICE DIVISA SPAZI/E',2,'CODDIV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','10',31,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANPC','16',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','16',3,'TIPO RECORD = "16"',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMANPC','16',4,'PROGRESSIVO',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('AMANPC','16',5,'CODICE NAZIONE (IT)',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMANPC','16',6,'CODICE CIN EURO',2,'CINEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANPC','16',7,'CODICE CIN ITALIA',2,'CINITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','16',8,'CODICE ABI',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMANPC','16',9,'CODICE CAB',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMANPC','16',10,'NUMERO CONTO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AMANPC','16',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,83,83,0,0,'X(83)','',0,'',0,0,'' )
,('AMANPC','16',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANPC','17',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','17',3,'TIPO RECORD = "17"',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMANPC','17',4,'PROGRESSIVO',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('AMANPC','17',5,'CODICE NAZIONE (IT)',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMANPC','17',6,'CODICE CIN EURO',2,'CINEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANPC','17',7,'CODICE CIN ITALIA',2,'CINITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','17',8,'CODICE ABI',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMANPC','17',9,'CODICE CAB',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMANPC','17',10,'NUMERO CONTO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AMANPC','17',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,83,83,0,0,'X(83)','',0,'',0,0,'' )
,('AMANPC','17',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANPC','20',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','20',3,'TIPO RECORD = "20"',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMANPC','20',4,'PROGRESSIVO',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('AMANPC','20',5,'PRIMA PARTE RAGIONE SOCIALE DITTA',2,'RAGSO1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANPC','20',6,'SECONDA PARTE RAGIONE SOCIALE DITTA',2,'RAGSO2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANPC','20',7,'TERZA PARTE RAGIONE SOCIALE DITTA',2,'RAGSO3',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANPC','20',8,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AMANPC','20',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMANPC','20',10,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','30',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANPC','30',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','30',3,'TIPO RECORD = "30"',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMANPC','30',4,'PROGRESSIVO',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('AMANPC','30',5,'PRIMA PARTE RAGIONE SOCIALE CLIENTE',2,'RAGSO1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANPC','30',6,'SECONDA PARTE RAGIONE SOCIALE CLIENTE',2,'RAGSO2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANPC','30',7,'TERZA PARTE RAGIONE SOCIALE CLIENTE',2,'RAGSO3',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANPC','30',8,'C/FISCALE P/IVA BENEFICIARIO',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AMANPC','30',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMANPC','30',10,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','40',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANPC','40',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','40',3,'TIPO RECORD = "40"',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMANPC','40',4,'PROGRESSIVO',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMANPC','40',5,'INDIRIZZO CLIENTE',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANPC','40',6,'CAP CLIENTE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AMANPC','40',7,'LOCALITA'' CLIENTE',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('AMANPC','40',8,'SPORTELLO BENEFICIARIO',2,'SPOBEN',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMANPC','40',9,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','50',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANPC','50',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','50',3,'TIPO RECORD = "50"',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMANPC','50',4,'PROGRESSIVO',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('AMANPC','50',5,'DESCRIZIONE OPERAZIONE',2,'DES001',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('AMANPC','50',6,'DESCRIZIONE OPERAZIONE',2,'DES002',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('AMANPC','50',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMANPC','50',8,'CARATTERE FINES RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','60',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANPC','60',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','60',3,'TIPO RECORD = "60"',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMANPC','60',4,'PROGRESSIVO',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('AMANPC','60',5,'DESCRIZIONE OPERAZIONE',2,'DES001',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('AMANPC','60',6,'DESCRIZIONE OPERAZIONE',2,'DES002',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('AMANPC','60',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMANPC','60',8,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','70',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANPC','70',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','70',3,'TIPO RECORD = "70"',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMANPC','70',4,'PROGRESSIVO',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('AMANPC','70',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,110,110,0,0,'X(110)','',0,'',0,0,'' )
,('AMANPC','70',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','EF',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANPC','EF',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','EF',3,'TIPO RECORD = "EF"',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMANPC','EF',4,'CODICE SIA',2,'CODSIA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AMANPC','EF',5,'CODICE ABI BANCA ORDINANTE',2,'ABIASS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMANPC','EF',6,'DATA CREAZIONE FLUSSO',2,'DATDIS',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AMANPC','EF',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANPC','EF',8,'GIORNO CREAZIONE DISTINTA',3,'GGGDIS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANPC','EF',9,'MESE CREAZIONE DISTINTA',3,'MMMDIS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANPC','EF',10,'ANNO CREAZIONE DISTINTA',3,'AAADIS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANPC','EF',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,26,26,0,0,'X(26)','',0,'',0,0,'' )
,('AMANPC','EF',12,'NUMERO DISPOSIZIONI',2,'NUMBON',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('AMANPC','EF',13,'VALORE IMPORTI NEGATIVI (SEMPRE A 0)',2,'IMPNEG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,15,0,2,'9(15)','9(13)V99',0,'',0,0,'' )
,('AMANPC','EF',14,'IMPORTO TOTALE BONIFICI',2,'IMPTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,15,0,2,'9(15)','9(13)V99',0,'',0,0,'' )
,('AMANPC','EF',15,'CAMPO CALCOLATO',2,'NUMCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('AMANPC','EF',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('AMANPC','EF',17,'CODICE DIVISA SPAZI/E',2,'CODDIV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','EF',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMANPC','EF',19,'CARATTERE FINES RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','PC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANPC','PC',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','PC',3,'TIPO RECORD = "PC"',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMANPC','PC',4,'CODICE SIA',2,'CODSIA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AMANPC','PC',5,'CODICE ABI BANCA ORDINANTE',2,'ABIASS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMANPC','PC',6,'DATA CREAZIONE DEL FLUSSO',2,'DATDIS',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AMANPC','PC',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANPC','PC',8,'GIORNO CREAZIONE DISTINTA',3,'GGGDIS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANPC','PC',9,'MESE CREAZIONE DISTINTA',3,'MMMDIS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANPC','PC',10,'ANNO CREAZIONE DISTINTA',3,'AAADIS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANPC','PC',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,94,94,0,0,'X(94)','',0,'',0,0,'' )
,('AMANPC','PC',12,'CODICE DIVISA SPAZI/E',2,'CODDIV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANPC','PC',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMANPC','PC',14,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU0','01',2,'CHIAVE PRIMARAIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU0','01',3,'NUMERO SCHEDA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMANU0','01',4,'PROGRESSIVO SCHEDA',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMANU0','01',5,'TIPO ALLARME',3,'TIPALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU0','01',6,'NUMERO INTERVENTO IN SOSPESO (TIP ALL 3)',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU0','01',8,'DATA INVIO ALLARME',2,'DTAINV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMANU0','01',9,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU0','01',10,'ANNO INVIO ALLARME',3,'AAAINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMANU0','01',11,'MESE INVIO ALLARME',3,'MMMINV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU0','01',12,'GIORNO INVIO ALLARME',3,'GGGINV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU0','01',13,'PROGRESSIVO ALLARME',2,'PROALL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU0','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,73,73,0,0,'X(73)','',0,'',0,0,'' )
,('AMANU1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU1','01',2,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU1','01',3,'DESCRIZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANU1','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU1','01',5,'CODICE',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANU1','01',6,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMANU1','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,106,106,0,0,'X(106)','',0,'',0,0,'' )
,('AMANU2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU2','01',2,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU2','01',3,'DESCRIZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANU2','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU2','01',5,'CODICE ALLINEATO DX',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANU2','01',6,'DESCRIZIONI AGGIUNTIVE',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',3,'',0,0,'' )
,('AMANU2','01',7,'ANNO IMPIANTO',2,'ANNIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMANU2','01',8,'PONTENZA IN WATT',2,'POTENZ',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('AMANU2','01',9,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMANU2','01',10,'DESCRIZIONE FORNITORE',2,'DESFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANU2','01',11,'FILLER EX REPARTO SOSTITO DA AMANUH',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANU2','01',12,'CODICE PERSONALE UTENTE',2,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMANU2','01',13,'EX UBICAZIONE SOSTITUITO DA AMANUH',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANU2','01',14,'STATO UTILIZZO',2,'FSTATO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU2','01',18,'DATA INSERIEMNTO IN ANAGRAFICA',2,'DTAINS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMANU2','01',19,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU2','01',20,'ANNO INSERIMENTO IN ANAGRAFICA',3,'AAAINS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMANU2','01',21,'MESE INSERIMENTO IN ANAGRAFICA',3,'MMMINS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU2','01',22,'GIORNO INSERIMENTO IN ANAGRAFICA',3,'GGGINS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU2','01',23,'DATA MESSA IN ESERCIZIO',2,'DTAACQ',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMANU2','01',24,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU2','01',25,'ANNO ACQUISTO',3,'AAAACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMANU2','01',26,'MESE ACQUISTO',3,'MMMACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU2','01',27,'GIORNO ACQUISTO',3,'GGGACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU2','01',28,'NUMERO MATRICOLA',2,'NUMMTR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANU2','01',29,'FILLER EX STB. SOSTITUITO DA AMANUH',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANU2','01',30,'DATA SCADENZA GARANZIA',2,'DTASCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMANU2','01',31,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU2','01',32,'ANNO SCADENZA GARANZIA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMANU2','01',33,'MESE SCADENZA GARANZIA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU2','01',34,'GIORNO SCADENZA GARANZIA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU2','01',35,'ESTREMI CONTRATTO ASSISTENZA',2,'ESTCON',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANU2','01',36,'CODICE FORNTIROE ASSISTENZA',2,'CODFAS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMANU2','01',37,'DESCRIZIONE FORNITORE ASSISTENZA',2,'DESFAS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANU2','01',38,'PESO IN KG',2,'PESOKG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMANU2','01',39,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('AMANU3','01',4,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU3','01',5,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU3','01',6,'0=ULTIMO, 1=CRONISTORIA',3,'FSTATO',0,0,1,1,1,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AMANU3','01',7,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU3','01',8,'NUMERO SCHEDA',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMANU3','01',9,'PROGRESSIVO SCHEDA',4,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMANU3','01',10,'CODICE MACCHINA',2,'CODMAC',0,0,2,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANU3','01',11,'DATA INIZIO SCHEDA',2,'DTAINI',0,0,0,2,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMANU3','01',12,'REDINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU3','01',13,'ANNO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMANU3','01',14,'MESE',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU3','01',15,'GIORNO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU3','01',16,'NUMERO CARTELLA',2,'NRCART',0,0,0,0,2,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU3','01',17,'CODICE PERSONALE OPERATORE',2,'NOMOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMANU3','01',18,'DATA RISPOSTA ALL''INTERVENTO',2,'DTARIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMANU3','01',19,'DATA PRESUNTO INTERVENTO',2,'DTARIS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMANU3','01',20,'FIRMA ELETTRONICA AUTORIZZ. INTERVENTO',2,'FRMINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AMANU3','01',21,'OBSOLETO-COD.PERS. INCARICATO INTERVENTO',2,'INCINT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMANU3','01',22,'OBSOLETO-FOR. INCARICATO INTERVENTO',2,'FORINT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMANU3','01',23,'OBSOLETO-FIRMA CHIUSURA SCHEDA',2,'FRMFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AMANU3','01',24,'OBSOLETO-DATA CHIUSURA SCHEDA',2,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMANU3','01',25,'UTENTE INSERIMENTO SCHDE (CDM)',2,'UTEVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMANU3','01',26,'CODICE RESPONSABILE INTERVENTO',2,'CODRES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMANU3','01',27,'OBSOLETO-NR.REG.CONTAB.FATTURE COLLEGATE',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',5,'',0,0,'' )
,('AMANU3','01',28,'OBSOLETO-FATTURARE (S/N)',2,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU3','01',31,'URGENTE (S/N)',2,'FLGURG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU3','01',32,'DATA MASSIMA REALIZZAZIONE',2,'DTAMAX',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMANU3','01',33,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU3','01',34,'ANNO MASSIMA REALIZZAZIONE',3,'AAAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMANU3','01',35,'MESE MASSIMA REALIZZAZIONE',3,'MMMMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU3','01',36,'GIORNO MASSIMA REALIZZAZIONE',3,'GGGMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU3','01',37,'CODICE TIPO INTERVENTO',2,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANU3','01',38,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AMANU4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU4','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU4','01',3,'NUMERO SCHEDA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMANU4','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMANU4','01',5,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU4','01',6,'RIGA NOTE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMANU4','01',7,'NUMERO CARTELLA DELLA RIGA DI NOTE',2,'NRCART',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU4','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMANU5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU5','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU5','01',3,'NUMERO SCHEDA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMANU5','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMANU5','01',5,'NUMERO INTERVENTO',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU5','01',6,'DATA INSERIMENTO INTERVENTO',2,'DTAINT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMANU5','01',7,'REDIFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU5','01',8,'ANNO',3,'AAAINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMANU5','01',9,'MESE',3,'MMMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU5','01',10,'GIORNO',3,'GGGINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU5','01',11,'ESTREMI DOCUMENTO',2,'ESTDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANU5','01',12,'FORNITORE EFFETTIVO INTERVENTO',2,'FORINT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMANU5','01',13,'PERSONALE INCARICATO INTERVENTO EFFETTIV',2,'INCINT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',5,'',0,0,'' )
,('AMANU5','01',14,'NUMERO ORE SE INCARICATO INTERNO',2,'NUMORE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMANU5','01',15,'REFERENTE INTERNO SE FORNITORE ESTERNO',2,'CODREF',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMANU5','01',16,'FIRMA CHIUSURA INTEVRENTO',2,'FRMFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AMANU5','01',17,'DATA CHIUSURA INTERVENTO',2,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMANU5','01',18,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU5','01',19,'ANNO CHIUSURA INTERVENTO',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMANU5','01',20,'MESE CHIUSURA INTERVENTO',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU5','01',21,'GIORNO CHIUSURA INTERVENTO',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU5','01',22,'NUMERO REG.CONTABILE FATTURE COLLEGATE',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',3,'',0,0,'' )
,('AMANU5','01',23,'IMPORTO REGISTRAZIONE',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',3,'',0,0,'' )
,('AMANU5','01',24,'FATTURARE S/N',2,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU5','01',25,'DATA PRESUNTA REALZIZZAZIONE',2,'DTAPRE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMANU5','01',26,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU5','01',27,'ANNO PRESUNTA REALIZZAZIONE',3,'AAAPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMANU5','01',28,'MESE PRESUNTA REALIZZAZIONE',3,'MMMPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU5','01',29,'GIORNO PRESUNTA REALIZZAZIONE',3,'GGGPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU5','01',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,82,82,0,0,'X(82)','',0,'',0,0,'' )
,('AMANU6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU6','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU6','01',3,'NUMERO SCHEDA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMANU6','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMANU6','01',5,'NUMERO INTERVENTO',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU6','01',6,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU6','01',7,'NOTE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMANU6','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AMANU7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU7','01',2,'CHIAVE PRIMARAIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU7','01',3,'NUMERO CARTELLA',3,'NRCART',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU7','01',4,'DESCRIZIONE CARTELLA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANU7','01',5,'CODICE MACCHINA',2,'OBBMAC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMANU7','01',6,'DATA INIZIO SCHEDA',2,'OBBDTI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',7,'NOME OPERATORE',2,'OBBNOP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',8,'NOTE SCHEDA',2,'OBBNOS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',9,'DATA RISPOSTA ALL''INTERVENTO',2,'OBBDRI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',10,'DATA PRESUNTO INTERVENTO',2,'OBBDTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',11,'FIRMA ELETTRONICA AUTORIZZ. INTERVENTO',2,'OBBFRI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',12,'OBSOLETO-INCARICATO INTERVENTO',2,'OBBINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',13,'OBSOLETO-DITTA INCARICATA INTERVENTO',2,'OBBDIT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',14,'INTERVENTI EFFETTUATI',2,'OBBINT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',15,'OBSOLETO-DATA CHIUSURA SCHEDA',2,'OBBDTF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',16,'OBSOLETO-FIRMA CHIUSURA SCHEDA',2,'OBBFRF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',17,'RESPONSABIE INTERVENTO',2,'OBBRES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',18,'TIPO ALLARME',2,'TIPALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',23,'NUMERO GIORNI DA SCADENZA A ALLARME',2,'NUMGIO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU7','01',24,'FREQUENZA ALLARME IN GIORNI',2,'FREALL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU7','01',25,'OBSOLETO-REG.CONTABILI FATTURE COLLEGATE',2,'OBBREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',26,'OBSOLETO-FATTURARE (S/N)',2,'OBBFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',27,'TIPO INTERVENTO',2,'OBBTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',28,'FLAG URGENTE (S/N)',2,'OBBURG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',29,'DATA MASSIMA REALZIZZAZIONE',2,'OBBMAX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU7','01',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,75,75,0,0,'X(75)','',0,'',0,0,'' )
,('AMANU8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU8','01',2,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU8','01',3,'RAGIONE SOCIALE',3,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AMANU8','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU8','01',5,'CODICE PERSONALE',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMANU8','01',6,'RAGIONE SOCIALE SUCCINTA',2,'RAGSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMANU8','01',7,'RESPONSABILE ( /S)',2,'FLGRES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU8','01',8,'MAIL RESPONSABILE',2,'MAILRE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMANU8','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('AMANU9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU9','01',2,'CHIAVE PRIMARAIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANU9','01',3,'NUMERO CARTELLA',3,'NRCART',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANU9','01',4,'TIPO AUTORIZZAZIONE UTENTE',3,'TIPAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANU9','01',9,'CODICE UTENTE',3,'CODUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMANU9','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,87,87,0,0,'X(87)','',0,'',0,0,'' )
,('AMANUA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUA','01',2,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUA','01',3,'DESCRIZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANUA','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUA','01',5,'CODICE',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANUA','01',6,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMANUA','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,106,106,0,0,'X(106)','',0,'',0,0,'' )
,('AMANUB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUB','01',2,'CODICE MACCHINARIO',2,'CODMAC',1,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANUB','01',3,'PROGRESSIVO',2,'PROGRE',2,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9999 COMP-3','',0,'',0,0,'' )
,('AMANUB','01',4,'RIGA NOTA',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AMANUB','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,39,39,0,0,'X(39)','',0,'',0,0,'' )
,('AMANUC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUC','01',2,'CODICE MACCHINARIO',2,'CODMAC',1,2,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANUC','01',3,'CODICE ARTICOLO',2,'CODART',2,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMANUC','01',4,'SCORTA MINIMA',2,'SCOMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AMANUC','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AMANUD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUD','01',2,'CODICE MACCHINARIO',2,'CODMAC',1,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANUD','01',3,'PROGRESSIVO',2,'PROGRE',2,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANUD','01',4,'DESCRIZIONE RICAMBI',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AMANUD','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AMANUE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUE','01',2,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUE','01',3,'DESCRIZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANUE','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUE','01',5,'CODICE',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANUE','01',6,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMANUE','01',7,'GESTITO CODICE MACCHINA (S/N)',2,'FLGMAC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANUE','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,105,105,0,0,'X(105)','',0,'',0,0,'' )
,('AMANUF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUF','01',2,'KEY01',2,'KEY001',1,2,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUF','01',3,'CODICE MACCHINARIO',3,'CODMAC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANUF','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMANUF','01',5,'CODICE INTERVENTO',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANUF','01',6,'DESCRIZIONE LIBERA INTERVENTO',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMANUF','01',7,'DATA INTERVENTO PROGRAMMATA',2,'DTAINT',0,0,1,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMANUF','01',8,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUF','01',9,'ANNO',3,'AAAINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMANUF','01',10,'MESE',3,'MMMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANUF','01',11,'GIORNO',3,'GGGINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANUF','01',12,'NUMERO SCHEDA ESECUZIONE INTERVENTO',2,'NUMSCH',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMANUF','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,102,102,0,0,'X(102)','',0,'',0,0,'' )
,('AMANUG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUG','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUG','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMANUG','01',4,'NUMERO RIGA COMMENTO',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMANUG','01',5,'RIGA COMMENTO',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AMANUG','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('AMANUH','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUH','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUH','01',3,'CODICE MACCHINA ALLINEATO DX',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANUH','01',4,'LOCALIZZAZIONE',2,'LOCALI',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUH','01',5,'CODICE STABILIMENTO',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANUH','01',6,'CODICE REPARTO',3,'CODREP',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANUH','01',7,'CODICE UBICAZIONE',3,'CODUBI',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANUH','01',8,'TARATURA (S/N)',2,'FLGTAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANUH','01',9,'CAMPIONE PRIMARIO (S/N)',2,'FLGPRI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMANUH','01',10,'RESPONSABILE TARATURA',2,'RESTAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUH','01',11,'FORNITORE RESPONSABILE TARATURA',3,'FORTAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMANUH','01',12,'RIFERIMENTO FORNITORE RESP. TARATURA',3,'RIFTAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANUH','01',13,'DIPENDENTE RESPONSABILE TARATURA',3,'DIPTAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMANUH','01',14,'MANUTENTORI',2,'MANUTE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUH','01',15,'FORNITORE RESPONSABILE MANUTENZIONE',3,'FORMAN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMANUH','01',16,'RIFERIMENTO FORNITORE RESP. MANUTENZIONE',3,'RIFMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANUH','01',17,'DIPENDENTE RESPONSABILE MANUTENZIONE',3,'DIPMAN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMANUH','01',18,'RIFERIMENTO FORNITORE ASSISTENZA',2,'RIFFAS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMANUH','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,222,222,0,0,'X(222)','',0,'',0,0,'' )
,('AMANUL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUL','01',2,'KEY01',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUL','01',3,'CODICE MACCHINARIO',3,'CODMAC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANUL','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMANUR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMANUR','01',2,'CODICE MACCHINA ALLINEATO DX',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMANUR','01',3,'NUMERO REGISTRAZIONE CONTABILE FATT.ACQ.',2,'NUMREG',2,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMANUR','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,52,52,0,0,'X(52)','',0,'',0,0,'' )
,('AMARPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMARPA','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMARPA','01',3,'CODICE TIPO PALLET',3,'CODPAL',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMARPA','01',4,'CODICE ARTICOLO COLLEGATO',3,'CODART',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMAS02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAS02','01',2,'STATO CAMPIONE',2,'STATUS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMAS02','01',5,'INDICE MASELLI PROVENIENZA',2,'INDMAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMAS02','01',6,'PROGRESSIVO CAMPIONE',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMAS02','01',7,'GRADO BABO',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS02','01',8,'PH',2,'PHPHPH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS02','01',9,'ACIDITA'' TOTALE',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS02','01',10,'TEMPERATURA',2,'TEMPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS02','01',11,'TEMPERATURA SENZA DECIMALI (X 100)',2,'TEM100',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMAS02','01',12,'INDICE MATURAZIONE',2,'INDMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMAS02','01',13,'TONALITA''',2,'TONALI',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,5,3,0,'9V999','',0,'',0,0,'' )
,('AMAS02','01',14,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AMAS02','01',15,'ORA ELABORAZIONE',2,'ORAELA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMAS02','01',16,'COLORE',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMAS08','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAS08','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAS08','01',3,'NUMERO MASELLI (1-10)',3,'INDMAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMAS08','01',4,'NUMERO PROGRESSIVO CAMPIONE DA MASELLI',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMAS08','01',5,'GRADO BABO',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS08','01',6,'PH',2,'PHPHPH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS08','01',7,'ACIDITA'' TOTALE',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS08','01',8,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AMAS08','01',9,'ORA ELABORAZIONE',2,'ORAELA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMAS08','01',10,'TEMPERATURA',2,'TEMPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS08','01',11,'TONALITA''',2,'TONALI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,3,0,'9V999','',0,'',0,0,'' )
,('AMAS08','01',12,'COLORE',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMAS08','01',13,'COLORE CON DECIMALE',2,'COLDEC',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMAS08','01',14,'DENSITA'' OTTICA A 385 NM',2,'DOA385',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMAS08','01',15,'DENSITA'' OTTICA A 525 NM',2,'DOA525',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMAS08','01',16,'DENSITA'' OTTICA A 470 NM',2,'DOA470',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMAS08','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,95,95,0,0,'X(95)','',0,'',0,0,'' )
,('AMAS32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAS32','01',2,'STATO CAMPIONE',2,'STATUS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMAS32','01',5,'PROGRESSIVO CAMPIONE',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMAS32','01',6,'GRADO BABO',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS32','01',7,'PH',2,'PHPHPH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS32','01',8,'ACIDITA'' TOTALE',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS32','01',9,'TEMPERATURA',2,'TEMPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS32','01',10,'TEMPERATURA SENZA DECIMALI (X 100)',2,'TEM100',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMAS32','01',11,'INDICE MATURAZIONE',2,'INDMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMAS32','01',12,'TONALITA''',2,'TONALI',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,5,3,0,'9V999','',0,'',0,0,'' )
,('AMAS32','01',13,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AMAS32','01',14,'ORA ELABORAZIONE',2,'ORAELA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMAS32','01',15,'COLORE',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMAS32','01',16,'COLORE CON DECIMALE',2,'COLDEC',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMAS38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAS38','01',2,'RECORD',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMAS38','01',3,'GRADO BABO',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS38','01',4,'PH',2,'PHPHPH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS38','01',5,'ACIDITA',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS38','01',6,'DATA CAMPIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AMAS38','01',7,'ORA CAMPIONE',2,'ORAELA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMAS52','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAS52','01',2,'STATO CAMPIONE',2,'STATUS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMAS52','01',5,'INDICE MASELLI PROVENIENZA',2,'INDMAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMAS52','01',6,'PROGRESSIVO CAMPIONE',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMAS52','01',7,'GRADO BABO',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS52','01',8,'PH',2,'PHPHPH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS52','01',9,'ACIDITA'' TOTALE',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS52','01',10,'TEMPERATURA',2,'TEMPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS52','01',11,'TEMPERATURA SENZA DECIMALI (X 100)',2,'TEM100',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMAS52','01',12,'INDICE MATURAZIONE',2,'INDMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMAS52','01',13,'TONALITA''',2,'TONALI',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,5,3,0,'9V999','',0,'',0,0,'' )
,('AMAS52','01',14,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AMAS52','01',15,'ORA ELABORAZIONE',2,'ORAELA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMAS52','01',16,'COLORE',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMAS78','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAS78','01',2,'PROGRESSIVO CAMPIONE',2,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMAS78','01',3,'CODICE SOCIO',2,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMAS78','01',4,'GRADO BABO',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS78','01',5,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AMAS78','01',6,'ORA ELABORAZIONE',2,'ORAELA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMAS78','01',7,'ACIDITA'' TOTALE',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS78','01',8,'PH',2,'PHPHPH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS78','01',9,'TONALITA (INDICE MATURAZIONE?)',2,'TONALI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,3,0,'9V999','',0,'',0,0,'' )
,('AMAS78','01',10,'COLORE',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMAS78','01',11,'COLORE A 385',2,'DOA385',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMAS78','01',12,'COLORE A 525',2,'DOA525',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMAS78','01',13,'COLORE A 470',2,'DOA470',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMAS78','01',14,'TEMPERATURA',2,'TEMPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS89','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAS89','01',2,'STATO CAMPIONE',2,'STATUS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMAS89','01',5,'INDICE MASELLI PROVENIENZA',2,'INDMAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMAS89','01',6,'PROGRESSIVO CAMPIONE',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMAS89','01',7,'GRADO BABO',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS89','01',8,'PH',2,'PHPHPH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS89','01',9,'ACIDITA'' TOTALE',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS89','01',10,'TEMPERATURA',2,'TEMPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAS89','01',11,'TEMPERATURA SENZA DECIMALI (X 100)',2,'TEM100',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMAS89','01',12,'INDICE MATURAZIONE',2,'INDMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMAS89','01',13,'TONALITA''',2,'TONALI',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,5,3,0,'9V999','',0,'',0,0,'' )
,('AMAS89','01',14,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AMAS89','01',15,'ORA ELABORAZIONE',2,'ORAELA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMAS89','01',16,'COLORE',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMASE2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMASE2','01',2,'STATO CAMPIONE',2,'STATUS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMASE2','01',5,'NUMERO MASELLI (1-10)',2,'INDMAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMASE2','01',6,'PROGRESSIVO CAMPIONE',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMASE2','01',7,'GRADO BABO',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMASE2','01',8,'PH',2,'PHPHPH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMASE2','01',9,'ACIDITA'' TOTALE',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMASE2','01',10,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AMASE2','01',11,'ORA ELABORAZIONE',2,'ORAELA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMASE2','01',12,'TEMPERATURA',2,'TEMPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMASE2','01',13,'TONALITA''',2,'TONALI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,3,0,'9V999','',0,'',0,0,'' )
,('AMASE2','01',14,'COLORE',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMASE2','01',15,'COLORE CON DECIMALE',2,'COLDEC',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMASE2','01',16,'DENSITA'' OTTICA A 385 NM',2,'DOA385',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMASE2','01',17,'DENSITA'' OTTICA A 525 NM',2,'DOA525',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMASE2','01',18,'DENSITA'' OTTICA A 470 NM',2,'DOA470',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMASEL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMASEL','01',2,'STATO CAMPIONE',2,'STATUS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMASEL','01',5,'PROGRESSIVO CAMPIONE',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMASEL','01',6,'GRADO BABO',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMASEL','01',7,'PH',2,'PHPHPH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMASEL','01',8,'ACIDITA'' TOTALE',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMASEL','01',9,'INDICE MATURAZIONE',2,'INDMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMASEL','01',10,'COLORE (IN ALTERNATIVA A INDMAT)',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMASEL','01',11,'COLORE CON DECIMALE',2,'COLDEC',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AMASEL','01',12,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AMASEL','01',13,'ORA ELABORAZIONE',2,'ORAELA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMASU3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMASU3','01',2,'STATO CAMPIONE',2,'STATUS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMASU3','01',5,'PROGRESSIVO CAMPIONE',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMASU3','01',6,'SINISTRA/DESTRA',2,'FLAGSD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMASU3','01',7,'GRADO BABO',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMASU3','01',8,'PH',2,'FATTPH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMASU3','01',9,'TEMPERATURA',2,'TEMPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMASU3','01',10,'DATA CAMPIONE',2,'DTACAM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMASU3','01',11,'ORA CAMPIONE',2,'ORACAM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMASVO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMASVO','01',2,'DATA LIMITE VALIDITA''',2,'DATLIM',1,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMASVO','01',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMASVO','01',4,'ANNO LIMITE VALIDITA''',3,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMASVO','01',5,'MESE LIMITE VALIDITA''',3,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMASVO','01',6,'GIORNO LIMITE VALIDITA''',3,'GGGLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMASVO','01',7,'GRADO',2,'GRAMAS',2,1,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMASVO','01',8,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('AMATDI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMATDI','01',2,'NUMERO DISTINTA',2,'NUMPRO',1,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('AMATDI','01',3,'DATA MATURAZIONE',2,'DATMAT',2,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMATDI','01',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMATDI','01',5,'ANNO MATURAZIONE',3,'AAAMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMATDI','01',6,'MESE MATURAZIONE',3,'MMMMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMATDI','01',7,'GIORNO MATURAZIONE',3,'GGGMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMATDI','01',8,'IMPORTO MATURAZIONE',2,'IMPMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AMATDI','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AMAVCO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAVCO','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAVCO','01',3,'DATA LIMITE VALIDITA''',3,'DATLIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMAVCO','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAVCO','01',5,'ANNO LIMITE VALIDITA''',4,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMAVCO','01',6,'MESE LIMITE VALIDITA''',4,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMAVCO','01',7,'GIORNO LIMITE VALIDITA''',4,'GGGLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMAVCO','01',8,'COEFFICENTE',2,'COEFFI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,5,0,'9V9(5)','',0,'',0,0,'' )
,('AMAVCO','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMAVRV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAVRV','01',2,'CODICE RAGRUPPAMENTO',2,'CODRAG',1,2,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMAVRV','01',3,'DATA LIMITE VALIDITA''',2,'DATLIM',2,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMAVRV','01',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAVRV','01',5,'ANNO LIMITE VALIDITA''',3,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMAVRV','01',6,'MESE LIMITE VALIDITA''',3,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMAVRV','01',7,'GIORNO LIMITE VALIDITA''',3,'GGGLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMAVRV','01',8,'GRADO',2,'GRAMAS',3,3,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAVRV','01',9,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('AMAVRV','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AMAVRZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAVRZ','01',2,'CODICE RAGRUPPAMENTO',2,'CODRAG',1,2,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMAVRZ','01',3,'DATA LIMITE VALIDITA''',2,'DATLIM',2,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMAVRZ','01',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMAVRZ','01',5,'ANNO LIMITE VALIDITA''',3,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMAVRZ','01',6,'MESE LIMITE VALIDITA''',3,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMAVRZ','01',7,'GIORNO LIMITE VALIDITA''',3,'GGGLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMAVRZ','01',8,'GRADO',2,'GRAMAS',3,3,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMAVRZ','01',9,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('AMAVRZ','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AMBIN1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMBIN1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMBIN1','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMBIN1','01',4,'RAGIONE SOCIALE TRASPORTATORE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMBIN1','01',5,'INDIRIZZO TRASPORTATORE',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMBIN1','01',6,'CODICE CAP TRASPORTATORE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMBIN1','01',7,'LOCALITA'' TRASPORTATORE',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMBIN1','01',8,'PROVINCIA TRASPORTATORE',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMBIN1','01',9,'ISCRIZIONE ALL''ALBO',2,'ISCALB',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMBIN1','01',10,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AMBIN1','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('AMBINS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMBINS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMBINS','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,5,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMBINS','01',4,'CODICE BIN',3,'CODBIN',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMBINS','01',5,'CODICE FORNITORE',2,'CODFOR',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMBINS','01',6,'CODICE ASSOCIATO FORNITORE',2,'CODASS',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMBINS','01',7,'DATA MOVIMENTO',2,'DTAMOV',0,4,1,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMBINS','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMBINS','01',9,'ANNO',3,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMBINS','01',10,'MESE',3,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMBINS','01',11,'GIORNO',3,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMBINS','01',12,'CODICE TRASPORTATORE',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AMBINS','01',13,'NOME AUTISTA',2,'NOMAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMBINS','01',14,'NUMERO BINS RESI AL FORNITORE',2,'NRBINR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMBINS','01',15,'NUMERO BINS CONSEGNATI DAL FORNITORE',2,'NRBINC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMBINS','01',16,'NUMERO DDT DI RIFERIMENTO',2,'NUMDDT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMBINS','01',17,'DATA DDT DI RIFERIMENTO',2,'DTADDT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMBINS','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMCAS1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCAS1','01',2,'CHIAVE SOCIO+DATA+NUMERO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCAS1','01',3,'CODICE STABILIMENTO',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMCAS1','01',4,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMCAS1','01',5,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMCAS1','01',6,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCAS1','01',7,'ANNO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMCAS1','01',8,'MESE',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMCAS1','01',9,'GIORNO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMCAS1','01',10,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCAS1','01',11,'NUMERO MOVIMENTO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMCAS1','01',12,'NUMERO CONTENITORI RESI DAL SOCIO',2,'NRCONR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',8,'',0,0,'' )
,('AMCAS1','01',13,'NUMERO CONTENITORI CONSEGNATI AL SOCIO',2,'NRCONC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',8,'',0,0,'' )
,('AMCAS1','01',14,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMCAS1','01',15,'NUMERO BOLLETTA CONFERIMENTO COLLEGATA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AMCAS1','01',16,'AUTOMATICO/MANUALE',2,'FLAGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMCAS1','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMCAS2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCAS2','01',2,'CHIAVE SOCIO+DATA+NUMERO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCAS2','01',3,'CODICE STABILIMENTO',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMCAS2','01',4,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMCAS2','01',5,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMCAS2','01',6,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCAS2','01',7,'ANNO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMCAS2','01',8,'MESE',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMCAS2','01',9,'GIORNO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMCAS2','01',10,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCAS2','01',11,'NUMERO MOVIMENTO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMCAS2','01',12,'NUMERO CONTENITORI RESI DAL SOCIO',2,'NRCONR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',8,'',0,0,'' )
,('AMCAS2','01',13,'NUMERO CONTENITORI CONSEGNATI AL SOCIO',2,'NRCONC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',8,'',0,0,'' )
,('AMCAS2','01',14,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMCAS2','01',15,'NUMERO BOLLETTA CONFERIMENTO COLLEGATA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AMCAS2','01',16,'AUTOMATICO/MANUALE',2,'FLAGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMCAS2','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMCASS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCASS','01',2,'CHIAVE SOCIO+DATA+NUMERO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCASS','01',3,'CODICE STABILIMENTO',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMCASS','01',4,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMCASS','01',5,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMCASS','01',6,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCASS','01',7,'ANNO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMCASS','01',8,'MESE',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMCASS','01',9,'GIORNO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMCASS','01',10,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCASS','01',11,'NUMERO MOVIMENTO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMCASS','01',12,'NUMERO CONTENITORI RESI DAL SOCIO',2,'NRCONR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',8,'',0,0,'' )
,('AMCASS','01',13,'NUMERO CONTENITORI CONSEGNATI AL SOCIO',2,'NRCONC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',8,'',0,0,'' )
,('AMCASS','01',14,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMCASS','01',15,'NUMERO BOLLETTA CONFERIMENTO COLLEGATA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AMCASS','01',16,'AUTOMATICO/MANUALE',2,'FLAGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMCASS','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMCC77','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCC77','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCC77','01',3,'VECCHIO CODICE',3,'CODOLD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AMCC77','01',4,'NUOVO CODICE',2,'CODNEW',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AMCC77','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,44,44,0,0,'X(44)','',0,'',0,0,'' )
,('AMCC78','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCC78','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMCC78','01',3,'VECCHIO CODICE',3,'CODOLD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AMCC78','01',4,'NUOVO CODICE',2,'CODNEW',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AMCC78','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,44,44,0,0,'X(44)','',0,'',0,0,'' )
,('AMGG62','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMGG62','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMGG62','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMGG62','01',4,'MQ SUP. VITATA GLERA',2,'MQ-GLE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AMGG62','01',5,'KG GLERA',2,'KG-GLE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AMGG62','01',6,'MQ SUP. ALTRI VITIGNI',2,'MQ-ALT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AMGG62','01',7,'KG ALTRI VITIGNI',2,'KG-ALT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AMGG62','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AMGGA3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMGGA3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMGGA3','01',3,'VECCHIO CODICE',3,'CODOLD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMGGA3','01',4,'NUOVO CODICE',2,'CODNEW',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMGGA3','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,42,42,0,0,'X(42)','',0,'',0,0,'' )
,('AMGGA4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMGGA4','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMGGA4','01',3,'VECCHIO CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMGGA4','01',4,'CODICE FAMIGLIA',2,'CODFAM',0,1,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMIVAM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMIVAM','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMIVAM','01',3,'CODICE REGISTRO IVA',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMIVAM','01',7,'NUMERO REGISTRO',3,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMIVAM','01',8,'CODICE ALIQUOTA IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AMIVAM','01',9,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,17,19,2,0,'S9(15)V99','',0,'',0,0,'' )
,('AMIVAM','01',10,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,1,17,19,2,0,'S9(15)V99','',0,'',0,0,'' )
,('AMIVAM','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMMA32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMA32','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMA32','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMMA32','01',4,'CODICE MOVIMENTO',3,'CODMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMMA32','01',5,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('AMMA32','01',6,'CONTABILIZZAZIONE VARIO /S',2,'FLGVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMMA32','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMMAG1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG1','01',2,'CHIAVE ARTICOLO+DATA',2,'KEY002',0,1,0,0,2,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG1','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,1,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMMAG1','01',4,'ANNATA',3,'ANNATA',0,0,0,2,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAG1','01',5,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMMAG1','01',6,'CHIAVE DATA',3,'KEY003',0,0,1,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG1','01',7,'DATA MOVIMENTO',4,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMMAG1','01',8,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG1','01',9,'ANNO MOVIMENTO',5,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMMAG1','01',10,'MESE MOVIMENTO',5,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG1','01',11,'GIORNO MOVIMENTO',5,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG1','01',12,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG1','01',13,'NUMERO MOVIMENTO',5,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMMAG1','01',14,'NUMERO RIGA',5,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAG1','01',15,'ALTRI DATI',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG1','01',16,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,1,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG1','01',17,'CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMMAG1','01',18,'QUANTITA'' MOVIMENTO',3,'QTAOLD',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AMMAG1','01',19,'VALORE MOVIMENTO',3,'VALMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('AMMAG1','01',20,'PREZZO UNITARIO',3,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('AMMAG1','01',21,'SCONTI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG1','01',22,'SCONTO',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,4,1,0,'99V9 COMP-3','',4,'',0,0,'' )
,('AMMAG1','01',23,'PROGRESSIVO X RIPARTENZA REG. ZUCCHERO',2,'ZUCPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG1','01',25,'CODICE ALVEOLO',2,'CODALV',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMMAG1','01',26,'PROGRE.RIPARTENZA REG.CONSIGNMENT STOCK',2,'CSTPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG1','01',28,'NUOVA QUANTITA 3 DECIMALI TEST',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V9(3)','',0,'',0,0,'' )
,('AMMAG1','01',29,'filler(se si allunga vedi rtmmag-buffer)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AMMAG2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG2','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMMAG2','01',4,'RIFERIMENTO DOCUMENTO',2,'RIFDOC',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG2','01',5,'TIPO SOGGETTO',3,'FLGCFS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMMAG2','01',11,'CODICE SOGGETTO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMMAG2','01',12,'DATA DOCUMENTO',3,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMMAG2','01',13,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG2','01',14,'ANNO DOCUMENTO',4,'AA-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAG2','01',15,'MESE DOCUMENTO',4,'MM-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG2','01',16,'GIORNO DOCUMENTO',4,'GG-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG2','01',17,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMMAG2','01',18,'FILLER(se si allunga vedi rtmmag-buffer)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMMAG3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,6,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG3','01',3,'NUMERO MOVIMENTO DI MAGAZZINO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMMAG3','01',4,'NUMERO RIGA MOVIMENTO DI MAGAZZINO',3,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAG3','01',5,'CHIAVE ARTICOLO+DATA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG3','01',6,'CODICE MAGAZZINO',3,'CODMAG',0,0,1,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG3','01',7,'PRODOTTO',3,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG3','01',8,'CODICE ARTICOLO',4,'CODART',0,0,2,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMMAG3','01',9,'ANNATA',4,'ANNATA',0,0,3,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAG3','01',10,'LOTTO',4,'NLOTTO',0,0,5,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMMAG3','01',11,'99999999 - DATA MOVIMENTO',3,'VOMATD',0,0,4,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AMMAG3','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('AMMAG4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG4','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG4','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMMAG4','01',4,'NUMERO RIGA',3,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAG4','01',5,'DESCRIZIONE AGGIUNTIVA',2,'DES001',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMMAG4','01',6,'DESCRIZIONE AGGIUNTIVA',2,'DES002',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMMAG4','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMMAG5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG5','01',2,'CHIAVE MAGAZZINO-ALVEOLO-ARTICOLO-DATA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG5','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,0,1,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG5','01',4,'CODICE ALVEOLO',3,'CODALV',0,0,3,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMMAG5','01',5,'PRODOTTO',3,'CODPRO',0,0,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG5','01',6,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMMAG5','01',7,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAG5','01',8,'LOTTO',4,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMMAG5','01',9,'DATA MOVIMENTO',3,'DTAMOV',0,0,4,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMMAG5','01',10,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG5','01',11,'ANNO MOVIMENTO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMMAG5','01',12,'MESE MOVIMENTO',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG5','01',13,'GIORNO MOVIMENTO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG5','01',14,'CHIAVE PRINCIPALE',3,'KEY001',1,0,5,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG5','01',15,'NUMERO MOVIMENTO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMMAG5','01',16,'NUMERO RIGA',4,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAG5','01',17,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMMAG5','01',18,'QUANTITA'' MOVIMENTATA',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AMMAG5','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('AMMAG6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG6','01',2,'CHIAVE MAGAZZINO-ALVEOLO-ARTICOLO-DATA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG6','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,0,1,2,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG6','01',4,'CODICE ALVEOLO',3,'CODALV',0,0,3,1,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMMAG6','01',5,'PRODOTTO',3,'CODPRO',0,0,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG6','01',6,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMMAG6','01',7,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAG6','01',8,'LOTTO',4,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMMAG6','01',9,'DATA MOVIMENTO',3,'DTAMOV',0,0,4,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMMAG6','01',10,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG6','01',11,'ANNO MOVIMENTO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMMAG6','01',12,'MESE MOVIMENTO',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG6','01',13,'GIORNO MOVIMENTO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG6','01',14,'CHIAVE PRINCIPALE',3,'KEY001',1,0,5,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG6','01',15,'NUMERO MOVIMENTO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMMAG6','01',16,'NUMERO RIGA',4,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAG6','01',17,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMMAG6','01',18,'QUANTITA'' MOVIMENTATA VECCHIA (2 DEC)',2,'QTAOLD',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AMMAG6','01',19,'QUANTITA'' MOVIMENTATA NUOVA (3 DEC)',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('AMMAG6','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,41,41,0,0,'X(41)','',0,'',0,0,'' )
,('AMMAG7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG7','01',2,'CHIAVE MAGAZZINO-ALVEOLO-ARTICOLO-DATA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG7','01',3,'CHIAVE SOGGETTO',3,'KEYSOG',0,0,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG7','01',4,'TIPO SOGGETTO (VEDI AMMAG2)',4,'FLGCFS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMMAG7','01',5,'CODICE SOGGETTO',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('AMMAG7','01',6,'PRODOTTO',3,'CODPRO',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG7','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMMAG7','01',8,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAG7','01',9,'LOTTO',4,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMMAG7','01',10,'DATA MOVIMENTO',3,'DTAMOV',0,0,3,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMMAG7','01',11,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG7','01',12,'ANNO MOVIMENTO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMMAG7','01',13,'MESE MOVIMENTO',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG7','01',14,'GIORNO MOVIMENTO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAG7','01',15,'CHIAVE PRINCIPALE',3,'KEY001',1,0,4,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAG7','01',16,'NUMERO MOVIMENTO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AMMAG7','01',17,'NUMERO RIGA',4,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9999 COMP-3','',0,'',0,0,'' )
,('AMMAG7','01',18,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMMAG7','01',19,'QUANTITA'' MOVIMENTATA NUOVA (3 DEC)',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('AMMAGB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGB','01',2,'CHIAVE ARTICOLO+DATA',2,'KEY002',0,1,0,0,2,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGB','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,1,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMMAGB','01',4,'ANNATA',3,'ANNATA',0,0,0,2,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAGB','01',5,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMMAGB','01',6,'CHIAVE DATA',3,'KEY003',0,0,1,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGB','01',7,'DATA MOVIMENTO',4,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMMAGB','01',8,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGB','01',9,'ANNO MOVIMENTO',5,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMMAGB','01',10,'MESE MOVIMENTO',5,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAGB','01',11,'GIORNO MOVIMENTO',5,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAGB','01',12,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGB','01',13,'NUMERO MOVIMENTO',5,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMMAGB','01',14,'NUMERO RIGA',5,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAGB','01',15,'ALTRI DATI',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGB','01',16,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,1,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAGB','01',17,'CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMMAGB','01',18,'QUANTITA'' MOVIMENTO',3,'QTAOLD',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AMMAGB','01',19,'VALORE MOVIMENTO',3,'VALMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('AMMAGB','01',20,'PREZZO UNITARIO',3,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('AMMAGB','01',21,'SCONTI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGB','01',22,'SCONTO',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,4,1,0,'99V9 COMP-3','',4,'',0,0,'' )
,('AMMAGB','01',23,'PROGRESSIVO X RIPARTENZA REG. ZUCCHERO',2,'ZUCPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAGB','01',25,'CODICE ALVEOLO',2,'CODALV',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMMAGB','01',26,'PROGRE.RIPARTENZA REG.CONSIGNMENT STOCK',2,'CSTPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAGB','01',28,'NUOVA QUANTITA 3 DECIMALI TEST',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V9(3)','',0,'',0,0,'' )
,('AMMAGB','01',29,'filler(se si allunga vedi rtmmag-buffer)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AMMAGW','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGW','01',2,'CHIAVE ARTICOLO+DATA',2,'KEY002',0,1,0,0,2,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGW','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,1,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMMAGW','01',4,'ANNATA',3,'ANNATA',0,0,0,2,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAGW','01',5,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMMAGW','01',6,'CHIAVE DATA',3,'KEY003',0,0,1,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGW','01',7,'DATA MOVIMENTO',4,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMMAGW','01',8,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGW','01',9,'ANNO MOVIMENTO',5,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMMAGW','01',10,'MESE MOVIMENTO',5,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAGW','01',11,'GIORNO MOVIMENTO',5,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAGW','01',12,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGW','01',13,'NUMERO MOVIMENTO',5,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMMAGW','01',14,'NUMERO RIGA',5,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAGW','01',15,'ALTRI DATI',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGW','01',16,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,1,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAGW','01',17,'CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMMAGW','01',18,'QUANTITA'' MOVIMENTO',3,'QTAOLD',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AMMAGW','01',19,'VALORE MOVIMENTO',3,'VALMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('AMMAGW','01',20,'PREZZO UNITARIO',3,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('AMMAGW','01',21,'SCONTI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGW','01',22,'SCONTO',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,4,1,0,'99V9 COMP-3','',4,'',0,0,'' )
,('AMMAGW','01',23,'PROGRESSIVO X RIPARTENZA REG. ZUCCHERO',2,'ZUCPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAGW','01',25,'CODICE ALVEOLO',2,'CODALV',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMMAGW','01',26,'PROGRE.RIPARTENZA REG.CONSIGNMENT STOCK',2,'CSTPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAGW','01',28,'NUOVA QUANTITA 3 DECIMALI TEST',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V9(3)','',0,'',0,0,'' )
,('AMMAGW','01',29,'filler(se si allunga vedi rtmmag-buffer)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AMMAGX','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGX','01',2,'CHIAVE ARTICOLO+DATA',2,'KEY002',0,1,0,0,2,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGX','01',3,'CODICE ARTICOLO',3,'CODART',0,0,0,1,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMMAGX','01',4,'ANNATA',3,'ANNATA',0,0,0,2,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAGX','01',5,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMMAGX','01',6,'CHIAVE DATA',3,'KEY003',0,0,1,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGX','01',7,'DATA MOVIMENTO',4,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMMAGX','01',8,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGX','01',9,'ANNO MOVIMENTO',5,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMMAGX','01',10,'MESE MOVIMENTO',5,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAGX','01',11,'GIORNO MOVIMENTO',5,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAGX','01',12,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGX','01',13,'NUMERO MOVIMENTO',5,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMMAGX','01',14,'NUMERO RIGA',5,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMMAGX','01',15,'ALTRI DATI',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMMAGX','01',16,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,1,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAGX','01',17,'CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMMAGX','01',18,'QUANTITA'' MOVIMENTO',3,'QTAOLD',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AMMAGX','01',19,'VALORE MOVIMENTO',3,'VALMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('AMMAGX','01',20,'PREZZO UNITARIO',3,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('AMMAGX','01',21,'SCONTI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMAGX','01',22,'SCONTO',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,4,1,0,'99V9 COMP-3','',4,'',0,0,'' )
,('AMMAGX','01',23,'PROGRESSIVO X RIPARTENZA REG. ZUCCHERO',2,'ZUCPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAGX','01',25,'CODICE ALVEOLO',2,'CODALV',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMMAGX','01',26,'PROGRE.RIPARTENZA REG.CONSIGNMENT STOCK',2,'CSTPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMAGX','01',28,'NUOVA QUANTITA 3 DECIMALI TEST',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V9(3)','',0,'',0,0,'' )
,('AMMAGX','01',29,'filler(se si allunga vedi rtmmag-buffer)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AMMANO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMANO','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMANO','01',3,'CENTRO LAVORAZIONE',3,'CENLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMMANO','01',4,'DATA MOVIMENTO',3,'DATMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMMANO','01',5,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMANO','01',6,'ANNO MOVIMENTO',4,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMMANO','01',7,'MESE MOVIMENTO',4,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMANO','01',8,'GIORNO MOVIMENTO',4,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMANO','01',9,'CODICE DIPENDENTE',3,'DIPEND',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMMANO','01',10,'NUMERO TURNO GIORNALIERO',3,'NTURNO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMMANO','01',11,'ORA INIZIO LAVORAZIONE (HHMMSS)',3,'ORAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMMANO','01',12,'ORA FINE LAVORAZIONE (HHMMSS)',2,'ORAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMMANO','01',13,'CODICE MANSIONE',2,'MANSIO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMMANO','01',14,'DATA INSERIMENTO RECORD',2,'DATINS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMMANO','01',15,'ORA INSERIMENTO RECORD',2,'ORAINS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AMMANO','01',16,'DATA VARIAZIONE RECORD',2,'DATVAR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMMANO','01',17,'ORA VARIAZIONE RECORD',2,'ORAVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AMMANO','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,37,37,0,0,'X(37)','',0,'',0,0,'' )
,('AMMM32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMM32','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMM32','01',3,'CODICE MOVIMENTO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMMM32','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMMM32','01',5,'CAUSALE CONTABILE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMMM32','01',6,'G/C/S DARE',2,'GCSDAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMM32','01',7,'GRUPPO DARE',3,'GRUDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMMM32','01',8,'CONTO DARE',3,'CONDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMMM32','01',9,'SOTTOCONTO DARE',3,'SOTDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMMM32','01',10,'G/C/S AVERE',2,'GCSAVE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMMM32','01',11,'GRUPPO AVERE',3,'GRUAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMMM32','01',12,'CONTO AVERE',3,'CONAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMMM32','01',13,'SOTTOCONTO AVERE',3,'SOTAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMMM32','01',14,'TIPO MOVIMENTO',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMMM32','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AMOCA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOCA1','01',2,'CHIAVE CESPITE+DATA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOCA1','01',3,'CODICE CESPITE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOCA1','01',4,'CODICE PRINCIPALE ALFA DAL 07/06/2011',4,'CODUNO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMOCA1','01',5,'CODICE SECONDARIO (SOTTOCESPITE)',4,'CODDUE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMOCA1','01',6,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMOCA1','01',7,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOCA1','01',8,'ANNO MOVIMENTO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMOCA1','01',9,'MESE MOVIMENTO',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOCA1','01',10,'GIORNO MOVIMENTO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOCA1','01',11,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMOCA1','01',12,'CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOCA1','01',13,'PERCENTUALE',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('AMOCA1','01',14,'GIORNI AMMORTAMENTI',2,'GGGAMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('AMOCA1','01',15,'VALORE CESPITE',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AMOCA1','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOCA2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOCA2','01',2,'CHIAVE CESPITE+DATA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOCA2','01',3,'CODICE CESPITE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOCA2','01',4,'CODICE PRINCIPALE ALFA DAL 07/06/2011',4,'CODUNO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMOCA2','01',5,'CODICE SECONDARIO (SOTTOCESPITE)',4,'CODDUE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMOCA2','01',6,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMOCA2','01',7,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOCA2','01',8,'ANNO MOVIMENTO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMOCA2','01',9,'MESE MOVIMENTO',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOCA2','01',10,'GIORNO MOVIMENTO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOCA2','01',11,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMOCA2','01',12,'NUMERO RIGA ANNOTAZIONE',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMOCA2','01',13,'ANNOTAZIONE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AMOCA2','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('AMOCAT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOCAT','01',2,'CHIAVE CESPITE+DATA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOCAT','01',3,'CODICE CESPITE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOCAT','01',4,'CODICE PRINCIPALE ALFA DAL 07/06/2011',4,'CODUNO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMOCAT','01',5,'CODICE SECONDARIO (SOTTOCESPITE)',4,'CODDUE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMOCAT','01',6,'% AMMORTAMENTO ORD. TEORICA',2,'PETAMO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('AMOCAT','01',7,'% AMMORTAMENTO ANT. TEORICA',2,'PETAMA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('AMOCAT','01',8,'AMMORTAMENTO ORD. TEORICO',2,'IMTAMO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AMOCAT','01',9,'AMMORTAMENTO ANT. TEORICO',2,'IMTAMA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AMOCAT','01',10,'COEFFICENTE C/COSTO ORDINARIO',2,'CFFAMO',0,0,0,0,0,0,0,0,0,0,'',1,1,4,8,3,0,'S999V999 COMP-3','',0,'',0,0,'' )
,('AMOCAT','01',11,'COEFFICENTE C/COSTO ANTICIPATO',2,'CFFAMA',0,0,0,0,0,0,0,0,0,0,'',1,1,4,8,3,0,'S999V999 COMP-3','',0,'',0,0,'' )
,('AMOCAT','01',12,'PERCENTUALE AMMORTAMENTO ORDINARIO',2,'PERAMO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('AMOCAT','01',13,'PERCENTUALE AMMORTAMENTO ANTICIPATO',2,'PERAMA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('AMOCAT','01',14,'GIORNI AMMORTAMENTI',2,'GGGAMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('AMOCAT','01',15,'VALORE STORICO',2,'VALSTO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AMOCAT','01',16,'IMPORTO AMMORTAMENTO ORDINARIO',2,'IMPAMO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AMOCAT','01',17,'IMPORTO AMMORTAMENTO ANTICIPATO',2,'IMPAMA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AMOCAT','01',18,'IMPORTO RESIDUO',2,'VALRES',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AMOCAT','01',19,'RECORD CONTABILIZZATO (X/ )',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOCAT','01',20,'RECORD AGGIORNATO SU REGISTRO (X/ )',2,'FLGAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOCAZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOCAZ','01',2,'CHIAVE CESPITE+DATA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOCAZ','01',3,'CODICE CESPITE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOCAZ','01',4,'CODICE PRINCIPALE ALFA DAL 07/06/2011',4,'CODUNO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMOCAZ','01',5,'CODICE SECONDARIO (SOTTOCESPITE)',4,'CODDUE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMOCAZ','01',6,'RECORD AGGIORNATO (X/ )',2,'FLGAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOCAZ','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMOD01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD01','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD01','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD01','01',4,'CODICE CANTINA DESTINATARIA DELLE UVE',3,'CODCAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOD01','01',6,'PROVINCIA DI PRODUZIONE DELLE UVE',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMOD01','01',7,'SUPERFICIE UVE DOC',2,'DOCSUP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'9(3)V9(4)','',0,'',0,0,'' )
,('AMOD01','01',8,'QUANTITA'' CONFERITA DOC BIANCA',2,'DOCBIA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD01','01',9,'QUANTITA'' CONFERITA DOC ROSSA',2,'DOCROS',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD01','01',10,'SUPERFICIE UVE IGT',2,'IGTSUP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'9(3)V9(4)','',0,'',0,0,'' )
,('AMOD01','01',11,'QUANTITA'' CONFERITA IGT BIANCA',2,'IGTBIA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD01','01',12,'QUANTITA'' CONFERITA IGT ROSSA',2,'IGTROS',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD01','01',13,'SUPERFICIE UVE TAVOLA',2,'TAVSUP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'9(3)V9(4)','',0,'',0,0,'' )
,('AMOD01','01',14,'QUANTITA'' CONFERITA TAVOLA BIANCA',2,'TAVBIA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD01','01',15,'QUANTITA'' CONFERITA TAVOLA ROSSA',2,'TAVROS',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD01','01',16,'SUPERFICIE UVE TAVOLA VARIETALI',2,'VARSUP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'9(3)V9(4)','',0,'',0,0,'' )
,('AMOD01','01',17,'QUANTITA'' CONFERITA VARIETALI BIANCHE',2,'VARBIA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD01','01',18,'QUANTITA'' CONFERITA VARIETALI ROSSE',2,'VARROS',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD01','01',19,'SUPERFICIE SUPERO IGT',2,'SUPIGS',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'9(3)V9(4)','',0,'',0,0,'' )
,('AMOD01','01',20,'QUANTITA'' SUPERO IGT BIANCA',2,'SUPIGB',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD01','01',21,'QUANTITA'' SUPERO IGT ROSSA',2,'SUPIGR',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD01','01',22,'SUPERFICE SUPERO VARIETALE',2,'SUPVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'9(3)V9(4)','',0,'',0,0,'' )
,('AMOD01','01',23,'QUANTITA'' SUPERO VARIETALI BIANCHE',2,'SUPVAB',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD01','01',24,'QUANTITA'' SUPERO VARIETALI ROSSE',2,'SUPVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD01','01',25,'SUPERFICIE SUPERO TAVOLA',2,'SUPTAS',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'9(3)V9(4)','',0,'',0,0,'' )
,('AMOD01','01',26,'QUANTITA'' SUPERO TAVOLA BIANCA',2,'SUPTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD01','01',27,'QUANTITA'' SUPERO TAVOLA ROSSA',2,'SUPTAR',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD01','01',28,'SUPERFICIE TOTALE',2,'SUPTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'9(3)V9(4)','',0,'',0,0,'' )
,('AMOD01','01',29,'SUPERFICIE DI PROPRIETA''',2,'SUPPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'9(3)V9(4)','',0,'',0,0,'' )
,('AMOD01','01',30,'COMUNE CON MAGGIORE SUPERFICIE',2,'MAXCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD01','01',31,'SUPERFICIE COMUNE MAGGIORE SUPERFICIE',2,'MAXSUP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'9(3)V99','',0,'',0,0,'' )
,('AMOD01','01',32,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,389,389,0,0,'X(389)','',0,'',0,0,'' )
,('AMOD02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD02','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD02','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD02','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD02','01',5,'TABELLA SCELTE VENDEMMIALI',2,'TABSCE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD02','01',6,'ELEMENTO SCELTA VENDEMMIALE',3,'ELESCE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',2,'',0,0,'' )
,('AMOD02','01',12,'SUPERFICE CALCOLATA',4,'ELESUP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD02','01',13,'QUANTITA'' CONFERITA NORMALE',4,'ELENOR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD02','01',14,'QUANTITA'' RECIOTO',4,'ELEREC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD02','01',15,'QUANTITA'' BASE SPUMANTE',4,'ELEBSP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD02','01',16,'QUANTITA'' SUPERIORE',4,'ELESRE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD02','01',17,'RAGGRUPPAMENTO SCELTA VENDEMM.LE (LAVIS)',4,'ELESCV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMOD02','01',18,'REDEFINES PRIMO ELEMENTO',2,'ELEUNO',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD02','01',19,'SUPERFICIE CALCOLATA',3,'SUPCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD02','01',20,'QUANTITA'' NORMALE',3,'QTANOR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD02','01',21,'QUANTITA'' RECIOTO',3,'QTAREC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD02','01',22,'QUANTITA'' BASE SPUMANTE',3,'QTABSP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD02','01',23,'QUANTITA'' SUPERIORE',3,'QTASUP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD02','01',24,'RAGGRUPPAMENTO SCELTA VENDEMMIALE',3,'UVASCV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD02','01',25,'FILLER SECONDO ELEMENTO',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('AMOD02','01',26,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,23,23,0,0,'X(23)','',0,'',0,0,'' )
,('AMOD03','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD03','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD03','01',3,'CODICE SOCIO',3,'CODSOC',0,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD03','01',4,'CODICE UVA',3,'CODUVA',0,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD03','01',5,'CODICE COMUNE',3,'CODCOM',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD03','01',6,'FOGLIO',3,'FOGLIO',0,4,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMOD03','01',7,'PARTICELLE',2,'ALLPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD03','01',8,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',12,'',0,0,'' )
,('AMOD03','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD03','01',10,'PARTIC. DA 10 CARATTERI (non gestito)',3,'PART10',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',6,'',0,0,'' )
,('AMOD03','01',11,'SUPERFICE CALCOLATA',2,'SUPCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('AMOD03','01',12,'QUANTITA'' CALCOLATA',2,'QTACAL',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD03','01',13,'QUANTITA'' PER SCELTA VENDEMMIALE',2,'QTA-SV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD03','01',15,'QUANTITA'' PER DESTINAZIONE SUPERI',2,'QTA-DS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD03','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOD04','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD04','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD04','01',3,'CODICE CANTINA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOD04','01',5,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMOD04','01',6,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMOD04','01',7,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('AMOD04','01',8,'TIPO DESTINATARIO SU F1',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOD04','01',13,'TIPO CANTINA',2,'TIPCAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOD04','01',16,'CUAA AVEPA',2,'CUAAAA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AMOD04','01',17,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD04','01',18,'CODICE CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMOD04','01',19,'NUMERO TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMOD04','01',20,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AMOD04','01',21,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMOD04','01',22,'NUOVO TIPO DESTINAZIONE AVEPA',2,'NEWDES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOD04','01',26,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMOD05','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD05','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD05','01',3,'CODICE COMUNE',3,'CODCOM',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD05','01',4,'RAGIONE SOCIALE INTESTATARIO',3,'RAGSOC',0,3,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMOD05','01',5,'RAGRUPPAMENTO UVE DOC',3,'CODGRU',0,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD05','01',6,'NUMERO MATRICOLA',3,'NRMATR',0,4,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMOD05','01',7,'SUPERFICE DOC',2,'SUPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD05','01',8,'SUPERFICE CLASSICO',2,'SUPCLA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD05','01',9,'QUANTITA'' CERTIFICATA DOC',2,'DOCCER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD05','01',10,'QUANTITA'' CERTIFICATA CLASSICO',2,'CLACER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD05','01',11,'QUANTITA'' CONFERITA NORMALE DOC',2,'DOCNOR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD05','01',12,'QUANTITA'' CONFERITA NORMALE CLASSICO',2,'CLANOR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD05','01',13,'QUANTITA'' CONFERITA BASE SPUMANTE DOC',2,'DOCBSP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD05','01',14,'QUANTITA'' CONFERITA B.SPUM. CLASSICO',2,'CLABSP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD05','01',15,'QUANTITA'' CONFERITA RECIOTO DOC',2,'DOCREC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMOD05','01',16,'QUANTITA'' CONFERITA RECIOTO CLASSICO',2,'CLAREC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD05','01',17,'QUANTITA'' CONFERITA SUPERIORE DOC',2,'DOCSUP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD05','01',18,'QUANTITA'' CONFERITA SUPERIORE CLASSICO',2,'CLASUP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD05','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,62,62,0,0,'X(62)','',0,'',0,0,'' )
,('AMOD06','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD06','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD06','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD06','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD06','01',5,'SUPERFICE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD06','01',6,'QUANTITA'' CERTIFICATA',2,'QTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD06','01',7,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD06','01',8,'SUPERFICE DOC',2,'SUPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD06','01',9,'QUANTITA'' DOC',2,'QTADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD06','01',10,'CODICE UVA IGT',2,'CODIGT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD06','01',11,'SUPERFICE IGT',2,'SUPIGT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD06','01',12,'QUANTITA'' IGT',2,'QTAIGT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD06','01',13,'CODICE UVA TAVOLA',2,'CODTAV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD06','01',14,'SUPERFICE TAVOLA',2,'SUPTAV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD06','01',15,'QUANTITA'' TAVOLA',2,'QTATAV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD06','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('AMOD07','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD07','01',2,'CHIAVE PRINCIPALE',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD07','01',3,'CODICE COMUNE',3,'CODCOM',0,0,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD07','01',4,'RAGIONE SOCIALE INTESTATARIO',3,'RAGSOC',0,0,3,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMOD07','01',5,'RAGRUPPAMENTO UVE DOC',3,'CODGRU',0,0,2,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD07','01',6,'NUMERO MATRICOLA',3,'NRMATR',0,0,4,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMOD07','01',7,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD07','01',8,'NUMERO INTERNO DENUNCIA',4,'NUMERO',0,0,0,2,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD07','01',9,'CODICE SOCIO (SE INTESTATARIO)',2,'CODSOC',0,0,0,1,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD07','01',10,'COMUNE DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMOD07','01',11,'PROVINCIA DI NASCITA',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMOD07','01',12,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AMOD07','01',13,'DATA NASCITA',2,'DTANAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMOD07','01',14,'COMUNE DI RESIDENZA',2,'COMRES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMOD07','01',15,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMOD07','01',16,'SUPERFICE DOC',2,'SUPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD07','01',17,'SUPERFICE CLASSICO',2,'SUPCLA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD07','01',18,'QUANTITA'' CERTIFICATA DOC',2,'DOCCER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD07','01',19,'QUANTITA'' CERTIFICATA CLASSICO',2,'CLACER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD07','01',20,'QUANTITA'' CONFERITA NORMALE DOC',2,'DOCNOR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD07','01',21,'QUANTITA'' CONFERITA NORMALE CLASSICO',2,'CLANOR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD07','01',22,'QUANTITA'' CONFERITA BASE SPUMANTE DOC',2,'DOCBSP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD07','01',23,'QUANTITA'' CONFERITA B.SPUM. CLASSICO',2,'CLABSP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD07','01',24,'QUANTITA'' CONFERITA RECIOTO DOC',2,'DOCREC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD07','01',25,'QUANTITA'' CONFERITA RECIOTO CLASSICO',2,'CLAREC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD07','01',26,'QUANTITA'' CONFERITA SUPERIORE DOC',2,'DOCSUP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD07','01',27,'QUANTITA'' CONFERITA SUPERIORE CLASSICO',2,'CLASUP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD07','01',28,'TIPO FORNITORE',2,'FLGFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOD07','01',29,'CODICE RAGGRUPPAMENTO S.V. (LAVIS)',2,'UVASCV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMOD07','01',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,64,64,0,0,'X(64)','',0,'',0,0,'' )
,('AMOD08','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD08','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD08','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD08','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD08','01',5,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD08','01',6,'SUPERFICE CALCOLATA ZONA',2,'SUPZON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD08','01',7,'QUANTITA'' CONFERITA ZONA',2,'QTAZON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD08','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('AMOD09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD09','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD09','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD09','01',4,'CODICE CANTINA',3,'CODCAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOD09','01',6,'PROVINCIA',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMOD09','01',7,'QUANTITA'' UVE A RIPOSO BIANCHE',2,'RIPBIA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD09','01',8,'QUANTITA'' UVE A RIPOSO ROSSE',2,'RIPROS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD09','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,54,54,0,0,'X(54)','',0,'',0,0,'' )
,('AMOD0A','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0A','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0A','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD0A','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0A','01',5,'CODICE ZONA (SE GESTITA SUI FONDI)',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0A','01',6,'CODICE LOCALITA'' (SE GESTITA SUI FONDI)',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMOD0A','01',7,'VIGNETO (SE GESTITO SUI FONDI)',3,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMOD0A','01',8,'SUPERFICE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD0A','01',9,'QUANTITA'' CERTIFICATA',2,'QTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD0A','01',10,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD0A','01',11,'SUPERFICE DOC',2,'SUPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD0A','01',12,'QUANTITA'' DOC',2,'QTADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD0A','01',13,'CODICE UVA IGT',2,'CODIGT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0A','01',14,'SUPERFICE IGT',2,'SUPIGT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD0A','01',15,'QUANTITA'' IGT',2,'QTAIGT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD0A','01',16,'CODICE UVA TAVOLA',2,'CODTAV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0A','01',17,'SUPERFICE TAVOLA',2,'SUPTAV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD0A','01',18,'QUANTITA'' TAVOLA',2,'QTATAV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD0A','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('AMOD0B','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0B','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0B','01',3,'CODICE SOCIO',3,'CODSOC',0,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD0B','01',4,'CODICE UVA',3,'CODUVA',0,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0B','01',5,'CODICE COMUNE',3,'CODCOM',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD0B','01',6,'SEZIONE CENSUARIA',3,'SEZION',0,4,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOD0B','01',7,'FOGLIO',3,'FOGLIO',0,5,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMOD0B','01',8,'PARTICELLE',2,'ALLPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0B','01',9,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',24,'',0,0,'' )
,('AMOD0B','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0B','01',11,'PARTICELLE DA 10 CARATTERI (LAVIS)',3,'PART10',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',12,'',0,0,'' )
,('AMOD0B','01',12,'SUPERFICE CALCOLATA',2,'SUPCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('AMOD0B','01',13,'QUANTITA'' CALCOLATA',2,'QTACAL',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD0B','01',14,'UVA CATASTALE',2,'UVACAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0B','01',15,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMOD0B','01',16,'QTA'' SCELTA VENDEMMIALE',2,'QTA-SV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0B','01',17,'QTA'' DESTINAZIONE SUPERI',2,'QTA-DS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0B','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMOD0C','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0C','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0C','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD0C','01',4,'CODICE CANTINA',3,'CODCAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOD0C','01',6,'PROVINCIA',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMOD0C','01',7,'FATTORE DI CONVERSIONE HL/Q.LI',2,'FATCON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('AMOD0C','01',8,'ETTOLITRI TAVOLA NERA',2,'TAVHLN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',9,'ETTOLITRI TAVOLA BIANCA',2,'TAVHLB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',10,'QUINTALI TAVOLA NERA',2,'TAVQLN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',11,'QUINTALI TAVOLA BIANCA',2,'TAVQLB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',12,'ETTOLITRI VARIETALE NERA',2,'VARHLN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',13,'ETTOLITRI VARIETALE BIANCA',2,'VARHLB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',14,'QUINTALI VARIETALE NERA',2,'VARQLN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',15,'QUINTALI VARIETALE BIANCA',2,'VARQLB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',16,'ETTOLITRI IGT NERA',2,'IGTHLN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',17,'ETTOLITRI IGT BIANCA',2,'IGTHLB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',18,'QUINTALI IGT NERA',2,'IGTQLN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',19,'QUINTALI IGT BIANCA',2,'IGTQLB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',20,'ETTOLITRI SUPERO TAVOLA NERA',2,'SUPTHN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',21,'ETTOLITRI SUPERO TAVOLA BIANCA',2,'SUPTHB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',22,'QUINTALI SUPERO TAVOLA NERA',2,'SUPTQN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',23,'QUINTALI SUPERO TAVOLA BIANCA',2,'SUPTQB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',24,'ETTOLITRI SUPERO VARIETALE NERA',2,'SUPVHN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',25,'ETTOLITRI SUPERO VARIETALE BIANCA',2,'SUPVHB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',26,'QUINTALI SUPERO VARIETALE NERA',2,'SUPVQN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',27,'QUINTALI SUPERO VARIETALE BIANCA',2,'SUPVQB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',28,'ETTOLITRI SUPERO IGT NERA',2,'SUPIHN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',29,'ETTOLITRI SUPERO IGT BIANCA',2,'SUPIHB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',30,'QUINTALI SUPERO IGT NERA',2,'SUPIQN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',31,'QUINTALI SUPERO IGT BIANCA',2,'SUPIQB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',32,'ETTOLITRI DOC NERA',2,'DOCHLN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',33,'ETTOLITRI DOC BIANCA',2,'DOCHLB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',34,'QUINTALI DOC NERA',2,'DOCQLN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',35,'QUINTALI DOC BIANCA',2,'DOCQLB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0C','01',36,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,359,359,0,0,'X(359)','',0,'',0,0,'' )
,('AMOD0D','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0D','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0D','01',3,'CHIAVE FONDO',3,'KEYFON',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0D','01',4,'CODICE SOCIO',4,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD0D','01',5,'CODICE UVA',4,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0D','01',6,'CODICE ZONA',4,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0D','01',7,'CODICE LOCALITA''',4,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMOD0D','01',8,'VIGNETO',4,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMOD0D','01',9,'CODICE ALTRA CANTINA',3,'CODCAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOD0D','01',10,'QUINTALI CONFERITI',2,'QLICON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD0D','01',11,'SUPERFICIE ASSEGNATA ALLA CANTINA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('AMOD0D','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('AMOD0E','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0E','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0E','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD0E','01',4,'CODICE CANTINA',3,'CODCAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOD0E','01',6,'PROVINCIA',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMOD0E','01',7,'TABELLA B1',2,'AREAB1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',3,'',0,0,'' )
,('AMOD0E','01',8,'NUMERO B1',3,'VINOB1',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('AMOD0E','01',9,'CODICE FISCALE',3,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AMOD0E','01',10,'PARTITA IVA',3,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('AMOD0E','01',11,'SUPERFICIE B1',3,'SUPMB1',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('AMOD0E','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMOD0F','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0F','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0F','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD0F','01',4,'CODICE UVA DOC',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0F','01',5,'CODICE UVA SCELTA VENDEMMIALE',3,'CODSCV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0F','01',6,'USI FUTURI PER GESTIRE RECIOTO,SUPERIORE',3,'SPACES',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMOD0F','01',8,'SUPERO DI DOC (X)',3,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOD0F','01',9,'CODICE CANTINA DESTINAZIONE (000=NOSTRA)',3,'CODCAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOD0F','01',10,'SUPERFICE CALCOLATA',2,'SUPCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD0F','01',11,'QUANTITA'' CALCOLATA',2,'QTACAL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD0F','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMOD0G','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0G','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0G','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD0G','01',4,'CODICE COMUNE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD0G','01',5,'CODICE UVA DOC',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0G','01',6,'CODICE UVA SCELTA VENDEMMIALE',3,'CODSCV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0G','01',7,'USI FUTURI PER GESTIRE RECIOTO,SUPERIORE',3,'SPACES',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMOD0G','01',9,'SUPERO DI DOC (X)',3,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOD0G','01',10,'CODICE CANTINA DESTINAZIONE (000=NOSTRA)',3,'CODCAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOD0G','01',11,'SUPERFICE CALCOLATA',2,'SUPCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD0G','01',12,'QUANTITA'' CALCOLATA',2,'QTACAL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD0G','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMOD0H','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0H','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0H','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD0H','01',4,'PROVINCIA',3,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMOD0H','01',5,'CODICE UVA BASE VIGNETO',3,'UVABAS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0H','01',6,'UVA SCELTA VENDEMMIALE',3,'UVASCV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0H','01',7,'NUMERO VIGNETO',3,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMOD0H','01',8,'SUPERFICE CALCOLATA',2,'SUPCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMOD0H','01',9,'QUANTITA'' CALCOLATA',2,'QTACAL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD0H','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AMOD0I','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0I','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0I','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD0I','01',4,'CHIAVE FONDO',3,'KFONDO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD0I','01',5,'CODICE UVA FONDO',4,'FONUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0I','01',6,'CODICE ZONA FONDO',4,'FONZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMOD0I','01',7,'CODICE LOCALITA'' FONDO',4,'FONLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMOD0I','01',8,'VIGNETO FONDO',4,'FONVIG',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMOD0I','01',9,'CODICE UVA RIVENDICATA',3,'UVARIV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD0I','01',10,'SUPERO (S)',3,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOD0I','01',11,'CANTINA DI DESTINAZIONE',3,'CANDES',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOD0I','01',12,'QUANTITA'' CONFERITA NORMALE',2,'ELENOR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD0I','01',13,'QUANTITA'' RECIOTO',2,'ELEREC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD0I','01',14,'QUANTITA'' BASE SPUMANTE',2,'ELEBSP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD0I','01',15,'QUANTITA'' SUPERIORE',2,'ELESRE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMOD0I','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('AMOD3B','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD3B','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD3B','01',3,'CODICE SOCIO',3,'CODSOC',0,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD3B','01',4,'CODICE UVA',3,'CODUVA',0,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOD3B','01',5,'CODICE COMUNE',3,'CODCOM',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOD3B','01',6,'FOGLIO',3,'FOGLIO',0,4,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMOD3B','01',7,'X=UVA BASE DOC',3,'ERADOC',0,5,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOD3B','01',8,'PARTICELLE',2,'ALLPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD3B','01',9,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',12,'',0,0,'' )
,('AMOD3B','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOD3B','01',11,'PARTIC. DA 10 CARATTERI (non gestito)',3,'PART10',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',6,'',0,0,'' )
,('AMOD3B','01',12,'SUPERFICE CALCOLATA',2,'SUPCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('AMOD3B','01',13,'QUANTITA'' CALCOLATA',2,'QTACAL',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AMOD3B','01',14,'QUANTITA'' PER SCELTA VENDEMMIALE',2,'QTA-SV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD3B','01',16,'QUANTITA'' PER DESTINAZIONE SUPERI',2,'QTA-DS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AMOD3B','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMODB1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMODB1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMODB1','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMODB1','01',4,'CODICE CANTINA',3,'CODCAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMODB1','01',6,'PROVINCIA',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMODB1','01',7,'NUMERO B1',3,'VINOB1',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('AMODB1','01',8,'SUPERFICIE B1',2,'SUPMB1',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('AMODB1','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMODPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMODPC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMODPC','01',3,'NUMERO PESATA',3,'PESATA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AMODPC','01',4,'NUMERO DICHIRAZIONE PULIZIA CISTERNE',2,'NUMDIC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMODPC','01',5,'PREFISSO',3,'PREDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMODPC','01',6,'NUMERO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMODPC','01',7,'POSTFISSO',3,'POSDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMODPC','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,47,47,0,0,'X(47)','',0,'',0,0,'' )
,('AMODT1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMODT1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMODT1','01',3,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMODT1','01',4,'CODICE ZONA VITIVINICOLA',2,'CODZON',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMODT1','01',5,'CODICE VARIETA'' VITIVINICOLA',2,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMODT1','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AMODT2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMODT2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMODT2','01',3,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMODT2','01',4,'CODICE ZONA DOC CCIAA',2,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMODT2','01',5,'CODICE VARIETA'' CCIAA',2,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AMODT2','01',6,'EX ZONA DOC SCELTA VENDEMMIALE',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMODT2','01',7,'EX VARIETA'' SCELTA VENDEMMIALE',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AMODT2','01',8,'TIPO VINIFICAZIONE',2,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMODT2','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('AMOVAA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVAA','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVAA','01',3,'DATA ELABORATA',3,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMOVAA','01',4,'NUMERO ELABORAZIONI',2,'NUMELA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AMOVAA','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,84,84,0,0,'X(84)','',0,'',0,0,'' )
,('AMOVAM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVAM','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVAM','01',3,'DATA ELABORATA',3,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMOVAM','01',4,'NUMERO MOVIMENTO DI MAGAZZINO MATERIALI',3,'NUMMMG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMOVAP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVAP','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVAP','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AMOVAP','01',4,'CODICE AZIENDA CANTINA',2,'AZICAN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMOVAP','01',5,'CODICE AZIENDA VALDOCA',2,'AZIVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMOVAP','01',6,'EX VENVAL (MAGAZZINO VENDITE VALDOCA)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVAP','01',7,'MAGAZZINO MATERIE PRIME VALDOCA',2,'MATVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVAP','01',8,'MAGAZZINO VENDITE CANTINA',2,'VENCAN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVAP','01',9,'MAGAZZINO MATERIE PRIME CANTINA',2,'MATCAN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVAP','01',10,'EX PRFCAN (MG PRODOTTI FINITI CANTINA)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVAP','01',11,'CLIENTE VALDOCA SU AZIENDA CANTINA',2,'CLIVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOVAP','01',12,'CLIENTE CANTINA SU AZIENDA VALDOCA',2,'CLICAN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOVAP','01',13,'CAUSALE BOLLA TRASF.DA CANTINA A VALDOCA',2,'CAUTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMOVAP','01',14,'NUMERO ATT.ARTICOLI DA NON ELABORARE',2,'NRATNO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVAP','01',15,'CODICE ATT.ARTICOLI DA NON ELABORARE',2,'CDATNO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOVAP','01',16,'CAUSALI BOLLE DA ELABORARE',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',10,'',0,0,'' )
,('AMOVAP','01',17,'SCARICA PRIMA DA MAG.VENDITE CANTINA SN',2,'SCAVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOVAP','01',18,'CAU.MAG.SCARICO MAT.PRIME VEND. VALDOCA',2,'CMSCMV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOVAP','01',19,'CAU.MAG.CARICO MAT.PRIME RESE VALDOCA',2,'CMCAMV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMOVAP','01',20,'CAUSALE BOLLA DI RESO AZI. VALDOCA',2,'CARESV',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMOVAP','01',21,'CAUSALE BOLLA DI RESO AZI. CANTINA',2,'CARESC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMOVAP','01',22,'CAUSALI BOLLE DI RESO DA ELABORARE',2,'CAURES',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',10,'',0,0,'' )
,('AMOVAP','01',23,'MAG.PRODUZIONE CON MAT.PRIME VAL D''OCA',2,'MAGPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',10,'',0,0,'' )
,('AMOVAP','01',24,'NUMERO ATTRIBUTO ARTICOLI SEMILAVORATI',2,'NRATSL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVAP','01',25,'CODICE ATTRIBUTO ARTICOLI SEMILAVORATI',2,'CDATSL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOVAP','01',26,'CODICE ATTRIBUTO MATERIE PRIME CANTINA',2,'NRATMC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVAP','01',27,'CAUSALI BOLLE DA ELABORARE (2 SERIE)',2,'CAUBO2',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',10,'',0,0,'' )
,('AMOVAP','01',28,'MAGAZZINI VENDITA VALDOCA',2,'VENVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',5,'',0,0,'' )
,('AMOVAP','01',29,'MAGAZZINI PRODOTTI FINITI CANTINA',2,'PRFCAN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',5,'',0,0,'' )
,('AMOVAP','01',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,191,191,0,0,'X(191)','',0,'',0,0,'' )
,('AMOVLI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVLI','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMOVLI','01',3,'NUMERO LIBRETTO',2,'NUMLIB',2,3,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMOVLI','01',4,'COMPLEMENTO A 99999 NUMERO LIBRETTO',2,'COMLIB',0,0,2,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMOVLI','01',5,'NUMERO RIGA LIBRETTO',2,'NUMRIG',3,4,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVLI','01',6,'COMPLEMENTO A 99 NUMERO RIGA LIBRETTO',2,'COMRIG',0,0,3,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVLI','01',7,'MOVIMENTO STAMPATO S/N',2,'FLGSTA',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOVLI','01',8,'TIPO LIBRETTO',2,'TIPLIB',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMOVLI','01',9,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMOVLI','01',10,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMOVLI','01',11,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVLI','01',12,'ANNO REGISTRAZIONE',3,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMOVLI','01',13,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVLI','01',14,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVLI','01',15,'DATA VALUTA',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMOVLI','01',16,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVLI','01',17,'ANNO VALUTA',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMOVLI','01',18,'MESE VALUTA',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVLI','01',19,'GIORNO VALUTA',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVLI','01',20,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('AMOVLI','01',21,'SALDO LIBRETTO LIBERO',2,'SAL001',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('AMOVLI','01',22,'SALDO LIBRETTO 6 MESI',2,'SAL002',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('AMOVLI','01',23,'SALDO LIBRETTO ANNUALE',2,'SAL003',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('AMOVLI','01',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('AMOVM1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVM1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVM1','01',3,'DATA MOVIMENTO',3,'DATMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMOVM1','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVM1','01',5,'ANNO MOVIMENTO',4,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMOVM1','01',6,'MESE MOVIMENTO',4,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVM1','01',7,'GIORNO MOVIMENTO',4,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVM1','01',8,'CODICE CENTRO DI LAVORO',3,'CENLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOVM1','01',9,'CODICE DIPENDENTE',3,'DIPEND',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOVM1','01',10,'CODICE MANSIONE',3,'MANSIO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOVM1','01',11,'DATA INSERIMENTO',2,'DATINS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMOVM1','01',12,'ORA INSERIMENTO',2,'ORAINS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMOVM1','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,71,71,0,0,'X(71)','',0,'',0,0,'' )
,('AMOVMA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVMA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVMA','01',3,'DATA MOVIMENTO',3,'DATMOV',0,2,2,2,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMOVMA','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVMA','01',5,'ANNO MOVIMENTO',4,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMOVMA','01',6,'MESE MOVIMENTO',4,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVMA','01',7,'GIORNO MOVIMENTO',4,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVMA','01',8,'CODICE CENTRO DI LAVORO',3,'CENLAV',0,1,4,4,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOVMA','01',9,'CODICE DIPENDENTE',3,'DIPEND',0,4,1,3,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOVMA','01',10,'CODICE MANSIONE',3,'MANSIO',0,3,3,1,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMOVMA','01',11,'ORE LAVORATE',2,'NUMORE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9(4)V99','',0,'',0,0,'' )
,('AMOVMA','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMOVMA','01',13,'INTERI ORE LAVORATE',3,'INTORE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMOVMA','01',14,'DECIMALI ORE LAVORATE',3,'DECORE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMOVMA','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMPAGL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMPAGL','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMPAGL','01',3,'CODICE PAGAMENTO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMPAGL','01',4,'CODICE LINGUA',3,'CODLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMPAGL','01',5,'DESCRIZIONE 1',2,'DES001',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMPAGL','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,161,161,0,0,'X(161)','',0,'',0,0,'' )
,('AMPM09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMPM09','01',2,'CODICE UVA',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMPM09','01',3,'PERCENTUALE MAGGIORAZIONE MECCANICA',2,'PERMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMPM09','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,57,57,0,0,'X(57)','',0,'',0,0,'' )
,('AMQAVV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQAVV','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQAVV','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMQAVV','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMQAVV','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMQAVV','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMQCFZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQCFZ','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQCFZ','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMQCFZ','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMQCFZ','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMQCFZ','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMQETB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQETB','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQETB','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMQETB','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMQETB','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMQETC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQETC','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQETC','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMQETC','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMQETC','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMQETI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQETI','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQETI','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMQETI','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMQETI','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMQETI','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('AMQFOR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQFOR','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQFOR','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMQFOR','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMQFOR','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMQFOR','01',6,'CAPACITA'' IN MILLILITRI',2,'CAPAML',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMQFOR','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('AMQMAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQMAR','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQMAR','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMQMAR','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMQMAR','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMQMAR','01',6,'CONFEZIONAMENTO C/TERZI S/N',2,'CTERZI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMQMAR','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMQPAL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQPAL','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQPAL','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMQPAL','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMQPAL','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMQPAL','01',6,'PESO LORDO PALLET GRAMMI',2,'PLPALL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMQPAL','01',7,'TIPO UDC PER WISE',2,'TIPUDC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMQPAL','01',8,'DIMENSIONI BASE (NNNNXNNNN)',2,'DIMENS',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('AMQPAL','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'X(2)','',0,'',0,0,'' )
,('AMQPAL','01',10,'TIPO PALLET DA TABELLA FISSA',2,'TIPPAL',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMQPAL','01',11,'TIPO UDC PER SYSTEM LOGISTICS (SOAVE)',2,'TIPOSL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AMQPAL','01',12,'CODICE ARTICOLO INTERFALDA (VETRI)',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMQPRD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQPRD','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQPRD','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMQPRD','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMQPRD','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMQPRD','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMQVAS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQVAS','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMQVAS','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMQVAS','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMQVAS','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMQVAS','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMRBPT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRBPT','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRBPT','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AMRBPT','01',4,'CHIAVE REGISTRO+DATA MOVIMENTO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRBPT','01',5,'DATA MOVIMENTO',3,'DATMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMRBPT','01',6,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRBPT','01',7,'ANNO',4,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRBPT','01',8,'MESE',4,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRBPT','01',9,'GIORNO',4,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRBPT','01',10,'CHIAVE DATA/NUMERO DOCUMENTO',2,'KEY003',0,2,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRBPT','01',11,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMRBPT','01',12,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRBPT','01',13,'ANNO',4,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRBPT','01',14,'MESE',4,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRBPT','01',15,'GIORNO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRBPT','01',16,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMRBPT','01',17,'CODICE CAUSALE DOCUMENTO',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMRBPT','01',18,'CODICE CLIENTE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMRBPT','01',19,'CODICE ARTICOLO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMRBPT','01',20,'ANNATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRBPT','01',21,'NUMERO COLLI',2,'NUMCOL',0,0,0,0,0,0,0,0,0,0,'',1,1,5,6,0,0,'S9(5)','',0,'',0,0,'' )
,('AMRBPT','01',22,'NUMERO PEZZI',2,'NUMPEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRBPT','01',23,'CONTENUTO',2,'CONTEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('AMRBPT','01',24,'VALORE UNITARIO',2,'VALUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,0,5,'9(7) COMP-3','99V9(5) COMP-3',0,'',0,0,'' )
,('AMRBPT','01',25,'VALORE TOTALE',2,'VALTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,11,0,2,'9(11) COMP-3','9(9)V99 COMP-3',0,'',0,0,'' )
,('AMRBPT','01',26,'RIGA STAMPA DEFINITIVA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('AMRBPT','01',27,'A=AUTOMATICO/M=MANUALE',2,'FLAGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMRBPT','01',28,'PROGRESSIVO STAMPA DEFINITIVA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRBPT','01',32,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('AMRCIV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRCIV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRCIV','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AMRCIV','01',4,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9999 COMP-3','',0,'',0,0,'' )
,('AMRCIV','01',5,'CHIAVE REGISTRO+DATA MOVIMENTO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRCIV','01',6,'CODICE REGISTRO CONTRASSEGNI IVA',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRCIV','01',7,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMRCIV','01',8,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRCIV','01',9,'ANNO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRCIV','01',10,'MESE',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRCIV','01',11,'GIORNO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRCIV','01',12,'CHIAVE DATA/NUMERO DOCUMENTO',2,'KEY003',0,2,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRCIV','01',13,'DATA DOCUMENTO',3,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMRCIV','01',14,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRCIV','01',15,'ANNO',4,'AA-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRCIV','01',16,'MESE',4,'MM-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRCIV','01',17,'GIORNO',4,'GG-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRCIV','01',18,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMRCIV','01',19,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMRCIV','01',20,'INTEGRAZIONE DESCRIZIONE MOVIMENTO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AMRCIV','01',21,'CODICE CONTRASSEGNO IVA',2,'CODTAP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMRCIV','01',22,'QUANTITA'' MOVIMENTO',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,6,12,0,0,'S9(11) COMP-3','',0,'',0,0,'' )
,('AMRCIV','01',23,'RIGA STAMPA DEFINITIVA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('AMRCIV','01',24,'A=AUTOMATICO/M=MANUALE',2,'FLAGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMRCIV','01',25,'PROGRESSIVO STAMPA DEFINITIVA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRCIV','01',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('AMRCO2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRCO2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRCO2','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AMRCO2','01',4,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9999 COMP-3','',0,'',0,0,'' )
,('AMRCO2','01',5,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRCO2','01',6,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRCO2','01',7,'CODICE MANIPOLAZIONI',3,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AMRCO2','01',8,'QUANTITA'' MOVIMENTO KG',2,'QTAMVK',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,3,0,'S9(10)V999 COMP-3','',0,'',0,0,'' )
,('AMRCO2','01',9,'QUANTITA'' MOVIMENTO LT',2,'QTAMVL',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,3,0,'S9(10)V999 COMP-3','',0,'',0,0,'' )
,('AMRCO2','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,54,54,0,0,'X(54)','',0,'',0,0,'' )
,('AMRCOM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRCOM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRCOM','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AMRCOM','01',4,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9999 COMP-3','',0,'',0,0,'' )
,('AMRCOM','01',5,'CHIAVE REGISTRO+DATA MOVIMENTO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRCOM','01',6,'CODICE REGISTRO COMMERCIALIZZAZIONE',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRCOM','01',7,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMRCOM','01',8,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRCOM','01',9,'ANNO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRCOM','01',10,'MESE',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRCOM','01',11,'GIORNO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMRCOM','01',12,'CHIAVE DATA/NUMERO DOCUMENTO',2,'KEY003',0,2,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRCOM','01',13,'DATA DOCUMENTO',3,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMRCOM','01',14,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRCOM','01',15,'ANNO',4,'AA-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRCOM','01',16,'MESE',4,'MM-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRCOM','01',17,'GIORNO',4,'GG-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRCOM','01',18,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMRCOM','01',19,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMRCOM','01',22,'INTEGRAZIONE DESCRIZIONE MOVIMENTO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AMRCOM','01',23,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRCOM','01',24,'ANNATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRCOM','01',25,'QUANTITA'' MOVIMENTO KG',2,'QTAMVK',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,3,0,'S9(10)V999 COMP-3','',0,'',0,0,'' )
,('AMRCOM','01',26,'QUANTITA'' MOVIMENTO LT',2,'QTAMVL',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,3,0,'S9(10)V999 COMP-3','',0,'',0,0,'' )
,('AMRCOM','01',27,'RIGA STAMPA DEFINITIVA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('AMRCOM','01',28,'A=AUTOMATICO/M=MANUALE',2,'FLAGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMRCOM','01',29,'PROGRESSIVO STAMPA DEFINITIVA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRCOM','01',33,'RIFERIMENTO BOLLA SPEDIZIONE',2,'RIFBOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRCOM','01',34,'NUMERO BOLLA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMRCOM','01',35,'RIGA BOLLA',3,'RIGBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRCOM','01',36,'COMPONENTE RIGA BOLLA',3,'COMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRCOM','01',37,'CODICE MANIPOLAZIONE',2,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AMRCOM','01',38,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('AMRDOL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRDOL','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRDOL','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMRDOL','01',4,'CHIAVE REGISTRO+DATA MOVIMENTO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRDOL','01',5,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRDOL','01',6,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMRDOL','01',7,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRDOL','01',8,'ANNO',4,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRDOL','01',9,'MESE',4,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRDOL','01',10,'GIORNO',4,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRDOL','01',11,'ORA MOVIMENTO',3,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMRDOL','01',12,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRDOL','01',13,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMRDOL','01',14,'PRODOTTO DA DOLCIFICARE',2,'PRDDOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRDOL','01',15,'ARTICOLO DA DOLCIFICARE',3,'ARTDOL',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMRDOL','01',16,'CODICE COMMERC. DA DOLCIFICARE',3,'COMDOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRDOL','01',17,'ANNATA DA DOLCIFICARE',3,'ANNDOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRDOL','01',18,'ANNATA COMMERCIALIZ. DA DOLCIFICARE',3,'ANCDOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRDOL','01',19,'LOTTO DA DOCIFICARE',3,'LOTDOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMRDOL','01',20,'MANIPOLAZIONI COMMERC. DA DOLCIFICARE',3,'MPCDOL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AMRDOL','01',21,'SPAZI PER USI FUTURI',3,'ZERDOL',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('AMRDOL','01',22,'VASCA PRODOTTO DA DOLCIFICARE',3,'VASDOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMRDOL','01',23,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRDOL','01',24,'STABILIMENTO DA DOLCIFICARE',4,'STADOL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMRDOL','01',25,'SETTORE DA DOLCIFICARE',4,'SETDOL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMRDOL','01',26,'NUMERO DA DOLCIFICARE',4,'NUMDOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRDOL','01',27,'LITRI DA DOLCIFICARE',3,'LITDOL',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AMRDOL','01',28,'ALCOLE EFFETTIVO DA DOLCIFICARE',3,'EFFDOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMRDOL','01',29,'ALCOLE POTENZIALE DA DOLCIFICARE',3,'POTDOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMRDOL','01',30,'PRODOTTO DOLCIFICANTE AGGIUNTO',2,'PRDAGG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRDOL','01',32,'PRODOTTO AGGIUNTO',3,'ARTAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMRDOL','01',33,'CODICE COMMERC. AGGIUNTO',3,'COMAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRDOL','01',34,'ANNATA AGGIUNTA',3,'ANNAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRDOL','01',35,'ANNATA COMMERC. AGGIUNTO',3,'ANCAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRDOL','01',36,'LOTTO AGGIUNTO',3,'LOTAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMRDOL','01',37,'MASSA VOLUMICA PRODOTTO AGGIUNTO',3,'MASAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,5,0,'99V9(5)','',0,'',0,0,'' )
,('AMRDOL','01',38,'MANIPOLAZIONI COMMERC. AGGIUNTO',3,'MPCAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AMRDOL','01',39,'SPAZI PER USI FUTURI',3,'ZERAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('AMRDOL','01',40,'VASCA PRODOTTO AGGIUNTO',3,'VASAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMRDOL','01',41,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRDOL','01',42,'STABILIMENTO AGGIUNTO',4,'STAAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMRDOL','01',43,'SETTORE AGGIUNTO',4,'SETAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMRDOL','01',44,'NUMERO AGGIUNTO',4,'NUMAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRDOL','01',45,'LITRI PRODOTTO AGGIUNTO',3,'LITAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AMRDOL','01',46,'ALCOLE EFFETTIVO PROD. AGGIUNTO',3,'EFFAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMRDOL','01',47,'ALCOLE POTENZIALE PROD. AGGIUNTO',3,'POTAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMRDOL','01',48,'PRODOTTO OTTENUTO',2,'PRDOTT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRDOL','01',50,'ARTICOLO OTTENUTO',3,'ARTOTT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMRDOL','01',51,'CODICE COMMERC. OTTENUTO',3,'COMOTT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRDOL','01',52,'ANNATA ARTICOLO OTTENUTO',3,'ANNOTT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRDOL','01',53,'ANNATA COMMERC. OTTENUTA',3,'ANCOTT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRDOL','01',54,'LOTTO OTTENUTO',3,'LOTOTT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMRDOL','01',55,'MANIPOLAZIONI COMMERC. OTTENUTO',3,'MPCOTT',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AMRDOL','01',56,'SPAZI PER USI FUTURI',3,'ZEROTT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('AMRDOL','01',57,'VASCA PRODOTTO OTTENUTO',3,'VASOTT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMRDOL','01',58,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRDOL','01',59,'STABILIMENTO OTTENUTO',4,'STAOTT',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMRDOL','01',60,'SETTORE OTTENUTO',4,'SETOTT',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMRDOL','01',61,'NUMERO OTTENUTO',4,'NUMOTT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRDOL','01',62,'LITRI PRODOTTO OTTENUTO',3,'LITOTT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AMRDOL','01',63,'LITRI PERDITA',3,'LITPER',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AMRDOL','01',64,'GRADO EFFETTIVO PRODOTTO OTTENUTO',3,'EFFOTT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMRDOL','01',65,'GRADO POTENZIALE PRODOTTO OTTENUTO',3,'POTOTT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMRDOL','01',67,'NUMERO MOVIMENTO MAGAZZINO GENERATO',2,'NUMMMG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMRDOL','01',68,'NUMERO MOVIMENTO COMMERC. GENERATO',2,'NUMMCO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMRDOL','01',69,'RIGA STAMPA DEFINITIVA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMRDOL','01',70,'PROGRESSIVO STAMPA DEFINITIVA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRDOL','01',71,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMRDOL','01',72,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AMRDOV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRDOV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRDOV','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMRDOV','01',4,'VASCA PRODOTTO DA DOLCIFICARE',2,'VASDOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('AMRDOV','01',5,'STABILIMENTO DA DOLCIFICARE',3,'STADOL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMRDOV','01',6,'SETTORE DA DOLCIFICARE',3,'SETDOL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMRDOV','01',7,'NUMERO DA DOLCIFICARE',3,'NUMDOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRDOV','01',8,'VASCA PRODOTTO OTTENUTO',2,'VASOTT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('AMRDOV','01',9,'STABILIMENTO OTTENUTO',3,'STAOTT',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMRDOV','01',10,'SETTORE OTTENUTO',3,'SETOTT',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMRDOV','01',11,'NUMERO OTTENUTO',3,'NUMOTT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRDOV','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AMRIMB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRIMB','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRIMB','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AMRIMB','01',4,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9999 COMP-3','',0,'',0,0,'' )
,('AMRIMB','01',5,'CHIAVE REGISTRO+DATA MOVIMENTO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRIMB','01',6,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRIMB','01',7,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMRIMB','01',8,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRIMB','01',9,'ANNO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRIMB','01',10,'MESE',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRIMB','01',11,'GIORNO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRIMB','01',12,'CHIAVE DATA/NUMERO DOCUMENTO',2,'KEY003',0,2,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRIMB','01',13,'DATA DOCUMENTO',3,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMRIMB','01',14,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRIMB','01',15,'ANNO',4,'AA-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRIMB','01',16,'MESE',4,'MM-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRIMB','01',17,'GIORNO',4,'GG-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRIMB','01',18,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMRIMB','01',19,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMRIMB','01',20,'INTEGRAZIONE DESCRIZIONE MOVIMENTO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AMRIMB','01',21,'CODICE ARTICOLO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMRIMB','01',22,'CLASSIFICAZIONE MERCEOLOGICA',2,'CLASSE',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMRIMB','01',23,'CODICE VASCA PROVENIENZA',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRIMB','01',24,'STABILIMENTO',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMRIMB','01',25,'SETTORE',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMRIMB','01',26,'NUMERO',3,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMRIMB','01',27,'CODICE RECIPIENTE',2,'CODREC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMRIMB','01',28,'NUMERO RECIPIENTI',2,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,0,0,'9(7) COMP-3','',0,'',0,0,'' )
,('AMRIMB','01',29,'QUANTITA'' IMBOTTIGLIATA',2,'QTAIMB',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,3,0,'S9(10)V999 COMP-3','',0,'',0,0,'' )
,('AMRIMB','01',30,'QUANTITA'' PERSA',2,'QTAPER',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,3,0,'S9(10)V999 COMP-3','',0,'',0,0,'' )
,('AMRIMB','01',31,'QUANTITA'' TOTALE (IMB+PERSA)',2,'QTATOT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,3,0,'S9(10)V999 COMP-3','',0,'',0,0,'' )
,('AMRIMB','01',32,'RIGA STAMPA DEFINITIVA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('AMRIMB','01',33,'A=AUTOMATICO/M=MANUALE',2,'FLAGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMRIMB','01',34,'PROGRESSIVO STAMPA DEFINITIVA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMRIMB','01',38,'DESCRIZIONE LOTTO IMBOTTIGLIATO',2,'DESLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AMRIMB','01',39,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMRL08','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRL08','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMRL08','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMRL08','01',4,'QUANTITA'' MASSIMA AMMESSA IN KG',2,'QTAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('AMRL08','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMT011','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT011','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT011','01',3,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMT011','01',4,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMT011','01',5,'RESA MASSIMA',2,'RESMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'9(3)V99 COMP-3','',0,'',0,0,'' )
,('AMT011','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMT012','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT012','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT012','01',3,'CODICE SOCIO',3,'CODSOC',0,0,2,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMT012','01',4,'CHIAVE SECONDARIA',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT012','01',5,'CODICE UVA',4,'CODUVA',0,0,1,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMT012','01',6,'CODICE ZONA',4,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMT012','01',7,'TIPO UVA',2,'TIPUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMT012','01',8,'COLORE B/R',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMT012','01',9,'SUPERFICE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,4,0,'9(2)V9(4) COMP-3','',0,'',0,0,'' )
,('AMT012','01',10,'QUANTITA'' MAX CARICABILE',2,'QTAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AMT012','01',11,'QUANTITA'' CERTIFICATA',2,'QTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AMT012','01',12,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AMT012','01',13,'QUANTITA'' RECIOTO',2,'QTAREC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AMT013','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT013','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT013','01',3,'NUMERO D''ORDINE',3,'ORDINE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMT013','01',4,'CODICE UVA',2,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMT013','01',5,'DATA MASSIMO CONFERIMENTO',2,'DTAMAX',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMT013','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMT01A','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT01A','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT01A','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMT01A','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMT01A','01',5,'CODICE LOCALITA''',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMT01A','01',6,'TIPO UVA',2,'TIPUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMT01A','01',7,'SUPERFICE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,4,0,'9(2)V9(4) COMP-3','',0,'',0,0,'' )
,('AMT01A','01',8,'QUANTITA'' CERTIFICATA',2,'QTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AMT01A','01',9,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AMT01A','01',10,'QUANTITA'' DECLASSATA',2,'QTADEC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AMT01A','01',11,'QUANTITA'' RECIOTO',2,'QTAREC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AMT01A','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AMT01A','01',13,'UVE DI DESTINAZIONE',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',3,'',0,0,'' )
,('AMT01A','01',14,'CODICE UVA',3,'UVADST',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMT01A','01',15,'SUPERFICE CALCOLATA',3,'SUPCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMT01A','01',16,'QUANTITA'' CALCOLATA TEORICA',3,'QTACAL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMT01A','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('AMT053','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT053','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT053','01',3,'INDICE TABELLA = ORDINE DI ELABORAZIONE',3,'INDICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AMT053','01',4,'CODICE UVA DA SALVARE',2,'UVASAL',0,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMT053','01',5,'UVE DI DESTINAZIONE',2,'UVADES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',5,'',0,0,'' )
,('AMT053','01',6,'UVA TAVOLA',2,'UVATAV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMT053','01',7,'RESA MASSIMA TAVOLA',2,'RESTAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMT053','01',8,'filler',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMT05T','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT05T','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT05T','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMT05T','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMT05T','01',5,'CODICE LOCALITA''',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMT05T','01',6,'TIPO UVA',2,'TIPUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMT05T','01',7,'SUPERFICE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,4,0,'9(2)V9(4) COMP-3','',0,'',0,0,'' )
,('AMT05T','01',8,'QUANTITA'' CERTIFICATA',2,'QTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AMT05T','01',9,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AMT05T','01',10,'QUANTITA'' DECLASSATA',2,'QTADEC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AMT05T','01',11,'QUANTITA'' RECIOTO',2,'QTAREC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AMT05T','01',12,'QUANTITA'' SPOSTATA TAVOLA -> DOC',2,'QTASPO',0,0,0,0,0,0,0,0,0,0,'',1,1,4,9,2,0,'S9(5)V99 COMP-3','',0,'',0,0,'' )
,('AMT05T','01',13,'CODICE UVA TAVOLA SPOSTATA',2,'CODSPO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMT05T','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AMT05T','01',15,'UVE DI DESTINAZIONE',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',3,'',0,0,'' )
,('AMT05T','01',16,'CODICE UVA',3,'UVADST',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMT05T','01',17,'SUPERFICE CALCOLATA',3,'SUPCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AMT05T','01',18,'QUANTITA'' CALCOLATA TEORICA',3,'QTACAL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMT05T','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('AMT091','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT091','01',2,'CODICE UVA',2,'CODUVA',1,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMT091','01',3,'UVA DI DECLASSAMENTO SUPERFICI',2,'UVADEC',0,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMT091','01',4,'RESA MASSIMA TAVOLA',2,'RESMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'9(3)V99 COMP-3','',0,'',0,0,'' )
,('AMT091','01',5,'AMMESSO DECLASSAMENTO A TAVOLA S/N',2,'FLGDEC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMT091','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('AMT09T','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT09T','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT09T','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMT09T','01',4,'CHIAVE PER UVA/ZONA',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT09T','01',5,'CODICE UVA',4,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMT09T','01',6,'CODICE ZONA',4,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AMT09T','01',7,'DATI ANAGRAFICI',2,'DATANA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT09T','01',8,'TIPO UVA',3,'TIPUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMT09T','01',9,'COLORE',3,'COLORE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMT09T','01',10,'CODICE UVA DOC',3,'UVADOC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMT09T','01',11,'CODICE UVA IGT',3,'UVAIGT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMT09T','01',12,'CODICE UVA TAVOLA',3,'UVATAV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMT09T','01',13,'RESA DOC CERTIFICATA',3,'RESDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('AMT09T','01',14,'RESA DOC TOLLERATA',3,'RESTOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('AMT09T','01',15,'RESA CERTIFICATA IGT',3,'RESIGT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('AMT09T','01',16,'RESA MASSIMA TAVOLA',3,'RESMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('AMT09T','01',17,'DATI CATASTALI/CONFERIMENTI',2,'DATCAT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT09T','01',18,'SUPERFICE VITATA',3,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,4,0,'9(3)V9(4) COMP-3','',0,'',0,0,'' )
,('AMT09T','01',19,'SUPERFICE CERTIFICATA',3,'SUPCER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,4,0,'9(3)V9(4) COMP-3','',0,'',0,0,'' )
,('AMT09T','01',20,'QUANTITA'' CERTIFICATA',3,'QTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMT09T','01',21,'QUANTITA'' CONFERITA',3,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMT09T','01',22,'QUANTITA'' CONFERITA RECIOTO',3,'QTAREC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMT09T','01',23,'QUANTITA'' DOC',3,'QTADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMT09T','01',24,'AMMESSO DECLASSAMENTO S/N',3,'FLGDEC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMT09T','01',25,'UVA AGGIUNTA',3,'UVAAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AMT09T','01',26,'SUPERFICE AGGIUNTA',3,'SUPAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,4,0,'9(3)V9(4) COMP-3','',0,'',0,0,'' )
,('AMT09T','01',27,'QUINTALI AGGIUNTI',3,'QTAAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMT09T','01',28,'DATI CALCOLATI',2,'DATCAL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMT09T','01',29,'SUPERFICE DOC CALCOLATA',3,'SPCDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,4,0,'9(3)V9(4) COMP-3','',0,'',0,0,'' )
,('AMT09T','01',30,'SUPERFICE IGT SUPERO DOC CALCOLATA',3,'SPCSDO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,4,0,'9(3)V9(4) COMP-3','',0,'',0,0,'' )
,('AMT09T','01',31,'SUPERFICE IGT CALCOLATA',3,'SPCIGT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,4,0,'9(3)V9(4) COMP-3','',0,'',0,0,'' )
,('AMT09T','01',32,'SUPERFICE TAVOLA CALCOLATA',3,'SPCTAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,4,0,'9(3)V9(4) COMP-3','',0,'',0,0,'' )
,('AMT09T','01',33,'QUINTALI DOC CALCOLATI',3,'QLCDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMT09T','01',34,'QUINTALI IGT SUPERO DOC CALCOLATI',3,'QLCSDO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMT09T','01',35,'QUINTALI IGT CALCOLATI',3,'QLCIGT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMT09T','01',36,'QUINTALI TAVOLA CALCOLATI',3,'QLCTAV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMT09T','01',37,'QUINTALI OLTRE (POLMONE) CALCOLATI',3,'QLCOLT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMT09T','01',38,'QUINTALI BUTTATI VIA PER LIMITE MIN TAV',3,'QLCVIA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AMT09T','01',39,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('AMVCRV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVCRV','01',2,'CODICE RAGRUPPAMENTO',2,'CODRAG',1,2,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMVCRV','01',3,'DATA LIMITE VALIDITA''',2,'DATLIM',2,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMVCRV','01',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVCRV','01',5,'ANNO LIMITE VALIDITA''',3,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMVCRV','01',6,'MESE LIMITE VALIDITA''',3,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMVCRV','01',7,'GIORNO LIMITE VALIDITA''',3,'GGGLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMVCRV','01',8,'COEFFICENTE',2,'COEFFI',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AMVCRZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVCRZ','01',2,'CODICE RAGRUPPAMENTO',2,'CODRAG',1,2,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AMVCRZ','01',3,'DATA LIMITE VALIDITA''',2,'DATLIM',2,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMVCRZ','01',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVCRZ','01',5,'ANNO LIMITE VALIDITA''',3,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMVCRZ','01',6,'MESE LIMITE VALIDITA''',3,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMVCRZ','01',7,'GIORNO LIMITE VALIDITA''',3,'GGGLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMVCRZ','01',8,'COEFFICENTE',2,'COEFFI',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AMVRRV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVRRV','01',2,'CODICE RAGRUPPAMENTO',2,'CODRAG',1,2,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AMVRRV','01',3,'DATA LIMITE VALIDITA''',2,'DATLIM',2,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMVRRV','01',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVRRV','01',5,'ANNO LIMITE VALIDITA''',3,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMVRRV','01',6,'MESE LIMITE VALIDITA''',3,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMVRRV','01',7,'GIORNO LIMITE VALIDITA''',3,'GGGLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMVRRV','01',8,'GRADO',2,'GRAMAS',3,3,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMVRRV','01',9,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('AMVRRV','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMVUO1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVUO1','01',2,'CHIAVE REGISTRO+DATA+NUMERO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVUO1','01',3,'TIPO SOGGETTO',3,'FLGCFS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMVUO1','01',8,'CODICE SOCGGETTO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMVUO1','01',9,'CODICE VUOTO',3,'CODVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMVUO1','01',10,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMVUO1','01',11,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVUO1','01',12,'ANNO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMVUO1','01',13,'MESE',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMVUO1','01',14,'GIORNO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMVUO1','01',15,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVUO1','01',16,'NUMERO MOVIMENTO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMVUO1','01',17,'NUMERO RIGA',4,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMVUO1','01',18,'A=AUTOMATICO/M=MANUALE',2,'FLAGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMVUO1','01',19,'TIPO DOCUMENTO',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AMVUO1','01',23,'NUMERO INTERNO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AMVUO1','01',24,'QUANTITA'' CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,0,0,'9(7) COMP-3','',0,'',0,0,'' )
,('AMVUO1','01',25,'QUANTITA'' RESA',2,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,0,0,'9(7) COMP-3','',0,'',0,0,'' )
,('AMVUO1','01',26,'CAUZIONE UNITARIA',2,'CAUUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('AMVUO1','01',27,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMVUO2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVUO2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVUO2','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMVUO2','01',4,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AMVUO2','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMVUO2','01',6,'ANNOTAZIONE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMVURV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVURV','01',2,'DATA LIMITE VALIDITA''',2,'DATLIM',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AMVURV','01',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVURV','01',4,'ANNO LIMITE VALIDITA''',3,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AMVURV','01',5,'MESE LIMITE VALIDITA''',3,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMVURV','01',6,'GIORNO LIMITE VALIDITA''',3,'GGGLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMVURV','01',7,'GRADO',2,'GRAMAS',2,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AMVURV','01',8,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('AMVURV','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AMVV01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVV01','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVV01','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AMVV01','01',4,'CODICE UNIVOCO PEC PER SPIDIZIONI ITALIA',2,'CODPEC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMVV01','01',5,'NOME CARTELLA ARCHIVIAZIONE MAIL ESITO',2,'CARMAI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AMVV01','01',6,'SERVER SMTP CDM',2,'S3SMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV01','01',7,'USER SMTP CDM',2,'U3SMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV01','01',8,'PASSWORD SMTP CDM',2,'P3SMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV01','01',9,'INDIRIZZO PARTENZA MAIL CDM',2,'D3MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV01','01',10,'INDIRIZZO CNN CONVALIDA CDM',2,'C3MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV01','01',11,'INDIRIZZO RICEVUTA CONVALIDA CDM',2,'R3MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV01','01',12,'SERVER SMTP X INVIO A ICQRF',2,'SCSMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV01','01',13,'USER SMTP X INVIO A ICQRF',2,'UCSMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV01','01',14,'PASSWORD SMTP X INVIO A ICQRF',2,'PCSMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV01','01',15,'CODICE UNIVOCO PEC PER PAESI EXTRA U.E.',2,'CODPEU',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMVV01','01',16,'CODICE UNIVOCO PEC PER PAESI U.E.',2,'CODPUE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMVV02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVV02','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVV02','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMVV02','01',4,'NOME UFFICIO',2,'NOMUFF',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV02','01',5,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AMVV02','01',6,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AMVV02','01',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AMVV02','01',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AMVV02','01',9,'INDIRIZZO PEC',2,'INDPEC',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV03','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVV03','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVV03','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AMVV03','01',4,'CODICE ICQRF MAGAZZINO',2,'ICQMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AMVV03','01',5,'CODICE UFFICIO ICQRF COMPETENTE',2,'CODUFF',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMVV03','01',6,'INDIRIZZO PEC',2,'INDMAI',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',5,'',0,0,'' )
,('AMVV03','01',8,'SERVER SMTP CONVALIDA',2,'S1SMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV03','01',9,'USER SMTP CONVALIDA',2,'U1SMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV03','01',10,'PASSWORD SMTP CONVALIDA',2,'P1SMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV03','01',11,'INDIRIZZO PARTENZA CONVALIDA',2,'D1MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV03','01',12,'INDIRIZZO CCN CONVALIDA',2,'C1MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV03','01',13,'INDIRIZZO RICEVUTA CONVALIDA',2,'R1MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV03','01',15,'SERVER SMTP INVIO CONSORZI',2,'S2SMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV03','01',16,'USER SMTP INVIO CONSORZI',2,'U2SMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV03','01',17,'PASSWORD SMTP INVIO CONSORZI',2,'P2SMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV03','01',18,'INDIRIZZO PARTENZA CONSORZI',2,'D2MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV03','01',19,'INDIRIZZO CCN CONSORZI',2,'C2MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV03','01',20,'INDIRIZZO RICEVUTA CONSORZI',2,'R2MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV04','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVV04','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVV04','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMVV04','01',4,'NOME UFFICIO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV04','01',5,'INDIRIZZO MAIL',2,'INDMAI',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AMVV05','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVV05','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVV05','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AMVV05','01',4,'NUMERO PORZIONE',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMVV05','01',5,'RIGA DI TESTO',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,128,128,0,0,'X(128)','',0,'',0,0,'' )
,('AMVV06','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVV06','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVV06','01',3,'CODICE ORGANISMO DI CONTROLLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMVV06','01',4,'NUMERO PORZIONE',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMVV06','01',5,'RIGA DI TESTO',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,128,128,0,0,'X(128)','',0,'',0,0,'' )
,('AMVV07','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVV07','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AMVV07','01',3,'CODICE UNIVOCO PEC',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AMVV07','01',4,'NUMERO PORZIONE',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AMVV07','01',5,'RIGA DI TESTO',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,128,128,0,0,'X(128)','',0,'',0,0,'' )
,('ANAUVP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANAUVP','01',2,'ZERI',2,'ZEROES',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANAUVP','01',3,'ULTIMO NUMERO ANALISI',2,'ULTNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANAUVP','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('ANAUVR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANAUVR','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANAUVR','01',3,'NUMERO ANALISI',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANAUVR','01',4,'CODICE VOCE ANALISI',3,'CODVOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ANAUVR','01',5,'VALORE',2,'VALORE',0,0,0,0,0,0,0,0,0,0,'',1,1,9,18,6,0,'S9(10)V9(6) COMP-3','',0,'',0,0,'' )
,('ANAUVR','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('ANAUVS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANAUVS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANAUVS','01',3,'NUMERO ANALISI',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANAUVS','01',4,'CODICE VOCE ANALISI',3,'CODVOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ANAUVS','01',5,'STRINGA',2,'STRING',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ANAUVS','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('ANAUVT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANAUVT','01',2,'CHIAVE SECONDA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ANAUVT','01',3,'CODICE SOCIO',3,'CODSOC',0,0,1,1,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANAUVT','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANAUVT','01',5,'NUMERO ANALISI',4,'NUMANA',0,0,4,3,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANAUVT','01',6,'RIFERIMENTI CATASTO',2,'RIFCAT',0,0,0,2,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANAUVT','01',7,'CODICE UVA',3,'CODUVA',0,0,2,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ANAUVT','01',8,'CODICE LOCALITA''',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ANAUVT','01',9,'CODICE COMUNE',3,'CODCOM',0,0,3,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANAUVT','01',10,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ANAUVT','01',11,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ANAUVT','01',12,'SUB-PARTICELLA',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ANAUVT','01',13,'ANNO IMPIANTO',3,'ANNOIM',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ANAUVT','01',14,'DATA ANALISI',2,'DTAANA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANAUVT','01',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANAUVT','01',16,'ANNO',3,'AAAANA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ANAUVT','01',17,'MESE',3,'MMMANA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANAUVT','01',18,'GIORNO',3,'GGGANA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANAUVT','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,91,91,0,0,'X(91)','',0,'',0,0,'' )
,('ANAUVV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANAUVV','01',2,'CODICE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ANAUVV','01',3,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ANAUVV','01',4,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ANAUVV','01',5,'DESCRIZIONE ABBREVIATA PER STAMPE',2,'DESSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANAUVV','01',6,'SIGLA UNITA'' DI MISURA',2,'UDIMIS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANAUVV','01',7,'NUMERO INTERI',2,'MAXINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANAUVV','01',8,'NUMERO DECIMALI',2,'MAXDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ANAUVV','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('ANOA12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOA12','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOA12','01',3,'ANNO DICHIARAZIONE',3,'ANNODI',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANOA12','01',4,'TIPO CODICE',3,'TIPCOD',0,3,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANOA12','01',10,'CODICE CLIENTE/FORNITORE/SOCIO/PROD',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANOA12','01',11,'PARTITA IVA/C.FISC',3,'PARIVA',0,2,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ANOA12','01',12,'CHIAVE DOCUMENTO',3,'KEYDOC',0,5,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOA12','01',13,'TIPO DOCUMENTO 1=FATT 2=NOTA ACC',4,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANOA12','01',14,'DATA REGISTRAZIONE',4,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANOA12','01',15,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOA12','01',16,'ANNO REGISTRAZIONE',5,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANOA12','01',17,'MESE REGISTRAZIONE',5,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANOA12','01',18,'GIORNO REGISTRAZIONE',5,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANOA12','01',19,'NUMERO DOCUMENTO',4,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ANOA12','01',20,'DATA DOCUMENTO',4,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANOA12','01',21,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOA12','01',22,'ANNO DOCUMENTO',5,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANOA12','01',23,'MESE DOCUMENTO',5,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANOA12','01',24,'GIORNO DOCUMENTO',5,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANOA12','01',25,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOA12','01',26,'IMPONIBILE',3,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ANOA12','01',27,'IMPOSTA',3,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ANOA12','01',28,'S = INSERITO DA MANUTENZIONE',3,'FLGNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANOA12','01',30,'REVERSE CHARGE',3,'REVCHA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANOA12','01',31,'AUTOFATTURA',3,'AUTOFA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANOA12','01',32,'DOCUMENTO RIEPILOGATIVO',3,'DOCRIE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANOA12','01',33,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('ANOA17','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOA17','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOA17','01',3,'ANNO DICHIARAZIONE',3,'ANNODI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANOA17','01',4,'TRIMESTRE',3,'NUMTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ANOA17','01',5,'TIPO CODICE CFS',3,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANOA17','01',6,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANOA17','01',7,'NUMERO REGISTRAZIONE',3,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANOA17','01',8,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ANOAES','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOAES','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOAES','01',3,'ANNO DICHIARAZIONE',3,'ANNODI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANOAES','01',4,'MESE',3,'NUMMES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANOAES','01',5,'TIPO CODICE CFS',3,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANOAES','01',6,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANOAES','01',7,'NUMERO REGISTRAZIONE',3,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANOAES','01',8,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ANOART','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOART','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOART','01',3,'CODICE ARTICOLO',3,'CODART',0,2,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ANOART','01',4,'NR.ATT.ARTICOLO (ALTERNATIVO AL CODICE)',3,'NUMATT',0,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANOART','01',5,'COD.ATTRIBUTO ARTICOLO',3,'CODATT',0,4,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ANOART','01',6,'TIPO NOTA DA ENTRY POINT PGM IMMISSIONE',3,'TIPNOT',0,1,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ANOART','01',7,'NUMERO PORZIONE',3,'NUMRGA',0,5,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANOART','01',8,'RIGA DI TESTO',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,128,128,0,0,'X(128)','',0,'',0,0,'' )
,('ANOCOR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOCOR','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOCOR','01',3,'NUMERO CONFERIMENTO',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ANOCOR','01',4,'ANNNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',2,'',0,0,'' )
,('ANOMP2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOMP2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOMP2','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANOMP2','01',4,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ANOMP2','01',5,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ANOMP2','01',6,'INDIRIZZO E-MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ANOMP2','01',7,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ANOMP2','01',8,'SESSO (F/M)',2,'FSESSO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANOMP2','01',9,'DATA DI NASCITA',2,'DTANAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANOMP2','01',10,'CODICE SOCIO PER NOMINATIVI COLLIS',2,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANOMP2','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,84,84,0,0,'X(84)','',0,'',0,0,'' )
,('ANOMPM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOMPM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOMPM','01',3,'CODICE',3,'CODICE',1,2,3,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANOMPM','01',4,'CODICE MAGAZZINO',2,'CODMAG',0,1,1,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANOMPM','01',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,2,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ANOMPM','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('ANOMPV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOMPV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ANOMPV','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANOMPV','01',4,'RAGIONE SOCIALE',2,'RAGSOC',0,1,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ANOMPV','01',5,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ANOMPV','01',6,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ANOMPV','01',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ANOMPV','01',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ANOMPV','01',9,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANOMPV','01',10,'NUMERO DI TARGA AUTOMEZZO',2,'NUMTAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ANOMPV','01',11,'LUOGO ARRIVO BOLLA',2,'ARRBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ANOMPV','01',12,'DATA PRIMO ACQUISTO',2,'PRIACQ',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANOMPV','01',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOMPV','01',14,'ANNO PRIMO ACQUISTO',3,'AAAPRI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANOMPV','01',15,'MESE PRIMO ACQUISTO',3,'MMMPRI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANOMPV','01',16,'GIORNO PRIMO ACQUISTO',3,'GGGPRI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANOMPV','01',17,'DATA ULTIMO ACQUISTO',2,'ULTACQ',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANOMPV','01',18,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOMPV','01',19,'ANNO ULTIMO ACQUISTO',3,'AAAULT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANOMPV','01',20,'MESE ULTIMO ACQUISTO',3,'MMMULT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANOMPV','01',21,'GIORNO ULTIMO ACQUISTO',3,'GGGULT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANOMPV','01',22,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ANOMPV','01',23,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ANOMPV','01',24,'TIPO NOMINATIVO CONVENZIONATO',2,'TIPNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('ANOMPV','01',25,'CODICE LOTTERIA SCONTRINI',2,'CHECUL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANOMRT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOMRT','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOMRT','01',3,'RAGIONE SOCIALE',3,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ANOMRT','01',4,'NUMERO DI TELEFONO ITALIA 1',2,'TELIT1',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ANOMRT','01',5,'NUMERO DI TELEFONO ITALIA 2',2,'TELIT2',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ANOMRT','01',6,'NUMERO DI TELEFONO CELLULARE',2,'TELCEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ANOMRT','01',7,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ANOMRT','01',8,'NUMERO DI TELEFONO ESTERO',2,'TELEST',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ANOMRT','01',9,'INDIRIZZO INTERNET',2,'INDINT',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ANOMRT','01',10,'INDIRIZZO E-MAIL',2,'INDEMA',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ANOMRT','01',11,'PERSONA DA CONTATTARE',2,'NOMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ANOMRT','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,205,205,0,0,'X(205)','',0,'',0,0,'' )
,('ANOTAG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOTAG','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOTAG','01',3,'CODICE AGENTE',3,'CODAGE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ANOTAG','01',4,'NUMERO RIGA NOTA',3,'NUMRIG',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ANOTAG','01',5,'RIGA NOTA',2,'DESRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,120,120,0,0,'X(120)','',0,'',0,0,'' )
,('ANOTAG','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('ANOTOC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOTOC','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOTOC','01',3,'CODICE CLIENTE',3,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANOTOC','01',4,'NUMERO RIGA NOTA',3,'NUMRIG',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ANOTOC','01',5,'RIGA NOTA',2,'DESRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ANOTOC','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('ANOTSC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOTSC','01',2,'CODICE SCADENZA',2,'CODSCA',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOTSC','01',3,'NUMERO INTERNO  SCADENZA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANOTSC','01',4,'PROGRESSIVO SCADENZA',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ANOTSC','01',7,'NUMERO RIGA NOTA',3,'NUMNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANOTSC','01',8,'RIGA NOTE',2,'RIGNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('ANOTSC','01',9,'NUMERO NOTA TABELLARE',2,'CODNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ANOTSC','01',10,'DATA NOTA',2,'DATNOT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANOTSC','01',11,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOTSC','01',12,'ANNO NOTE',3,'AAANOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANOTSC','01',13,'MESE NOTE',3,'MMMNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANOTSC','01',14,'GIORNO NOTE',3,'GGGNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANOTSC','01',15,'RIFERIMENTO NOTA GIACENZA BOLLE CHE HA',2,'RIFGIA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANOTSC','01',17,'NUMERO INTERNO BOLLA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('ANOTSC','01',18,'PROGRESSIVO RIGA GIACENZA',3,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ANOTSC','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ANPCAA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANPCAA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANPCAA','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANPCAA','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANPCAA','01',5,'PROGRESSIVO NOTA',3,'PRONOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANPCAA','01',6,'RIGA NOTA',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ANPCAA','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,102,102,0,0,'X(102)','',0,'',0,0,'' )
,('ANRDFE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANRDFE','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANRDFE','01',3,'CODICE DIFFUSORE',3,'CODDIF',0,4,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ANRDFE','01',4,'CODICE COMUNE ISTAT',3,'CODCOM',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANRDFE','01',5,'SEZIONE CENSUARIA',3,'SEZION',0,2,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANRDFE','01',6,'CODICE LOCALITA'' (0=TUTTE)',3,'CODLOC',0,3,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ANRDFE','01',7,'NUMERO DIFFUSORI PER ETTARO',2,'NUMDFE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANRDFE','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,129,129,0,0,'X(129)','',0,'',0,0,'' )
,('ANSF52','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANSF52','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANSF52','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANSF52','01',4,'MOTIVO NO SFORO',2,'MOTIVO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ANSF52','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('ANUBOL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANUBOL','01',2,'CODICE UVA',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ANUBOL','01',3,'ANNOTAZIONI PER BOLLETTA',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ANUBOL','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ANUMDV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANUMDV','01',2,'NUMERO DICHIARAZIONE',2,'NUMDIC',1,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('ANUMDV','01',3,'NUMERO ASSEGNATO = A',2,'NUMASS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANUMDV','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ANUOI2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANUOI2','01',2,'CODICE UVA',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ANUOI2','01',3,'TIPO',2,'FLGTIP',2,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANUOI2','01',6,'FINO AD ANNI',2,'ANNLIM',3,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ANUOI2','01',7,'FINO A VITI',2,'VITLIM',4,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANUOI2','01',8,'PERCENTUALE PRODUZIONE',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ANUOI2','01',9,'PERCENTUALE TOLLERANZA DOC',2,'PERTOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ANUOI2','01',10,'SCELTA VENDEMMIALE IGT ( /S)',2,'SCVIGT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANUOI2','01',12,'RESA STOCCAGGIO (SE NON IN PROPORZIONE)',2,'RESSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
go
