INSERT INTO dbo.ZFILE3_01 VALUES
('ATESAD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATESAD','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,'' )
,('ATESAD','01',3,'CODICE ATTESDTATO DENOMINAZIONE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATESAD','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,'' )
,('ATESAD','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,'' )
,('ATESAD','01',6,'filler',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('ATESCO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATESCO','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,'' )
,('ATESCO','01',3,'CODICE TIPO TESTO (PER ORA NON USATO)',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATESCO','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,'' )
,('ATESCO','01',5,'RIGA CORPO',2,'RIGCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',4,'',0,0,'' )
,('ATESCO','01',6,'RIGA FINE PAGINA',2,'RIGFPG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',3,'',0,0,'' )
,('ATESCO','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,160,160,0,0,'X(160)','',0,'',0,0,'' )
,('ATESOC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATESOC','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,'' )
,('ATESOC','01',3,'CODICE TABELLA (SU ZTESOC)',3,'CODTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATESOC','01',4,'CHIAVE SOCIO',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATESOC','01',5,'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,'' )
,('ATEUVE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATEUVE','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,'' )
,('ATEUVE','01',3,'CODICE TABELLA (SU ZTESOC)',3,'CODTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATEUVE','01',4,'CHIAVE SOCIO',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATEUVE','01',5,'CODICE UVE',4,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATFICS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATFICS','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,'' )
,('ATFICS','01',3,'VALORE NUOVA QUOTA',2,'NEWQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATFICS','01',4,'NUMERO NUOVE QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATFICS','01',5,'SALDO CONTO F. IMPIANTI',2,'SALSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATFICS','01',6,'IMPORTO CAPITALE DA F. IMPIANTI',2,'IMPCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATFICS','01',7,'IMPORTO ECCEDENZA',2,'IMPECC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATFICS','01',8,'CODICE CAUSALE REG. CAPITALE',2,'CAUCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATFICS','01',9,'DATA REGISTRAZIONE CAPITALE',2,'DATCAP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATFICS','01',10,'GRUPPO DARE REG. CAPITALE',2,'GRUDCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATFICS','01',11,'CONTO DARE REG. CAPITALE',2,'CONDCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATFICS','01',12,'GRUPPO AVERE REG. CAPITALE',2,'GRUACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATFICS','01',13,'CONTO AVERE REG. CAPITALE',2,'CONACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATFICS','01',14,'CODICE 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,'' )
,('ATFICS','01',15,'ANNO PARTITA CONTO FINANZIAMENTO',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATFICS','01',16,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATFICS','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,'' )
,('ATFICS','01',18,'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,'' )
,('ATFICS','01',19,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATFICS','01',20,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATFICS','01',21,'GRUPPO DARE',2,'GRUDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATFICS','01',22,'CONTO DARE',2,'CONDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATFICS','01',23,'GRUPPO AVERE',2,'GRUAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATFICS','01',24,'CONTO AVERE',2,'CONAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATFICS','01',25,'SOTTOCONTO AVERE',2,'SOTAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATFICS','01',26,'CONTABILIZZAZIONE /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATFICS','01',27,'CAUSALE STORNO LIBRO SOCI',2,'CAUSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATFICS','01',28,'DATA STORNO LIBRO SOCI',2,'DATSTO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATFICS','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,'' )
,('ATFICS','01',30,'ANNO LIBRO SOCI',3,'AAASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATFICS','01',31,'MESE LIBRO SOCI',3,'MMMSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATFICS','01',32,'GIORNO LIBRO SOCI',3,'GGGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATFICS','01',33,'ANNOTAZIONE STORNO LIBRO SOCI',2,'ANNSTO',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ATFICS','01',34,'CAUSALE SCRITTURA LIBRO SOCI',2,'CAUSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATFICS','01',35,'DATA SCRITTURA LIBRO SOCI',2,'DATSCR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATFICS','01',36,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATFICS','01',37,'ANNO',3,'AAASCR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATFICS','01',38,'MESE',3,'MMMSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATFICS','01',39,'GIORNO',3,'GGGSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATFICS','01',40,'ANNOTAZIONE SCRITTURA LIBRO SOCI',2,'ANNSCR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ATGMCR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATGMCR','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,'' )
,('ATGMCR','01',3,'MASSA VOLUMICA',3,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('ATGMCR','01',4,'GRADO RIFRATTOMETRICO',2,'GRARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATGMCR','01',5,'ALCOLE POTENZIALE',2,'ALCOLE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATGMCR','01',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,'' )
,('ATGRMC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATGRMC','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,'' )
,('ATGRMC','01',3,'MASSA VOLUMICA',3,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('ATGRMC','01',4,'GRADO RIFRATTOMETRICO',2,'GRARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATGRMC','01',5,'ALCOLE POTENZIALE',2,'ALCOLE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATGRMC','01',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,'' )
,('ATGUOR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATGUOR','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,'' )
,('ATGUOR','01',3,'UVA DI DESTINAZIONE',3,'UVADES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATGUOR','01',4,'GRADO MINIMO',2,'GRDMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATGUOR','01',5,'GRADO MASSIMO',2,'GRDMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATGUOR','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,'' )
,('ATINVC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATINVC','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,'' )
,('ATINVC','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,'' )
,('ATINVC','01',4,'CODICE CLIENTE',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATINVC','01',5,'ANNO+MESE',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATINVC','01',6,'ANNO',4,'AA-INV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATINVC','01',7,'MESE',4,'MM-INV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATINVC','01',8,'IMPORTO PREMI COMPLESSIVO',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,'' )
,('ATINVC','01',9,'IMPORTO PREMI FATTURATI DAL CLIENTE',2,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('ATINVC','01',10,'IMPORTO PREMI NOTE ACCREDITO',2,'IMPNOT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('ATINVE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATINVE','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,'' )
,('ATINVE','01',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATINVE','01',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATINVE','01',5,'NUMERO COMPONENTE',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATINVE','01',6,'CHIAVE INVESTIMENTO',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATINVE','01',7,'CODICE CLIENTE',4,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATINVE','01',8,'CODICE CLIENTE',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATINVE','01',9,'IMPORTO PREMI COMPLESSIVO',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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATINVE','01',10,'IMPORTO PREMI FATTURATI DAL CLIENTE',2,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('ATINVE','01',11,'IMPORTO PREMI NOTE ACCREDITO',2,'IMPNOT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('ATINVE','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ATIP01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATIP01','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,'' )
,('ATIP01','01',3,'CODICE TIPO PREZZO',3,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATIP01','01',4,'DESCRIZIONE',2,'DESTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATIP01','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATIPAF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATIPAF','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATIPAF','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATIPAF','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,'' )
,('ATIPAF','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,'' )
,('ATIPAF','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('ATIPCA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATIPCA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATIPCA','01',3,'CODICE TIPO CARICO',3,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATIPCA','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,'' )
,('ATIPCA','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,'' )
,('ATIPCA','01',6,'CONFERIMENTO UVE',2,'CONFER',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATIPCA','01',7,'DETERMINAZIONE ROD',2,'DETROD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATIPCA','01',8,'DETERMINAZIONE VINACCE (SC. IMMEDIATO)',2,'VINIMM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATIPCA','01',9,'DETERMINAZIONE VINACCE (DA SCARICARE)',2,'VINDIF',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATIPCA','01',10,'DETERMINAZIONE MOSTI',2,'DETMOS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATIPCA','01',11,'TRASFORMAZIONE MOSTO IN VNF',2,'MOSVNF',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATIPCA','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,93,93,0,0,'X(93)','',0,'',0,0,'' )
,('ATIPDF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATIPDF','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,'' )
,('ATIPDF','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ATIPDF','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,'' )
,('ATIPDF','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATIPDF','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,157,157,0,0,'X(157)','',0,'',0,0,'' )
,('ATIPPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATIPPA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATIPPA','01',3,'CODICE COMUNE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATIPPA','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,'' )
,('ATIPPA','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,'' )
,('ATIPPA','01',6,'TIPO PAGAMENTO (DA AV2000.HLP)',2,'TIPPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATIPPA','01',13,'SCONTO PERCENTUALE PER ADDEBITO SOCI',2,'SCOADD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATIPPA','01',14,'IMPORTO MASSIMO ACCETTABILE',2,'MAXIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('ATIPPA','01',15,'DESCRIZIONE TIPO PAGAMENTO WEB COLLEGATO',2,'PAGWEB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATIPPA','01',16,'CODICE PAGAMENTO REGISTRATORE DI CASSA',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATIPPA','01',17,'CODICE CONVENZIONE REGISTRATORE DI CASSA',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATIPPA','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,54,54,0,0,'X(54)','',0,'',0,0,'' )
,('ATIPS2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATIPS2','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,'' )
,('ATIPS2','01',3,'TIPO SOLLECITO',3,'TIPSOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATIPS2','01',6,'CODICE TIPO SOLLECITO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATIPS2','01',7,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATIPS2','01',8,'RIGA CORPO',2,'RIGCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',12,'',0,0,'' )
,('ATIPS2','01',9,'RIGA FINE PAGINA',2,'RIGFPG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',5,'',0,0,'' )
,('ATIPS2','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,119,119,0,0,'X(119)','',0,'',0,0,'' )
,('ATIPSO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATIPSO','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,'' )
,('ATIPSO','01',3,'TIPO SOLLECITO',3,'TIPSOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATIPSO','01',6,'CODICE TIPO SOLLECITO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATIPSO','01',7,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATIPSO','01',8,'RIGA TESTO',2,'RIGTES',0,0,0,0,0,0,0,0,0,0,'',4,0,115,115,0,0,'X(115)','',12,'',0,0,'' )
,('ATIPSO','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('ATITPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATITPA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATITPA','01',3,'CODICE CLIENTE',3,'CODCLI',0,0,2,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATITPA','01',4,'CODICE PARTITA',3,'CODPAR',0,0,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATITPA','01',5,'ANNO PARTITA',4,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATITPA','01',6,'NUMERO PARTITA',4,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATITPA','01',7,'DATA SCADENZA',3,'DATSCA',0,0,4,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATITPA','01',8,'REDEFINES',3,'AMGSCA',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATITPA','01',9,'ANNO SCADENZA',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATITPA','01',10,'MESE SCADENZA',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATITPA','01',11,'GIORNO SCADENZA',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATITPA','01',12,'NUMERO ASSEGNO',3,'NUMASS',0,2,1,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('ATITPA','01',13,'CHIAVE N. 2',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATITPA','01',14,'NUMERO SCADENZA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATITPA','01',15,'NUMERO RIGA',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATITPA','01',16,'DATA ASSEGNO',2,'DATASS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATITPA','01',17,'REDEFINES',2,'AMGASS',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATITPA','01',18,'ANNO ASSEGNO',3,'AAAASS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATITPA','01',19,'MESE ASSEGNO',3,'MMMASS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATITPA','01',20,'GIORNO ASSEGNO',3,'GGGASS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATITPA','01',21,'DATA REGISTRAZIONE ASSEGNO',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATITPA','01',22,'REDEFINES',2,'AMFREG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATITPA','01',23,'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,'' )
,('ATITPA','01',24,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATITPA','01',25,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATITPA','01',26,'IMPORTO ASSEGNO',2,'IMPASS',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ATITPA','01',27,'IMPORTO RELATIVO ALLA SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ATITPA','01',28,'TITOLO PAGATO /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATLAGE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATLAGE','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,'' )
,('ATLAGE','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,'' )
,('ATLAGE','01',4,'PERIODO LIQUIDAZIONE M/T',2,'PERLIQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATLAGE','01',5,'TIPO PAGAMENTO M/I',2,'TIPPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATLAGE','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ATLCAP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATLCAP','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,'' )
,('ATLCAP','01',3,'CODICE CAPO AREA',3,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATLCAP','01',4,'PERIODO LIQUIDAZIONE M/T',2,'PERLIQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATLCAP','01',5,'TIPO PAGAMENTO M/I',2,'TIPPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATLI38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATLI38','01',2,'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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATLI38','01',3,'IMPORTO ACCREDITO',2,'IMPACC',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',10,'',0,0,'' )
,('ATLI38','01',4,'IMPORTO ADDEBITO',2,'IMPADD',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',10,'',0,0,'' )
,('ATM1EU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1EU','01',2,'NUMERO REGISTRAZIONE',2,'NUMREG',1,3,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM1EU','01',3,'NUMERO RIGA REGISTRAZIONE',2,'NUMRIG',2,4,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATM1EU','01',4,'CODICE GRUPPO/CONTO/SOTTOCONTO',2,'CODPCO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1EU','01',5,'GRUPPO RIGA',3,'GRURIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','01',6,'CONTO RIGA',3,'CONRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','01',7,'SOTTOCONTO RIGA',3,'SOTRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1EU','01',8,'DATA REGISTRAZIONE',2,'DATREG',0,0,1,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1EU','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,'' )
,('ATM1EU','01',10,'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,'' )
,('ATM1EU','01',11,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','01',12,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','01',13,'DATA COMPETENZA',2,'DATCOM',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1EU','01',14,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1EU','01',15,'ANNO COMPETENZA',3,'AAACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','01',16,'MESE COMPETENZA',3,'MMMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','01',17,'GIORNO COMPETENZA',3,'GGGCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','01',18,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','01',19,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1EU','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,'' )
,('ATM1EU','01',21,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','01',22,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','01',23,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','01',24,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM1EU','01',25,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATM1EU','01',26,'IMPORTO RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('ATM1EU','01',27,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','01',28,'PROVENIENZA',2,'PROVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','01',33,'NUMERO RIGA GIORNALE',2,'NUMGIO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1EU','01',34,'NUMERO RIGA REGISTRO IVA',2,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1EU','01',35,'CHIUSURA CONTABILE S/N',2,'CHICON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','01',36,'PROGRESSIVO CHIUSURA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','01',37,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','01',41,'NUMERO INTERNO SCADENZA',2,'NUMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM1EU','01',42,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATM1EU','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1EU','02',2,'NUMERO REGISTRAZIONE',2,'NUMREG',1,3,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM1EU','02',3,'NUMERO RIGA REGISTRAZIONE',2,'NUMRIG',2,4,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATM1EU','02',4,'CODICE GRUPPO/CONTO/SOTTOCONTO',2,'CODPCO',0,1,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('ATM1EU','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,'' )
,('ATM1EU','02',6,'GRUPPO RIGA',3,'GRURIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','02',7,'CONTO RIGA',3,'CONRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','02',8,'SOTTOCONTO RIGA',3,'SOTRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1EU','02',9,'DATA REGISTRAZIONE',2,'DATREG',0,0,1,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1EU','02',10,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1EU','02',11,'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,'' )
,('ATM1EU','02',12,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','02',13,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','02',14,'DATA COMPETENZA',2,'DATCOM',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1EU','02',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1EU','02',16,'ANNO COMPETENZA',3,'AAACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','02',17,'MESE COMPETENZA',3,'MMMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','02',18,'GIORNO COMPETENZA',3,'GGGCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','02',19,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','02',20,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1EU','02',21,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1EU','02',22,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','02',23,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','02',24,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','02',25,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM1EU','02',26,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATM1EU','02',27,'IMPORTO RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('ATM1EU','02',28,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','02',29,'PROVENIENZA',2,'PROVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','02',34,'NUMERO RIGA GIORNALE',2,'NUMGIO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1EU','02',35,'NUMERO RIGA REGISTRO IVA',2,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1EU','02',36,'CHIUSURA CONTABILE S/N',2,'CHICON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','02',37,'PROGRESSIVO CHIUSURA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','02',38,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','02',42,'NUMERO INTERNO SCADENZA',2,'NUMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM1EU','02',43,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM1EU','02',44,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATM1EU','02',45,'DATA INIZIO CALCOLO SCADENZA',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1EU','02',46,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1EU','02',47,'ANNO INIZIO CALCOLO SCADENZA',4,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','02',48,'MESE INIZIO CALCOLO SCADENZA',4,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','02',49,'GIORNO INIZIO CALCOLO SCADENZA',4,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','02',50,'CODICE BANCA (ABI)',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATM1EU','02',51,'CODICE BANCA (CAB)',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATM1EU','02',52,'DATA SCADENZA MASSIMA',2,'DATMAX',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1EU','02',53,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1EU','02',54,'ANNO SCADENZA MASSIMA',4,'AAAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','02',55,'MESE SCADENZA MASSIMA',4,'MMMMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','02',56,'GIORNO SCADENZA MASSIMA',4,'GGGMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','02',57,'DATA RIFERIMENTO (VALUTA LIBRETTI ECC)',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1EU','02',58,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1EU','02',59,'ANNO RIFERIMENTO',4,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','02',60,'MESE RIFERIMENTO',4,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','02',61,'GIORNO RIFERIMENTO',4,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','02',62,'CODICE PARTITA',2,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1EU','02',63,'ANNO PARTITA',4,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','02',64,'NUMERO PARTITA',4,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATM1EU','02',65,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATM1EU','02',66,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATM1EU','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1EU','03',2,'NUMERO REGISTRAZIONE',2,'NUMREG',1,3,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM1EU','03',3,'NUMERO RIGA REGISTRAZIONE',2,'NUMRIG',2,4,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATM1EU','03',4,'CODICE GRUPPO/CONTO/SOTTOCONTO',2,'CODPCO',0,1,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATM1EU','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,'' )
,('ATM1EU','03',6,'GRUPPO RIGA',3,'GRURIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','03',7,'CONTO RIGA',3,'CONRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','03',8,'SOTTOCONTO RIGA',3,'SOTRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1EU','03',9,'DATA REGISTRAZIONE',2,'DATREG',0,0,1,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1EU','03',10,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1EU','03',11,'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,'' )
,('ATM1EU','03',12,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','03',13,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','03',14,'DATA COMPETENZA',2,'DATCOM',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1EU','03',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1EU','03',16,'ANNO COMPETENZA',3,'AAACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','03',17,'MESE COMPETENZA',3,'MMMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','03',18,'GIORNO COMPETENZA',3,'GGGCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','03',19,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','03',20,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1EU','03',21,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1EU','03',22,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1EU','03',23,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','03',24,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','03',25,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM1EU','03',26,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATM1EU','03',27,'IMPORTO RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('ATM1EU','03',28,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','03',29,'PROVENIENZA',2,'PROVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','03',34,'NUMERO RIGA GIORNALE',2,'NUMGIO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1EU','03',35,'NUMERO RIGA REGISTRO IVA',2,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1EU','03',36,'CHIUSURA CONTABILE S/N',2,'CHICON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','03',37,'PROGRESSIVO CHIUSURA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','03',38,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','03',42,'NUMERO INTERNO SCADENZA',2,'NUMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM1EU','03',43,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM1EU','03',44,'TIPO CODICE C/F/S/P',2,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','03',45,'CODICE CLIENTE/FORNITORE/SOCIO/PROD',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1EU','03',46,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATM1EU','03',47,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('ATM1EU','03',48,'TIPO REGISTRO',2,'TIPREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','03',49,'NUMERO REGISTRO',2,'NNRIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','03',50,'TIPO REGISTRO INTRA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','03',51,'NUMERO REGISTRO INTRA',2,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','03',52,'NUMERO DOCUMENTO INTRA',2,'DOCINT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM1EU','03',53,'NUMERO PROTOCOLLO INTRA',2,'PROINT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATM1EU','03',54,'STAMPA REGISTRO IVA S/N',2,'STAREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','03',55,'PROGRESSIVO STAMPA REGISTRO IVA',2,'PROREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','03',56,'CHIUSURA IVA S/N',2,'CHIIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1EU','03',57,'PROGRESSIVO CHIUSURA IVA',2,'PROIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1EU','03',58,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('ATM1OT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1OT','01',2,'NUMERO REGISTRAZIONE',2,'NUMREG',1,3,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM1OT','01',3,'NUMERO RIGA REGISTRAZIONE',2,'NUMRIG',2,4,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATM1OT','01',4,'CODICE GRUPPO/CONTO/SOTTOCONTO',2,'CODPCO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1OT','01',5,'GRUPPO RIGA',3,'GRURIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1OT','01',6,'CONTO RIGA',3,'CONRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1OT','01',7,'SOTTOCONTO RIGA',3,'SOTRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1OT','01',8,'DATA REGISTRAZIONE',2,'DATREG',0,0,1,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1OT','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,'' )
,('ATM1OT','01',10,'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,'' )
,('ATM1OT','01',11,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',12,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',13,'DATA COMPETENZA',2,'DATCOM',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1OT','01',14,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1OT','01',15,'ANNO COMPETENZA',3,'AAACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1OT','01',16,'MESE COMPETENZA',3,'MMMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',17,'GIORNO COMPETENZA',3,'GGGCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',18,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1OT','01',19,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1OT','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,'' )
,('ATM1OT','01',21,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1OT','01',22,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',23,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',24,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM1OT','01',25,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATM1OT','01',26,'IMPORTO RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATM1OT','01',27,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1OT','01',28,'PROVENIENZA',2,'PROVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1OT','01',33,'NUMERO RIGA GIORNALE',2,'NUMGIO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1OT','01',34,'NUMERO RIGA REGISTRO IVA',2,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1OT','01',35,'CHIUSURA CONTABILE S/N',2,'CHICON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1OT','01',36,'PROGRESSIVO CHIUSURA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',37,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1OT','01',41,'NUMERO INTERNO SCADENZA',2,'NUMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM1OT','01',43,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATM1OT','01',44,'DATA INIZIO CALCOLO SCADENZA',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1OT','01',45,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1OT','01',46,'ANNO INIZIO CALCOLO SCADENZA',4,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1OT','01',47,'MESE INIZIO CALCOLO SCADENZA',4,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',48,'GIORNO INIZIO CALCOLO SCADENZA',4,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',49,'CODICE BANCA (ABI)',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATM1OT','01',50,'CODICE BANCA (CAB)',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATM1OT','01',51,'DATA SCADENZA MASSIMA',2,'DATMAX',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1OT','01',52,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1OT','01',53,'ANNO SCADENZA MASSIMA',4,'AAAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1OT','01',54,'MESE SCADENZA MASSIMA',4,'MMMMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',55,'GIORNO SCADENZA MASSIMA',4,'GGGMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',56,'DATA RIFERIMENTO (VALUTA LIBRETTI ECC)',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1OT','01',57,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1OT','01',58,'ANNO RIFERIMENTO',4,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1OT','01',59,'MESE RIFERIMENTO',4,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',60,'GIORNO RIFERIMENTO',4,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',61,'CODICE PARTITA',2,'CODPAR',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
('ATM1OT','01',62,'ANNO PARTITA',4,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1OT','01',63,'NUMERO PARTITA',4,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATM1OT','01',64,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATM1OT','01',65,'CENTRO DI COSTO',2,'CENCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATM1OT','01',67,'TIPO CODICE C/F/S/P',2,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1OT','01',68,'CODICE CLIENTE/FORNITORE/SOCIO/PROD',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1OT','01',69,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATM1OT','01',70,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATM1OT','01',71,'TIPO REGISTRO',2,'TIPREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1OT','01',72,'NUMERO REGISTRO',2,'NNRIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',73,'TIPO REGISTRO INTRA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1OT','01',74,'NUMERO REGISTRO INTRA',2,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',75,'NUMERO DOCUMENTO INTRA',2,'DOCINT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM1OT','01',76,'NUMERO PROTOCOLLO INTRA',2,'PROINT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATM1OT','01',77,'STAMPA REGISTRO IVA S/N',2,'STAREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1OT','01',78,'PROGRESSIVO STAMPA REGISTRO IVA',2,'PROREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',79,'CHIUSURA IVA S/N',2,'CHIIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1OT','01',80,'PROGRESSIVO CHIUSURA IVA',2,'PROIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1OT','01',81,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,77,77,0,0,'X(77)','',0,'',0,0,'' )
,('ATM1TC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1TC','01',2,'NUMERO REGISTRAZIONE',2,'NUMREG',1,3,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM1TC','01',3,'NUMERO RIGA REGISTRAZIONE',2,'NUMRIG',2,4,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATM1TC','01',4,'CODICE GRUPPO/CONTO/SOTTOCONTO',2,'CODPCO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1TC','01',5,'GRUPPO RIGA',3,'GRURIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','01',6,'CONTO RIGA',3,'CONRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','01',7,'SOTTOCONTO RIGA',3,'SOTRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1TC','01',8,'DATA REGISTRAZIONE',2,'DATREG',0,0,1,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1TC','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,'' )
,('ATM1TC','01',10,'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,'' )
,('ATM1TC','01',11,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','01',12,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','01',13,'DATA COMPETENZA',2,'DATCOM',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1TC','01',14,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1TC','01',15,'ANNO COMPETENZA',3,'AAACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','01',16,'MESE COMPETENZA',3,'MMMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','01',17,'GIORNO COMPETENZA',3,'GGGCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','01',18,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','01',19,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1TC','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,'' )
,('ATM1TC','01',21,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','01',22,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','01',23,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','01',24,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM1TC','01',25,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATM1TC','01',26,'IMPORTO RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATM1TC','01',27,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','01',28,'PROVENIENZA',2,'PROVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','01',33,'NUMERO RIGA GIORNALE',2,'NUMGIO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1TC','01',34,'NUMERO RIGA REGISTRO IVA',2,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1TC','01',35,'CHIUSURA CONTABILE S/N',2,'CHICON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','01',36,'PROGRESSIVO CHIUSURA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','01',37,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','01',41,'NUMERO INTERNO SCADENZA',2,'NUMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM1TC','01',42,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATM1TC','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1TC','02',2,'NUMERO REGISTRAZIONE',2,'NUMREG',1,3,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM1TC','02',3,'NUMERO RIGA REGISTRAZIONE',2,'NUMRIG',2,4,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATM1TC','02',4,'CODICE GRUPPO/CONTO/SOTTOCONTO',2,'CODPCO',0,1,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('ATM1TC','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,'' )
,('ATM1TC','02',6,'GRUPPO RIGA',3,'GRURIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','02',7,'CONTO RIGA',3,'CONRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','02',8,'SOTTOCONTO RIGA',3,'SOTRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1TC','02',9,'DATA REGISTRAZIONE',2,'DATREG',0,0,1,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1TC','02',10,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1TC','02',11,'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,'' )
,('ATM1TC','02',12,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','02',13,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','02',14,'DATA COMPETENZA',2,'DATCOM',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1TC','02',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1TC','02',16,'ANNO COMPETENZA',3,'AAACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','02',17,'MESE COMPETENZA',3,'MMMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','02',18,'GIORNO COMPETENZA',3,'GGGCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','02',19,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','02',20,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1TC','02',21,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1TC','02',22,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','02',23,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','02',24,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','02',25,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM1TC','02',26,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATM1TC','02',27,'IMPORTO RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATM1TC','02',28,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','02',29,'PROVENIENZA',2,'PROVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','02',34,'NUMERO RIGA GIORNALE',2,'NUMGIO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1TC','02',35,'NUMERO RIGA REGISTRO IVA',2,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1TC','02',36,'CHIUSURA CONTABILE S/N',2,'CHICON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','02',37,'PROGRESSIVO CHIUSURA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','02',38,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','02',42,'NUMERO INTERNO SCADENZA',2,'NUMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM1TC','02',43,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM1TC','02',44,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATM1TC','02',45,'DATA INIZIO CALCOLO SCADENZA',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1TC','02',46,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1TC','02',47,'ANNO INIZIO CALCOLO SCADENZA',4,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','02',48,'MESE INIZIO CALCOLO SCADENZA',4,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','02',49,'GIORNO INIZIO CALCOLO SCADENZA',4,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','02',50,'CODICE BANCA (ABI)',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATM1TC','02',51,'CODICE BANCA (CAB)',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATM1TC','02',52,'DATA SCADENZA MASSIMA',2,'DATMAX',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1TC','02',53,'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
('ATM1TC','02',54,'ANNO SCADENZA MASSIMA',4,'AAAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','02',55,'MESE SCADENZA MASSIMA',4,'MMMMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','02',56,'GIORNO SCADENZA MASSIMA',4,'GGGMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','02',57,'DATA RIFERIMENTO (VALUTA LIBRETTI ECC)',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1TC','02',58,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1TC','02',59,'ANNO RIFERIMENTO',4,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','02',60,'MESE RIFERIMENTO',4,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','02',61,'GIORNO RIFERIMENTO',4,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','02',62,'CODICE PARTITA',2,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1TC','02',63,'ANNO PARTITA',4,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','02',64,'NUMERO PARTITA',4,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATM1TC','02',65,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATM1TC','02',66,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATM1TC','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1TC','03',2,'NUMERO REGISTRAZIONE',2,'NUMREG',1,3,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM1TC','03',3,'NUMERO RIGA REGISTRAZIONE',2,'NUMRIG',2,4,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATM1TC','03',4,'CODICE GRUPPO/CONTO/SOTTOCONTO',2,'CODPCO',0,1,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('ATM1TC','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,'' )
,('ATM1TC','03',6,'GRUPPO RIGA',3,'GRURIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','03',7,'CONTO RIGA',3,'CONRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','03',8,'SOTTOCONTO RIGA',3,'SOTRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1TC','03',9,'DATA REGISTRAZIONE',2,'DATREG',0,0,1,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1TC','03',10,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1TC','03',11,'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,'' )
,('ATM1TC','03',12,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','03',13,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','03',14,'DATA COMPETENZA',2,'DATCOM',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1TC','03',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1TC','03',16,'ANNO COMPETENZA',3,'AAACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','03',17,'MESE COMPETENZA',3,'MMMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','03',18,'GIORNO COMPETENZA',3,'GGGCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','03',19,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','03',20,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM1TC','03',21,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM1TC','03',22,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM1TC','03',23,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','03',24,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','03',25,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM1TC','03',26,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATM1TC','03',27,'IMPORTO RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATM1TC','03',28,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','03',29,'PROVENIENZA',2,'PROVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','03',34,'NUMERO RIGA GIORNALE',2,'NUMGIO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1TC','03',35,'NUMERO RIGA REGISTRO IVA',2,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1TC','03',36,'CHIUSURA CONTABILE S/N',2,'CHICON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','03',37,'PROGRESSIVO CHIUSURA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','03',38,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','03',42,'NUMERO INTERNO SCADENZA',2,'NUMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM1TC','03',43,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM1TC','03',44,'TIPO CODICE C/F/S/P',2,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','03',45,'CODICE CLIENTE/FORNITORE/SOCIO/PROD',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM1TC','03',46,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATM1TC','03',47,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATM1TC','03',48,'TIPO REGISTRO',2,'TIPREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','03',49,'NUMERO REGISTRO',2,'NNRIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','03',50,'TIPO REGISTRO INTRA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','03',51,'NUMERO REGISTRO INTRA',2,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','03',52,'NUMERO DOCUMENTO INTRA',2,'DOCINT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM1TC','03',53,'NUMERO PROTOCOLLO INTRA',2,'PROINT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATM1TC','03',54,'STAMPA REGISTRO IVA S/N',2,'STAREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','03',55,'PROGRESSIVO STAMPA REGISTRO IVA',2,'PROREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','03',56,'CHIUSURA IVA S/N',2,'CHIIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM1TC','03',57,'PROGRESSIVO CHIUSURA IVA',2,'PROIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM1TC','03',58,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('ATM2EU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM2EU','01',2,'NUMERO REGISTRAZIONE',2,'NUMREG',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM2EU','01',3,'NUMERO RIGA REGISTRAZIONE',2,'NUMRIG',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATM2EU','01',4,'PRIMS DESCRIZIONE',2,'DES001',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATM2EU','01',5,'SECONDA DESCRIZIONE',2,'DES002',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATM2EU','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATM2TC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM2TC','01',2,'NUMERO REGISTRAZIONE',2,'NUMREG',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM2TC','01',3,'NUMERO RIGA REGISTRAZIONE',2,'NUMRIG',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATM2TC','01',4,'PRIMS DESCRIZIONE',2,'DES001',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATM2TC','01',5,'SECONDA DESCRIZIONE',2,'DES002',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATM2TC','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATM3EU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3EU','01',2,'CODICE SCADENZA',2,'CODSCA',1,5,6,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3EU','01',3,'NUMERO INTERNO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM3EU','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATM3EU','01',7,'TIPO CODICE',2,'TIPCOD',0,1,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM3EU','01',12,'CODICE GRUPPO/CONTO/SOTTOCONTO C F S',2,'CODICE',0,2,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3EU','01',13,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM3EU','01',14,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM3EU','01',15,'CODICE SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM3EU','01',16,'CODICE PARTITA',2,'CODPAR',0,3,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3EU','01',17,'ANNO PARTITA',3,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM3EU','01',18,'NUMERO PARTITA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATM3EU','01',19,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3EU','01',20,'DEFINIZIONE NUM PARTITA PER CODICE SOCIO',4,'PARZZZ',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'Z(10)','',0,'',0,0,'' )
,('ATM3EU','01',21,'DATA REGISTRAZIONE',2,'DATREG',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM3EU','01',22,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3EU','01',23,'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,'' )
,('ATM3EU','01',24,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM3EU','01',25,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM3EU','01',26,'NUMERO REGISTRAZIONE PRIMANOTA',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM3EU','01',27,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM3EU','01',28,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3EU','01',29,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM3EU','01',30,'MESE DOCUMENTO',3,'MMMDOC',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
('ATM3EU','01',31,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM3EU','01',32,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM3EU','01',33,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATM3EU','01',34,'DATA SCADENZA',2,'DATSCA',0,0,4,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM3EU','01',35,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3EU','01',36,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM3EU','01',37,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM3EU','01',38,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM3EU','01',39,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('ATM3EU','01',40,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('ATM3EU','01',41,'TIPO IMPORTO D=DARE A=AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM3EU','01',42,'TIPO SCADENZA',2,'TIPSCA',0,0,5,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM3EU','01',45,'DATA RIFERIMENTO',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM3EU','01',48,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3EU','01',49,'ANNO RIFERIMENTO',3,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM3EU','01',50,'MESE RIFERIMENTO',3,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM3EU','01',51,'GIORNO RIFERIMENTO',3,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM3EU','01',52,'MODIFICHE MANUALI S/N',2,'MODMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM3EU','01',53,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATM3EU','01',54,'CODICE 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,'' )
,('ATM3EU','01',55,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATM3EU','01',56,'SCADENZA ANTICIPATA  /S',2,'FLGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM3EU','01',57,'FLAG PARTITA A ZERO',2,'FLGZER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM3EU','01',58,'FLAG REGISTRAZIONE GIA'' SCRITTA',2,'FLGOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM3EU','01',59,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('ATM3TC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3TC','01',2,'CODICE SCADENZA',2,'CODSCA',1,5,6,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3TC','01',3,'NUMERO INTERNO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM3TC','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATM3TC','01',7,'TIPO CODICE',2,'TIPCOD',0,1,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM3TC','01',12,'CODICE GRUPPO/CONTO/SOTTOCONTO C F S',2,'CODICE',0,2,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3TC','01',13,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM3TC','01',14,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM3TC','01',15,'CODICE SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATM3TC','01',16,'CODICE PARTITA',2,'CODPAR',0,3,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3TC','01',17,'ANNO PARTITA',3,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM3TC','01',18,'NUMERO PARTITA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATM3TC','01',19,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3TC','01',20,'DEFINIZIONE NUM PARTITA PER CODICE SOCIO',4,'PARZZZ',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'Z(10)','',0,'',0,0,'' )
,('ATM3TC','01',21,'DATA REGISTRAZIONE',2,'DATREG',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM3TC','01',22,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3TC','01',23,'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,'' )
,('ATM3TC','01',24,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM3TC','01',25,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM3TC','01',26,'NUMERO REGISTRAZIONE PRIMANOTA',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATM3TC','01',27,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM3TC','01',28,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3TC','01',29,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM3TC','01',30,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM3TC','01',31,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM3TC','01',32,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATM3TC','01',33,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATM3TC','01',34,'DATA SCADENZA',2,'DATSCA',0,0,4,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM3TC','01',35,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3TC','01',36,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM3TC','01',37,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM3TC','01',38,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM3TC','01',39,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATM3TC','01',40,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATM3TC','01',41,'TIPO IMPORTO D=DARE A=AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM3TC','01',42,'TIPO SCADENZA',2,'TIPSCA',0,0,5,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM3TC','01',45,'DATA RIFERIMENTO',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATM3TC','01',48,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATM3TC','01',49,'ANNO RIFERIMENTO',3,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATM3TC','01',50,'MESE RIFERIMENTO',3,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM3TC','01',51,'GIORNO RIFERIMENTO',3,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATM3TC','01',52,'MODIFICHE MANUALI S/N',2,'MODMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM3TC','01',53,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATM3TC','01',54,'CODICE 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,'' )
,('ATM3TC','01',55,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATM3TC','01',56,'SCADENZA ANTICIPATA  /S',2,'FLGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM3TC','01',57,'FLAG PARTITA A ZERO',2,'FLGZER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM3TC','01',58,'FLAG REGISTRAZIONE GIA'' SCRITTA',2,'FLGOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATM3TC','01',59,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('ATMA32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMA32','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMA32','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,'' )
,('ATMA32','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATMA32','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,'' )
,('ATMA32','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,'' )
,('ATMA32','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,'' )
,('ATMA32','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,'' )
,('ATMA32','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,'' )
,('ATMA32','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,'' )
,('ATMA32','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,'' )
,('ATMA32','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,'' )
,('ATMA32','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,'' )
,('ATMA32','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,'' )
,('ATMABA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMABA','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,'' )
,('ATMABA','01',3,'TIPO RECORD = "BA"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATMABA','01',4,'CODICE BANCA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMABA','01',5,'CODICE ABI',4,'CODABI',2,3,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATMABA','01',6,'CODICE CAB',4,'CODCAB',3,4,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATMABA','01',7,'ZERI',3,'ZEROES',4,5,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'X' )
,('ATMABA','01',8,'PRIMA DESCRIZIONE',2,'DES001',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATMABA','01',9,'SECONDA DESCRIZIONE',2,'DES002',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATMABA','01',10,'TERZA DESCRIZIONE',2,'DES003',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATMABA','01',11,'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,'' )
,('ATMABA','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,76,76,0,0,'X(76)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATMACC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMACC','01',2,'TIPO RECORD = "CC"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATMACC','01',3,'CODICE COMUNE AMMINISTRATIVO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATMACC','01',4,'SEZIONE CENSUARIA',2,'SEZCEN',3,4,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATMACC','01',5,'ZERI',2,'ZEROES',4,5,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATMACC','01',6,'DESCRIZIONE COMUNE CATASTALE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATMACC','01',7,'CODICE CATASTALE',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATMACC','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,111,111,0,0,'X(111)','',0,'',0,0,'' )
,('ATMACO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMACO','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMACO','01',3,'TIPO RECORD = "CO"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATMACO','01',4,'CODICE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATMACO','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATMACO','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATMACO','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,'' )
,('ATMACO','01',8,'PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATMACO','01',9,'CODICE FISCALE',2,'CODDGC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATMACO','01',10,'CODICE NAZIONALE CATASTALE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATMACO','01',11,'TABELLA CODICI CATASTALI OLD',2,'OLDNAZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',15,'',0,0,'' )
,('ATMACO','01',12,'OLD SEZIONE',3,'OLDCEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATMACO','01',13,'OLD CODICEE',3,'OLDCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATMACO','01',14,'FILLER',2,'SPACES',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATMACO','01',15,'TABELLA CODICI NAZIONALI CATASTALI',2,'ELENAZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',15,'',0,0,'' )
,('ATMACO','01',16,'SEZIONE CENSUARIA',3,'ELECEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATMACO','01',17,'CODICE CATATSTALE',3,'ELECAT',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATMACP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMACP','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMACP','01',3,'TIPO RECORD = "CP"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATMACP','01',4,'CODICE AVVIAMENTO POSTALE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATMACP','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATMACP','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATMACP','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,'' )
,('ATMACP','01',8,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATMACP','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,95,95,0,0,'X(95)','',0,'',0,0,'' )
,('ATMADO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMADO','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,'' )
,('ATMADO','01',3,'CODICE MAGAZZINO TESTATA DOCUMENTO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATMADO','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ATMADO','01',5,'CODICE MAGAZZINO COLLEGATO PER CALCOLI',2,'MAGCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATMADO','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,152,152,0,0,'X(152)','',0,'',0,0,'' )
,('ATMAGC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMAGC','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,'' )
,('ATMAGC','01',3,'CODICE MAGAZZINO TESTATA DOCUMENTO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATMAGC','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ATMAGC','01',5,'CODICE MAGAZZINO COLLEGATO PER CALCOLI',2,'MAGCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATMAGC','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,152,152,0,0,'X(152)','',0,'',0,0,'' )
,('ATMANA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMANA','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMANA','01',3,'TIPO RECORD = "NA"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATMANA','01',4,'CODICE NAZIONE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATMANA','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'X' )
,('ATMANA','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATMANA','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,'' )
,('ATMANA','01',8,'PAESE CEE S/N',2,'NAZCEE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATMANA','01',9,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATMANA','01',10,'FLAG STAMPA DAA S/N',2,'FLGDAA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATMANA','01',11,'ITALIA (X/ )',2,'FLGITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATMANA','01',12,'SOGGETTA MODELLO INTRA-1 (S/N)',2,'FINTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATMANA','01',13,'SPESE TRASPORTO F.A. INTRASTAT AL LITRO',2,'SPTINT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('ATMANA','01',14,'FLAG STAMPA CMR',2,'FLGCMR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATMANA','01',15,'DESCRIZIONE IN LINGUA',2,'DESLIN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATMANA','01',16,'TABELLA ARRTIBUTI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMANA','01',17,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('ATMANA','01',18,'CODICE PER AGENZIA DELLE ENTRATE',2,'CODENT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATMANA','01',19,'CODICE ISO NUMERICO',2,'ISONUM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATMANA','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,61,61,0,0,'X(61)','',0,'',0,0,'' )
,('ATMAPE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMAPE','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMAPE','01',3,'CODICE PESA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATMAPE','01',4,'FLAG TELECAMERA ATTIVA (S/N)',2,'ATTIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATMAPE','01',5,'TABELLA URL CAMERE',2,'TABIPF',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMAPE','01',6,'URL FOTOCAMERE IP',3,'URLIPF',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',2,'',0,0,'' )
,('ATMAPE','01',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMAPE','01',8,'URL PRIMA FOTOCAMERA',3,'URLIP1',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATMAPE','01',9,'URL SECONDA FOTOCAMERA',3,'URLIP2',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATMAPE','01',10,'TABELLA FORMATI IMMAGINE',2,'TABFOR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMAPE','01',11,'FORMATO IMMAGINE FOTOCAMERA',3,'FORMIF',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',2,'',0,0,'' )
,('ATMAPE','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMAPE','01',13,'FORMATO PRIMA FOTOCAMERA',3,'FORMI1',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATMAPE','01',14,'FORMATO SECONDA FOTOCAMERA',3,'FORMI2',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATMAPE','01',15,'CARTELLA ARCHIVIAZIONE IMMAGINI',2,'DIRIMG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATMAPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMAPR','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMAPR','01',3,'TIPO RECORD = "PR"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATMAPR','01',4,'CODICE PROVINCIA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATMAPR','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATMAPR','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATMAPR','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,'' )
,('ATMAPR','01',8,'CODICE ISTAT',2,'CISTAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATMAPR','01',9,'CODICE UFFICIO ICQRF DI RIFERIMENTO',2,'CICQRF',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATMAPR','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,91,91,0,0,'X(91)','',0,'',0,0,'' )
,('ATMARE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMARE','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMARE','01',3,'TIPO RECORD = "RE"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATMARE','01',4,'CODICE REGIONE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATMARE','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'X' )
,('ATMARE','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATMARE','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,'' )
,('ATMARE','01',8,'.RES 038: GG CONSEGNA',2,'GGCONS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATMARE','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,98,98,0,0,'X(98)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATML32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATML32','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATML32','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,'' )
,('ATML32','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,'' )
,('ATML32','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,'' )
,('ATML32','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,'' )
,('ATML32','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,'' )
,('ATML32','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,'' )
,('ATML32','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,'' )
,('ATML32','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,'' )
,('ATML32','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,'' )
,('ATML32','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,'' )
,('ATML32','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,'' )
,('ATML32','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATMM32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMM32','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMM32','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,'' )
,('ATMM32','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATMM32','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,'' )
,('ATMM32','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,'' )
,('ATMM32','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,'' )
,('ATMM32','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,'' )
,('ATMM32','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,'' )
,('ATMM32','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,'' )
,('ATMM32','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,'' )
,('ATMM32','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,'' )
,('ATMM32','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,'' )
,('ATMM32','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,'' )
,('ATMM32','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,'' )
,('ATMVRV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMVRV','01',2,'GRADO',2,'GRAMAS',1,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATMVRV','01',3,'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,'' )
,('ATMVRV','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,'' )
,('ATMVRZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATMVRZ','01',2,'GRADO',2,'GRAMAS',1,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATMVRZ','01',3,'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,'' )
,('ATMVRZ','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,'' )
,('ATOR89','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATOR89','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATOR89','01',3,'NUMERO PROGRESSIVO TIMBRATA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATOR89','01',4,'ELABORATO 0 = NO, 1= SI',2,'FLGELA',0,1,2,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ATOR89','01',5,'ID TIMBRATORE',2,'ID-TIM',0,0,1,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATOR89','01',6,'NUMERO TIMBRATA (DEL TIMBRATORE)',2,'NUMTIM',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATOR89','01',7,'NUMERO CARTELLINO DIPENDENTE',2,'NUMCRT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATOR89','01',8,'DATA',2,'DTALAV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATOR89','01',9,'ORA',2,'ORALAV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATOR89','01',10,'FLAG ENTRATA/USCITA 0=OUT 1=IN',2,'FLAGOI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATOR89','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,114,114,0,0,'X(114)','',0,'',0,0,'' )
,('ATORE1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATORE1','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,'' )
,('ATORE1','01',3,'CODICE DIPENDENTE',3,'CODDIP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATORE1','01',4,'DATA',3,'DTALAV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATORE1','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,'' )
,('ATORE1','01',6,'ANNO',4,'AAALAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATORE1','01',7,'MESE',4,'MMMLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATORE1','01',8,'GIORNO',4,'GGGLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATORE1','01',9,'ORARIO',3,'ORALAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATORE1','01',10,'FLAG ENTRATA/USCITA (E/U)',3,'FLAGEU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE1','01',11,'CODICE CENTRO DI COSTO',2,'CODCDC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATORE1','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATORE2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATORE2','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,'' )
,('ATORE2','01',3,'CODICE DIPENDENTE',3,'CODDIP',0,1,1,2,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATORE2','01',4,'DATA ENTRATA',3,'DTAENT',0,2,0,1,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATORE2','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,'' )
,('ATORE2','01',6,'ANNO ENTRATA',4,'AAAENT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATORE2','01',7,'MESE ENTRATA',4,'MMMENT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATORE2','01',8,'GIORNO ENTRATA',4,'GGGENT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATORE2','01',9,'ORA ENTRATA',3,'ORAENT',0,3,0,3,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATORE2','01',10,'DATA USCITA',3,'DTAUSC',0,0,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATORE2','01',11,'FILLER REDEFINES DTAUSC',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATORE2','01',12,'ANNO USCITA',4,'AAAUSC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATORE2','01',13,'MESE USCITA',4,'MMMUSC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATORE2','01',14,'GIORNO USCITA',4,'GGGUSC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATORE2','01',15,'ORA USCITA',3,'ORAUSC',0,0,3,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATORE2','01',16,'CODICE CENTRO DI COSTO',2,'CODCDC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATORE2','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('ATORE3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATORE3','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,'' )
,('ATORE3','01',3,'CODICE DIPENDENTE',3,'CODDIP',0,2,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATORE3','01',4,'DATA',3,'DTALAV',0,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATORE3','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,'' )
,('ATORE3','01',6,'ANNO',4,'AAALAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATORE3','01',7,'MESE',4,'MMMLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATORE3','01',8,'GIORNO',4,'GGGLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATORE3','01',9,'CLASSIFICAZIONE ORE',3,'CLASSE',0,3,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATORE3','01',10,'REDFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATORE3','01',11,'TURNO',4,'FLGTUR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',12,'NOTTURNO',4,'FLGNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',13,'STRAORDINARIO',4,'FLGSTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',14,'FESTIVO',4,'FLGFES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',15,'MALATTIA',4,'FLGMAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',16,'FERIE',4,'FLGFER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',17,'FESTIVO OLTRE 8 ORE',4,'FLGFOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',18,'FERIE NON AUTORIZZATE (NON PIU'' USATO)',4,'FLGFNA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',19,'ALLATTAMENTO',4,'FLGALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',20,'ASSENZA INGIUSTIFICATA',4,'FLGAIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',21,'CASSA INTEGRAZIONE',4,'FLGCIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',22,'CONGEDO MATRIMONIALE',4,'FLGCMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',23,'DONAZIONE SANGUE',4,'FLGDSA',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
('ATORE3','01',24,'INFORTUNIO',4,'FLGIFO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',25,'MATERNITA'' FACOLTATIVA',4,'FLGMFA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',26,'MATERNITA'' OBBLIGATORIA',4,'FLGMOB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',27,'PERMESSI LEGGE 104',4,'FLGLEG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',28,'PERMESSI VARI',4,'FLGPVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',29,'ROL',4,'FLGROL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE3','01',30,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ATORE3','01',31,'CODICE CENTRO DI COSTO',3,'CODCDC',0,4,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATORE3','01',32,'ORE LAVORATE',2,'ORELAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATORE3','01',33,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATORE4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATORE4','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,'' )
,('ATORE4','01',3,'CODICE DIPENDENTE',3,'CODDIP',0,2,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATORE4','01',4,'DATA',3,'DTALAV',0,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATORE4','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,'' )
,('ATORE4','01',6,'ANNO',4,'AAALAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATORE4','01',7,'MESE',4,'MMMLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATORE4','01',8,'GIORNO',4,'GGGLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATORE4','01',9,'CLASSIFICAZIONE ORE',3,'CLASSE',0,3,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATORE4','01',10,'REDFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATORE4','01',11,'TURNO',4,'FLGTUR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',12,'NOTTURNO',4,'FLGNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',13,'STRAORDINARIO',4,'FLGSTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',14,'FESTIVO',4,'FLGFES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',15,'MALATTIA',4,'FLGMAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',16,'FERIE',4,'FLGFER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',17,'FESTIVO OLTRE 8 ORE',4,'FLGFOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',18,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',19,'ALLATTAMENTO',4,'FLGALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',20,'ASSENZA INGIUSTIFICATA',4,'FLGAIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',21,'CASSA INTEGRAZIONE',4,'FLGCIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',22,'CONGEDO MATRIMONIALE',4,'FLGCMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',23,'DONAZIONE SANGUE',4,'FLGDSA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',24,'INFORTUNIO',4,'FLGIFO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',25,'MATERNITA'' FACOLTATIVA',4,'FLGMFA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',26,'MATERNITA'' OBBLIGATORIA',4,'FLGMOB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',27,'PERMESSI LEGGE 104',4,'FLGLEG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',28,'PERMESSI VARI',4,'FLGPVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',29,'ROL',4,'FLGROL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATORE4','01',30,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ATORE4','01',31,'ORE LAVORATE',2,'ORELAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATORE4','01',32,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATOREP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATOREP','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,'' )
,('ATOREP','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,'' )
,('ATOREP','01',4,'ULTIMA TIMBRATA',2,'ULTNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATOREP','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,139,139,0,0,'X(139)','',0,'',0,0,'' )
,('ATP101','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATP101','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,'' )
,('ATP101','01',3,'CODICE TIPO PREZZO',3,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATP101','01',4,'CODICE SCELTA',3,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATP101','01',5,'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,'' )
,('ATP101','01',6,'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,'' )
,('ATP101','01',7,'GRADO',3,'GRACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('ATP101','01',8,'PREZZO AL QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,3,'S9(7)','S9(4)V999',0,'',0,0,'' )
,('ATP101','01',9,'PREZZO A GRADO',2,'IMPGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,3,'S9(7)','S9(4)V999',0,'',0,0,'' )
,('ATP101','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPF03','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPF03','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,'' )
,('ATPF03','01',3,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPF03','01',4,'RIGA LETTERA',2,'RIGLET',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATPN34','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPN34','01',2,'CODICE DITTA',2,'CODDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATPN34','01',3,'VERSIONE FISSO A 3',2,'CODVER',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ATPN34','01',4,'TIPO RECORD 0/1',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ATPN34','01',5,'CODICE CLIENTE O FORNITORE',2,'CODCOF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATPN34','01',6,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('ATPN34','01',7,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATPN34','01',8,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATPN34','01',9,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ATPN34','01',10,'PROVINCIA',2,'PROVVI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATPN34','01',11,'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,'' )
,('ATPN34','01',12,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('ATPN34','01',13,'PERSONA FISICA S/N',2,'PERFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN34','01',14,'POSIZIONE SPAZIO TRA COGN E NOME',2,'DIVIDE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',15,'CODICE PAESE ESTERO DI RESIDENZA',2,'NAZEST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATPN34','01',16,'PIVAES',2,'PIVAES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('ATPN34','01',17,'CFISES',2,'CFISES',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATPN34','01',18,'TIPSEX',2,'TIPSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN34','01',19,'DATNAS',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATPN34','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPN34','01',21,'GIORNO',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',22,'MESE',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',23,'ANNO',3,'AAAAAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATPN34','01',24,'COMNAS',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ATPN34','01',25,'PRONAS',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATPN34','01',26,'PRETEL',2,'PRETEL',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATPN34','01',27,'NUMTEL',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATPN34','01',28,'PREFAX',2,'PREFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATPN34','01',29,'NUMFAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('ATPN34','01',30,'CONCOS',2,'CONCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATPN34','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,'' )
,('ATPN34','01',32,'GRUPPO',3,'GGGCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',33,'CONTO',3,'CCCCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',34,'SOTTOCONTO',3,'SSSCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPN34','01',35,'CONDIZIONE DI PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATPN34','01',36,'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,'' )
,('ATPN34','01',37,'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,'' )
,('ATPN34','01',38,'CODICE INTERMEDIO CLI/FOR',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ATPN34','01',40,'CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATPN34','01',41,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATPN34','01',42,'CAUSALE AGGIUNTIVA',2,'CAUAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ATPN34','01',43,'ULTERIORE CAUSALE AGGIUNTIVA 2 ELEMENTI',2,'ULTAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,34,34,0,0,'X(34)','',2,'',0,0,'' )
,('ATPN34','01',44,'CODICE CONTO',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATPN34','01',45,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPN34','01',46,'GIORNO',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',47,'MESE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',48,'ANNO',3,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATPN34','01',49,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATPN34','01',50,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPN34','01',51,'GIORNO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',52,'MESE',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',53,'ANNO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATPN34','01',54,'NUMERO DOCUMENTO FORNITORE',2,'NDOCFO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATPN34','01',55,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATPN34','01',56,'SEZIONALE IVA',2,'NUMSEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',57,'NUMERO PARTITA',2,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATPN34','01',58,'ANNO PARTITA',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATPN34','01',59,'CODICE VALUTA (SEMPRE A ZERO)',2,'CODVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPN34','01',60,'CAMBIO',2,'CAMBIO',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,6,0,'9(7)V9(6)','',0,'',0,0,'' )
,('ATPN34','01',61,'DATA CAMBIO',2,'DATCAM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATPN34','01',62,'TOTALE DOCUMENTO IN VALUTA',2,'TOTVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,16,16,0,0,'9(16)','',0,'',0,0,'' )
,('ATPN34','01',63,'TOTALE IVA IN VALUTA (NON USATO)',2,'IVAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,16,16,0,0,'9(16)','',0,'',0,0,'' )
,('ATPN34','01',64,'RIFERIMENTO PLAFOND (CHE CAZZO E''??)',2,'PLAFON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATPN34','01',65,'ELEMENTO TABELLA IVA',2,'ELEIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',8,'',0,0,'' )
,('ATPN34','01',66,'IMPONIBILE',3,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATPN34','01',67,'ALIQUOTA',3,'ALIQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPN34','01',68,'ALIQUOTA PER COMPENSAZIONE AGRICOLA',3,'ALIAGR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPN34','01',69,'CODICE PER IVA 11',3,'CODI11',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',70,'IMPOSTA',3,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ATPN34','01',71,'TOTALE FATTURA',2,'TOTFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,2,0,'9(10)V99','',0,'',0,0,'' )
,('ATPN34','01',72,'ELEMENTO TABELLA RICAVI',2,'TABCOS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',8,'',0,0,'' )
,('ATPN34','01',73,'CONTO DI COSTO',3,'ELECOS',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATPN34','01',74,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPN34','01',75,'GRUPPO',4,'GGGECO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',76,'CONTO',4,'CCCECO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',77,'SOTTOCONTO',4,'SSSECO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPN34','01',78,'IMPORTO COSTO',3,'IMPCOS',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATPN34','01',79,'CAUSALE MOVIMENTI NON IVA',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPN34','01',80,'DESCRIZIONE CAUSALE',2,'DESCPA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATPN34','01',81,'ULTERIORE DESCRIZIONE (2 ELEMENTI)',2,'ULTCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,34,34,0,0,'X(34)','',2,'',0,0,'' )
,('ATPN34','01',82,'TABELLA ALTRI MOVIMENTI',2,'TABALT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',80,'',0,0,'' )
,('ATPN34','01',83,'CONTO ALTRI MOVIMENTI',3,'ELEALT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATPN34','01',84,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPN34','01',85,'GRUPPO ALTRI',4,'GGGALT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',86,'CONTO ALTRI',4,'CCCALT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',87,'SOTTOCONTO ALTRI',4,'SSSALT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPN34','01',88,'DARE/AVERE',3,'DOAALT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN34','01',89,'IMPORTO',3,'IMPALT',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,2,0,'9(10)V99','',0,'',0,0,'' )
,('ATPN34','01',90,'CAUSALE AGGIUNTIVA',3,'CAUALT',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ATPN34','01',91,'NUMERO PARTITA',3,'PARALT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATPN34','01',92,'ANNO PARTITA',3,'ANNALT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATPN34','01',93,'IMPORTO IN VALUTA',3,'IMPVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,16,17,3,0,'9(13)V999','',0,'',0,0,'' )
,('ATPN34','01',94,'TABELLA RATEI E RISCONTI',2,'TABRAT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('ATPN34','01',95,'RIFERIMENTO 1=COSTI RICAVI 2=ALTRI MOV.',3,'RIFRAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN34','01',96,'INDICE TABELLA',3,'INDRAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN34','01',97,'DATA INIZIO',3,'INIRAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATPN34','01',98,'DATA FINE',3,'FINRAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATPN34','01',99,'NUMERO DOCUMENTO A 6 CIFRE',2,'DOC006',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATPN34','01',100,'CONSIDERA OMONIMO S/N',2,'OMONIM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN34','01',101,'TIPO SOGGETTO RITENUTA DI ACCONTO',2,'SOGRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ATPN34','01',102,'NUMERO SEZIONALE PARTITA (???!!!???)',2,'NUMSEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',80,'',0,0,'' )
,('ATPN34','01',103,'NUMERO DOCUMENTO INCASSO/PAGAMENTO',2,'INCPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATPN34','01',104,'DATA DOCUMENTO INC/PAG',2,'DATIEP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATPN34','01',105,'RITENUTA D''ACCONTO',2,'RITACC',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('ATPN34','01',106,'RITENUTA PREVIDENZIALE',2,'RIPREV',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('ATPN34','01',107,'ALTRE RITENUTE',2,'ALTRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',4,'',0,0,'' )
,('ATPN34','01',108,'UNITA'' RICAVI',2,'UNIRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',8,'',0,0,'' )
,('ATPN34','01',109,'UNITA'' PAGAMENTO',2,'UNIPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',80,'',0,0,'' )
,('ATPN34','01',110,'PREFISSO FAZ',2,'PREFA1',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATPN34','01',111,'NUMERO FAX',2,'NUMFA1',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATPN34','01',112,'SOLO CLIFOR (NON GENERA PRIMANOTA)',2,'SOLOCF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN34','01',113,'SE RECODS SEGUENTI UGUALI VALE S',2,'RECSEG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN34','01',114,'CONTO RITENUTA ACCONTO (2+2+3)',2,'CONRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATPN34','01',115,'CONTO RITENUTA PREVIDENZIALE',2,'CONPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATPN34','01',116,'ALTRI CONTI RITENUTA',2,'CONRTA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',4,'',0,0,'' )
,('ATPN34','01',117,'DIFFERIMENTO IVA AUTOTRASPORTATORI',2,'DIFIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN34','01',118,'AGGIORNAMENTO STORICO ANAGRAFICHE',2,'AGGSTO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN34','01',119,'DATA AGGIORNAMENTO STORICO',2,'DATSTO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATPN34','01',120,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,208,208,0,0,'X(208)','',0,'',0,0,'' )
,('ATPN34','01',121,'CARATTERE TERMINATORE UNIX',2,'CARTER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPN71','00',2,'TIPO RECORD = 00',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATPN71','00',3,'DATA CREAZIONE',2,'DATCRE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATPN71','00',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPN71','00',5,'ANNO CREAZIONE',3,'AAACRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATPN71','00',6,'MESE CREAZIONE',3,'MMMCRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN71','00',7,'GIORNO CREAZIONE',3,'GGGCRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN71','00',8,'DESCRIZIONE PROCEDURA',2,'DESPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('ATPN71','00',9,'CODICE SOCIETA'' EASY',2,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATPN71','00',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,453,453,0,0,'X(453)','',0,'',0,0,'' )
,('ATPN71','00',11,'CARATTERE TERMINATORE UNIX',2,'CARTER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPN71','01',2,'TIPO RECORD = 01',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATPN71','01',3,'CODICE SOCIETA'' EASY',2,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATPN71','01',4,'TIPO DOCUMENTO',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','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,'' )
,('ATPN71','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,'' )
,('ATPN71','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,'' )
,('ATPN71','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATPN71','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,'' )
,('ATPN71','01',15,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATPN71','01',16,'DATA CONTABILE (COMPETENZA)',2,'DATCON',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATPN71','01',17,'DATA COMPETENZA IVA',2,'DATIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATPN71','01',18,'CAUSALE CONTABILE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATPN71','01',19,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATPN71','01',20,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATPN71','01',21,'PROTOCOLLO BIS',2,'PROBIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','01',22,'CODICE ATTIVITA''',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATPN71','01',23,'NUMERO PARTITA',2,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATPN71','01',24,'DATA DOCUMENTO PARTITA',2,'DATPAR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATPN71','01',25,'TOTALE MOVIMENTO',2,'TOTMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,2,0,'9(10)V99','',0,'',0,0,'' )
,('ATPN71','01',26,'SEGNO +',2,'SEGMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','01',27,'FLAG RITARDATA REGISTRAZIONE',2,'RITREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','01',28,'IMPORTO RITENUTA DI ACCONTO',2,'IMPRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,2,0,'9(10)V99','',0,'',0,0,'' )
,('ATPN71','01',29,'SEGNO +',2,'SEGRIT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','01',30,'GRUPPO/CONTO DI AV2000',2,'GRUCON',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATPN71','01',31,'CODICE CLIENTE/FORNITORE',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATPN71','01',32,'E=EURO',2,'VALEUR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','01',33,'AZIONE SU PARTITA',2,'GESPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','01',38,'SPAZIO=DEFAULT S=STORNO',2,'FLGSTO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','01',39,'NOME IMMAGINE (NON GESTITO)',2,'NOMEIM',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ATPN71','01',40,'FLAG DOCUMENTO',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','01',46,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,243,243,0,0,'X(243)','',0,'',0,0,'' )
,('ATPN71','01',47,'CARATTERE TERMINATORE UNIX',2,'CARTER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPN71','02',2,'TIPO RECORD = 02',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATPN71','02',3,'DESCRIZIONI AGGIUNTIVE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',3,'',0,0,'' )
,('ATPN71','02',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,384,384,0,0,'X(384)','',0,'',0,0,'' )
,('ATPN71','02',5,'CARATTERE TERMINATORE UNIX',2,'CARTER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPN71','03',2,'TIPO RECORD = 03',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATPN71','03',3,'GRUPPO/CONTO',2,'GRUCON',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATPN71','03',4,'SOTTOCONTO',2,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATPN71','03',5,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','03',6,'IMPONIBILE/IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,2,0,'9(10)V99','',0,'',0,0,'' )
,('ATPN71','03',7,'SEGNO +',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','03',8,'CODICE IVA (SOLO SE MOVIMENTO IVA)',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATPN71','03',9,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,2,0,'9(10)V99','',0,'',0,0,'' )
,('ATPN71','03',10,'SEGNO +',2,'SEGIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','03',11,'PERCENTUALE IVA INDETRAIBILE',2,'PERIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPN71','03',12,'CONTROPARTITA AZIENDALE',2,'CONTRO',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATPN71','03',13,'NUMERARIO ?????',2,'CONNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATPN71','03',14,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,2,0,'9(10)V99','',0,'',0,0,'' )
,('ATPN71','03',15,'SEGNO +',2,'SEGIPN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','03',16,'IVA INDETRAIBILE',2,'IVAIND',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,2,0,'9(10)V99','',0,'',0,0,'' )
,('ATPN71','03',17,'SEGNO +',2,'SEGIND',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','03',18,'RISERVATO CENTRI DI COSTO',2,'RISCDC',0,0,0,0,0,0,0,0,0,0,'',4,0,161,161,0,0,'X(161)','',0,'',0,0,'' )
,('ATPN71','03',19,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',2,'',0,0,'' )
,('ATPN71','03',20,'ELEMENTO',2,'ELEDOC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',5,'',0,0,'' )
,('ATPN71','03',21,'NUMERO DOCUMENTO 1',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATPN71','03',22,'DATA DOCUMENTO 1',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATPN71','03',23,'IMPOTO ELEMENTO',3,'IMPELE',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,2,0,'9(10)V99','',0,'',0,0,'' )
,('ATPN71','03',24,'SEGNO +',3,'SEGELE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','03',25,'CARATTERE TERMINATORE UNIX',2,'CARTER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPN71','04',2,'TIPO RECORD = 04',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATPN71','04',3,'DATA SCADENZA RATA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',3,'',0,0,'' )
,('ATPN71','04',4,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,2,0,'9(10)V99','',0,'',0,0,'' )
,('ATPN71','04',5,'SEGNO +',2,'SEGSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','04',6,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATPN71','04',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,433,433,0,0,'X(433)','',0,'',0,0,'' )
,('ATPN71','04',8,'CARATTERE TERMINATORE UNIX',2,'CARTER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPN71','05',2,'TIPO RECORD = 05',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATPN71','05',3,'NUMERO RECORD TIPO 01',2,'NUM001',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPN71','05',4,'NUMERO RECORD TIPO 02',2,'NUM002',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPN71','05',5,'NUMERO RECORD TIPO 03',2,'NUM003',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPN71','05',6,'NUMERO RECORD TIPO 04',2,'NUM004',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPN71','05',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,462,462,0,0,'X(462)','',0,'',0,0,'' )
,('ATPN71','05',8,'CARATTERE TERMINATORE UNIX',2,'CARTER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPN71','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPN71','06',2,'TIPO RECORD = 06',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATPN71','06',3,'NUMERO RECORDS TOTALI',2,'RECTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATPN71','06',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,469,469,0,0,'X(469)','',0,'',0,0,'' )
,('ATPN71','06',5,'CARATTERE TERMINATORE UNIX',2,'CARTER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPP61','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPP61','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPP61','01',3,'CODICE PREMIO/PENALE',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPP61','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,'' )
,('ATPP61','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,'' )
,('ATPP61','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATPP63','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPP63','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPP63','01',3,'CODICE PREMIO/PENALE',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPP63','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,'' )
,('ATPP63','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,'' )
,('ATPP63','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATPR01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPR01','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,'' )
,('ATPR01','01',3,'CODICE SCELTA',3,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPR01','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,'' )
,('ATPR01','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,'' )
,('ATPR01','01',6,'GRADO',3,'GRACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('ATPR01','01',7,'PREZZO AL QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,3,'S9(7)','S9(4)V999',0,'',0,0,'' )
,('ATPR01','01',8,'PREZZO A GRADO',2,'IMPGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,3,'S9(7)','S9(4)V999',0,'',0,0,'' )
,('ATPR01','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATPR09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPR09','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPR09','01',3,'CODICE TABELLA',3,'CODTAB',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
('ATPR09','01',4,'TIPO SEQUENZA P/N',3,'TIPSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPR09','01',5,'INDICE SEQUENZA',3,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPR09','01',6,'DIFFERENZA GRADO',3,'DIFFGR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('ATPR09','01',7,'DIFFERENZA IN VALORE',2,'DIFIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,5,0,'99V9(5)','',0,'',0,0,'' )
,('ATPR09','01',8,'DIFFERENZA IN PERCENTUALE',2,'DIFPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATPR09','01',9,'GRADO BASE',2,'GRABAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATPR09','01',10,'PREZZO BASE',2,'PREBAS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('ATPR09','01',11,'DESCRIZIONE TABELLA',2,'DESTAB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATPR09','01',12,'TIPO PREZZO 1=grado 2=quintale',2,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPR09','01',13,'CODICE TABELLA VARIAZIONI X ACIDITA''',2,'TABACI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATPR76','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPR76','01',2,'CODICE RAGRUPPAMENTO',2,'CODRAG',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPR76','01',3,'TIPO PAGAMENTO 1/2',2,'TIPPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPR76','01',4,'TIPO ELABORAZIONE GRADO',2,'ELAGRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPR76','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,59,59,0,0,'X(59)','',0,'',0,0,'' )
,('ATPROD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPROD','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,'' )
,('ATPROD','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATPROD','01',4,'DESCRIZIONE',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATPROD','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,'' )
,('ATPROD','01',6,'TIPO CALCOLO NETTO SECCO',2,'TIPCAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPROD','01',9,'NUMERO STRUMENTO ANALISI IN PESA (1-9)',2,'NUMSTR',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ATPROD','01',10,'IMPURITA'' OBBLIGATORIA (S/N)',2,'IMPOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATPROD','01',11,'PRIMA DESCRIZIONE IN BOLLETTA',2,'DESBO1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATPROD','01',12,'SECONDA DESCRIZIONE IN BOLLETTA',2,'DESBO2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATPROD','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATPROS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPROS','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,'' )
,('ATPROS','01',3,'CODICE ARTICOLO  DA PRODURRE',3,'CODART',1,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATPROS','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,55,55,0,0,'X(55)','',0,'',0,0,'' )
,('ATPS09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPS09','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPS09','01',3,'CODICE UVA',3,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATPS09','01',4,'CODICE ZONA DI CONFERIMENTO',3,'CODZON',2,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATPS09','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPS09','01',6,'CODICE TABELLA PREZZI E SCOSTAMENTI',3,'CODTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',10,'',0,0,'' )
,('ATPS09','01',7,'PERCENTUALE VARIAZIONE PREZZO',3,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',10,'',0,0,'' )
,('ATPS09','01',8,'PREZZO AL QUINTALE',3,'PREQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',10,'',0,0,'' )
,('ATPU23','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPU23','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,'' )
,('ATPU23','01',3,'GRADO MEDIO',2,'GRACON',2,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATPU23','01',4,'PUNTI',2,'PUNGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('ATPU23','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATPX01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATPX01','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,'' )
,('ATPX01','01',3,'TIPO TABELLA',3,'TIPTAB',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATPX01','01',4,'CODICE SCELTA',3,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPX01','01',5,'CODICE RAGRUPPAMENTO UVE',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPX01','01',6,'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,'' )
,('ATPX01','01',7,'IMPORTO GRADO MEDIO',2,'IMPGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,5,0,'99V9(5)','',0,'',0,0,'' )
,('ATPX01','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,'' )
,('ATPX01','01',9,'CODICE TABELLA COEFFICENTE',2,'CODTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATPX01','01',10,'EURO DA AGGIUNGERE',2,'LIT001',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('ATPX01','01',11,'EURO DA AGGIUNGERE X CATEGORIA',2,'LITCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('ATPX01','01',12,'GRADO INIZIALE',2,'GRAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('ATPX01','01',13,'GRADO FINALE',2,'GRAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('ATPX01','01',14,'INTERVALLO',2,'INTGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('ATPX01','01',15,'SECONDA AGGIUNTA',2,'LIT002',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('ATPX01','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,44,44,0,0,'X(44)','',0,'',0,0,'' )
,('ATR032','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATR032','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,'' )
,('ATR032','01',3,'CODICE SOCIO CEMBRA',3,'OLDCOD',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATR032','01',4,'CODICE SOCIO LAVIS',3,'NEWCOD',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRA01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRA01','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,'' )
,('ATRA01','01',3,'IMPORTO 1',2,'IMP001',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('ATRA01','01',4,'IMPORTO 2',2,'IMP002',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('ATRA01','01',5,'IMPORTO 3',2,'IMP003',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('ATRA01','01',6,'CODICE CAUSALE 1',2,'CAU001',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRA01','01',7,'DATA REGISTRAZIONE 1',2,'DATRE1',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRA01','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,'' )
,('ATRA01','01',9,'ANNO REGISTRAZIONE 1',3,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRA01','01',10,'MESE REGISTRAZIONE 1',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRA01','01',11,'GIORNO REGISTRAZIONE 1',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRA01','01',12,'CODICE CAUSALE 2',2,'CAU002',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRA01','01',13,'DATA REGISTRAZIONE 2',2,'DATRE2',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRA01','01',14,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRA01','01',15,'ANNO REGISTRAZIONE 2',3,'AAARE2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRA01','01',16,'MESE REGISTRAZIONE 2',3,'MMMRE2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRA01','01',17,'GIORNO REGISTRAZIONE 2',3,'GGGRE2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRA01','01',18,'CONTABILIZZATO 1 /S',2,'FLG001',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRA01','01',19,'CONTABILIZZATO 2 /S',2,'FLG002',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRA02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRA02','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,'' )
,('ATRA02','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,'' )
,('ATRA02','01',4,'FLAG PAGAMENTO',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRA02','01',8,'TOTALE SOTTOSCRITTO',2,'TOTSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRA02','01',9,'PERCENTUALE DA PAGARE',2,'PERPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRA02','01',10,'IMPORTO PROMEMORIA',2,'IMPMEM',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRA02','01',11,'IMPORTO LIBRO SOCI',2,'IMPLSO',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRA02','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRA13','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRA13','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRA13','01',3,'CODICE SOCIO',3,'CODSOC',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRA13','01',4,'CODICE UVA DICHIARATA',3,'CODUVA',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATRA13','01',5,'CODICE ZONA',3,'CODZON',0,4,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATRA13','01',6,'NUMERO CONFERIMENTO',3,'NUMCON',0,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATRA13','01',7,'QUINTALI CONFERIMENTO',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,'' )
,('ATRA13','01',8,'MONTEGRADI CONFERITO',2,'MTGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,11,3,0,'9(7)V999 COMP-3','',0,'',0,0,'' )
,('ATRA13','01',9,'GRADO',2,'GRDCON',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
('ATRA16','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRA16','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,'' )
,('ATRA16','01',3,'TRATTENUTA CONSORZIO AL QUINTALE',2,'TRAQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('ATRA16','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATRAAC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAAC','01',2,'CODICE',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAAC','01',3,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAC','01',4,'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,'' )
,('ATRAAC','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,'' )
,('ATRAAC','01',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAC','01',7,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRAAC','01',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAC','01',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRAAC','01',10,'ATTRIBUTI',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('ATRAAC','01',11,'STATO GIURIDICO',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAC','01',12,'CODICE GRUPPO PIANO DEI CONTI',2,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAC','01',13,'CODICE CONTO PIANO DEI CONTI',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAC','01',14,'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,'' )
,('ATRAAC','01',15,'CODICE REGIONE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAAC','01',16,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRAAC','01',17,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATRAAC','01',18,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATRAAC','01',19,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRAAC','01',20,'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,'' )
,('ATRAAC','01',21,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATRAAC','01',22,'CODICE PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRAAC','01',23,'CODICE GIORNO DI CHIUSURA',2,'GIOCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRAAC','01',24,'SCONTI COMMERCIALI',2,'CODSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('ATRAAC','01',25,'SCONTO A LITRO',2,'SCOLIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATRAAC','01',26,'ZERI',2,'SCOZER',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRAAC','01',27,'SCONTO MERCE S/N',2,'SCOMER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAC','01',28,'SCONTO TOTALE BOLLA S/N',2,'SCOBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAC','01',29,'PROVVIGIONI',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',2,'',0,0,'' )
,('ATRAAC','01',30,'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,'' )
,('ATRAAC','01',31,'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,'' )
,('ATRAAC','01',32,'COGNOME',2,'COGCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATRAAC','01',33,'NOME CLIENTE',2,'NOMCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATRAAC','01',34,'GRUPPO CONTROPARTITA CONTABILE',2,'GRUCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAC','01',35,'CONTO CONTROPARTITA CONTABILE',2,'CONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAC','01',36,'SOTTOCONTO CONTROPARTITA CONTABILE',2,'SOTCON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAAC','01',37,'NOTE ESTRATTO CONTO',2,'NOTEES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAC','01',38,'DATA AUTORIZZAZIONE ESPORTATORI ABITUALI',2,'DATAUT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAAC','01',39,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAAC','01',40,'ANNO AUTORIZZAZIONE',3,'AAAAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAC','01',41,'MESE AUTORIZZAZIONE',3,'MMMAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAAC','01',42,'GIORNO AUTORIZZAZIONE',3,'GGGAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAAC','01',43,'NUM. AUTORIZZAZIONE ESPORTATORI ABITUALI',2,'NUMAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRAAC','01',44,'GIORNO E ORA VISITA',2,'GIOVIS',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATRAAC','01',45,'PERSONA DA CONTATTARE',2,'NOMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATRAAC','01',46,'CODICE ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ATRAAC','01',47,'CODICE VALUTA ESTERA',2,'CODVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRAAC','01',48,'DATA PRIMA BOLLA',2,'PRIBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAAC','01',49,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAAC','01',50,'ANNO PRIMA BOLLA',3,'AAAPRI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAC','01',51,'MESE PRIMA BOLLA',3,'MMMPRI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAAC','01',52,'GIORNO PRIMA BOLLA',3,'GGGPRI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAAC','01',53,'DATA ULTIMA BOLLA',2,'ULTBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAAC','01',54,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAAC','01',55,'ANNO ULTIMA BOLLA',3,'AAAULT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAC','01',56,'MESE ULTIMA BOLLA',3,'MMMULT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAAC','01',57,'GIORNO ULTIMA BOLLA',3,'GGGULT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAAC','01',58,'AREA MESI SENZA EFFETTI',2,'AREAME',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAAC','01',59,'MESI SENZA EFFETTI',3,'MESINO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',4,'',0,0,'' )
,('ATRAAC','01',60,'TIPO SPOSTAMENTO MESI SENZA EFFETTI',2,'TIPSPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAC','01',61,'DESTINATARIO FISSO ORDINI/BOLLE',2,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAAC','01',62,'TRIANGOLARE DA PROPORRE ORDINI/BOLLE',2,'CODCTR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAAC','01',63,'LUOGO CONSEGNA DA PROPORRE ORDINI/BOLLE',2,'CODLUC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAAC','01',64,'ZONA CONSEGNA MERCE',2,'ZONACO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRAAC','01',65,'QUARTA RIGA DESTINAZIONE',2,'RIGDES',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAC','01',66,'NUMERO ISCRIZIONE REGISTRO IMPRESE',2,'REGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ATRAAC','01',67,'CODICE FORNITORE DATO DAL CLIENTE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATRAAC','01',68,'DATA SCADENZA AUTOR. ESPORT. ABITUALI',2,'SCAAUT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAAC','01',69,'BANCA INTERNA PREVALENTE',2,'BANINT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRAAC','01',70,'S/N STAMPA IN DATI RELATIVI AL TRASPORTO',2,'DESMER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAC','01',72,'RAGIONE SOCIALE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAC','01',73,'CODICE LINGUA',2,'CODLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRAAC','01',74,'COMMENTO FISSO PER CREAZIONE FATTURE',2,'CFISSO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATRAAC','01',75,'NR. PROTOCOLLO CANTINA ESPORTATORE ABIT.',2,'NRPAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATRAAC','01',76,'DATA PROTOCOLLO DIC. INTENTI',2,'DTPAUT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAAC','01',77,'FLAG OBSOLETO ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAC','01',78,'CODICE NOMINATIVO P.V. COLLEGATO',2,'CODNOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAAC','01',79,'CODICE SECONDO TRASPORTATORE',2,'CODTR2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATRAAC','01',80,'INDIRIZZO RIBA=RECAPITO FATTURE',2,'FLGRIB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAC','01',81,'TIPO GESTIONE VUOTI',2,'FLGVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAC','01',82,'TIPO DOCUMENTO CAUSALE BOLLE',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAC','01',83,'CODICE IT',2,'CODITA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRAAC','01',84,'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,'' )
,('ATRAAC','01',85,'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,'' )
,('ATRAAC','01',86,'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,'' )
,('ATRAAC','01',87,'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,'' )
,('ATRAAC','01',88,'NUMERO DI CONTO CORRENTE',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATRAAC','01',89,'NUMERO CELLULARE',2,'NUMCEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATRAAC','01',90,'INDIRIZZO E-MAIL',2,'IEMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATRAAC','01',91,'URL INTERNET',2,'URLINT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATRAAC','01',92,'CONSEGNA TASSATIVA',2,'CONTAS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAC','01',93,'DESTINAZIONE PER ETICHETTE BANCALI',2,'ETBANC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAC','01',94,'TIPO DESTINAZIONE (TO15 AG. DOGANE)',2,'CDT015',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAC','01',95,'UFF DEST (DOGANA USCITA CEE) OBSOLETO',2,'UFFDES',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATRAAC','01',96,'IMPORTO FIDO',2,'IMPFID',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATRAAC','01',97,'CODICE EAN',2,'CODEAN',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
('ATRAAC','01',99,'RAGIONE SOCLAE S.P.',2,'RAGSSP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAC','01',100,'INDIRIZZO S.P.',2,'INDISP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAC','01',101,'CAP S.P.',2,'CODCSP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRAAC','01',102,'LOCALITA S.P.',2,'LOCASP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAC','01',103,'PROVINCIA S.P.',2,'PROVSP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRAAC','01',105,'RAGIONE SOCIALE RIBA',2,'DESRIB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAC','01',106,'INDIRIZZO RIBA',2,'INDRIB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAC','01',107,'CAP RIBA',2,'CAPRIB',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRAAC','01',108,'LOCALITA RIBA',2,'LOCRIB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAC','01',109,'PROVINCIA RIBA',2,'PRORIB',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRAAC','01',110,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATRAAC','01',111,'CARATTERE DI FINE RECORD PER UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAAF','01',2,'CODICE',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAAF','01',3,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAF','01',4,'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,'' )
,('ATRAAF','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,'' )
,('ATRAAF','01',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAF','01',7,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRAAF','01',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAF','01',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRAAF','01',10,'ATTRIBUTI',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('ATRAAF','01',11,'STATO GIURIDICO',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAF','01',12,'ALLEGATO S/N',2,'SINOAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAF','01',13,'DOGANA',2,'DOGANA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAF','01',14,'CODICE GRUPPO PIANO DEI CONTI',2,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAF','01',15,'CODICE CONTO PIANO DEI CONTI',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAF','01',16,'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,'' )
,('ATRAAF','01',17,'CODICE REGIONE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAAF','01',18,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRAAF','01',19,'CODICE IT',2,'CODITA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRAAF','01',20,'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,'' )
,('ATRAAF','01',21,'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,'' )
,('ATRAAF','01',22,'CODICE BANCA (ABI)',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATRAAF','01',23,'CODICE BANCA (CAB)',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATRAAF','01',24,'NUMERO CONTO CORRENTE',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATRAAF','01',25,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRAAF','01',26,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATRAAF','01',27,'CODICE PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRAAF','01',28,'SCONTI COMMERCIALI',2,'CODSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('ATRAAF','01',29,'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,'' )
,('ATRAAF','01',30,'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,'' )
,('ATRAAF','01',31,'COGNOME FORNITORE',2,'COGFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATRAAF','01',32,'NOME FORNITORE',2,'NOMFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATRAAF','01',33,'GRUPPO CONTROPARTITA CONTABILE 1',2,'GRUCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAF','01',34,'CONTO CONTROPARTITA CONTABILE 1',2,'CONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAF','01',35,'SOTTOCONTO CONTROPARTITA CONTABILE 1',2,'SOTCON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAAF','01',36,'NOTE ESTRATTO CONTO',2,'NOTEES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAF','01',37,'NUMERO ISCRIZIONE REGISTRO IMPRESE',2,'REGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ATRAAF','01',38,'BANCA INTERNA PREVALENTE',2,'BANINT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRAAF','01',39,'SECONDO CODICE IVA',2,'CODIV2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATRAAF','01',40,'TERZO CODICE IVA',2,'CODIV3',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATRAAF','01',41,'FORNITORE OBSOLETO  /S',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAF','01',42,'NUMERO CELLULARE',2,'NUMCEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATRAAF','01',43,'E-MAIL',2,'IEMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAF','01',44,'PERSONA DA CONTATTARE',2,'CONTAT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAF','01',45,'PERCENTUALE RITENUTA DI ACCONTO',2,'PERRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATRAAF','01',46,'SESSO',2,'CODSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAF','01',47,'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,'' )
,('ATRAAF','01',48,'COMUNE DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAAF','01',49,'PROVINCIA NASCITA',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRAAF','01',50,'GRUPPO CONTROPARTITA 2',2,'GRUCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAF','01',51,'CONTO CONTROPARTITA 2',2,'CONCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAF','01',52,'SOTTOCONTO CONTROPARTITA 2',2,'SOTCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAAF','01',53,'GRUPPO CONTROPARTITA 3',2,'GRUCO3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAF','01',54,'CONTO CONTROPARTITA 3',2,'CONCO3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAF','01',55,'SOTTOCONTO CONTROPARTITA 3',2,'SOTCO3',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAAF','01',56,'LISTINO OBBLIGATORIO /S',2,'LISOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAF','01',57,'% AGG. PER CALCOLO RIT. ACCONTO',2,'PERIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATRAAF','01',58,'URL INTERNET',2,'URLINT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATRAAF','01',59,'RAGIONE SOCIALE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAF','01',60,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATRAAF','01',61,'CARATTERE DI FINE RECORD PER UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAAS','01',2,'CODICE',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAAS','01',3,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAS','01',4,'CODICE STABILIMENTO',2,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRAAS','01',5,'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,'' )
,('ATRAAS','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,'' )
,('ATRAAS','01',7,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAS','01',8,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRAAS','01',9,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAS','01',10,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRAAS','01',11,'SESSO M/F/b',2,'FLGSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAS','01',12,'STATO GIURIDICO F/G',2,'FLGSTG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAS','01',13,'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,'' )
,('ATRAAS','01',14,'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,'' )
,('ATRAAS','01',15,'ATTRIBUTI',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('ATRAAS','01',16,'FLAG CONFERENTE S/N',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAS','01',17,'FLAG RECESSO S/N',2,'FLGREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAS','01',18,'TIPO FORNITORE',2,'FLGFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAS','01',22,'VINIFICATORE S/N',2,'FLGVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAS','01',23,'TIPO FATTURAZIONE',2,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAS','01',26,'ACCREDITO IN CONTO S/N',2,'FLGACC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAS','01',27,'CODICE IT',2,'CODITA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRAAS','01',28,'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,'' )
,('ATRAAS','01',29,'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,'' )
,('ATRAAS','01',30,'CODICE BANCA (ABI)',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATRAAS','01',31,'CODICE BANCA (CAB)',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATRAAS','01',32,'CODICE CONTO CORRENTE',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATRAAS','01',33,'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,'' )
,('ATRAAS','01',34,'REDEFINES DATA DI NASCITA',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAAS','01',35,'ANNO DI NASCITA',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAS','01',36,'MESE DI NASCITA',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAAS','01',37,'GIORNO DI NASCITA',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAAS','01',38,'COMUNE DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAAS','01',39,'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,'' )
,('ATRAAS','01',40,'DATA INIZIO ATTIVITA''',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAAS','01',41,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAAS','01',42,'ANNO INIZIO ATTIVITA''',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAAS','01',43,'MESE INIZIO ATTIVITA''',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAAS','01',44,'GIORNO INIZIO ATTIVITA''',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAAS','01',45,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATRAAS','01',46,'ALLEGATO I.V.A. S/N',2,'SINOAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAS','01',47,'CONDIZIONE DI PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRAAS','01',48,'TARGA TRATTORE',2,'TARGAT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATRAAS','01',49,'COEFFICENTE AZIENDALE - OBSOLETO',2,'CFFAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATRAAS','01',50,'DATA ULTIMA VARIAZIONE ANAGRAFICA',2,'DUVANA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAAS','01',51,'DATA ULTIMA VARIAZIONE CATASTALE',2,'DUVCAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAAS','01',52,'DATA ULTIMA VARIAZIONE AUTORIZZ. DOC',2,'DUVAUD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAAS','01',53,'NUMERO ISCRIZIONE REGISTRO IMPRESE',2,'REGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ATRAAS','01',54,'BANCA INTERNA PREVALENTE',2,'BANINT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRAAS','01',55,'% VEND. MECCANICA (PREVALE SU % TAB.UVE)',2,'PERMEC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('ATRAAS','01',56,'INTESTATARIO ASSEGNI BONIFICI',2,'ASSBON',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAS','01',57,'COGNOME SOCIO',2,'COGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATRAAS','01',58,'NOME SOCIO',2,'NOMSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATRAAS','01',59,'CODICE C.C.I.A.A.',2,'CCCIAA',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATRAAS','01',60,'CELLULARE',2,'NUMCEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATRAAS','01',62,'RAG. SOCIALE INTESTATARIO DOC. IVA',2,'RAGIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAS','01',63,'INDIRIZZO INTESTATARIO DOC. IVA',2,'INDIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAS','01',64,'CAP INTESTATARIO DOC. IVA',2,'CAPIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRAAS','01',65,'LOCALITA INTESTATARIO DOC. IVA',2,'LOCIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAS','01',66,'PROVINCIA INTESTATARIO DOC. IVA',2,'PROIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRAAS','01',67,'P. IVA INTESTATARIO DOC. IVA',2,'IVAPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATRAAS','01',69,'RAG. SOCIALE ETICHETTE',2,'RAGETI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAS','01',70,'INDIZIZZO ETICHETTE',2,'INDETI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAS','01',71,'CAP ETICHETTE',2,'CAPETI',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRAAS','01',72,'LOCALITA ETICHETTE',2,'LOCETI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAS','01',73,'PROVINCIA ETICHETTE',2,'PROETI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRAAS','01',74,'TELEFONO',2,'TELETI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATRAAS','01',76,'COMUNE DOMICILIO RAPP.',2,'DOMRAP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAAS','01',77,'DATA NASCITA RAPP.',2,'DATRAP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAAS','01',78,'COMUNE NASCITA RAPP.',2,'COMRAP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAAS','01',79,'PROVINCIA NASCITA RAPP.',2,'PRSRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRAAS','01',80,'SESSO RAPP.',2,'SEXRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAS','01',82,'RAGIONE SOCIALE RAPPRESENTANTE',2,'RAGRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATRAAS','01',83,'INDIRIZZO RAPP.',2,'INDRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAS','01',84,'CAP RAPP.',2,'CAPRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRAAS','01',85,'LOCALITA RAPP.',2,'LOCRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAS','01',86,'PROVINCIA RAPP.',2,'PRORAP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRAAS','01',87,'P. IVA RAPP.',2,'IVARAP',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATRAAS','01',88,'TELEFONO RAPP.',2,'TELRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATRAAS','01',90,'INDIRIZZO E-MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATRAAS','01',91,'NUMERO FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAS','01',92,'RESPONSABILE CAA',2,'RESCAA',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('ATRAAS','01',93,'DATA FASCICOLO',2,'DTAFAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAAS','01',94,'NUMERO FASCICOLO',2,'NUMFAS',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATRAAS','01',95,'NUMERO SCHEDARIO',2,'NUMSCH',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATRAAS','01',97,'TIPO DOCUMENTO',2,'TDOCID',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATRAAS','01',98,'NUMERO DOCUMENTO',2,'NDOCID',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATRAAS','01',99,'DATA RILASCIO DOCUMENTO',2,'DDOCID',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAAS','01',100,'DATA SCADENZA DOCUMENTO',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAAS','01',101,'RILASCIATO DA',2,'RILADA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRAAS','01',102,'ENTE RILASCIO',2,'RILENT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAAS','01',103,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATRAAS','01',104,'CARATTERE DI 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,'' )
,('ATRAFC','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFC','00',2,'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,'' )
,('ATRAFC','00',3,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFC','00',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFC','00',5,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFC','00',6,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFC','00',7,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFC','00',8,'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,'' )
,('ATRAFC','00',9,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFC','00',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,87,87,0,0,'X(87)','',0,'',0,0,'' )
,('ATRAFC','00',15,'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,'' )
,('ATRAFC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFC','01',2,'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,'' )
,('ATRAFC','01',3,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFC','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,'' )
,('ATRAFC','01',5,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFC','01',6,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFC','01',7,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFC','01',8,'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,'' )
,('ATRAFC','01',9,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFC','01',14,'TIPO DOCUMENTO',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFC','01',19,'TOTALE DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRAFC','01',20,'MODALITA'' DI PAGAMENTO',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRAFC','01',21,'TIPO MODALITA'' DI PAGAMENTO',2,'TIPPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFC','01',26,'CODICE ABI CLIENTE',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATRAFC','01',27,'CODICE CAB CLIENTE',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATRAFC','01',28,'NUMERO C/C',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATRAFC','01',29,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRAFC','01',30,'ANNO PARTITA RIFERIMENTO (SE NOTA ACC.)',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFC','01',31,'NUM. PARTITA RIFERIMENTO (SE NOTA ACC.)',2,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATRAFC','01',32,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFC','01',33,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('ATRAFC','01',34,'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,'' )
,('ATRAFC','02',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
('ATRAFC','02',2,'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,'' )
,('ATRAFC','02',3,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFC','02',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFC','02',5,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFC','02',6,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFC','02',7,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFC','02',8,'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,'' )
,('ATRAFC','02',9,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFC','02',14,'CODICE GRUPPO RICAVO',2,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFC','02',15,'CODICE CONTO RICAVO',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFC','02',16,'CODICE SOTTOCONTO RICAVO',2,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAFC','02',17,'IMPONIBILE RICAVO',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRAFC','02',18,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFC','02',19,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRAFC','02',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,56,56,0,0,'X(56)','',0,'',0,0,'' )
,('ATRAFC','02',21,'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,'' )
,('ATRAFC','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFC','03',2,'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,'' )
,('ATRAFC','03',3,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFC','03',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFC','03',5,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFC','03',6,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFC','03',7,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFC','03',8,'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,'' )
,('ATRAFC','03',9,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFC','03',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,'' )
,('ATRAFC','03',15,'PERCENTUALE IVA',2,'PERIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFC','03',16,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRAFC','03',17,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRAFC','03',18,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFC','03',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,55,55,0,0,'X(55)','',0,'',0,0,'' )
,('ATRAFC','03',20,'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,'' )
,('ATRAFC','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFC','04',2,'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,'' )
,('ATRAFC','04',3,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFC','04',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFC','04',5,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFC','04',6,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFC','04',7,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFC','04',8,'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,'' )
,('ATRAFC','04',9,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFC','04',14,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFC','04',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFC','04',16,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFC','04',17,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFC','04',18,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFC','04',19,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRAFC','04',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,66,66,0,0,'X(66)','',0,'',0,0,'' )
,('ATRAFC','04',21,'CARATTERE DI 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,'' )
,('ATRAFS','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','00',2,'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,'' )
,('ATRAFS','00',3,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFS','00',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','00',5,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','00',6,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','00',7,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','00',8,'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,'' )
,('ATRAFS','00',9,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFS','00',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,86,86,0,0,'X(86)','',0,'',0,0,'' )
,('ATRAFS','00',18,'CARATTERE DI 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,'' )
,('ATRAFS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','01',2,'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,'' )
,('ATRAFS','01',3,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFS','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,'' )
,('ATRAFS','01',5,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','01',6,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','01',7,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','01',8,'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,'' )
,('ATRAFS','01',9,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFS','01',16,'ANNO VENDEMMIA',2,'ANNVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','01',17,'TIPO ELABORAZIONE',2,'TIPELA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFS','01',21,'TIPO DOCUMENTO',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFS','01',24,'TOTALE DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRAFS','01',25,'MODALITA'' DI PAGAMENTO',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRAFS','01',26,'TIPO PAGAMENTO',2,'TIPPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFS','01',29,'CODICE IT',2,'CODITA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRAFS','01',30,'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,'' )
,('ATRAFS','01',31,'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,'' )
,('ATRAFS','01',32,'CODICE ABI SOCIO',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATRAFS','01',33,'CODICE CAB SOCIO',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATRAFS','01',34,'NUMERO C/C SOCIO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATRAFS','01',35,'NUMERO ASSEGNO SE STAMPATO AD AFFI',2,'NUMASS',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('ATRAFS','01',36,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ATRAFS','01',37,'CARATTERE DI 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,'' )
,('ATRAFS','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','02',2,'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,'' )
,('ATRAFS','02',3,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFS','02',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','02',5,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','02',6,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','02',7,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','02',8,'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,'' )
,('ATRAFS','02',9,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFS','02',16,'CODICE GRUPPO COSTO',2,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','02',17,'CODICE CONTO COSTO',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','02',18,'CODICE SOTTOCONTO COSTO',2,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAFS','02',19,'IMPONIBILE COSTO',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRAFS','02',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,59,59,0,0,'X(59)','',0,'',0,0,'' )
,('ATRAFS','02',21,'CARATTERE DI 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,'' )
,('ATRAFS','03',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
('ATRAFS','03',2,'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,'' )
,('ATRAFS','03',3,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFS','03',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','03',5,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','03',6,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','03',7,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','03',8,'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,'' )
,('ATRAFS','03',9,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFS','03',16,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATRAFS','03',17,'PERCENTUALE IVA',2,'PERIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','03',18,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRAFS','03',19,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRAFS','03',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,55,55,0,0,'X(55)','',0,'',0,0,'' )
,('ATRAFS','03',21,'CARATTERE DI 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,'' )
,('ATRAFS','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','04',2,'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,'' )
,('ATRAFS','04',3,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFS','04',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','04',5,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','04',6,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','04',7,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','04',8,'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,'' )
,('ATRAFS','04',9,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFS','04',16,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFS','04',17,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','04',18,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','04',19,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','04',20,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','04',21,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRAFS','04',22,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('ATRAFS','04',23,'CARATTERE DI 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,'' )
,('ATRAFS','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','05',2,'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,'' )
,('ATRAFS','05',3,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFS','05',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','05',5,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','05',6,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','05',7,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','05',8,'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,'' )
,('ATRAFS','05',9,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFS','05',16,'CODICE GRUPPO TRATTENUTA',2,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','05',17,'CODICE CONTO TRATTENUTA',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','05',18,'CODICE SOTTOCONTO TRATTENUTA',2,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAFS','05',19,'IMPORTO TRATTENUTA',2,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRAFS','05',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,59,59,0,0,'X(59)','',0,'',0,0,'' )
,('ATRAFS','05',21,'CARATTERE DI 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,'' )
,('ATRAFS','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','06',2,'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,'' )
,('ATRAFS','06',3,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFS','06',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','06',5,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','06',6,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','06',7,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','06',8,'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,'' )
,('ATRAFS','06',9,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFS','06',16,'CODICE GRUPPO BANCA',2,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','06',17,'CODICE CONTO BANCA',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','06',18,'CODICE SOTTOCONTO BANCA',2,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAFS','06',19,'TIPO PAGAMENTO 1=ASSEGNO 2=BONIFICO',2,'TIPPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFS','06',20,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRAFS','06',21,'NUMERO ASSEGNO',2,'NUMASS',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('ATRAFS','06',22,'CODICE BANCA FISSO 021600',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRAFS','06',23,'DATA VALUTA',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFS','06',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,33,33,0,0,'X(33)','',0,'',0,0,'' )
,('ATRAFS','06',25,'CARATTERE DI 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,'' )
,('ATRAFS','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','07',2,'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,'' )
,('ATRAFS','07',3,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFS','07',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','07',5,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','07',6,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','07',7,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','07',8,'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,'' )
,('ATRAFS','07',9,'TIPO RECORD = 7 RESTITUZIONE IN FATTURA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFS','07',10,'CODICE GRUPPO TRATTENUTA',2,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','07',11,'CODICE CONTO TRATTENUTA',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','07',12,'CODICE SOTTOCONTO TRATTENUTA',2,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAFS','07',13,'IMPORTO FINANZIAMENTO (RESTITUZIONE)',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRAFS','07',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,59,59,0,0,'X(59)','',0,'',0,0,'' )
,('ATRAFS','07',15,'CARATTERE DI 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,'' )
,('ATRAFS','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','08',2,'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,'' )
,('ATRAFS','08',3,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRAFS','08',4,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRAFS','08',5,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','08',6,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRAFS','08',7,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','08',8,'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,'' )
,('ATRAFS','08',9,'TIPO RECORD = 8 RESTITUZIONE FINANZ.',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRAFS','08',10,'CODICE GRUPPO TRATTENUTA',2,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','08',11,'CODICE CONTO TRATTENUTA',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRAFS','08',12,'CODICE SOTTOCONTO TRATTENUTA',2,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRAFS','08',13,'IMPORTO RESTITUZIONE FINANZIAMENTO',2,'IMPRES',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRAFS','08',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,59,59,0,0,'X(59)','',0,'',0,0,'' )
,('ATRAFS','08',15,'CARATTERE DI 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,'' )
,('ATRC02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRC02','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,'' )
,('ATRC02','01',3,'IMPORTO TRATTENUTA',2,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ATRC02','01',4,'CODICE 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,'' )
,('ATRC02','01',5,'DATA REGISTRAZIONE',2,'DATREG',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
('ATRC02','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,'' )
,('ATRC02','01',7,'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,'' )
,('ATRC02','01',8,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRC02','01',9,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRC02','01',10,'GRUPPO AVERE',2,'GRUAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRC02','01',11,'CONTO AVERE',2,'CONAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRC02','01',12,'SOTTOCONTO AVERE',2,'SOTAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRC02','01',13,'GRUPPO DARE',2,'GRUDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRC02','01',14,'CONTO AVERE',2,'CONDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRC02','01',15,'ANNO PARTITA',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRC02','01',16,'CONTABILIZZATA TRATTENUTA S/',2,'FLGTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRC02','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRC34','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRC34','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,'' )
,('ATRC34','01',3,'CODICE GRUPPO/CONTO/SOTTOCONTO',3,'CODGCS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRC34','01',4,'CODICE GRUPPO',4,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRC34','01',5,'CODICE CONTO',4,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRC34','01',6,'CODICE SOTTOCONTO',4,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRC34','01',7,'CODICE STUDIO COMMERCIALISTA',2,'CODALT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATRC34','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,'' )
,('ATRC34','01',9,'CODICE ALTERNATIVO 1',3,'CODAL1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRC34','01',10,'CODICE ALTERNATIVO 2',3,'CODAL2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRC34','01',11,'CODICE ALTERNATIVO 3',3,'CODAL3',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRC34','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ATRCEU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRCEU','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,'' )
,('ATRCEU','01',3,'TIPO CONTO',3,'TIPCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRCEU','01',4,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRCEU','01',5,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRCEU','01',6,'CODICE SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRCEU','01',7,'ANNO PARTITA',3,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRCEU','01',8,'NUMERO PARTITA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATRCEU','01',9,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRCEU','01',10,'CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRCEU','01',11,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRCEU','01',12,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRCEU','01',13,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATRCEU','01',14,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATRCEU','01',15,'MODALITA'' DI PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRCEU','01',16,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATRCEU','01',17,'DATA INIZIO CALCOLO SCADENZA',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRCEU','01',18,'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,'' )
,('ATRCEU','01',19,'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,'' )
,('ATRCEU','01',20,'IMPORTO',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('ATRCEU','01',21,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRCEU','01',22,'GRUPPO BILANCIO APERTURA',2,'GRUAPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRCEU','01',23,'CONTO BILANCIO APERTURA',2,'CONAPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRCEU','01',24,'SOTTOCONTO BILANCIO APERTURA',2,'SOTAPE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRCEU','01',25,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('ATRCEU','01',26,'CAUSALE EFETTO',2,'CAUEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRCEU','01',27,'FLAG INSOLUTO',2,'FLGINS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRCEU','01',31,'SALDO INIZIALE',2,'SALINI',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,0,'S9(13)','',0,'',0,0,'' )
,('ATRCEU','01',32,'FLAG SALDO A ZERO',2,'SALZER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRCEU','01',33,'DATA RIFERIMENTO (SCADENZA)',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRCEU','01',34,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATRCTC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRCTC','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,'' )
,('ATRCTC','01',3,'TIPO CONTO',3,'TIPCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRCTC','01',4,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRCTC','01',5,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRCTC','01',6,'CODICE SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRCTC','01',7,'ANNO PARTITA',3,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRCTC','01',8,'NUMERO PARTITA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATRCTC','01',9,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRCTC','01',10,'CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRCTC','01',11,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRCTC','01',12,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRCTC','01',13,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATRCTC','01',14,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATRCTC','01',15,'MODALITA'' DI PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATRCTC','01',16,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATRCTC','01',17,'DATA INIZIO CALCOLO SCADENZA',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRCTC','01',18,'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,'' )
,('ATRCTC','01',19,'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,'' )
,('ATRCTC','01',20,'IMPORTO',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRCTC','01',21,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRCTC','01',22,'GRUPPO BILANCIO APERTURA',2,'GRUAPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRCTC','01',23,'CONTO BILANCIO APERTURA',2,'CONAPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRCTC','01',24,'SOTTOCONTO BILANCIO APERTURA',2,'SOTAPE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRCTC','01',25,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ATRCTC','01',26,'CAUSALE EFETTO',2,'CAUEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRCTC','01',27,'FLAG INSOLUTO',2,'FLGINS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRCTC','01',31,'SALDO INIZIALE',2,'SALINI',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('ATRCTC','01',32,'FLAG SALDO A ZERO',2,'SALZER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRCTC','01',33,'DATA RIFERIMENTO (SCADENZA)',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATRCTC','01',34,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATRE12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRE12','01',2,'RESA',2,'CODRES',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRE12','01',3,'PERCENTUALE DISTILLAZIONE OBBLIGATORIA',2,'PERDOB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('ATRE12','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,'' )
,('ATREQ1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ1','01',2,'NUMERO RIGA',2,'NUMRIG',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATREQ1','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,'' )
,('ATREQ1','01',4,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ1','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','00',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','00',3,'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,'' )
,('ATREQ2','00',4,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','00',5,'PROGRESSIVO',3,'PROGRE',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
('ATREQ2','00',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ATREQ2','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','10',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','10',3,'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,'' )
,('ATREQ2','10',4,'TIPO RECORD ("10")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','10',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','10',6,'CODICE PIANO DEI CONTI',2,'CODPDC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','10',7,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','10',8,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','10',9,'CODICE SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATREQ2','10',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATREQ2','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','20',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','20',3,'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,'' )
,('ATREQ2','20',4,'TIPO RECORD ("20")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','20',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','20',6,'CAUSALE MAGAZZINO',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATREQ2','20',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,'' )
,('ATREQ2','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','21',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','21',3,'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,'' )
,('ATREQ2','21',4,'TIPO RECORD ("21")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','21',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','21',6,'ARTICOLO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATREQ2','21',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATREQ2','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','22',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','22',3,'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,'' )
,('ATREQ2','22',4,'TIPO RECORD ("22")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','22',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','22',6,'POSIZIONE INIZIALE',2,'VALINI',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATREQ2','22',7,'POSIZIONE FINALE',2,'VALFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATREQ2','22',8,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATREQ2','22',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,'' )
,('ATREQ2','30',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','30',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','30',3,'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,'' )
,('ATREQ2','30',4,'TIPO RECORD ("30")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','30',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','30',6,'CODICE CESPITE',2,'CODCES',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','30',7,'PRIMA PARTE',3,'CODUNO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATREQ2','30',8,'SECONDA PARTE',3,'CODDUE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATREQ2','30',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,'' )
,('ATREQ2','40',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','40',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','40',3,'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,'' )
,('ATREQ2','40',4,'TIPO RECORD ("40")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','40',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','40',6,'CODICE MODALITA'' DI TRASPORTO',2,'MODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATREQ2','40',7,'CODICE PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATREQ2','40',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('ATREQ2','41',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','41',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','41',3,'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,'' )
,('ATREQ2','41',4,'TIPO RECORD ("41")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','41',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','41',6,'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,'' )
,('ATREQ2','41',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATREQ2','42',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','42',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','42',3,'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,'' )
,('ATREQ2','42',4,'TIPO RECORD ("42")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','42',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','42',6,'POSIZIONE INIZIALE',2,'VALINI',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATREQ2','42',7,'POSIZIONE FINALE',2,'VALFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATREQ2','42',8,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATREQ2','42',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,'' )
,('ATREQ2','50',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','50',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','50',3,'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,'' )
,('ATREQ2','50',4,'TIPO RECORD ("50")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','50',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','50',6,'CODICE MODALITA'' DI TRASPORTO',2,'MODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATREQ2','50',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATREQ2','51',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','51',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','51',3,'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,'' )
,('ATREQ2','51',4,'TIPO RECORD ("51")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','51',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','51',6,'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,'' )
,('ATREQ2','51',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATREQ2','52',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','52',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','52',3,'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,'' )
,('ATREQ2','52',4,'TIPO RECORD ("52")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','52',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','52',6,'POSIZIONE INIZIALE',2,'VALINI',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATREQ2','52',7,'POSIZIONE FINALE',2,'VALFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATREQ2','52',8,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATREQ2','52',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,'' )
,('ATREQ2','60',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','60',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','60',3,'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,'' )
,('ATREQ2','60',4,'TIPO RECORD ("60")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','60',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','60',6,'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,'' )
,('ATREQ2','60',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATREQ2','61',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','61',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','61',3,'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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATREQ2','61',4,'TIPO RECORD ("61")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','61',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','61',6,'POSIZIONE INIZIALE',2,'VALINI',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATREQ2','61',7,'POSIZIONE FINALE',2,'VALFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATREQ2','61',8,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATREQ2','61',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,'' )
,('ATREQ2','70',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','70',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','70',3,'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,'' )
,('ATREQ2','70',4,'TIPO RECORD ("70")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','70',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','70',6,'CODICE MODALITA'' DI TRASPORTO',2,'MODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATREQ2','70',7,'CODICE PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATREQ2','70',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('ATREQ2','71',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','71',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','71',3,'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,'' )
,('ATREQ2','71',4,'TIPO RECORD ("71")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','71',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','71',6,'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,'' )
,('ATREQ2','71',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATREQ2','72',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','72',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','72',3,'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,'' )
,('ATREQ2','72',4,'TIPO RECORD ("72")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','72',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','72',6,'POSIZIONE INIZIALE',2,'VALINI',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATREQ2','72',7,'POSIZIONE FINALE',2,'VALFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATREQ2','72',8,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATREQ2','72',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,'' )
,('ATREQ2','80',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','80',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','80',3,'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,'' )
,('ATREQ2','80',4,'TIPO RECORD ("80")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','80',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','80',6,'CODICE MODALITA'' DI TRASPORTO',2,'MODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATREQ2','80',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATREQ2','81',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','81',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','81',3,'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,'' )
,('ATREQ2','81',4,'TIPO RECORD ("81")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','81',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','81',6,'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,'' )
,('ATREQ2','81',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATREQ2','82',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','82',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ2','82',3,'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,'' )
,('ATREQ2','82',4,'TIPO RECORD ("82")',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ2','82',5,'ZERO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ2','82',6,'POSIZIONE INIZIALE',2,'VALINI',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATREQ2','82',7,'POSIZIONE FINALE',2,'VALFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATREQ2','82',8,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATREQ2','82',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,'' )
,('ATREQ3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ3','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ3','01',3,'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,'' )
,('ATREQ3','01',4,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATREQ3','01',25,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ3','01',26,'CODICE PIANO DEI CONTI',2,'CODPDC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ3','01',27,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ3','01',28,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATREQ3','01',29,'CODICE SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATREQ3','01',30,'CAUSALE MAGAZZINO',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATREQ3','01',31,'ARTICOLO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATREQ3','01',32,'POSIZIONE INIZIALE',2,'VALINI',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATREQ3','01',33,'POSIZIONE FINALE',2,'VALFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATREQ3','01',34,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATREQ3','01',35,'CODICE CESPITE',2,'CODCES',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATREQ3','01',36,'PRIMA PARTE',3,'CODUNO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATREQ3','01',37,'SECONDA PARTE',3,'CODDUE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATREQ3','01',38,'CODICE MODALITA'' DI TRASPORTO',2,'MODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATREQ3','01',39,'CODICE PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATREQ3','01',40,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,74,74,0,0,'X(74)','',0,'',0,0,'' )
,('ATRFID','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRFID','01',2,'CHIAVE PER SOCIO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRFID','01',3,'NUMERO HUMAN-READABLE DEL TAG',3,'NR-TAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRFID','01',4,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRFID','01',5,'ID INTERNO DEL TAG',3,'ID-TAG',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATRFID','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,'' )
,('ATRI12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRI12','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,'' )
,('ATRI12','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,'' )
,('ATRI12','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,'' )
,('ATRI34','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRI34','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,'' )
,('ATRI34','01',3,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATRI34','01',4,'CODICE STUDIO COMMERCIALISTA',2,'CODALT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRI34','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ATRK34','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRK34','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,'' )
,('ATRK34','01',3,'CODICE CAUSALE CONTABILE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRK34','01',4,'CODICE STUDIO COMMERCIALISTA',2,'CODALT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRK34','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ATRN34','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRN34','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,'' )
,('ATRN34','01',3,'CODICE GRUPPO/CONTO/SOTTOCONTO',3,'CODGCS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRN34','01',4,'CODICE GRUPPO',4,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRN34','01',5,'CODICE CONTO',4,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRN34','01',6,'CODICE SOTTOCONTO',4,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATRN34','01',7,'CODICE STUDIO COMMERCIALISTA',2,'CODALT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATRN34','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,'' )
,('ATRN34','01',9,'CODICE ALTERNATIVO 1',3,'CODAL1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRN34','01',10,'CODICE ALTERNATIVO 2',3,'CODAL2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRN34','01',11,'CODICE ALTERNATIVO 3',3,'CODAL3',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATRN34','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ATRUOR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRUOR','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,'' )
,('ATRUOR','01',3,'UVA DI ORIGINE',3,'UVAORI',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATRUOR','01',4,'NUMERO UVA DESTINAZIONE',3,'NUMDES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATRUOR','01',5,'UVA DESTINAZIONE (PINOT GRIGIO, ECC..)',3,'UVADES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATRUOR','01',6,'SOLO SE HA FINITO DI VENDEMMIARLA (S)',2,'FLGFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRUOR','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,'' )
,('ATRVAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRVAR','01',2,'CODICE AGGREGAZIONE',2,'CODAGG',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRVAR','01',3,'CODICE RAGRUPPAMENTO',2,'CODRAG',2,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATRVAR','01',4,'DESCRIZIONE AGGREGAZIONE',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRVAR','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,'' )
,('ATRVCV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRVCV','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,'' )
,('ATRVCV','01',3,'TIPO RECORD = "CV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRVCV','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRVCV','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATRVCV','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRVCV','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,'' )
,('ATRVCV','01',8,'DESCRIZIONI SU TABULATO',2,'DESTES',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',3,'',0,0,'' )
,('ATRVCV','01',9,'DESCRIZIONE UNITA'' DI MISURA',2,'UNIMIS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATRVCV','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,201,201,0,0,'X(201)','',0,'',0,0,'' )
,('ATRVKV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRVKV','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,'' )
,('ATRVKV','01',3,'TIPO RECORD = "KV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRVKV','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRVKV','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATRVKV','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRVKV','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,'' )
,('ATRVKV','01',8,'RAGRUPPAMENTO OBBLIGATORIO S/N',2,'RAGOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRVKV','01',9,'SOTTORAGRUPPAMENTO OBBLIGATORIO S/N',2,'SOTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRVKV','01',10,'INTERESSA COLONNA GRADO/MASSA VOL. S/N',2,'COLMAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRVKV','01',11,'CODICE COLONNA INCREMENTATA',2,'INCCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRVKV','01',12,'CODICE COLONNA DECREMENTATA',2,'DECCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRVKV','01',13,'FORMULA',2,'FORMUL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRVKV','01',17,'ST. COL. GRADO/MASSA VOL SU REGISTRO',2,'STAMAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRVKV','01',18,'PARTECIPA AL CALCOLO DELLA MV MEDIA',2,'SNMASM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRVKV','01',19,'TIPO ARROTONDAMENTO',2,'TIPARR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRVKV','01',23,'TIPO CALCOLO TOTALI X=INVERSO',2,'TIPCTO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRVKV','01',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,227,227,0,0,'X(227)','',0,'',0,0,'' )
,('ATRVRA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRVRA','01',2,'TIPO RECORD = "RA"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRVRA','01',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATRVRA','01',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATRVRA','01',5,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRVRA','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,'' )
,('ATRVRA','01',7,'CODICE REGISTRO IN CUI CONFLUISCE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRVRA','01',8,'DOC SI/NO',2,'DOCSON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRVRA','01',9,'DA PIGIARE SI/NO',2,'PIGSON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRVRA','01',10,'CALCOLO VINACCE IMMEDIATO SI/NO',2,'VINSON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRVRA','01',11,'MASSA VOLUMICA MINIMA',2,'MASMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('ATRVRA','01',12,'CODICE STABILIMENTO',2,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRVRA','01',13,'TRASFORMAZIONE MOSTO IN VNF S/N',2,'TRASON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRVRA','01',14,'ACCETTA UVE DOC ANCHE SE RAG. NO DOC S/N',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRVRA','01',15,'NEL CARICAMENTO FERMARSI AL ROD',2,'STOPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATRVRA','01',16,'REGISTRO COMMERCIALIZZAZIONE COLLEGATO',2,'REGCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRVRA','01',17,'CODICE COMMERCIALIZZAZIONE COLLEGATO',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATRVRA','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,215,215,0,0,'X(215)','',0,'',0,0,'' )
,('ATRVRV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRVRV','01',2,'TIPO RECORD = "RV"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRVRV','01',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRVRV','01',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATRVRV','01',5,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRVRV','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,'' )
,('ATRVRV','01',7,'DESCRIZIONE ESTESA PER REGISTRO',2,'DESEST',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATRVRV','01',8,'CODICE STABILIMENTO',2,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATRVRV','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,188,188,0,0,'X(188)','',0,'',0,0,'' )
,('ATRVSV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATRVSV','01',2,'TIPO RECORD = "SV"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATRVSV','01',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATRVSV','01',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATRVSV','01',5,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATRVSV','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,'' )
,('ATRVSV','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,241,241,0,0,'X(241)','',0,'',0,0,'' )
,('ATSOL1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATSOL1','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,'' )
,('ATSOL1','01',3,'TIPO SOLLECITO',3,'TIPSOL',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATSOL1','01',6,'CODICE TIPO SOLLECITO',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATSOL1','01',7,'CODICE LINGUA',3,'CODLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATSOL1','01',8,'RIGA CORPO',2,'RIGCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',12,'',0,0,'' )
,('ATSOL1','01',9,'RIGA FINE PAGINA',2,'RIGFPG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',5,'',0,0,'' )
,('ATSOL1','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,112,112,0,0,'X(112)','',0,'',0,0,'' )
,('ATSOLL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATSOLL','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,'' )
,('ATSOLL','01',3,'TIPO SOLLECITO',3,'TIPSOL',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATSOLL','01',6,'CODICE TIPO SOLLECITO',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATSOLL','01',7,'CODICE LINGUA',3,'CODLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATSOLL','01',8,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATSOLL','01',9,'RIGA CORPO',2,'RIGCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',12,'',0,0,'' )
,('ATSOLL','01',10,'RIGA FINE PAGINA',2,'RIGFPG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',5,'',0,0,'' )
,('ATSOLL','01',11,'TIPO SOLLECITO N=NORMALE L=LEGALE',2,'TIPONL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATSOLL','01',12,'CODICE ANNOTAZIONE SCADENZE COLLEGATO',2,'CODNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATSOLL','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,112,112,0,0,'X(112)','',0,'',0,0,'' )
,('ATTNO1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATTNO1','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATTNO1','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,'' )
,('ATTNO1','01',4,'CODICE PROVINCIA',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATTNO1','01',5,'CODICE B1 DICHIARAZIONE 2000',2,'NUMEB1',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ATTNO1','01',6,'SUPERFICIE TOTALE B1 DICHIARAZIONE 2000',2,'SUPTOT',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,'' )
,('ATTNO1','01',7,'SPERFICIE SUBENTRI CASELLA 3A',2,'SUPS3A',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,'' )
,('ATTNO1','01',8,'SPERFICIE ALTRO (SOLO LONIGO)',2,'SUPS3B',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,4,0,'S9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('ATTNO1','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,52,52,0,0,'X(52)','',0,'',0,0,'' )
,('ATTNO2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATTNO2','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,'' )
,('ATTNO2','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,'' )
,('ATTNO2','01',4,'CODICE PROVINCIA',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATTNO2','01',5,'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,'' )
,('ATTNO2','01',6,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATTNO2','01',7,'SUPERFICIE RIVENDICATA',2,'SUPRIV',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,'' )
,('ATTNO2','01',8,'NUMERO MATRICOLA',2,'NRMATR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATTNO2','01',9,'DATA AUTORIZZAZIONE',2,'DATAUT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATTNO2','01',10,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATTNO2','01',11,'ANNO AUTORIZZAZIONE',3,'AAAAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATTNO2','01',12,'MESE AUTORIZZAZIONE',3,'MMMAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATTNO2','01',13,'GIORNO AUTORIZZAZIONE',3,'GGGAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATTNO2','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,63,63,0,0,'X(63)','',0,'',0,0,'' )
,('ATTNO3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATTNO3','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,'' )
,('ATTNO3','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,'' )
,('ATTNO3','01',4,'CODICE PROVINCIA',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATTNO3','01',5,'NUMERO B1 ACQUISITO',3,'NUMEB1',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ATTNO3','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,'' )
,('ATTNO3','01',7,'SUPERFICIE TOTALE',2,'SUPTOT',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,'' )
,('ATTNO3','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('ATTP01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATTP01','01',2,'CODICE',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATTP01','01',3,'DESCRIZIONE',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATTP01','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,'' )
,('ATTP01','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('ATTP12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATTP12','01',2,'CODICE',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATTP12','01',3,'DESCRIZIONE',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATTP12','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,'' )
,('ATTP67','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATTP67','01',2,'CODICE',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATTP67','01',3,'DESCRIZIONE',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATTP67','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,'' )
,('ATTTTT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATTTTT','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,'' )
,('ATTTTT','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,15,15,0,0,'9(15)','',0,'',0,0,'' )
,('ATTTTT','01',4,'PRIMA DESCRIZIONE',2,'DES001',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATUCF1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATUCF1','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,'' )
,('ATUCF1','01',3,'CODICE TABELLA',3,'CODTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATUCF1','01',4,'DECSRIZIONE',2,'DESTAB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATUCF1','01',5,'DECSRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATUCF1','01',6,'TABELLA SCELTE SELEZIONATE',2,'TABSCE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATUCF1','01',7,'CODICE SCELTA',3,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('ATUCF1','01',8,'TABELLA SCELTE ESCLUSE',2,'TABESC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATUCF1','01',9,'SCELTE ESCLUSE',3,'ESCSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('ATUCF1','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ATUCF2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATUCF2','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,'' )
,('ATUCF2','01',3,'CODICE TABELLA',3,'CODTAB',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATUCF2','01',4,'CODICE UVA',3,'CODUVA',0,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATUCF2','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,93,93,0,0,'X(93)','',0,'',0,0,'' )
,('ATUVE1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATUVE1','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,'' )
,('ATUVE1','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATUVE1','01',4,'RAGIONE SOCIALE',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATUVE1','01',5,'ESTENSIONE RAGIONE SOCIALE',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATUVE1','01',6,'ATTRIBUTI',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('ATUVE1','01',7,'COLORE',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATUVE1','01',10,'GRADO MINIMO',2,'GRAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('ATUVE1','01',11,'CODICE UVA I.G.',2,'CUVAIG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATUVE1','01',12,'RESA CERTIFICATA PER ETTARO',2,'RESCER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATUVE1','01',13,'PERCENTUALE TOLLERANZA SUPERO',2,'PERTOL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATUVE1','01',14,'FATTORE DI CONVERSIONE QLI/HL',2,'FATCON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATUVE1','01',15,'PERCENTUALE PER VENDEMMIA MECCANIZZATA',2,'PERMEC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATUVE1','01',16,'TIPO UVA',2,'TIPUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATUVE1','01',21,'CODICE UVA PER SUPERI',2,'CUVATV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATUVE1','01',22,'RESA MASSIMA TOLLERATA',2,'RESMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9999V99','',0,'',0,0,'' )
,('ATUVE1','01',23,'DESCRIZIONE PER BOLLETTE',2,'DESBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATUVE1','01',24,'CODICE D.O./IGT PER AIMA',2,'CODDIA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATUVE1','01',25,'CODICE TIPOLOGIA VINO PER AIMA',2,'CODTVA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATUVE1','01',26,'CODICE VITIGNO AIMA',2,'CODVAI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATUVE1','01',27,'UVA DECLASSAMENTO',2,'UVADEC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATUVE1','01',28,'CODICE VINIFICAZIONE CCIAA',2,'VCCIAA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATUVE1','01',29,'RESA PER RECIOTO/AMARONE',2,'RESREC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATUVE1','01',30,'CODICE DELLE D.O. E I.G.T.',2,'CODDOI',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('ATUVE1','01',31,'RESA TOLLERATA (VEDI xModoTolleranzaDoc)',2,'RESTOL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATUVE1','01',32,'TAVOLA VARIETALE (S/N)',2,'TAVVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATUVE1','01',33,'S=DOC SUPERO/G=DOCG SUPERO',2,'IGTDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATUVE1','01',34,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATUVE1','01',35,'CODICE UVA PRIMO SUPERO (RISERVA)',2,'CUSURI',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATUVE1','01',36,'RESA QLI/HA PRIMO SUPERO (RISERVA)',2,'RESURI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATUVE1','01',37,'CODICE OBSOLETO /S',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATUVE1','01',38,'UVA DESTINAZIONE IGT DECLASSATA X GRADO',2,'IGTDGC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATUVE1','01',39,'UVA BIOLOGICA (S)',2,'FLGBIO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATUVE2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATUVE2','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,'' )
,('ATUVE2','01',3,'CODICE',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATUVE2','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATUVE2','01',5,'CODICE UVA DI DECLASSAMENTO',2,'UVADEC',0,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATUVE2','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATUVE3','DA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATUVE3','DA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATUVE3','DA',3,'CODICE UVA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATUVE3','DA',4,'TIPO RECORD = "DA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATUVE3','DA',5,'DESCRIZIONE PER DENUNCIE IGT LAVIS',2,'DESIGT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATUVE3','DA',6,'DESCRIZIONE PER REGISTRO CONFERIMENTI',2,'DESREG',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATUVE3','DA',7,'CODICE DENOMINAZIONE VINO AVEPA',2,'DENVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATUVE3','DA',8,'CODICE TIPO VINO AVEPA',2,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATUVE3','DA',9,'CODICE DENOMINAZIONE AGEA 9 CARATTERI',2,'AGED09',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('ATUVE3','DA',10,'CODICE DENOMINAZIONE AGEA 14 CARATTERI',2,'AGED14',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('ATUVE3','DA',11,'RESA CERTIFICATA RIDOTTA X STOCCAGGIO',2,'RESSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATUVE3','DA',12,'CODICE UVA DESTINAZIONE STOCCAGGIO',2,'CODSTO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATUVE3','DA',13,'MENZIONE SPECIALE AVEPA (PROSECCO DOCG)',2,'MENZIO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATUVE3','DA',14,'TIPO COLTIVAZIONE AVEPA',2,'TIPCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATUVE3','DA',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,67,67,0,0,'X(67)','',0,'',0,0,'' )
,('ATUVE4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATUVE4','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,'' )
,('ATUVE4','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,'' )
,('ATUVE4','01',4,'GRADO INIZIALE',3,'GRAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATUVE4','01',5,'GRADO FINALE',3,'GRAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATUVE4','01',6,'UVA DI RICLASSIFICAZIONE',2,'UVARIC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATUVE4','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,184,184,0,0,'X(184)','',0,'',0,0,'' )
,('ATVA09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVA09','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVA09','01',3,'CODICE TABELLA',3,'CODTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATVA09','01',4,'TIPO SEQUENZA P/N',3,'TIPSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVA09','01',5,'INDICE SEQUENZA',3,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVA09','01',6,'DIFFERENZA',3,'DIFFGR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('ATVA09','01',7,'ACIDITA'' BASE',2,'ACIBAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('ATVA09','01',8,'DIFFERENZA IN VALORE',2,'DIFIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,5,0,'99V9(5)','',0,'',0,0,'' )
,('ATVA09','01',9,'DIFFERENZA IN PERCENTUALE',2,'DIFPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATVA09','01',10,'DESCRIZIONE TABELLA',2,'DESTAB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVEAD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVEAD','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,'' )
,('ATVEAD','01',3,'TIPO RECORD = "AD"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVEAD','01',4,'CODICE ALBO DOC',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATVEAD','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATVEAD','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVEAD','01',7,'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,'' )
,('ATVEAD','01',8,'FLAG DOC/IGT (D/I)',2,'DOCIGT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVEAD','01',9,'COD.UVA PER LETTURA AUTO.DOC-FACOLTATIVO',2,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATVEAD','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,90,90,0,0,'X(90)','',0,'',0,0,'' )
,('ATVEAG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVEAG','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,'' )
,('ATVEAG','01',3,'TIPO RECORD = "AG"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVEAG','01',4,'STATO VALIDAZIONE AGEA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVEAG','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('ATVEAG','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVEAG','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,'' )
,('ATVEAG','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ATVEAT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVEAT','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,'' )
,('ATVEAT','01',3,'CODICE',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVEAT','01',4,'ZERI',3,'ZEROES',0,3,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('ATVEAT','01',5,'DESCRIZIONE',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVEAT','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,'' )
,('ATVEAT','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ATVECO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVECO','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVECO','01',3,'CODICE CONTENITORE',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATVECO','01',4,'DESCRIZIONE',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVECO','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,'' )
,('ATVECO','01',6,'TARA QUINTALI',2,'TARAQL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('ATVECO','01',7,'TARA KG',2,'TARAKG',0,0,0,0,0,0,0,0,0,0,'S',1,0,5,6,1,0,'9999V9','',0,'',0,0,'' )
,('ATVECO','01',8,'FLAG REGOLAMENTO VENDEMMIA (S)',2,'FLGRGV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVECO','01',9,'NUMERO CONTENITORI PER PALETTA',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATVECO','01',10,'PALETTA S/N',2,'FLGPAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVECO','01',11,'LIMITE IN KG CONTROLLO PESO ECCESSIVO',2,'PESLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',3,'',0,0,'' )
,('ATVECO','01',12,'ATTRIBUTO PER PESO CASSETTA ECCESSIVO',2,'ATTLIM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',3,'',0,0,'' )
,('ATVECO','01',13,'BINS (S/ )',2,'FLGBIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVECO','01',14,'PESO MINIMO IN KG PER CONTROLLO PESO',2,'PESMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('ATVECO','01',15,'ATTRIBUTO PER PESO CASSETTA SCARSO',2,'ATTMIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATVECO','01',16,'PESO MINIMO DA CONTROLLARE',2,'CTRMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('ATVECO','01',17,'PESO MASSIMO DA CONTROLLARE',2,'CTRMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('ATVECO','01',18,'NUMERO CASSETTE PER CONTENITORE',2,'NUMCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVECO','01',19,'MAX KG DA PROPORRE X RIEMPIRE UVE PREGIO',2,'PROMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('ATVECO','01',20,'NOTE CASSETTA',2,'NOTCAS',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATVECO','01',21,'NOTE BANCALE',2,'NOTBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATVECO','01',22,'NOTE GENERICHE',2,'NOTGEN',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATVECO','01',23,'DOTAZIONE CANTINA',2,'DOTAZC',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATVECO','01',24,'PORTATA NOMINALE IN KG',2,'PORNOM',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('ATVECV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVECV','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,'' )
,('ATVECV','01',3,'TIPO RECORD = "CV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVECV','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVECV','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATVECV','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVECV','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,'' )
,('ATVECV','01',8,'DESCRIZIONI SU TABULATO',2,'DESTES',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',3,'',0,0,'' )
,('ATVECV','01',9,'DESCRIZIONE UNITA'' DI MISURA',2,'UNIMIS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATVECV','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATVEIR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVEIR','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,'' )
,('ATVEIR','01',3,'CODICE',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATVEIR','01',4,'ZERI',3,'ZEROES',0,3,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('ATVEIR','01',5,'DESCRIZIONE',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVEIR','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,108,108,0,0,'X(108)','',0,'',0,0,'' )
,('ATVEKV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVEKV','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,'' )
,('ATVEKV','01',3,'TIPO RECORD = "KV"',3,'TIPREC',0,1,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
('ATVEKV','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVEKV','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATVEKV','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVEKV','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,'' )
,('ATVEKV','01',8,'RAGRUPPAMENTO OBBLIGATORIO S/N',2,'RAGOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVEKV','01',9,'SOTTORAGRUPPAMENTO OBBLIGATORIO S/N',2,'SOTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVEKV','01',10,'INTERESSA COLONNA GRADO/MASSA VOL. S/N',2,'COLMAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVEKV','01',11,'CODICE COLONNA INCREMENTATA',2,'INCCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVEKV','01',12,'CODICE COLONNA DECREMENTATA',2,'DECCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVEKV','01',13,'FORMULA',2,'FORMUL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVEKV','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,90,90,0,0,'X(90)','',0,'',0,0,'' )
,('ATVELO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVELO','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,'' )
,('ATVELO','01',3,'TIPO RECORD = "LO"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVELO','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATVELO','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATVELO','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVELO','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,'' )
,('ATVELO','01',8,'LOCALITA'' CRU S/',2,'LOCCRU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVELO','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('ATVEPO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVEPO','01',2,'TIPO RECORD = "PO"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVEPO','01',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVEPO','01',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATVEPO','01',5,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVEPO','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,'' )
,('ATVEPO','01',7,'PROPRIETARIO S/N',2,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVEPO','01',8,'CODICE AIMA',2,'CODAIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATVEPO','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,97,97,0,0,'X(97)','',0,'',0,0,'' )
,('ATVERA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVERA','01',2,'TIPO RECORD = "RA"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVERA','01',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATVERA','01',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATVERA','01',5,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVERA','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,'' )
,('ATVERA','01',7,'CODICE REGISTRO IN CUI CONFLUISCE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVERA','01',8,'DOC SI/NO',2,'DOCSON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVERA','01',9,'DA PIGIARE SI/NO',2,'PIGSON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVERA','01',10,'CALCOLO VINACCE IMMEDIATO SI/NO',2,'VINSON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVERA','01',11,'MASSA VOLUMICA MINIMA',2,'MASMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('ATVERA','01',12,'CODICE STABILIMENTO',2,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVERA','01',13,'TRASFORMAZIONE MOSTO IN VNF S/N',2,'TRASON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVERA','01',14,'ACCETTA UVE DOC ANCHE SE RAG. NO DOC S/N',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVERA','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,83,83,0,0,'X(83)','',0,'',0,0,'' )
,('ATVERI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVERI','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,'' )
,('ATVERI','01',3,'TIPO RECORD = "RI"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVERI','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATVERI','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATVERI','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVERI','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,'' )
,('ATVERI','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ATVERV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVERV','01',2,'TIPO RECORD = "RV"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVERV','01',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVERV','01',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATVERV','01',5,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVERV','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,'' )
,('ATVERV','01',7,'DESCRIZIONE ESTESA PER REGISTRO',2,'DESEST',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATVERV','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,191,191,0,0,'X(191)','',0,'',0,0,'' )
,('ATVES2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVES2','01',2,'TIPO RECORD = "S2"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVES2','01',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVES2','01',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATVES2','01',5,'DESCRIZIONE DESTINAZIONE UVE DEN.DOC.',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATVES2','01',6,'PARTITA IVA DESTINAZIONE UVE DE.DOC.',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATVES2','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,210,210,0,0,'X(210)','',0,'',0,0,'' )
,('ATVESC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVESC','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,'' )
,('ATVESC','01',3,'TIPO RECORD',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVESC','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVESC','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATVESC','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVESC','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,'' )
,('ATVESC','01',8,'GRADO MINIMO',2,'GRAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATVESC','01',9,'GRADO MASSIMO',2,'GRAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATVESC','01',10,'PREVENDEMMIA S/N',2,'FPREVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',11,'BASE SPUMANTE S/N',2,'FBASSP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',12,'RECIOTO S/N',2,'FRECIO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',13,'CHARDONNAY S/N',2,'FCHARD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',14,'UVA NORMALE (S/N)',2,'FNORMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',15,'USI FUTURI',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',16,'DECLASSAMENTO OLTRE TOLLERANZA S/N',2,'FOLTRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',17,'DECLASSAMENTO DOC A SUPERO S/N',2,'FDECLA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',18,'STAMPA GRADO IN BOLLETTA S/N',2,'FSTGRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',19,'STAMPA MASSA VOLUMICA BOLLETTA S/N',2,'FSTMVL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',20,'RISTAMPA BOLLETTA ALLA TARA S/N',2,'FRISBO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',21,'INCREMENTO GRADO',2,'INCGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATVESC','01',22,'PERCENTUALE +/- LIQUIDAZIONE CASARSA',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('ATVESC','01',23,'PERCENTUALE RITOCCO +/- NETTO (SACILE)',2,'PERNET',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('ATVESC','01',24,'CONTENITORI VENDEMMIA OBBLIGATORI (S/N)',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',25,'GRADO OBBLIGATORIO AL LORDO',2,'GRAOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',26,'ATTRIBUTO OBBLIGATORIO (ZERO=NESSUNO)',2,'ATTOBB',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATVESC','01',27,'DECLASSABILE S/N',2,'FLGDEC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',28,'FLAG STAMPA IN BOLLETTA (S/N)',2,'FSTBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',29,'CHIEDI CONFERMA SE NO MECCANICA',2,'FLGMEC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',30,'PERCENTUALE CALO VENDEMMIA TARDIVA',2,'PERCVT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATVESC','01',31,'RESA MASSIMA ACCETTATA',2,'RESMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATVESC','01',32,'NUMERO ATTRIBUTO CATASTO AMMESSO',2,'NATTCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATVESC','01',33,'CODICE ATTRIBUTO CATASTO AMMESSO',2,'CATTCA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATVESC','01',34,'SECONDO ATTRIBUTO OBBLIGATORIO',2,'ATTOB2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATVESC','01',35,'FLAG PROGETTO QUALITA'' (S/N)',2,'FLAGPQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVESC','01',36,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,159,159,0,0,'X(159)','',0,'',0,0,'' )
,('ATVEST','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVEST','01',2,'TIPO RECORD = "ST"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVEST','01',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVEST','01',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATVEST','01',5,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVEST','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,'' )
,('ATVEST','01',7,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVEST','01',8,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATVEST','01',9,'LOCALITA',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVEST','01',10,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVEST','01',11,'CODICE CANTINA (DEFAULT 000)',2,'CODCAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVEST','01',12,'CODICE STRUMENTO TARA ANTICIPATA',2,'CODMPT',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVEST','01',13,'CODICE CANTINA PER F1 E F2',2,'CCF1F2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVEST','01',14,'REGISTRO DI COMMERCIALIZZAZIONE',2,'REGCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATVEST','01',15,'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,'' )
,('ATVEST','01',16,'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,'' )
,('ATVEST','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,125,125,0,0,'X(125)','',0,'',0,0,'' )
,('ATVEST','01',18,'CODICE MAGAZZINO (PER COLLEGAMENTO R.U.)',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATVEST','01',19,'CODICE REGISTRO UNICO',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATVESV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVESV','01',2,'TIPO RECORD = "SV"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVESV','01',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATVESV','01',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATVESV','01',5,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVESV','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,'' )
,('ATVESV','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ATVETA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVETA','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,'' )
,('ATVETA','01',3,'TIPO RECORD = "TA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVETA','01',4,'CODICE TIPO AUTORIZZAZIONE IMPIANTO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVETA','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATVETA','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVETA','01',7,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,2,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATVETA','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ATVETD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVETD','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,'' )
,('ATVETD','01',3,'TIPO RECORD = "TD"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVETD','01',4,'CODICE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATVETD','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATVETD','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVETD','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,'' )
,('ATVETD','01',8,'TIPO DOCUMENTO PER EXPORT VINO B1',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVETD','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('ATVETT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVETT','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,'' )
,('ATVETT','01',3,'TIPO RECORD = "TT"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVETT','01',4,'CODICE ALBO',3,'CODALB',0,3,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATVETT','01',5,'CODICE UVA DOC O IGT',3,'CODUVA',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATVETT','01',6,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ATVETT','01',7,'DESCRIZIONE TIPOLOGI A DI VINO',2,'DESTIP',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVETT','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,115,115,0,0,'X(115)','',0,'',0,0,'' )
,('ATVEUS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVEUS','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,'' )
,('ATVEUS','01',3,'CODICE UVA CONFERITA (GENERICA)',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATVEUS','01',4,'CODICE VITIGNO',3,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVEUS','01',5,'CODICE UVA DI DESTINAZIONE',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATVEUS','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,148,148,0,0,'X(148)','',0,'',0,0,'' )
,('ATVEUV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVEUV','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,'' )
,('ATVEUV','01',3,'TIPO RECORD = "UV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVEUV','01',4,'CODICE UVAGGIO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATVEUV','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATVEUV','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVEUV','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,'' )
,('ATVEUV','01',8,'CODICE TAVOLA PER DECLASSAMENTI',2,'UVATAV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATVEUV','01',9,'BLOCCO ALTRI UVAGGI SE NON RIEMPITO',2,'BLOCCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVEUV','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,95,95,0,0,'X(95)','',0,'',0,0,'' )
,('ATVEVT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVEVT','01',2,'TIPO RECORD = "VT"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVEVT','01',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVEVT','01',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATVEVT','01',5,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVEVT','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,'' )
,('ATVEVT','01',7,'SIGLA BREVE PER VISUALIZZAZIONI',2,'SIGLAV',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATVEVT','01',8,'CODICE AIMA',2,'CODAIM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVEVT','01',9,'TABELLA ALTRI CODICI AIMA',2,'TABAIM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVEVT','01',10,'ALTRO CODICE AIMA',3,'ALTAIM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',4,'',0,0,'' )
,('ATVEVT','01',11,'PERCENTUALE',3,'PERAIM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',4,'',0,0,'' )
,('ATVEVT','01',12,'COLORE UVA (B/R)',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATVEVT','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,210,210,0,0,'X(210)','',0,'',0,0,'' )
,('ATVEZC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVEZC','01',2,'TIPO RECORD = "ZC"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATVEZC','01',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATVEZC','01',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATVEZC','01',5,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVEZC','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,'' )
,('ATVEZC','01',7,'SIGLA',2,'SIGZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATVEZC','01',8,'PERCENTUALE PER VENDEMMIA MECCANIZZATA',2,'PERMEC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATVEZC','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,91,91,0,0,'X(91)','',0,'',0,0,'' )
,('ATVGRA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVGRA','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,'' )
,('ATVGRA','01',3,'CODICE UVA (SPAZI=TUTTE LE UVE)',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATVGRA','01',4,'ZERI (USI FUTURI)',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATVGRA','01',5,'VALORE RESA',3,'RESAHA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATVGRA','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,64,64,0,0,'X(64)','',0,'',0,0,'' )
,('ATVS32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVS32','01',2,'CODICE TIPO VINCOLO',2,'CODICE',2,3,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
('ATVS32','01',3,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATVS32','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,'' )
,('ATVS32','01',5,'NUMERO MESI VINCOLO',2,'NUMMES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATVS32','01',6,'SCAGLIONE',2,'RIGPER',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',5,'',0,0,'' )
,('ATVS32','01',7,'PERCENTUALE INTERESSI',3,'ELEPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATVS32','01',8,'DATA INIZIO PERIODO',3,'ELEINI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATVS32','01',9,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVS32','01',10,'ANNO INIZIO',4,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATVS32','01',11,'MESE INIZIO',4,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATVS32','01',12,'GIORNO INIZIO',4,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATVS32','01',13,'DATA FINE PERIODO',3,'ELEFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATVS32','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,'' )
,('ATVS32','01',15,'ANNO FINE PERIODO',4,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATVS32','01',16,'MESE FINE PERIODO',4,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATVS32','01',17,'GIORNO FINE PERIODO',4,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATVS32','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ATVSL1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVSL1','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,'' )
,('ATVSL1','01',3,'CODICE RAGGRUPPAMENTO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATVSL1','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,'' )
,('ATVSL1','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,'' )
,('ATVSL1','01',6,'VASCHE DI SCARICO',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',10,'',0,0,'' )
,('ATVSL2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATVSL2','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,'' )
,('ATVSL2','01',3,'CODICE RAGGRUPPAMENTO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATVSL2','01',4,'CODICE UVA',3,'CODUVA',0,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AUANNO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUANNO','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,'' )
,('AUANNO','01',3,'MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AUANNO','01',4,'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,'' )
,('AUANNO','01',5,'ULTIMA ANNATA UTILIZZATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AUANNO','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AUBABO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUBABO','01',2,'UTENTE',2,'NOMUTE',1,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AUBABO','01',3,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('AUDECA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUDECA','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,'' )
,('AUDECA','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,'' )
,('AUDECA','01',4,'DATA ULTIMA ELABORAZIONE DEFINITIVA',2,'ULTELA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AUDECA','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,180,180,0,0,'X(180)','',0,'',0,0,'' )
,('AUEFIN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUEFIN','01',2,'ANNO FINANZIAMENTO',2,'ANNFIN',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AUEFIN','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,'' )
,('AUEFIN','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,'' )
,('AUEFIN','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,'' )
,('AUEL02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUEL02','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,'' )
,('AUEL02','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,'' )
,('AUEL02','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,'' )
,('AUEL02','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,'' )
,('AUEL02','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,'' )
,('AUEL02','01',7,'RESA MINIMA',2,'RESMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AUEL02','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,'' )
,('AUEXP1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUEXP1','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,'' )
,('AUEXP1','01',3,'CODICE STABILIMENTO(PER ADESSO SEMPRE 0)',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AUEXP1','01',4,'CODICE TABELLA',3,'CODTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AUEXP1','01',5,'PROGRESSIVO FASCIA PUNTI',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AUEXP1','01',6,'PERCENTUALE FASCIA PUNTI',2,'PERFAS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AUEXP1','01',7,'VALORE DA ESPORTARE',2,'VALORE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AUEXP2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUEXP2','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,'' )
,('AUEXP2','01',3,'CODICE STABILIMENTO(PER ADESSO SEMPRE 0)',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AUEXP2','01',4,'CODICE TABELLA',3,'CODTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AUEXP2','01',5,'DESCRIZIONE VOCE ANALISI FOSS',3,'DESVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AUEXP2','01',6,'PROGRESSIVO FASCIA VALORI',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AUEXP2','01',7,'PERCENTUALE FASCIA VALORI',2,'PERFAS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AUEXP2','01',8,'VOTO NUMERICO ANALISI',2,'VOTNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AUEXP3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUEXP3','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,'' )
,('AUEXP3','01',3,'CODICE STABILIMENTO(PER ADESSO SEMPRE 0)',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AUEXP3','01',4,'CODICE TABELLA',3,'CODTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AUEXP3','01',5,'DESCRIZIONE VOCE ANALISI FOSS',3,'DESVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AUEXP3','01',6,'PESO NUMERICO DELLA VOCE',2,'PESNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AULDEC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AULDEC','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,'' )
,('AULDEC','01',3,'CODICE STABILIMENTO',3,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AULDEC','01',4,'DATA ULTIMO DECLASSAMENTO AUTOMATICO',2,'ULTDEC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AULDEC','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,'' )
,('AULDEC','01',6,'ANNO ULTIMO DECLASSAMENTO',3,'AAADEC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AULDEC','01',7,'MESE ULTIMO DECLASSAMENTO',3,'MMMDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AULDEC','01',8,'GIORNO ULTIMO DECLASSAMENTO',3,'GGGDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AULDEC','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,'' )
,('AULPNC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AULPNC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'AFATTZ',1,1,'' )
,('AULPNC','01',3,'CODICE CLIENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('AULPNC','01',4,'DATA ULTIMA RGISTRAZIONE CONTABILE',2,'ULTREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AULPNF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AULPNF','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'AFATTZ',1,1,'' )
,('AULPNF','01',3,'CODICE FORNITORE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANFO1',1,1,'' )
,('AULPNF','01',4,'DATA ULTIMA RGISTRAZIONE CONTABILE',2,'ULTREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AULRIC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AULRIC','01',2,'CHIAVE = SPAZI',2,'CHIUVE',1,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AULRIC','01',3,'DATA ULTIMO RICALCOLO',2,'DATULT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AULRIC','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,'' )
,('AULRIC','01',5,'ANNO ULTIMO RICALCOLO',3,'AAAULT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AULRIC','01',6,'MESE ULTIMO RICALCOLO',3,'MMMULT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AULRIC','01',7,'GIORNO ULTIMO RICALCOLO',3,'GGGULT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AULRIC','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,'' )
,('AULTLS','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
('AULTLS','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,'' )
,('AULTLS','01',3,'CODICE SOCIO',3,'CODSOC',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AULTLS','01',4,'DATA STAMPA LIBRO SOCI',3,'DATSTA',0,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AULTLS','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,'' )
,('AULTLS','01',6,'ANNO STAMPA LIBRO SOCI',4,'AAASTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AULTLS','01',7,'MESE STAMPA LIBRO SOCI',4,'MMMSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AULTLS','01',8,'GIORNO STAMPA LIBRO SOCI',4,'GGGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AULTLS','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,'' )
,('AULTPV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AULTPV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AULTPV','01',3,'ZERI',3,'PRODOC',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('AULTPV','01',4,'DATA ULTIMO DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AULTPV','01',5,'ULTIMO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AULTPV','01',6,'ULTIMO DOCUMENTO',2,'NUMDO1',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AULTPV','01',7,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AULTPV','01',8,'IMPORTO',2,'IMPDOC',0,1,3,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AULTPV','01',9,'CODICE MAGAZZINO',2,'CODMAG',0,0,1,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AUMDIF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUMDIF','01',2,'CODICE UNITA DI MISURA',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AUMDIF','01',3,'TIPO UNITA DI MISURA (<> DA ATABAZ-UM)',2,'TIPOUM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AUMDIF','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AUNN02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUNN02','01',2,'CODICE UVAGGIO NOBILE',2,'CODUVN',1,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AUNN02','01',3,'CODICE UVAGGIO NON NOBILE COLLEGATO',2,'CODUNN',2,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AUNN02','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AUPE02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUPE02','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,'' )
,('AUPE02','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,'' )
,('AUPE02','01',4,'PERCENTUALE DA PAGARE',2,'PERPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AUPE02','01',5,'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,'' )
,('AUPE02','01',6,'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,'' )
,('AUPE02','01',7,'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,'' )
,('AUPE02','01',8,'RESA MINIMA',2,'RESMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AUPE02','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AUSTRC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUSTRC','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,'' )
,('AUSTRC','01',3,'CODICE STABILIMENTO',3,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AUSTRC','01',4,'DATA ULTIMA STAMPA DEFINITIVA',2,'ULTSTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AUSTRC','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,'' )
,('AUSTRC','01',6,'ANNO ULTIMA STAMPA',3,'AAASTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AUSTRC','01',7,'MESE ULTIMA STAMPA',3,'MMMSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AUSTRC','01',8,'GIORNO ULTIMA STAMPA',3,'GGGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AUSTRC','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,'' )
,('AUTEPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUTEPR','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUTEPR','01',3,'UTENTE',3,'CODUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AUTEPR','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,'' )
,('AUTIMA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUTIMA','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,'' )
,('AUTIMA','01',3,'CODICE UTENTE ABILITATO',3,'CODUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AUTIMA','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,'' )
,('AUTMAA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUTMAA','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,'' )
,('AUTMAA','01',3,'CODICE UTENTE ABILITATO',3,'CODUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AUTMAA','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,'' )
,('AUTMAC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUTMAC','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,'' )
,('AUTMAC','01',3,'CODICE UTENTE ABILITATO',3,'CODUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AUTMAC','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,'' )
,('AUTMAF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUTMAF','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,'' )
,('AUTMAF','01',3,'CODICE UTENTE ABILITATO',3,'CODUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AUTMAF','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,'' )
,('AUTMAS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUTMAS','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,'' )
,('AUTMAS','01',3,'CODICE UTENTE ABILITATO',3,'CODUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AUTMAS','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,'' )
,('AUTSSC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUTSSC','01',2,'CODICE SOCIO',2,'CODSOC',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AUTSSC','01',3,'PARAMETRAZIONE OLTRE % (S/N)',2,'FLGPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AUTSSC','01',4,'SPOSTAMENTO COLORI DIVERSI (S/N)',2,'FLGCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AUTSSC','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('AUTXXX','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUTXXX','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,'' )
,('AUTXXX','01',3,'UTENTE',3,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AUTXXX','01',4,'CODICE AZIENDA PREDEFINITA',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AUTXXX','01',5,'LOCAZIONE PREDEFINITA',2,'LOCAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AUTXXX','01',6,'PASSWORD UTENTE',2,'PASSWD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AUTXXX','01',7,'AZIENDE GESTIBILI DALL''UTENTE',2,'TABAZI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUTXXX','01',8,'AZIENDA GESTIBILE',3,'GESAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',10,'',0,0,'' )
,('AUVAGG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUVAGG','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,'' )
,('AUVAGG','01',3,'CODICE UVAGGIO',3,'CUVAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AUVAGG','01',4,'POSIZIONE SEQUENZA SCORPORO ALLA TARA',3,'POSSEQ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AUVAGG','01',5,'CHIAVE PER CODICE UVA',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUVAGG','01',6,'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,'' )
,('AUVEDE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUVEDE','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,'' )
,('AUVEDE','01',3,'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,'' )
,('AUVEDE','01',4,'CODICE DI DESTINAZIONE',3,'CODDES',0,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AUVEDE','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AUVEND','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUVEND','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,'' )
,('AUVEND','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,'' )
,('AUVEND','01',4,'CODICE UVAGGIO',3,'CUVAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AUVEND','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AUVERE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUVERE','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,'' )
,('AUVERE','01',3,'CODICE UVA DA SCARTARE',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AUVERE','01',4,'DATA INIZIALE',3,'DATINI',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
('AUVERE','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,'' )
,('AUVERE','01',6,'ANNO INIZIALE',4,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AUVERE','01',7,'MESE INIZIALE',4,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AUVERE','01',8,'GIORNO INIZIALE',4,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AUVERE','01',9,'DATA FINALE',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AUVERE','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,'' )
,('AUVERE','01',11,'ANNO FINALE',4,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AUVERE','01',12,'MESE FINALE',4,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AUVERE','01',13,'GIORNO FINALE',4,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AUVG02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUVG02','01',2,'CODICE UVAGGIO NOBILE',2,'CODUVN',1,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AUVG02','01',3,'CODICE UVAGGIO COLLEGATO',2,'CODUVC',2,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AUVG02','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AUVRIV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUVRIV','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUVRIV','01',3,'CODICE UVA',3,'CODUVA',0,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AUVRIV','01',4,'CODICE RIVENDICAZIONE POSSIBILE',3,'CODRIV',0,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AUVRIV','01',5,'FILLER (TE BASTELO?)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,82,82,0,0,'X(82)','',0,'',0,0,'' )
,('AUVS13','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUVS13','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,'' )
,('AUVS13','01',3,'CODICE UVA DI SUPERO',3,'CUVASU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AUVS13','01',4,'RESA',2,'RESASU',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9(4)V99','',0,'',0,0,'' )
,('AUVS13','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AUZS09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUZS09','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUZS09','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,'' )
,('AUZS09','01',4,'CODICE ZONA DI CONFERIMENTO',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AUZS09','01',5,'CODICE ZONA DI CONFERIMENTO',3,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AUZS09','01',6,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AUZS09','01',7,'CODICE TABELLA PREZZI E SCOSTAMENTI',3,'CODTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',10,'',0,0,'' )
,('AUZS09','01',8,'PERCENTUALE VARIAZIONE PREZZO',3,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',10,'',0,0,'' )
,('AUZS09','01',9,'PREZZO AL QUINTALE',3,'PREQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',10,'',0,0,'' )
,('AV2011','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV2011','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV2011','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,'' )
,('AV2011','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,'' )
,('AV2011','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,'' )
,('AV2011','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,'' )
,('AV2011','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,'' )
,('AV2011','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,'' )
,('AV2011','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,'' )
,('AV2011','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,'' )
,('AV2011','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,'' )
,('AV2011','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,'' )
,('AV2011','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,'' )
,('AV2011','01',19,'NUMERO NOTA DI VARIAZIONE (SE NOTA...)',3,'NUMNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AV2011','01',20,'NATURA OPERAZIONE (IMPONIBILE,ESENTE..)',3,'NATOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AV2011','01',21,'TIPO OPERAZIONE (CESSIONE DI BENI...)',3,'TIPOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV2011','01',22,'MODALITA'' PAGAMENTO',3,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV2011','01',23,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV2011','01',24,'IMPONIBILE',3,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('AV2011','01',25,'IMPOSTA',3,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('AV2011','01',26,'TOTALE IMPONIBILE',3,'TOTIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('AV2011','01',27,'TOTALE IVA',3,'TOTIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('AV2011','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,'' )
,('AV2011','01',30,'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,'' )
,('AV2011','01',31,'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,'' )
,('AV2011','01',32,'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,'' )
,('AV2011','01',33,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV2011','01',34,'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,'' )
,('AV2011','01',35,'MESE FATTURA',4,'MMMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AV2011','01',36,'GIORNO FATTURA',4,'GGGFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AV2011','01',37,'NUMERO FATTURA DA RETTIFICARE',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AV2011','01',38,'IMPONIBILE FATTURA DA RETTIFICARE',3,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('AV2011','01',39,'IMPOSTA FATTURA DA RETTIFICARE',3,'IMPIVF',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('AV2011','01',40,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AV2801','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV2801','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,'' )
,('AV2801','01',3,'COEFFICENTE',2,'COEFFI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AV2801','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AV3221','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV3221','01',2,'CHIAVE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV3221','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,'' )
,('AV3221','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,'' )
,('AV3221','01',5,'SEZIONE',3,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV3221','01',6,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AV3221','01',7,'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,'' )
,('AV3221','01',8,'CODICE RAGGRUPPAMENTO UVE',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AV3221','01',9,'ANNO IMPIANTO',3,'ANNIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AV3221','01',10,'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,'' )
,('AV3221','01',11,'ASSEGNATA 0=NO 1=SI',2,'FLGASS',0,1,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AV8PAM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV8PAM','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,'' )
,('AV8PAM','01',3,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AV8PAM','01',4,'CODICE AZIENDA DA USARE',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AV8PAM','01',5,'CODICE VENDEMMIA DA USARE',2,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AV8PAM','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,285,285,0,0,'X(285)','',0,'',0,0,'' )
,('AV8PAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV8PAR','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,'' )
,('AV8PAR','01',3,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AV8PAR','01',4,'ATTRIBUTI GESTITI CON PALMARE',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',5,'',0,0,'' )
,('AV8PAR','01',5,'TIMEOUT SECONDI ASSEGNAZIONE ATTRIBUTI',2,'SECASS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AV8PAR','01',6,'TIMEOUT SECONDI LETTURA CONFERIMENTI',2,'SECCON',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AV8PAR','01',7,'ATTRIBUTI DA STAMPARE IN BOLLETTA',2,'ATTSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',10,'',0,0,'' )
,('AV8PAR','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,256,256,0,0,'X(256)','',0,'',0,0,'' )
,('AV9CHP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9CHP','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,'' )
,('AV9CHP','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,'' )
,('AV9CHP','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,'' )
,('AV9CHP','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AV9CHP','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,'' )
,('AV9CHT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9CHT','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,'' )
,('AV9CHT','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,'' )
,('AV9CHT','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,'' )
,('AV9CHT','01',5,'TIPO RECORD = "01"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AV9CHT','01',6,'DATI RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9CHT','01',7,'ENTRY POINT ENTRANTE',3,'ENTRYP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AV9CHT','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,'' )
,('AV9CHT','01',9,'CODICE VENDEMMIA',3,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AV9CHT','01',10,'CODICE STABILIMENTO',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9CHT','01',11,'ID DEL TAG DEL SOCIO',3,'ID-TAG',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AV9CHT','01',12,'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,'' )
,('AV9CHT','01',13,'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,'' )
,('AV9CHT','01',14,'MESSAGGIO ERRORE IDENTIFICAZIONE SOCIO',3,'TAGMSG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9CHT','01',15,'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,'' )
,('AV9CHT','01',16,'RAGIONE SOCIALE SOCIO',3,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AV9CHT','01',17,'LOCALITA'' SOCIO',3,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AV9CHT','01',18,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AV9CHT','01',19,'CODICE LOCALITA',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'99999','',0,'',0,0,'' )
,('AV9CHT','01',20,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AV9CHT','01',21,'DESCRIZIONE UVA',3,'DESUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9CHT','01',22,'DESCRIZIONE LOCALITA',3,'DESLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9CHT','01',23,'DESCRIZIONE ZONA',3,'DESZON',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9CHT','01',24,'CODICE PESA LORDO',3,'CODMPL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AV9CHT','01',25,'PESO LORDO',3,'QLLORP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AV9CHT','01',26,'ANOMALIA STABILIMENTO (X)',3,'ANOSTB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9CHT','01',27,'ANOMALIA QUADERNO DI CAMPAGNA (X)',3,'ANOQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9CHT','01',28,'TABELLA CONTENITORI',3,'TABCON',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9CHT','01',29,'CODICE CONTENITORE',4,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',8,'',0,0,'' )
,('AV9CHT','01',30,'NUMER MASSIMO CONTENITORI CONFERIBILI',4,'CONMAX',0,0,0,0,0,0,0,0,0,0,'',1,1,5,6,0,0,'S9(5)','',8,'',0,0,'' )
,('AV9CHT','01',31,'CONTATORE CONTENITORI CONFERITI',4,'CONCNT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',8,'',0,0,'' )
,('AV9CHT','01',32,'STRINGA ID SESSIONE DI CHIAMATA DA TARA',3,'TID-SE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AV9CHT','01',33,'NOME FILE JPG FOTO COMPLETO DI PERCORSO',3,'FILJPG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9CHT','01',34,'SECONDA IMMAGINE CARRO',3,'FILJP2',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9DT3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9DT3','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,'' )
,('AV9DT3','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,'' )
,('AV9DT3','01',4,'CODICE TABELLA',3,'CODTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9DT3','01',5,'CODICE ATTRIBUTO CONF.SANITA',3,'CODSAN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AV9DT3','01',6,'PROGRESSIVO TRAMOGGIA',3,'PROTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9DT3','01',7,'COD ATTRIBUTO CONF. USATO PER TRAMOGGIA',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AV9DT3','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,85,85,0,0,'X(85)','',0,'',0,0,'' )
,('AV9ERP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9ERP','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,'' )
,('AV9ERP','01',3,'STABILIMENTO',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9ERP','01',4,'NUMERO PROGRESSIVO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AV9ERP','01',5,'VISTO (S/N)',2,'FLGVIS',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9ERP','01',6,'MESSAGGIO/ERRORE',2,'DESMSG',0,0,0,0,0,0,0,0,0,0,'',4,0,255,255,0,0,'X(255)','',0,'',0,0,'' )
,('AV9ERP','01',7,'DATA MESSAGGIO',2,'DTAMSG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AV9ERP','01',8,'ORA MESSAGGIO',2,'ORAMSG',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AV9ERP','01',9,'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,'' )
,('AV9ERP','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,59,59,0,0,'X(59)','',0,'',0,0,'' )
,('AV9ERR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9ERR','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,'' )
,('AV9ERR','01',3,'STABILIMENTO',3,'CODSTB',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9ERR','01',4,'NUMERO PROGRESSIVO',3,'NUMERO',0,3,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AV9ERR','01',5,'MESSAGGIO/ERRORE',2,'DESMSG',0,2,0,0,0,0,0,0,0,0,'',4,0,73,73,0,0,'X(73)','',0,'',0,0,'' )
,('AV9ERR','01',6,'DATA MESSAGGIO',2,'DTAMSG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AV9ERR','01',7,'ORA MESSAGGIO',2,'ORAMSG',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AV9ERR','01',8,'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,'' )
,('AV9ERR','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,42,42,0,0,'X(42)','',0,'',0,0,'' )
,('AV9FFF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9FFF','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,'' )
,('AV9FFF','01',3,'PROGRESSIVO CAMPIONE FOSS',3,'PROGRE',0,1,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AV9FFF','01',4,'PROGRESSIVO VOCE ANALISI',3,'VOCPRG',0,3,3,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AV9FFF','01',5,'ID INTERNO TAG',2,'ID-TAG',0,0,1,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AV9FFF','01',6,'DESCRIZIONE VOCE',2,'DESVOC',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9FFF','01',7,'VALORE VOCE',2,'VALORE',0,0,0,0,0,0,0,0,0,0,'',1,1,18,20,5,0,'S9(13)V9(5)','',0,'',0,0,'' )
,('AV9FFF','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,58,58,0,0,'X(58)','',0,'',0,0,'' )
,('AV9FOS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9FOS','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,'' )
,('AV9FOS','01',3,'PROGRESSIVO CAMPIONE FOSS',3,'PROGRE',0,1,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AV9FOS','01',4,'PROGRESSIVO VOCE ANALISI',3,'VOCPRG',0,3,3,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AV9FOS','01',5,'ID INTERNO TAG',2,'ID-TAG',0,0,1,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AV9FOS','01',6,'DESCRIZIONE VOCE',2,'DESVOC',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9FOS','01',7,'VALORE VOCE',2,'VALORE',0,0,0,0,0,0,0,0,0,0,'',1,1,18,20,5,0,'S9(13)V9(5)','',0,'',0,0,'' )
,('AV9FOS','01',8,'CAMPIONE INVALIDATO ( /s)',2,'BADFOS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9FOS','01',9,'IDENTIFICATIVO MACCHINA FOSS',2,'ID-FOS',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AV9FOS','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,37,37,0,0,'X(37)','',0,'',0,0,'' )
,('AV9FSS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9FSS','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,'' )
,('AV9FSS','01',3,'ID ANALISI',3,'ANALIS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9FSS','01',4,'IDENTIFICATIVO MACCHINA FOSS',4,'ID-FOS',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AV9FSS','01',5,'DATA RICEZIONE CAMPIONE DA DATA SISTEMA',4,'DTACAM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AV9FSS','01',6,'ORA RICEZIONE CAMPIONE DA ORA SISTEMA',4,'ORACAM',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AV9FSS','01',7,'IDENTIFICATIVO JOB (DA FOSS)',4,'ID-JOB',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AV9FSS','01',8,'PROGRESSIVO VOCE ANALISI',3,'VOCPRG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AV9FSS','01',9,'ID CAMPIONE (TAG O ALTRO)',2,'ID-TAG',0,1,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AV9FSS','01',10,'DESCRIZIONE VOCE',2,'DESVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9FSS','01',11,'VALORE VOCE',2,'VALORE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AV9FSS','01',12,'CAMPIONE INVALIDATO ( /s)',2,'BADFOS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9FSS','01',13,'VOCE INVALIDATA',2,'BADVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9FSS','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('AV9GU3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9GU3','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,'' )
,('AV9GU3','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,'' )
,('AV9GU3','01',4,'CODICE TABELLA',3,'CODTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9GU3','01',5,'CODICE ATTRIBUTO UVA GUASTA',3,'CODGUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AV9GU3','01',6,'DESCRIZIONE VOCE FOSS',3,'DESVOC',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
('AV9GU3','01',7,'VALORE INIZIALE',2,'VALINI',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,5,0,'9(9)V9(5)','',0,'',0,0,'' )
,('AV9GU3','01',8,'VALORE FINALE',2,'VALFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,5,0,'9(9)V9(5)','',0,'',0,0,'' )
,('AV9GU3','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,83,83,0,0,'X(83)','',0,'',0,0,'' )
,('AV9LHF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9LHF','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,'' )
,('AV9LHF','01',3,'ID SESSIONE',3,'ID-SES',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AV9LHF','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,'' )
,('AV9LHF','01',5,'PROGRESSIVO UNIVOCO FONDO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AV9LHF','01',6,'CODICE UVA BASE (O UVAGGIO) DEL FONDO',2,'CODICE',0,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AV9LHF','01',7,'DESCRIZIONE BASE O UVAGGIO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9LHF','01',8,'SUPERFICIE VITATA',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,'' )
,('AV9LHF','01',9,'CODICE UVA FONDO',2,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AV9LHF','01',10,'CODICE ZONA FONDO',2,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AV9LHF','01',11,'CODICE LOCALITA'' FONDO',2,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AV9LHF','01',12,'VIGNETO FONDO',2,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AV9LHF','01',13,'COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AV9LHF','01',14,'SPAZIO IN QUINTALI ENTRO TOLLERANZA-MAX',2,'SPAZIO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,9,1,0,'S9(6)V9','',0,'',0,0,'' )
,('AV9LHF','01',15,'DESCRIZIONE UVA BASE (O UVAGGIO)',2,'DESUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9LHF','01',16,'DESCRIZIONE LOCALITA',2,'DESLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9LHF','01',17,'DESCRIZIONE ZONA',2,'DESZON',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9LHF','01',18,'CODICE UVA DI DECLASSAMENTO',2,'UVADEC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AV9LHF','01',19,'DESCRIZIONE UVA DECLASSAMENTO',2,'DESDEC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9LHF','01',20,'INCREMENTO IN QUINTALI OTTENUTO',2,'INCQLI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AV9LHF','01',21,'QUANTITA'' CONFERITA PRECEDENTEMENTE',2,'PRECON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AV9LHP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9LHP','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,'' )
,('AV9LHP','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,'' )
,('AV9LHP','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,'' )
,('AV9LHP','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,'' )
,('AV9LHP','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,'' )
,('AV9LHT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9LHT','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,'' )
,('AV9LHT','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,'' )
,('AV9LHT','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,'' )
,('AV9LHT','01',5,'TIPO RECORD = "01"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AV9LHT','01',6,'DATI RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9LHT','01',7,'ENTRY POINT ENTRANTE',3,'ENTRYP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AV9LHT','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,'' )
,('AV9LHT','01',9,'CODICE VENDEMMIA',3,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AV9LHT','01',10,'CODICE STABILIMENTO',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9LHT','01',11,'ID DEL TAG DEL SOCIO',3,'ID-TAG',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AV9LHT','01',12,'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,'' )
,('AV9LHT','01',13,'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,'' )
,('AV9LHT','01',14,'MESSAGGIO ERRORE IDENTIFICAZIONE SOCIO',3,'TAGMSG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9LHT','01',15,'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,'' )
,('AV9LHT','01',16,'RAGIONE SOCIALE SOCIO',3,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AV9LHT','01',17,'LOCALITA'' SOCIO',3,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AV9LHT','01',18,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AV9LHT','01',19,'CODICE LOCALITA',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'99999','',0,'',0,0,'' )
,('AV9LHT','01',20,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AV9LHT','01',21,'DESCRIZIONE UVA',3,'DESUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9LHT','01',22,'DESCRIZIONE LOCALITA',3,'DESLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9LHT','01',23,'DESCRIZIONE ZONA',3,'DESZON',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9LHT','01',24,'CODICE PESA LORDO',3,'CODMPL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AV9LHT','01',25,'PESO LORDO',3,'QLLORP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AV9LHT','01',26,'COUNT DOWN TIMEOUT LETTURA BABO',3,'TIMOUT',0,0,0,0,0,0,0,0,0,0,'',1,1,3,4,0,0,'S999','',0,'',0,0,'' )
,('AV9LHT','01',27,'GRADO BABO',3,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AV9LHT','01',28,'NUMERO CAMPIONE GRADO MASELLI',3,'NRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AV9LHT','01',29,'DATA BABO',3,'DTBABO',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AV9LHT','01',30,'ORA BABO',3,'ORBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AV9LHT','01',31,'CAMPIONE FOSS NON VALIDO ( /S)',3,'BADFOS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9LHT','01',32,'MECCANICA (S/ )',3,'FLAGME',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9LHT','01',33,'ANOMALIA STABILIMENTO (X)',3,'ANOSTB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9LHT','01',34,'ANOMALIA QUADERNO DI CAMPAGNA (X)',3,'ANOQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9LHT','01',35,'PH',3,'INDPHT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AV9LHT','01',36,'ACIDITA'' TOTALE',3,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'9(3)V9(4)','',0,'',0,0,'' )
,('AV9LHT','01',37,'NUMERO INTERNO CAMPIONE FOSS ASSOCIATO',3,'FOSSCN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AV9LHT','01',38,'CODICE CAMPIONE FOSS DA BOLLA PRECEDENTE',3,'CAMPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AV9LHT','01',39,'COLORE RICEVUTO DAL MASELLI',3,'COLORE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AV9LHT','01',40,'INCREMENTO GRADO BASE SPUMANTE',3,'INCGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AV9LHT','01',41,'BASE SPUMANTE (S/N)',3,'FLAGBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9LHT','01',42,'NOME JPG FOTO CARRO COMPLETO DI PERCORSO',3,'FILJPG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9LHT','01',43,'UVA SCELTA VENDEMMIALE SOCIO',3,'UVADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AV9LHT','01',44,'DESCRIZIONE UVA DICHIARATA',3,'DESDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9LHT','01',45,'FLAG DECLASSATO PER GRADO (S/ )',3,'FLGDCG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9LHT','01',46,'INCREMENTO GRADO CONCENTRAZIONE',3,'INCGRC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AV9LHT','01',47,'GRADO CONCENTRATO',3,'GRADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AV9LHT','01',48,'SECONDA IMMAGINE LORDO',3,'FILJP2',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9LHT','01',49,'FLAG UVE BASSO RESIDUO',3,'FLGBAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9LHT','01',50,'FLAG NON STAMPARE BOLLETTA (INCR.GRADO)',3,'FLGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9LHT','01',51,'CODICE BASE DECLASSAMENTO',3,'CODBAS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AV9LHT','01',52,'DESCRIZIONE BASE DECLASSAMENTO',3,'DESBAS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9LHT','01',53,'FUNZIONE RICHIESTA (LORDO/DECLASSAMENTO)',3,'FLAGLD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9LHT','01',54,'FASCIA DI RISPETTO BIO (S)',3,'FASBIO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9LHT','01',55,'DESCRIZIONE FASCIA DI RISPETTO',3,'FASCIA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9LHT','01',56,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,153,153,0,0,'X(153)','',0,'',0,0,'' )
,('AV9LOR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9LOR','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,'' )
,('AV9LOR','01',3,'ID INTERNO TAG',3,'ID-TAG',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AV9LOR','01',4,'CHIAVE FONDO',2,'KEYFON',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9LOR','01',5,'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,'' )
,('AV9LOR','01',6,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AV9LOR','01',7,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AV9LOR','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,'' )
,('AV9LOR','01',9,'CODICE STABILIMENTO',2,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9LOR','01',10,'GRADO DA MASELLI',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AV9LOR','01',11,'ASSOCIATO CAMPIONE FOS (S/N)',2,'FLGFOS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9LOR','01',12,'PESO LORDO',2,'PESLOR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AV9LOR','01',13,'FLAG MECCANICA',2,'FLAGME',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9LOR','01',14,'ANOMALIA QUADERNO DI CAMPAGNA (X)',2,'ANOQUA',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
('AV9LOR','01',15,'ANOMALIA STABILIMENTO DI CONSEGNA (X)',2,'ANOSTB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9LOR','01',16,'ORARIO PRIMO INGRESSO HHMMSSCC',2,'ORARIO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AV9LOR','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,64,64,0,0,'X(64)','',0,'',0,0,'' )
,('AV9MAS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9MAS','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,'' )
,('AV9MAS','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,'' )
,('AV9MAS','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,'' )
,('AV9MAS','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,'' )
,('AV9MAS','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,'' )
,('AV9MAS','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,'' )
,('AV9MAS','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,'' )
,('AV9MAS','01',11,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AV9MAS','01',12,'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,'' )
,('AV9PAM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9PAM','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,'' )
,('AV9PAM','01',3,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AV9PAM','01',4,'CODICE AZIENDA DA USARE',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AV9PAM','01',5,'CODICE VENDEMMIA DA USARE',2,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AV9PAM','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,285,285,0,0,'X(285)','',0,'',0,0,'' )
,('AV9PAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9PAR','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,'' )
,('AV9PAR','01',3,'CODICE STABILIMENTO RACCOLTA',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9PAR','01',4,'NOME FILE RELATIVE CAMPIONI MASELLI',2,'FILMAS',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AV9PAR','01',5,'NOME FILE INDEXED CAMPIONI FOSS',2,'FILFOS',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AV9PAR','01',6,'DESCRIZIONE VOCE DATA FOSS',2,'FOSDTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9PAR','01',7,'DESCRIZIONE VOCE ORA FOSS',2,'FOSORA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9PAR','01',8,'CODICE PESA LORDO',2,'CODLOR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AV9PAR','01',9,'CODICE PESA TARA',2,'CODTAR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AV9PAR','01',10,'URL IP CAMERA IMMAGINE LORDO ---OLD---',2,'OIPCLO',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AV9PAR','01',11,'URL IP CAMERA IMMAGINE TARA ---OLD---',2,'OIPCTA',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AV9PAR','01',12,'STAMPANTE LORDO',2,'STALOR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AV9PAR','01',13,'STAMPANTE TARA',2,'STATAR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AV9PAR','01',14,'TIMEOUT PRELIEVO DATI FOSS IN SECONDI',2,'FOSSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9PAR','01',15,'IP SEMAFORO',2,'IPSEMA',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AV9PAR','01',16,'PORTA SEMAFORO',2,'POSEMA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AV9PAR','01',17,'PERCORSO SALVATAGGIO IMMAGINI LORDO',2,'JPGLOR',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AV9PAR','01',18,'PERCORSO SALVATAGGIO IMMAGINI TARA',2,'JPGTAR',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AV9PAR','01',19,'VOCE BABO DEL FOSS',2,'FOSBAB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9PAR','01',20,'VOCE PH DEL FOSS',2,'FOSSPH',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9PAR','01',21,'VOCE ACIDITA'' TOTALE DEL FOSS',2,'FOSACT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9PAR','01',22,'TEMPO MINIMO IN SECONDI PER 2^ CAMPIONE',2,'TIME2C',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AV9PAR','01',23,'GIORNI VALIDI RICERCA CAMPIONE FOSS PREC',2,'GGFOSS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AV9PAR','01',24,'LORDO ANTICIPATO (ILLASI) S/N',2,'LORANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9PAR','01',25,'STAMPANTE ETICHETTE CONTENITORI',2,'STAETC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AV9PAR','01',26,'VOCE COLORE MASELLI (SU ACONP1)',2,'VOCCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9PAR','01',27,'STAMPANTE CAMPIONI MATUIRAZIONE',2,'STACMM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AV9PAR','01',28,'CAMPIONI MATURAZIONE (S/N)',2,'CAMMAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9PAR','01',29,'DECLASSAMENTO ALLA TARA ATTIVO (S/N)',2,'FLGDEC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9PAR','01',30,'DECLASSAMENTO AL LORDO ATTIVO (S/N)',2,'FLDECL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9PAR','01',31,'SPALMATURA SU FONDI IN USCITA (S/N)',2,'FLSPAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9PAR','01',32,'PROPORRE RESA OMOGENEA STOCCAGGIO (S/N)',2,'FLSPST',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9PAR','01',33,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9PAR','01',34,'QLI RIEMPIMENTO PRIMO CARRO FONDI',2,'QLRIEM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AV9PAR','01',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AV9PAR','01',36,'URL IP CAMERA LORDO',2,'UIPCLO',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9PAR','01',37,'URL IP CAMERA TARA',2,'UIPCTA',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9PAR','01',38,'URL IP CAMERA LORDO AGGIUNTIVA',2,'UIPCL2',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9PAR','01',39,'URL IP CAMERA TARA AGGIUNTIVA',2,'UIPCT2',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9PAR','01',40,'FORMATO IMMAGINE CAMERA LORDO',2,'FORCLO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AV9PAR','01',41,'FORMATO IMMAGINE CAMERA LORDO 2',2,'FORCL2',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AV9PAR','01',42,'FORMATO IMMAGINE CAMERA TARA',2,'FORCTA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AV9PAR','01',43,'FORMATO IMMAGINE CAMERA TARA 2',2,'FORCT2',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AV9PAR','01',44,'CAMPIONE FOSS PROCEDURA PESE MANUALI (S)',2,'FOSSPM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9PAR','01',45,'GRADO MINIMO',2,'GRAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AV9PAR','01',46,'SCALINI NORMALIZZAZIONE GRADO AL MINIMO',2,'GRSTEP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AV9PEP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9PEP','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,'' )
,('AV9PEP','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,'' )
,('AV9PEP','01',4,'PROGRESSIVO ERRORI PALMARE',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AV9PEP','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9PES','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9PES','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,'' )
,('AV9PES','01',3,'FINO A PESO LORDO',3,'FINLOR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AV9PES','01',4,'PESO NETTO IPOTETICO',2,'PESNET',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AV9PES','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('AV9PLO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9PLO','01',2,'ID INTERNO TAG',2,'ID-TAG',1,2,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AV9PLO','01',3,'CODICE STABILIMENTO',2,'CODSTB',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9PLO','01',4,'PESO LORDO',2,'PESLOR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AV9PLO','01',5,'CODICE STRUMENTO PESA LORDO',2,'CODMPL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AV9PLO','01',6,'NOME JPG FOTO CARRO COMPLETO DI PERCORSO',2,'FILJPG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9PLO','01',7,'SECONDA IMMAGINE LORDO',2,'FILJP2',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9PLO','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,217,217,0,0,'X(217)','',0,'',0,0,'' )
,('AV9SA3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9SA3','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,'' )
,('AV9SA3','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,'' )
,('AV9SA3','01',4,'CODICE TABELLA',3,'CODTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9SA3','01',5,'DESCRIZIONE VOCE ANALISI FOSS',3,'DESVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9SA3','01',6,'VALORE INIZIALE VOCE',3,'VALINI',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,5,0,'9(9)V9(5)','',0,'',0,0,'' )
,('AV9SA3','01',7,'VALORE FINALE VOCE',3,'VALFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,5,0,'9(9)V9(5)','',0,'',0,0,'' )
,('AV9SA3','01',8,'VOTO NUMERICO ANALISI',2,'VOTNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9SA3','01',9,'PESO NUMERICO DELLA VOCE',2,'PESNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9SA3','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9SA4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9SA4','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,'' )
,('AV9SA4','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,'' )
,('AV9SA4','01',4,'CODICE TABELLA',3,'CODTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9SA4','01',5,'PUNTEGGIO INIZIALE',3,'PUNINI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AV9SA4','01',6,'PUNTEGGIO FINALE',3,'PUNFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AV9SA4','01',7,'CODICE ATTRIBUTO STATO SANITARIO',2,'CODSAN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AV9SA4','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,79,79,0,0,'X(79)','',0,'',0,0,'' )
,('AV9TA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9TA1','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,'' )
,('AV9TA1','01',3,'CODICE TABELLA',3,'CODTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9TA1','01',4,'DECSRIZIONE',2,'DESTAB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9TA1','01',5,'DECSRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AV9TA1','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,82,82,0,0,'X(82)','',0,'',0,0,'' )
,('AV9TA2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9TA2','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,'' )
,('AV9TA2','01',3,'CODICE TABELLA',3,'CODTAB',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9TA2','01',4,'CODICE UVA',3,'CODUVA',0,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AV9TA2','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,93,93,0,0,'X(93)','',0,'',0,0,'' )
,('AV9TA3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9TA3','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,'' )
,('AV9TA3','01',3,'CODICE TABELLA',3,'CODTAB',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9TA3','01',4,'CODICE UVA',3,'CODUVA',0,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AV9TA3','01',5,'SCELTA OPZIONALE',3,'CODSCE',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9THF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9THF','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,'' )
,('AV9THF','01',3,'ID SESSIONE',3,'ID-SES',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AV9THF','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,'' )
,('AV9THF','01',5,'PROGRESSIVO UNIVOCO FONDO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AV9THF','01',6,'CODICE UVA FONDO',2,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AV9THF','01',7,'CODICE ZONA FONDO',2,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AV9THF','01',8,'CODICE LOCALITA'' FONDO',2,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AV9THF','01',9,'VIGNETO FONDO',2,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AV9THF','01',10,'COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AV9THF','01',11,'ORDINE DI CARICAMENTO (ZERO NO CARICO)',2,'ORDINE',0,2,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AV9THF','01',12,'SPAZIO IN QUINTALI ENTRO CERTIFICATA',2,'RESCER',0,0,0,0,0,0,0,0,0,0,'',1,1,7,9,1,0,'S9(6)V9','',0,'',0,0,'' )
,('AV9THF','01',13,'SPAZIO IN QUINTALI ENTRO TOLLERANZA-MAX',2,'SPAZIO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,9,1,0,'S9(6)V9','',0,'',0,0,'' )
,('AV9THF','01',14,'QUINTALI ASSEGNATI',2,'QNETTO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,9,1,0,'S9(6)V9','',0,'',0,0,'' )
,('AV9THF','01',15,'DESCRIZIONE UVA',2,'DESUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9THF','01',16,'DESCRIZIONE LOCALITA',2,'DESLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9THF','01',17,'DESCRIZIONE ZONA',2,'DESZON',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9THF','01',18,'TIPO UVA (DA ATUVE1)',2,'TIPUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9THF','01',19,'UVO DISABILITATO PER DOC ESAURITO',2,'GRIGIO',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AV9THF','01',20,'CODICE UVA DI DECLASSAMENTO',2,'UVADEC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AV9THF','01',21,'DESCRIZIONE UVA DECLASSAMENTO',2,'DESDEC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9THF','01',22,'INCREMENTO INN QUINTALI OTTENUTO',2,'INCQLI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AV9THF','01',23,'GRADO MINIMO UVA',2,'GRAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AV9THF','01',24,'QUANTITA'' CERTIFICATA',2,'QTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AV9THF','01',25,'SPAZIO RECIOTO RESIDUO',2,'SPAREC',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,1,0,'9(6)V9','',0,'',0,0,'' )
,('AV9THF','01',26,'RESIDUO SUPERO',2,'RESSUP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AV9THF','01',27,'QUANTITA'' CONFERITA PRECEDENTEMENTE',2,'PRECON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AV9THF','01',28,'DECLASSATO AUTOMATICAMENTE (S/ )',2,'DECAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9THF','01',29,'CAPACITA'' TOTALE MASSIMA DELL''UVO',2,'QTAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AV9THF','01',30,'CAPACITA'' TOTALE PRIMA STOCCAGGIO',2,'QTASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AV9THF','01',31,'RESIDUO CONFERIBILE ENTRO STOCCAGGIO',2,'RESSTO',0,0,0,0,0,0,0,0,0,0,'',1,1,8,10,2,0,'S9(6)V99','',0,'',0,0,'' )
,('AV9THF','01',32,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,125,125,0,0,'X(125)','',0,'',0,0,'' )
,('AV9THP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9THP','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,'' )
,('AV9THP','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,'' )
,('AV9THP','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,'' )
,('AV9THP','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,'' )
,('AV9THP','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,'' )
,('AV9THT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9THT','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,'' )
,('AV9THT','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,'' )
,('AV9THT','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,'' )
,('AV9THT','01',5,'TIPO RECORD = "01"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AV9THT','01',6,'DATI RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9THT','01',7,'ENTRY POINT ENTRANTE',3,'ENTRYP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AV9THT','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,'' )
,('AV9THT','01',9,'CODICE VENDEMMIA',3,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AV9THT','01',10,'CODICE STABILIMENTO',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9THT','01',11,'ID DEL TAG DEL SOCIO',3,'ID-TAG',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AV9THT','01',12,'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,'' )
,('AV9THT','01',13,'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,'' )
,('AV9THT','01',14,'MESSAGGIO ERRORE IDENTIFICAZIONE SOCIO',3,'TAGMSG',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AV9THT','01',15,'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,'' )
,('AV9THT','01',16,'RAGIONE SOCIALE SOCIO',3,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AV9THT','01',17,'LOCALITA'' SOCIO',3,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AV9THT','01',18,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AV9THT','01',19,'CODICE LOCALITA',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'99999','',0,'',0,0,'' )
,('AV9THT','01',20,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AV9THT','01',21,'DESCRIZIONE UVA',3,'DESUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9THT','01',22,'DESCRIZIONE LOCALITA',3,'DESLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9THT','01',23,'DESCRIZIONE ZONA',3,'DESZON',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9THT','01',24,'PESO LORDO',3,'QLLORT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AV9THT','01',25,'PERCENTUALE MECCANICA',3,'PERMEC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AV9THT','01',26,'COEFFICIENTE MECCANICA',3,'CFMECC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,4,0,'9V9999','',0,'',0,0,'' )
,('AV9THT','01',27,'CODICE PESA TARA',3,'CODMPT',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AV9THT','01',28,'TARA',3,'QLTARP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AV9THT','01',29,'NETTO',3,'QLNETT',0,0,0,0,0,0,0,0,0,0,'',1,1,4,9,2,0,'S9(5)V99 COMP-3','',0,'',0,0,'' )
,('AV9THT','01',30,'NUMERO BOLLETTA DI INGRESSO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AV9THT','01',31,'PROGRESSIVO ORDINE DI CARICAMENTO UVO',3,'ORDINE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AV9THT','01',32,'NUMERO UVO DISPONIBILI SUDDIVISIONE',3,'NUMUVO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AV9THT','01',33,'GRADO BABO FINALE CONFERIMENTO',3,'GRADOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AV9THT','01',34,'TOTALE SPAZIO DISPONIBILE SUDDIVISIONE',3,'TOTSPA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,1,0,'9(6)V9','',0,'',0,0,'' )
,('AV9THT','01',35,'MESSAGGIO ASSISTENZA IN UFFICIO',3,'SOSMSG',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AV9THT','01',36,'BLOCCO STAMPA SITUAZIONE SOCIO (1=LOCK)',3,'LCKSIT',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AV9THT','01',37,'BLOCCO CREAZIONE CONFERIMENTI (1=LOCK)',3,'LCKCON',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AV9THT','01',38,'INCREMENTO GRADO AL LORDO BASE SPUMANTE',3,'INCGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AV9THT','01',39,'FLAG BASE SPUMANTE (S/N)',3,'FLAGBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9THT','01',40,'NOME JPG FOTO CARRO COMPLETO DI PERCORSO',3,'FILJPG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9THT','01',41,'ULTIMO CARRO (0=no; 1=si)',3,'ULTIMO',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AV9THT','01',42,'UVA BASE DICHIARATA AL LORDO',3,'UVBASE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AV9THT','01',43,'INCREMENTO GRADO PER CONCENTRAZIONE',3,'INCGRC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AV9THT','01',44,'SECONDA IMMAGINE TARA',3,'FILJP2',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AV9THT','01',45,'SPALMATURA OMOGENEA SUI FONDI',3,'SPALMA',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AV9THT','01',46,'STOCCAGGIO CON ASSEGNAZIONE FURBA',3,'STOCCA',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AV9THT','01',47,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,149,149,0,0,'X(149)','',0,'',0,0,'' )
,('AV9TRA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9TRA','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,'' )
,('AV9TRA','01',3,'CODICE ATTRIBUTO CONFERIMENTO TRAMOGGIA',3,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AV9TRA','01',5,'TAMOGGIA CHIUSA ( /S)',2,'FLGCHI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9TRA','01',6,'AMMESSA VENDEMMIA MECCANICA (S/N)',2,'FLGMEC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9TRA','01',7,'QUINTALI PORTATA (AMMESSI IN CODA)',2,'QLIPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AV9TRA','01',8,'PESO NETTO MINIMO CARRETTO',2,'NETMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AV9TRA','01',9,'PESO NETTO MASSIMO CARRETTO',2,'NETMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AV9TRA','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,123,123,0,0,'X(123)','',0,'',0,0,'' )
,('AV9UCS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9UCS','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,'' )
,('AV9UCS','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,'' )
,('AV9UCS','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,'' )
,('AV9UCS','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,93,93,0,0,'X(93)','',0,'',0,0,'' )
,('AV9UVC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9UVC','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,'' )
,('AV9UVC','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,'' )
,('AV9UVC','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,'' )
,('AV9UVC','01',5,'CONFERIBILE S/N',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9UVC','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('AV9UVL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9UVL','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,'' )
,('AV9UVL','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,'' )
,('AV9UVL','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,'' )
,('AV9UVL','01',5,'UVA BASE CONFERIBILE AL LORDO S/N',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9UVL','01',6,'SCELTA VENDEMMIALE CONFERIBILE TARA S/N',2,'FLGTAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9UVL','01',7,'INCREMENTO GRADO AL LORDO',2,'INCGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AV9UVL','01',8,'TIPO INCREMENTO GRADO ( /1/2/3)',2,'FLGINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AV9UVL','01',13,'TRAMOGGIA BASSO RESIDUO',2,'TRABAS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AV9UVL','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,83,83,0,0,'X(83)','',0,'',0,0,'' )
,('AV9VCF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9VCF','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,'' )
,('AV9VCF','01',3,'CODICE STABILIMENTO RACCOLTA',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9VCF','01',4,'VOCE FOSS VISUA NEI CAMPIONI IN TRANSITO',3,'DESVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9VCF','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('AV9VCM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9VCM','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,'' )
,('AV9VCM','01',3,'CODICE STABILIMENTO RACCOLTA',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9VCM','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9VCM','01',5,'VOCE FOSS VISUA NEI CAMPIONI MATURAZIONE',3,'DESVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9VCM','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('AV9VFV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9VFV','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,'' )
,('AV9VFV','01',3,'VOCE CAMPIONE FOSS',3,'DESVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9VFV','01',4,'VALORE INIZIALE',2,'VALINI',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,5,0,'9(9)V9(5)','',0,'',0,0,'' )
,('AV9VFV','01',5,'VALORE FINALE',2,'VALFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,5,0,'9(9)V9(5)','',0,'',0,0,'' )
,('AV9VFV','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,42,42,0,0,'X(42)','',0,'',0,0,'' )
,('AV9VOF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9VOF','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,'' )
,('AV9VOF','01',3,'VOCE FOSS',3,'DESVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9VOF','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,'' )
,('AV9VPF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AV9VPF','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,'' )
,('AV9VPF','01',3,'CODICE STABILIMENTO RACCOLTA',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AV9VPF','01',4,'VOCE FOSS DA VISUALIZZARE SU PALMARE',3,'DESVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AV9VPF','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('AVAA05','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAA05','01',2,'NUMERO ATTRIBUTO',2,'NUMATT',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVAA05','01',3,'CODICE ATTRIBUTO',2,'CODATT',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVAA05','01',4,'VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,7,2,0,'S999V99','',0,'',0,0,'' )
,('AVAA05','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVAA23','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAA23','01',2,'NUMERO ATTRIBUTO',2,'NUMATT',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVAA23','01',3,'CODICE ATTRIBUTO',2,'CODATT',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVAA23','01',4,'IMPORTO VARIAZIONE AL QUINTALE',2,'VARQLE',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,3,0,'S999V999','',0,'',0,0,'' )
,('AVAA23','01',5,'VARIAZIONE IN PERCENTUALE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,7,2,0,'S999V99','',0,'',0,0,'' )
,('AVAA23','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,'' )
,('AVAA78','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAA78','01',2,'NUMERO ATTRIBUTO',2,'NUMATT',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVAA78','01',3,'CODICE ATTRIBUTO',2,'CODATT',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVAA78','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,'' )
,('AVAA78','01',5,'IMPORTO VARIAZIONE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,9,5,0,'S99V9(5)','',0,'',0,0,'' )
,('AVAA78','01',6,'PREZZO FISSO',2,'PREFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('AVAA78','01',7,'PREZZO UVE ROSSE',2,'PREUVR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('AVAA78','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('AVAC76','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAC76','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAC76','01',3,'NUMERO ATTRIBUTO',3,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVAC76','01',4,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVAC76','01',5,'PERCENTUALE VARIAZIONE',2,'VARATT',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVAC76','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,'' )
,('AVACOM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVACOM','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,'' )
,('AVACOM','01',3,'NUMERO MOVIMENTO',3,'NUMMOV',0,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVACOM','01',4,'NUMERO ORDINE CANTINA',2,'NUMORD',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVACOM','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,'' )
,('AVAL02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAL02','01',2,'NUMERO ATTRIBUTO',2,'NUMATT',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVAL02','01',3,'CODICE ATTRIBUTO',2,'CODATT',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVAL02','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,'' )
,('AVAL02','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('AVAL05','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAL05','01',2,'NUMERO ATTRIBUTO',2,'NUMATT',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVAL05','01',3,'CODICE ATTRIBUTO',2,'CODATT',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVAL05','01',4,'VARIAZIONE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,7,2,0,'S999V99','',0,'',0,0,'' )
,('AVAL05','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVAL12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAL12','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
('AVAL12','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,'' )
,('AVAL12','01',4,'NUMERO ATTRIBUTO CONFERIMENTO',3,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVAL12','01',5,'CODICE ATTRIBUTO CONFERIMENTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVAL12','01',6,'VARIAZIONE A QUINTALE',2,'VARVAL',0,0,0,0,0,0,0,0,0,0,'',1,1,7,9,4,0,'S999V9(4)','',0,'',0,0,'' )
,('AVAL12','01',7,'VARIAZIONE IN PERCENTUALE',2,'VARPER',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVAL12','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,180,180,0,0,'X(180)','',0,'',0,0,'' )
,('AVAL23','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAL23','01',2,'NUMERO ATTRIBUTO',2,'NUMATT',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVAL23','01',3,'CODICE ATTRIBUTO',2,'CODATT',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVAL23','01',4,'IMPORTO VARIAZIONE AL QUINTALE',2,'VARQLE',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,3,0,'S999V999','',0,'',0,0,'' )
,('AVAL23','01',5,'VARIAZIONE IN PERCENTUALE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,7,2,0,'S999V99','',0,'',0,0,'' )
,('AVAL23','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,'' )
,('AVAL78','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAL78','01',2,'NUMERO ATTRIBUTO',2,'NUMATT',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVAL78','01',3,'CODICE ATTRIBUTO',2,'CODATT',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVAL78','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,'' )
,('AVAL78','01',5,'IMPORTO VARIAZIONE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,9,5,0,'S99V9(5)','',0,'',0,0,'' )
,('AVAL78','01',6,'PREZZO FISSO',2,'PREFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('AVAL78','01',7,'PREZZO UVE ROSSE',2,'PREUVR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('AVAL78','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('AVALCH','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVALCH','01',2,'CODICE MAGAZZINO',2,'CODMAG',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVALCH','01',3,'CODICE ARTICOLO',2,'CODART',2,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AVALCH','01',4,'ANNATA ARTICOLO',2,'ANNATA',3,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVALCH','01',5,'LOTTO',2,'NLOTTO',4,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVALCH','01',6,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('AVALCH','01',7,'VALORE TOTALE',2,'VALTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,5,0,'9(9)V9(5)','',0,'',0,0,'' )
,('AVALRB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVALRB','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'AFATTZ',1,1,'' )
,('AVALRB','01',3,'NUMERO INTERNO DOCUMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'ABOLLZ',1,1,'' )
,('AVALRB','01',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'ABOLLZ',1,2,'' )
,('AVALRB','01',5,'NUMERO COMPONENTE',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ABOLLZ',1,3,'' )
,('AVALRB','01',6,'QUANTITA'' RIFERITA AL PREZZO',2,'QTAPRZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',7,'QUANTITA'' TOTALE RIGA IN LITRI',2,'QLITRI',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',8,'QUANTITA'' TOTALE RIGA IN PEZZI',2,'QTABOT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',10,'IMPORTO LORDO IN VALUTA',2,'IMPLOR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',11,'IMPORTO NETTO IN VALUTA',2,'IMPNET',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',12,'IMPORTO SCONTO LITRO IN VALUTA',2,'ISCOLT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',13,'IMPORTO SCONTO % IN VALUTA',2,'ISCONT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRB','01',14,'IMPORTO SCONTO PAGAMENTO IN VALUTA',2,'ISCOPG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',16,'PREZZO IN VALUTA LOCALE (EURO)',2,'PREZZL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',17,'IMPORTO LORDO IN VALUTA LOCALE (EURO)',2,'IMPLOL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',18,'IMPORTO NETTO IN VALUTA LOCALE (EURO)',2,'IMPNEL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',19,'SCONTO LITRO IN VALUTA LOCALE (EURO)',2,'ISCOLL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',20,'SCONTO % IN VALUTA LOCALE (EURO)',2,'ISCONL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRB','01',21,'SCONTO PAGAMENTO VALUTA LOCALE (EURO)',2,'ISCOPL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',23,'SEGNO DOCUMENTO (1=FATTURE, -1=N.ACCR.)',2,'SEGNOD',0,0,0,0,0,0,0,0,0,0,'',1,1,1,2,0,0,'S9','',0,'',0,0,'' )
,('AVALRB','01',24,'IMPORTO LORDO STATISTICO VALUTA',2,'SIMLOR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',25,'IMPORTO NETTO STATISTICO VALUTA',2,'SIMNET',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',26,'IMPORTO SCONTO LITRO STATISTICO VALUTA',2,'SSCOLT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',27,'IMPORTO SCONTI PERCENTUALI STATISTICI V.',2,'SSCONT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRB','01',28,'IMPORTO SCONTO PAGAMENTO STATISTICO V.',2,'SSCOPG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',30,'IMPORTO LORDO STATISTICO IN EURO',2,'SIMLOL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',31,'IMPORTO NETTO STATISTICO IN EURO',2,'SIMNEL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',32,'IMPORTO SCONTO LITRO STATISTICO EURO',2,'SSCOLL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',33,'IMPORTO SCONTI STATISTICI IN EURO',2,'SSCONL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRB','01',34,'IMPORTO SCONTO PAGAMENTO STATITSICO EURO',2,'SSCOPL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',35,'QUANTITA'' STATISTICA RIFERITA A PREZZO',2,'SQTPRZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',36,'QUANTITA'' STATISTICA LITRI',2,'SQLITR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRB','01',37,'QUANTITA'' STATISTICA BOTTIGLIE',2,'SQTBOT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVALRF','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'AFATTZ',1,1,'' )
,('AVALRF','01',3,'NUMERO INTERNO DOCUMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'AFATTZ',1,1,'' )
,('AVALRF','01',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'AFATTZ',1,2,'' )
,('AVALRF','01',5,'NUMERO COMPONENTE',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'AFATTZ',1,3,'' )
,('AVALRF','01',6,'QUANTITA'' RIFERITA AL PREZZO',2,'QTAPRZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',7,'QUANTITA'' TOTALE RIGA IN LITRI',2,'QLITRI',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',8,'QUANTITA'' TOTALE RIGA IN PEZZI',2,'QTABOT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',10,'IMPORTO LORDO IN VALUTA',2,'IMPLOR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',11,'IMPORTO NETTO IN VALUTA',2,'IMPNET',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',12,'IMPORTO SCONTO LITRO IN VALUTA',2,'ISCOLT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',13,'IMPORTO SCONTO % IN VALUTA',2,'ISCONT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRF','01',14,'IMPORTO SCONTO PAGAMENTO IN VALUTA',2,'ISCOPG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',16,'PREZZO IN VALUTA LOCALE (EURO)',2,'PREZZL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',17,'IMPORTO LORDO IN VALUTA LOCALE (EURO)',2,'IMPLOL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',18,'IMPORTO NETTO IN VALUTA LOCALE (EURO)',2,'IMPNEL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',19,'SCONTO LITRO IN VALUTA LOCALE (EURO)',2,'ISCOLL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',20,'SCONTO % IN VALUTA LOCALE (EURO)',2,'ISCONL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRF','01',21,'SCONTO PAGAMENTO VALUTA LOCALE (EURO)',2,'ISCOPL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',23,'SEGNO DOCUMENTO (1=FATTURE, -1=N.ACCR.)',2,'SEGNOD',0,0,0,0,0,0,0,0,0,0,'',1,1,1,2,0,0,'S9','',0,'',0,0,'' )
,('AVALRF','01',24,'IMPORTO LORDO STATISTICO VALUTA',2,'SIMLOR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',25,'IMPORTO NETTO STATISTICO VALUTA',2,'SIMNET',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',26,'IMPORTO SCONTO LITRO STATISTICO VALUTA',2,'SSCOLT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',27,'IMPORTO SCONTI PERCENTUALI STATISTICI V.',2,'SSCONT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRF','01',28,'IMPORTO SCONTO PAGAMENTO STATISTICO V.',2,'SSCOPG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',30,'IMPORTO LORDO STATISTICO IN EURO',2,'SIMLOL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',31,'IMPORTO NETTO STATISTICO IN EURO',2,'SIMNEL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',32,'IMPORTO SCONTO LITRO STATISTICO EURO',2,'SSCOLL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',33,'IMPORTO SCONTI STATISTICI IN EURO',2,'SSCONL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRF','01',34,'IMPORTO SCONTO PAGAMENTO STATITSICO EURO',2,'SSCOPL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',35,'QUANTITA'' STATISTICA RIFERITA AL PREZZO',2,'SQTPRZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',36,'QUANTITA'' STATISTICA IN LITRI',2,'SQLITR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRF','01',37,'QUANTITA'' STATISTICA IN BOTTIGLIE',2,'SQTBOT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVALRO','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'AFATTZ',1,1,'' )
,('AVALRO','01',3,'NUMERO INTERNO DOCUMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'AORDIZ',1,1,'' )
,('AVALRO','01',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'AORDIZ',1,2,'' )
,('AVALRO','01',5,'NUMERO COMPONENTE',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'AORDIZ',1,3,'' )
,('AVALRO','01',6,'QUANTITA'' RIFERITA AL PREZZO',2,'QTAPRZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',7,'QUANTITA'' TOTALE RIGA IN LITRI',2,'QLITRI',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AVALRO','01',8,'QUANTITA'' TOTALE RIGA IN PEZZI',2,'QTABOT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',10,'IMPORTO LORDO IN VALUTA',2,'IMPLOR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',11,'IMPORTO NETTO IN VALUTA',2,'IMPNET',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',12,'IMPORTO SCONTO LITRO IN VALUTA',2,'ISCOLT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',13,'IMPORTO SCONTO % IN VALUTA',2,'ISCONT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRO','01',14,'IMPORTO SCONTO PAGAMENTO IN VALUTA',2,'ISCOPG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',16,'PREZZO IN VALUTA LOCALE (EURO)',2,'PREZZL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',17,'IMPORTO LORDO IN VALUTA LOCALE (EURO)',2,'IMPLOL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',18,'IMPORTO NETTO IN VALUTA LOCALE (EURO)',2,'IMPNEL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',19,'SCONTO LITRO IN VALUTA LOCALE (EURO)',2,'ISCOLL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',20,'SCONTO % IN VALUTA LOCALE (EURO)',2,'ISCONL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRO','01',21,'SCONTO PAGAMENTO VALUTA LOCALE (EURO)',2,'ISCOPL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',23,'SEGNO DOCUMENTO (1=FATTURE, -1=N.ACCR.)',2,'SEGNOD',0,0,0,0,0,0,0,0,0,0,'',1,1,1,2,0,0,'S9','',0,'',0,0,'' )
,('AVALRO','01',24,'IMPORTO LORDO STATISTICO VALUTA',2,'SIMLOR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',25,'IMPORTO NETTO STATISTICO VALUTA',2,'SIMNET',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',26,'IMPORTO SCONTO LITRO STATISTICO VALUTA',2,'SSCOLT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',27,'IMPORTO SCONTI PERCENTUALI STATISTICI V.',2,'SSCONT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRO','01',28,'IMPORTO SCONTO PAGAMENTO STATISTICO V.',2,'SSCOPG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',30,'IMPORTO LORDO STATISTICO IN EURO',2,'SIMLOL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',31,'IMPORTO NETTO STATISTICO IN EURO',2,'SIMNEL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',32,'IMPORTO SCONTO LITRO STATISTICO EURO',2,'SSCOLL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',33,'IMPORTO SCONTI STATISTICI IN EURO',2,'SSCONL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRO','01',34,'IMPORTO SCONTO PAGAMENTO STATITSICO EURO',2,'SSCOPL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',35,'QUANTITA'' STATISTICA RIFERITA PREZZO',2,'SQTPRZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',36,'QUANTITA'' STATISTICA LITRI',2,'SQLITR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',37,'QUANTITA'' STATISTICA BOTTIGLIE',2,'SQTBOT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRO','01',38,'QUANTITA'' FATTURATA (RIGHE MERCE E DOCO)',2,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AVALRO','01',39,'IMPORTO FATTURATO (RIGHE IMPORTO)',2,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('AVALRP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVALRP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'AFATTZ',1,1,'' )
,('AVALRP','01',3,'NUMERO INTERNO DOCUMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'APVENZ',1,1,'' )
,('AVALRP','01',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'APVENZ',1,2,'' )
,('AVALRP','01',5,'NUMERO COMPONENTE',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'APVENZ',1,3,'' )
,('AVALRP','01',6,'QUANTITA'' RIFERITA AL PREZZO',2,'QTAPRZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',7,'QUANTITA'' TOTALE RIGA IN LITRI',2,'QLITRI',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',8,'QUANTITA'' TOTALE RIGA IN PEZZI',2,'QTABOT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',10,'IMPORTO LORDO IN VALUTA',2,'IMPLOR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',11,'IMPORTO NETTO IN VALUTA',2,'IMPNET',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',12,'IMPORTO SCONTO LITRO IN VALUTA',2,'ISCOLT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',13,'IMPORTO SCONTO % IN VALUTA',2,'ISCONT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRP','01',14,'IMPORTO SCONTO PAGAMENTO IN VALUTA',2,'ISCOPG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',16,'PREZZO IN VALUTA LOCALE (EURO)',2,'PREZZL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',17,'IMPORTO LORDO IN VALUTA LOCALE (EURO)',2,'IMPLOL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',18,'IMPORTO NETTO IN VALUTA LOCALE (EURO)',2,'IMPNEL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',19,'SCONTO LITRO IN VALUTA LOCALE (EURO)',2,'ISCOLL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',20,'SCONTO % IN VALUTA LOCALE (EURO)',2,'ISCONL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRP','01',21,'SCONTO PAGAMENTO VALUTA LOCALE (EURO)',2,'ISCOPL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',23,'SEGNO DOCUMENTO (1=FATTURE, -1=N.ACCR.)',2,'SEGNOD',0,0,0,0,0,0,0,0,0,0,'',1,1,1,2,0,0,'S9','',0,'',0,0,'' )
,('AVALRP','01',24,'IMPORTO LORDO STATISTICO VALUTA',2,'SIMLOR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',25,'IMPORTO NETTO STATISTICO VALUTA',2,'SIMNET',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',26,'IMPORTO SCONTO LITRO STATISTICO VALUTA',2,'SSCOLT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',27,'IMPORTO SCONTI PERCENTUALI STATISTICI V.',2,'SSCONT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRP','01',28,'IMPORTO SCONTO PAGAMENTO STATISTICO V.',2,'SSCOPG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',30,'IMPORTO LORDO STATISTICO IN EURO',2,'SIMLOL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',31,'IMPORTO NETTO STATISTICO IN EURO',2,'SIMNEL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',32,'IMPORTO SCONTO LITRO STATISTICO EURO',2,'SSCOLL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVALRP','01',33,'IMPORTO SCONTI STATISTICI IN EURO',2,'SSCONL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',4,'',0,0,'' )
,('AVALRP','01',34,'IMPORTO SCONTO PAGAMENTO STATITSICO EURO',2,'SSCOPL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AVAM38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAM38','01',2,'CODICE GRUPPO',2,'CODGRU',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVAM38','01',3,'GRADO SOTTO IL QUALE APPLICARE TABELLA',2,'GRAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AVAM38','01',4,'PUNTI SOTTO GRADO MINIMO',2,'PUNMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AVAM38','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,23,23,0,0,'X(23)','',0,'',0,0,'' )
,('AVANAB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVANAB','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,'' )
,('AVANAB','01',3,'CODICE GRUPPO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVANAB','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVANAB','01',5,'CODICE ATTRIBUTO ARTICOLO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVANAB','01',6,'PERCENTUALE VARIAZIONE QUANTITA''',2,'PERQTA',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVANAB','01',7,'PERCENTUALE VARIAZIONE VALORE',2,'PERVAL',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVANAB','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AVAP08','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAP08','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,'' )
,('AVAP08','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVAP08','01',4,'NUMERO ATTRIBUTO VARIETA'' SU PARTITE',2,'ATTVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVAP08','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,149,149,0,0,'X(149)','',0,'',0,0,'' )
,('AVAP38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAP38','01',2,'CODICE GRUPPO',2,'CODGRU',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVAP38','01',3,'VALORE PUNTO',2,'VALPUN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('AVAP38','01',4,'CODICE GRUPPO PER ESPLOSIONE TABELLA',2,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVAP38','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,23,23,0,0,'X(23)','',0,'',0,0,'' )
,('AVAP58','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAP58','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,'' )
,('AVAP58','01',3,'PERCENTUALE DIMINUZIONE PESO',2,'PERDIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVAP58','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVAQ02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAQ02','01',2,'NUMERO ATTRIBUTO',2,'NUMATT',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVAQ02','01',3,'CODICE ATTRIBUTO',2,'CODATT',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVAQ02','01',4,'IMPORTO VARIAZIONE AL QUINTALE',2,'VARQLE',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVAQ02','01',5,'PERCENTUALE VARIAZIONE DA APPLICARE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVAR08','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAR08','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,'' )
,('AVAR08','01',3,'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,'' )
,('AVAR08','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,'' )
,('AVAR12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAR12','01',2,'CODICE SOCIO',2,'CODSOC',1,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVAR12','01',3,'NUMERO PROGRESSIVO ADDEBITO/ACCREDITO',2,'NUMPRO',2,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVAR12','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AVAR12','01',5,'IMPORTO VARIAZIONE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,2,'9(9)','9(7)V99',0,'',0,0,'' )
,('AVAR12','01',6,'SEGNO VARIAZIONE',2,'SEGVAR',0,3,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
('AVAR12','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('AVAR38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAR38','01',2,'CODICE SOCIO',2,'CODSOC',1,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVAR38','01',3,'CODICE ADDEBITO',2,'CODADD',2,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVAR38','01',4,'IMPORTO VARIAZIONE',2,'IMPVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AVAR38','01',5,'SEGNO VARIAZIONE',2,'SEGVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVAR38','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('AVARCL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVARCL','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,'' )
,('AVARCL','01',3,'CODICE LINEA',3,'CODLIN',1,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('AVARCL','01',4,'VARIAZIONE IN PERCENTUALE',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AVARCL','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,'' )
,('AVAS56','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVAS56','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,'' )
,('AVAS56','01',3,'IMPORTO AZIONE',2,'IMPAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('AVAS56','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,'' )
,('AVASAC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAC','01',2,'NUMERO ATTRIBUTO PARTITE',2,'NUMATT',1,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASAC','01',3,'CODICE ATTRIBUTO PARTITA',2,'CODATT',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AVASAC','01',4,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',3,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AVASAC','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,191,191,0,0,'X(191)','',0,'',0,0,'' )
,('AVASAL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAL','01',2,'NUMERO ANALISI',2,'NUMANA',1,5,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASAL','01',3,'TIPO OGGETTO',2,'FLGOBJ',2,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASAL','01',8,'CODICE OGGETTO',2,'CODOBJ',3,2,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('AVASAL','01',9,'PARTITA/VASCA',2,'PARVAS',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAL','01',10,'PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVASAL','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,'' )
,('AVASAL','01',12,'ANNO PARTITA',4,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASAL','01',13,'TIPO PARTITA',4,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASAL','01',14,'NUMERO PARTITA',4,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AVASAL','01',15,'VASCA',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AVASAL','01',16,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAL','01',17,'STABILIMENTO',4,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASAL','01',18,'SETTORE',4,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASAL','01',19,'NUMERO',4,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASAL','01',20,'MATERIA PRIMA',2,'MAPRIM',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAL','01',21,'CODICE PARTITA MATERIA PRIMA',3,'CODMAP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASAL','01',22,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVASAL','01',23,'LOTTO',2,'LOTTOI',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAL','01',24,'NUMERO INTERNO LOTTO IMBOTTIGLIAMENTO',3,'CODLOT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASAL','01',25,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVASAL','01',26,'PROPOSTA ACQUISTO',2,'PROACQ',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAL','01',27,'CODICE PROPOSTA ACQUISTO',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASAL','01',28,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AVASAL','01',29,'DATA ANALISI',2,'DTAANA',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVASAL','01',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAL','01',31,'ANNO',3,'AA-ANA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASAL','01',32,'MESE',3,'MM-ANA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASAL','01',33,'GIORNO',3,'GG-ANA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASAL','01',34,'ORA',2,'ORAANA',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVASAL','01',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AVASAQ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAQ','01',2,'CHIAVE PER DATA/ARTICOLO',2,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAQ','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,'' )
,('AVASAQ','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASAQ','01',5,'CHIAVE PER ARTICOLO',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAQ','01',6,'DATA PROPOSTA',4,'DTAPRO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVASAQ','01',7,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAQ','01',8,'ANNO',5,'AA-PRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASAQ','01',9,'MESE',5,'MM-PRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASAQ','01',10,'GIORNO',5,'GG-PRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASAQ','01',11,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAQ','01',12,'NUMERO PROPOSTA',5,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AVASAQ','01',13,'FORNITORE',2,'DESFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AVASAQ','01',14,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',2,'',0,0,'' )
,('AVASAQ','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,'' )
,('AVASAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAR','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,'' )
,('AVASAR','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,'' )
,('AVASAR','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,'' )
,('AVASAR','01',5,'VOCE ANALISI',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,'' )
,('AVASAS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAS','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,'' )
,('AVASAS','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,'' )
,('AVASAS','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,'' )
,('AVASAS','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,'' )
,('AVASAT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAT','01',2,'CHIAVE PER ARTICOLO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAT','01',3,'DATA-ORA ANALISI',3,'TEMANA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAT','01',4,'DATA ANALISI',4,'DTAANA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AVASAT','01',5,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAT','01',6,'ANNO',5,'AA-ANA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AVASAT','01',7,'MESE',5,'MM-ANA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASAT','01',8,'GIORNO',5,'GG-ANA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AVASAT','01',9,'ORA ANALISI',4,'ORAANA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AVASAT','01',10,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAT','01',11,'NUMERO ANALISI',5,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AVASAT','01',12,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',2,'',0,0,'' )
,('AVASAT','01',13,'TIPO ANALISI',2,'TIPANA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AVASAT','01',14,'CODICE OPERATORE',2,'CODOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AVASAV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAV','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,'' )
,('AVASAV','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,'' )
,('AVASAV','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,'' )
,('AVASAV','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,'' )
,('AVASAV','01',6,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AVASAV','01',7,'STABILIMENTO',5,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASAV','01',8,'SETTORE',5,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AVASAV','01',9,'NUMERO',5,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
go
