INSERT INTO dbo.ZFILE3_01 VALUES
('ATABAZ','ZC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABAZ','ZC',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,'' )
,('ATABAZ','ZC',3,'CODICE ZONA DI CONSEGNA',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABAZ','ZC',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,'' )
,('ATABAZ','ZC',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,'' )
,('ATABAZ','ZC',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,'' )
,('ATABAZ','ZC',7,'% ADDEBITO SCONTO MERCE PROVVIGIONI',2,'PERDEP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('ATABAZ','ZC',10,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABAZ','ZC',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,94,94,0,0,'X(94)','',0,'',0,0,'' )
,('ATABAZ','ZV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABAZ','ZV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABAZ','ZV',3,'TIPO RECORD = "ZV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABAZ','ZV',4,'CODICE ZONA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATABAZ','ZV',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,'' )
,('ATABAZ','ZV',6,'DESCRIZIONE ZONA',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABAZ','ZV',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,'' )
,('ATABAZ','ZV',8,'SIGLA ABBREVIATA',2,'SIGABB',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATABAZ','ZV',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,'' )
,('ATABCI','CI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABCI','CI',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABCI','CI',3,'TIPO RECORD = "IC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABCI','CI',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('ATABCI','CI',5,'CODICE REGISTRO COMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABCI','CI',6,'CODICE REGISTRO DI IMBOTTIGLIAMENTO',2,'CODIMB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABCI','CI',7,'CAUSALE COMMERCIALIZZAZIONE',2,'CAUCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATABCI','CI',8,'CAUSALE IMBOTTIGLIAMENTO',2,'CAUIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATABCI','CI',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,129,129,0,0,'X(129)','',0,'',0,0,'' )
,('ATABCO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABCO','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,'' )
,('ATABCO','01',3,'CODICE CONTRATTO',3,'CODCON',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABCO','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,'' )
,('ATABCO','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,'' )
,('ATABCO','01',6,'DATA INIZIO GESTIONE CONTRATTO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATABCO','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABCO','01',8,'ANNO INIZIO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABCO','01',9,'MESE INIZIO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABCO','01',10,'GIORNO INIZIO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABCO','01',11,'DATA FINE GESTIONE CONTRATTO',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATABCO','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,'' )
,('ATABCO','01',13,'ANNO FINE',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABCO','01',14,'MESE FINE',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABCO','01',15,'GIORNO FINE',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABCO','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,42,42,0,0,'X(42)','',0,'',0,0,'' )
,('ATABCP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABCP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,3,2,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABCP','01',3,'NUMERO PROGRESSIVO TABELLA',3,'NUMTAB',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATABCP','01',4,'CODICE CLIENTE',2,'CODCLI',0,0,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABCP','01',5,'DATA INIZIO VALIDITA''',2,'DATINI',0,0,0,1,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATABCP','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,'' )
,('ATABCP','01',7,'ANNO INIZIO VALIDITA''',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABCP','01',8,'MESE INIZIO VALIDITA''',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABCP','01',9,'GIORNO INIZIO VALIDITA''',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABCP','01',10,'DATA FINE VALIDITA''',2,'DATFIN',0,1,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATABCP','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,'' )
,('ATABCP','01',12,'ANNO FINE VALIDITA''',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABCP','01',13,'MESE FINE VALIDITA''',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABCP','01',14,'GIORNO FINE VALIDITA''',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABCP','01',15,'TABELLA ATTRIBUTI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('ATABCP','01',16,'NUMERO ATTRIBUTO',3,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABCP','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,'' )
,('ATABCP','01',18,'PRIMO LIMITE (LITRI)',2,'LIM001',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('ATABCP','01',19,'PERCENTUALE SU FATTURATO',2,'PER001',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('ATABCP','01',20,'IMPORTO FISSO',2,'FIS001',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ATABCP','01',21,'LIRE PER LITRO',2,'NUM001',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,5,'9(7)','99V9(5)',0,'',0,0,'' )
,('ATABCP','01',22,'SECONDO LIMITE (IMPORTO)',2,'LIM002',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ATABCP','01',23,'PERCENTUALE SU FATTURATO',2,'PER002',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('ATABCP','01',24,'IMPORTO FISSO',2,'FIS002',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ATABCP','01',25,'TERZO LIMITE (NUMERO)',2,'LIM003',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('ATABCP','01',26,'PERCENTUALE SU FATTURATO',2,'PER003',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('ATABCP','01',27,'IMPORTO FISSO',2,'FIS003',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ATABCP','01',28,'LIRE PER NUMERO',2,'NUM003',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,5,'9(7)','99V9(5)',0,'',0,0,'' )
,('ATABCP','01',29,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABCP','01',30,'SEQUENZA ATTRIBUTI S/N',2,'SEQATT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATABCP','01',31,'PREMIO PAGATO S/N',2,'PAGATO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATABCP','01',32,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ATABDD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABDD','01',2,'CODICE ATTRIBUTO',2,'CODATT',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABDD','01',3,'VALORE ATTRIBUTO',2,'VALATT',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABDD','01',4,'CODICE UVA ISCRIZIONE COLLEGATA',2,'UVADUE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATABDD','01',5,'CODICE UVA ANAGRAFICA COLLEGATA',2,'UVATRE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATABDD','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('ATABDO','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABDO','00',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABDO','00',3,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABDO','00',4,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATABDO','00',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,286,286,0,0,'X(286)','',0,'',0,0,'' )
,('ATABDO','CA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABDO','CA',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABDO','CA',3,'TIPO RECORD = "CA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABDO','CA',4,'CODICE CAUSALE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATABDO','CA',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABDO','CA',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABDO','CA',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,'' )
,('ATABDO','CA',8,'CODICE ARTICOLO DA DOLCIFICARE',2,'CODAR1',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATABDO','CA',9,'CODICE ARTICOLO DOLCIFICANTE',2,'CODAR2',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATABDO','CA',10,'CODICE ARTICOLO DOLCIFICATO',2,'CODAR3',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATABDO','CA',12,'SCARICO PRODOTTO DA DOLCIFICARE',2,'CAUCO1',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATABDO','CA',13,'SCARICO PRODOTTO DOLCIFICANTE',2,'CAUCO2',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATABDO','CA',14,'CARICO PRODOTTO DOLCIFICATO',2,'CAUCO3',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATABDO','CA',15,'PERDITE PRODOTTO DOLCIFICATO',2,'CAUCO4',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
('ATABDO','CA',17,'SCARICO PRODOTTO DA DOLCIFICARE',2,'CAUMA1',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATABDO','CA',18,'SCARICO PRODOTTO DOLCIFICANTE',2,'CAUMA2',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATABDO','CA',19,'CARICO PRODOTTO DOLCIFICATO',2,'CAUMA3',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATABDO','CA',20,'PERDITE PRODOTTO DOLCIFICATO',2,'CAUMA4',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATABDO','CA',21,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,164,164,0,0,'X(164)','',0,'',0,0,'' )
,('ATABDO','RE',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABDO','RE',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABDO','RE',3,'TIPO RECORD = "RE"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABDO','RE',4,'CODICE REGISTRO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABDO','RE',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATABDO','RE',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABDO','RE',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,'' )
,('ATABDO','RE',8,'DESCRIZIONI PER REGISTRO',2,'TITBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATABDO','RE',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,181,181,0,0,'X(181)','',0,'',0,0,'' )
,('ATABES','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','00',2,'TIPO RECORD',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABES','00',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATABES','00',4,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABES','00',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,'' )
,('ATABES','00',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,'' )
,('ATABES','CV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','CV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','CV',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,'' )
,('ATABES','CV',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABES','CV',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,'' )
,('ATABES','CV',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,'' )
,('ATABES','CV',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,'' )
,('ATABES','CV',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,'' )
,('ATABES','CV',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,'' )
,('ATABES','CV',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,'' )
,('ATABES','KV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','KV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','KV',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,'' )
,('ATABES','KV',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABES','KV',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,'' )
,('ATABES','KV',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,'' )
,('ATABES','KV',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,'' )
,('ATABES','KV',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,'' )
,('ATABES','KV',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,'' )
,('ATABES','KV',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,'' )
,('ATABES','KV',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,'' )
,('ATABES','KV',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,'' )
,('ATABES','KV',13,'FORMULA',2,'FORMUL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATABES','KV',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,'' )
,('ATABES','LO',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','LO',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','LO',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,'' )
,('ATABES','LO',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,'' )
,('ATABES','LO',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,'' )
,('ATABES','LO',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,'' )
,('ATABES','LO',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,'' )
,('ATABES','LO',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,'' )
,('ATABES','LO',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,'' )
,('ATABES','PO',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','PO',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,'' )
,('ATABES','PO',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABES','PO',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,'' )
,('ATABES','PO',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,'' )
,('ATABES','PO',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,'' )
,('ATABES','PO',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,'' )
,('ATABES','PO',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('ATABES','RA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','RA',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,'' )
,('ATABES','RA',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,'' )
,('ATABES','RA',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,'' )
,('ATABES','RA',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,'' )
,('ATABES','RA',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,'' )
,('ATABES','RA',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,'' )
,('ATABES','RA',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,'' )
,('ATABES','RA',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,'' )
,('ATABES','RA',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,'' )
,('ATABES','RA',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,'' )
,('ATABES','RA',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,'' )
,('ATABES','RA',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,'' )
,('ATABES','RA',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,'' )
,('ATABES','RA',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,'' )
,('ATABES','RI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','RI',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','RI',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,'' )
,('ATABES','RI',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,'' )
,('ATABES','RI',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,'' )
,('ATABES','RI',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,'' )
,('ATABES','RI',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,'' )
,('ATABES','RI',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,'' )
,('ATABES','RV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','RV',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,'' )
,('ATABES','RV',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABES','RV',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,'' )
,('ATABES','RV',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,'' )
,('ATABES','RV',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,'' )
,('ATABES','RV',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,'' )
,('ATABES','RV',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,'' )
,('ATABES','SC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','SC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','SC',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,'' )
,('ATABES','SC',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABES','SC',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,'' )
,('ATABES','SC',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,'' )
,('ATABES','SC',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,'' )
,('ATABES','SC',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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATABES','ST',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','ST',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,'' )
,('ATABES','ST',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABES','ST',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,'' )
,('ATABES','ST',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,'' )
,('ATABES','ST',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,'' )
,('ATABES','ST',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,'' )
,('ATABES','ST',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,'' )
,('ATABES','ST',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,'' )
,('ATABES','ST',10,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABES','ST',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('ATABES','SV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','SV',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,'' )
,('ATABES','SV',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,'' )
,('ATABES','SV',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,'' )
,('ATABES','SV',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,'' )
,('ATABES','SV',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,'' )
,('ATABES','SV',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,'' )
,('ATABES','UV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','UV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','UV',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,'' )
,('ATABES','UV',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,'' )
,('ATABES','UV',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,'' )
,('ATABES','UV',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,'' )
,('ATABES','UV',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,'' )
,('ATABES','UV',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,'' )
,('ATABES','VT',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','VT',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,'' )
,('ATABES','VT',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABES','VT',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,'' )
,('ATABES','VT',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,'' )
,('ATABES','VT',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,'' )
,('ATABES','VT',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,'' )
,('ATABES','ZC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABES','ZC',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,'' )
,('ATABES','ZC',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,'' )
,('ATABES','ZC',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,'' )
,('ATABES','ZC',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,'' )
,('ATABES','ZC',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,'' )
,('ATABES','ZC',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,'' )
,('ATABES','ZC',8,'PERCENTUALE PER VENDEMMIA MECCANIZZATA',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATABES','ZC',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,'' )
,('ATABIC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABIC','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,'' )
,('ATABIC','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABIC','01',4,'ELEMENTO PER CALCOLO INTERESSI',2,'ELEINT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',4,'',0,0,'' )
,('ATABIC','01',5,'PERCENTUALE INTERESSE',3,'PERINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATABIC','01',6,'DATA INIZIALE',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('ATABIC','01',7,'DATA FINALE',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('ATABIC','01',8,'INTERESSE OLTRE IL QUALE SCAD. VALIDA',2,'INTMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATABIC','01',9,'N. ATTRIBUTO CLIENTI DA ELABORARE',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABIC','01',10,'CODICE ATTRIBUTO CLIENTI DA ELABORARE',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABIC','01',11,'N. GIORNI DOPO IL QUALE SCARTARE SCAD.',2,'NUMGIO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABIC','01',12,'DATA DOCUMENTO OLTRE LA QUALE ANALIZZARE',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATABIC','01',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABIC','01',14,'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,'' )
,('ATABIC','01',15,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABIC','01',16,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABIC','01',17,'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,'' )
,('ATABIC','01',18,'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,'' )
,('ATABIC','01',19,'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,'' )
,('ATABIC','01',20,'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,'' )
,('ATABIC','01',21,'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,'' )
,('ATABIC','01',22,'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,'' )
,('ATABIC','01',23,'DATA PAGAMENTO OLTRE LA QUALE ANALIZZ.',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATABIC','01',24,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABIC','01',25,'ANNO PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABIC','01',26,'MESE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABIC','01',27,'GIORNO PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABIC','01',28,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,58,58,0,0,'X(58)','',0,'',0,0,'' )
,('ATABIF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABIF','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,'' )
,('ATABIF','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABIF','01',4,'ELEMENTO PER CALCOLO INTERESSI',2,'ELEINT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',4,'',0,0,'' )
,('ATABIF','01',5,'PERCENTUALE INTERESSE',3,'PERINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATABIF','01',6,'DATA INIZIALE',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('ATABIF','01',7,'DATA FINALE',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('ATABIF','01',8,'INTERESSE OLTRE IL QUALE SCAD. VALIDA',2,'INTMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATABIF','01',9,'N. ATTRIBUTO FORNITORI DA ELABORARE',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABIF','01',10,'CODICE ATTRIBUTO FORNITORI DA ELABORARE',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABIF','01',11,'N. GIORNI DOPO IL QUALE SCARTARE SCAD.',2,'NUMGIO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABIF','01',12,'DATA DOCUMENTO OLTRE LA QUALE ANALIZZARE',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATABIF','01',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABIF','01',14,'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,'' )
,('ATABIF','01',15,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABIF','01',16,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABIF','01',17,'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,'' )
,('ATABIF','01',18,'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,'' )
,('ATABIF','01',19,'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,'' )
,('ATABIF','01',20,'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,'' )
,('ATABIF','01',21,'SOTTOCONTO DARE',2,'SOTDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABIF','01',22,'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,'' )
,('ATABIF','01',23,'DATA PAGAMENTO OLTRE LA QUALE ANALIZZ.',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATABIF','01',24,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABIF','01',25,'ANNO PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABIF','01',26,'MESE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABIF','01',27,'GIORNO PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABIF','01',28,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,58,58,0,0,'X(58)','',0,'',0,0,'' )
,('ATABMA','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABMA','00',2,'CHIAVE PRINCIPALE',2,'KEY001',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
('ATABMA','00',3,'TIPO RECORD',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABMA','00',4,'CODICE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATABMA','00',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,'' )
,('ATABMA','00',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,'' )
,('ATABMA','00',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,'' )
,('ATABMA','BA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABMA','BA',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABMA','BA',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,'' )
,('ATABMA','BA',4,'CODICE BANCA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABMA','BA',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,'' )
,('ATABMA','BA',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,'' )
,('ATABMA','BA',7,'ZERI',3,'ZEROES',4,5,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABMA','BA',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,'' )
,('ATABMA','BA',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,'' )
,('ATABMA','BA',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,'' )
,('ATABMA','BA',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,'' )
,('ATABMA','BA',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ATABMA','CC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABMA','CC',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,'' )
,('ATABMA','CC',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,'' )
,('ATABMA','CC',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,'' )
,('ATABMA','CC',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,'' )
,('ATABMA','CC',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,'' )
,('ATABMA','CC',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,'' )
,('ATABMA','CC',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,'' )
,('ATABMA','CO',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABMA','CO',2,'TIPO RECORD = "CO"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABMA','CO',3,'CODICE COMUNE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABMA','CO',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABMA','CO',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,'' )
,('ATABMA','CO',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,'' )
,('ATABMA','CO',7,'PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABMA','CO',8,'CODICE DIREZ GEN CATASTO (COD FISCALE)',2,'CODDGC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATABMA','CO',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,94,94,0,0,'X(94)','',0,'',0,0,'' )
,('ATABMA','CP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABMA','CP',2,'TIPO RECORD = "CP"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABMA','CP',3,'CODICE AVVIAMENTO POSTALE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATABMA','CP',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABMA','CP',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,'' )
,('ATABMA','CP',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,'' )
,('ATABMA','CP',7,'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,'' )
,('ATABMA','CP',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,95,95,0,0,'X(95)','',0,'',0,0,'' )
,('ATABMA','NA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABMA','NA',2,'TIPO RECORD = "NA"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABMA','NA',3,'CODICE NAZIONE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABMA','NA',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,'' )
,('ATABMA','NA',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,'' )
,('ATABMA','NA',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,'' )
,('ATABMA','NA',7,'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,'' )
,('ATABMA','NA',8,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABMA','NA',9,'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,'' )
,('ATABMA','NA',10,'ITALIA (X/ )',2,'FLGITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATABMA','NA',11,'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,'' )
,('ATABMA','NA',12,'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,'' )
,('ATABMA','NA',13,'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,'' )
,('ATABMA','NA',14,'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,'' )
,('ATABMA','NA',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,56,56,0,0,'X(56)','',0,'',0,0,'' )
,('ATABMA','PR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABMA','PR',2,'TIPO RECORD = "PR"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABMA','PR',3,'CODICE PROVINCIA',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABMA','PR',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,'' )
,('ATABMA','PR',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,'' )
,('ATABMA','PR',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,'' )
,('ATABMA','PR',7,'CODICE ISTAT',2,'CISTAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABMA','PR',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,97,97,0,0,'X(97)','',0,'',0,0,'' )
,('ATABMA','RE',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABMA','RE',2,'TIPO RECORD = "RE"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABMA','RE',3,'CODICE REGIONE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABMA','RE',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,'' )
,('ATABMA','RE',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,'' )
,('ATABMA','RE',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,'' )
,('ATABMA','RE',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,'' )
,('ATABMC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABMC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABMC','01',3,'ANNO INIZIO ESERCIZIO',3,'ANNESE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABMC','01',4,'CODICE TABELLA COSTI STANDARD PRODOTTI',2,'COSSTD',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATABMC','01',5,'COSTO TRASPORTO AL KG MEZZO CANTINA',2,'CTKGMC',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('ATABMC','01',6,'COSTO TRASPORTO AL KG MEZZO VETTORE',2,'CTKGMV',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('ATABMC','01',7,'COSTO TRASPORTO AL LITRO VINO SFUSO',2,'CTLTVS',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,5,0,'9(8)V9(5)','',0,'',0,0,'' )
,('ATABMC','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,123,123,0,0,'X(123)','',0,'',0,0,'' )
,('ATABMU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABMU','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,'' )
,('ATABMU','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABMU','01',4,'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,'' )
,('ATABMU','01',5,'PERCENTUALE SPESE GENERALI',2,'PERSPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATABMU','01',6,'IMPORTO SPESE PER OPERAZIONE',2,'SPEOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('ATABMU','01',7,'DEPOSITO MASSIMO CONSENTITO SU LIBRETTI',2,'MAXDEP',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ATABMU','01',8,'NUMERO ATTRIBUTO NO RITENUTA',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABMU','01',9,'CODICE ATTRIBUTO NO RITENUTA',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABMU','01',10,'SPESE FISSE',2,'SPEFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATABMU','01',11,'IMPOSTA DI BOLLO',2,'IBOLLO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATABMU','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ATABND','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABND','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,'' )
,('ATABND','01',3,'CODICE NAZIONE',3,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABND','01',4,'DESCRIZIONE IN LINGUA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABND','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATABNS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABNS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABNS','01',3,'CODICE NOTA',3,'CODNOT',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
('ATABNS','01',4,'NOTA',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('ATABNS','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,'' )
,('ATABNS','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,'' )
,('ATABON','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABON','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,'' )
,('ATABON','01',3,'CODICE ONERE',3,'CODONE',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABON','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,'' )
,('ATABON','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,'' )
,('ATABON','01',6,'IMPORTO ONERE',2,'IMPONE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('ATABON','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPA','01',2,'VECCHIO CODICE',2,'OLDCOD',1,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATABPA','01',3,'NUOVO CODICE',2,'NEWCOD',0,1,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATABPG','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPG','00',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPG','00',3,'TIPO RECORD',3,'TIPREC',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABPG','00',4,'CODICE',3,'CODICE',2,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ATABPG','00',5,'CONTENUTO RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,130,130,0,0,'X(130)','',0,'',0,0,'' )
,('ATABPG','CC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPG','CC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPG','CC',3,'TIPO RECORD = "CC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABPG','CC',4,'CODICE CENTRO DI COSTO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATABPG','CC',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('ATABPG','CC',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABPG','CC',7,'TITOLI DI STAMPA RIEPILOGO ORE',2,'TITSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',4,'',0,0,'' )
,('ATABPG','CC',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATABPG','D1',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPG','D1',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPG','D1',3,'TIPO RECORD = "D1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABPG','D1',4,'CODICE DIPENDENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATABPG','D1',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATABPG','D1',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABPG','D1',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,'' )
,('ATABPG','D1',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABPG','D1',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABPG','D1',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,62,62,0,0,'X(62)','',0,'',0,0,'' )
,('ATABPG','DI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPG','DI',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPG','DI',3,'TIPO RECORD = "DI"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABPG','DI',4,'CODICE DIPENDENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATABPG','DI',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATABPG','DI',6,'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,'' )
,('ATABPG','DI',7,'CODICE TIPO DIPENDENTE',2,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABPG','DI',8,'NUMERO DI MATRICOLA',2,'NUMMAT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATABPG','DI',9,'FLAG TURNI S/N',2,'FLGTUR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATABPG','DI',10,'FLAG ATTIVO (S/N)',2,'FLGATT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATABPG','DI',11,'FLAG GESTITO SEMPRE 8 H (S/N)',2,'FLAG8H',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATABPG','DI',12,'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,'' )
,('ATABPG','DI',13,'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,'' )
,('ATABPG','DI',14,'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,'' )
,('ATABPG','DI',15,'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,'' )
,('ATABPG','DI',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,'' )
,('ATABPG','DI',17,'DATA ASSUNZIONE TEMPO DETERMINATO',2,'DTADET',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATABPG','DI',18,'DATA ASSUNZIONE TEMPO INDETERMINATO',2,'DTAIND',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATABPG','DI',19,'NUMERO CARTELLINO PER PRELIEVO TIMBRATE',2,'NUMCRT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATABPG','DI',20,'DIPENDENTE OBSOLETO ( /S) PER HELP',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATABPG','DI',21,'PART TIME S/N',2,'FLGPTI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATABPG','DI',22,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATABPG','ME',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPG','ME',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPG','ME',3,'TIPO RECORD = "ME"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABPG','ME',4,'CODICE MENSILITA''',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABPG','ME',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,15,15,0,0,'9(15)','',0,'',0,0,'' )
,('ATABPG','ME',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABPG','ME',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,'' )
,('ATABPG','TD',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPG','TD',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPG','TD',3,'TIPO RECORD = "TD"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABPG','TD',4,'CODICE TIPO DIPENDENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABPG','TD',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,15,15,0,0,'9(15)','',0,'',0,0,'' )
,('ATABPG','TD',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABPG','TD',7,'DESCRIZIONI AGGUINTIVE',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ATABPG','TD',8,'REDEFINES DESAGG',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPG','TD',9,'DESCRIZIONE TURNO DIURNO',3,'DESTUD',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATABPG','TD',10,'DESCRIZIONE TURNO NOTTURNO',3,'DESTUN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATABPG','TD',11,'DESCRIZIONE ORDINARIO DIURNO',3,'DESORD',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATABPG','TD',12,'DESCRIZIONE ORDINARIO NOTTURNO',3,'DESORN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATABPG','TD',13,'DESCRIZIONE STRAORDINARIO DIURNO',3,'DESSTD',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATABPG','TD',14,'DESCRIZIONE STRAORDINARIO NOTTURNO',3,'DESSTN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATABPG','TD',15,'DESCRIZIONE FESTIVO DIURNO',3,'DESFED',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATABPG','TD',16,'DESCRIZIONE FESTIVO NOTTURNO',3,'DESFEN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATABPG','TD',17,'DESCRIZIONE FESTIVO OLTRE 8 ORE',3,'DESFES',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATABPG','TD',18,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATABPL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPL','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,'' )
,('ATABPL','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABPL','01',4,'ELEMENTO PER CALCOLO INTERESSI',2,'ELEINT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',12,'',0,0,'' )
,('ATABPL','01',5,'PERCENTUALE INTERESSE',3,'PERINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATABPL','01',6,'DATA INIZIALE',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('ATABPL','01',7,'DATA FINALE',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('ATABPL','01',8,'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,'' )
,('ATABPL','01',9,'PERCENTUALE SPESE GENERALI',2,'PERSPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATABPL','01',10,'IMPORTO SPESE PER OPERAZIONE',2,'SPEOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,3,'9(5)','99V999',0,'',0,0,'' )
,('ATABPL','01',11,'DEPOSITO MASSIMO CONSENTITO SU LIBRETTI',2,'MAXDEP',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,2,'9(9)','9(7)V99',0,'',0,0,'' )
,('ATABPL','01',12,'NUMERO ATTRIBUTO NO RITENUTA',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABPL','01',13,'CODICE ATTRIBUTO NO RITENUTA',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABPL','01',14,'SPESE FISSE',2,'SPEFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATABPL','01',15,'IMPOSTA DI BOLLO',2,'IBOLLO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATABPL','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATABPQ','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
('ATABPQ','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,'' )
,('ATABPQ','01',3,'CODICE FAMIGLIA',3,'CODFAM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABPQ','01',4,'CODICE CATEGORIA',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABPQ','01',5,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABPQ','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,'' )
,('ATABPQ','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABPR','PR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPR','PR',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPR','PR',3,'TIPO RECORD = "PR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABPR','PR',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('ATABPR','PR',5,'INTERVALLI',2,'ELEINI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('ATABPR','PR',6,'AGENTE INIZIALE',3,'AGEINI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATABPR','PR',7,'AGENTE FINALE',3,'AGEFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATABPR','PR',8,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',100,'',0,0,'' )
,('ATABPR','PR',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,500,500,0,0,'X(500)','',0,'',0,0,'' )
,('ATABPV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPV','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,'' )
,('ATABPV','01',3,'CODICE RAMO AZIENDA',3,'RAMAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABPV','01',4,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABPV','01',5,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABPV','01',6,'GRUPPO/CONTO/SOTTOCONTO',2,'GRCOSO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABPV','01',7,'GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABPV','01',8,'CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABPV','01',9,'SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABPV','01',10,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABPV','01',11,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABPV','01',12,'C.A.P.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATABPV','01',13,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABPV','01',14,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABPV','01',15,'CIN EURO',2,'CINEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABPV','01',16,'CIN ITALIA',2,'CINITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATABPV','01',17,'ABI',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATABPV','01',18,'CAB',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATABPV','01',19,'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,'' )
,('ATABPV','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,150,150,0,0,'X(150)','',0,'',0,0,'' )
,('ATABRC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABRC','01',2,'CODICE',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABRC','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,'' )
,('ATABRC','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,'' )
,('ATABRC','01',5,'LINGUAGGIO',2,'TIPLAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATABRC','01',8,'TIPO INTERFACCIA',2,'TIPOIF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATABRC','01',13,'PERCORSO INVIO FLUSSO (TIPO 1)',2,'PERCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATABRC','01',14,'NOME SCRIPT DI GESTIONE FLUSSO (TIPO 2)',2,'SCRIPT',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATABRC','01',15,'PERCORSO ARCHIVIAZIONE LOCALE BACKUP',2,'BACKUP',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATABRC','01',16,'STAMPANTE PER INVIO VIA CUPS (TIPO 4)',2,'CODSTP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABRC','01',17,'CHECK FILE DI RISPOSTA (S/N)',2,'CKFILE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATABRP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABRP','01',2,'CODICE REPARTO',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATABRP','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,'' )
,('ATABRP','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,'' )
,('ATABRU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABRU','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABRU','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,'' )
,('ATABRU','01',4,'RESA MINIMA',2,'RESMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABRU','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATABRZ','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABRZ','00',2,'TIPO RECORD',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABRZ','00',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATABRZ','00',4,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABRZ','00',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,'' )
,('ATABRZ','00',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,'' )
,('ATABRZ','CV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABRZ','CV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABRZ','CV',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,'' )
,('ATABRZ','CV',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABRZ','CV',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,'' )
,('ATABRZ','CV',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,'' )
,('ATABRZ','CV',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,'' )
,('ATABRZ','CV',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,'' )
,('ATABRZ','CV',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,'' )
,('ATABRZ','CV',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,'' )
,('ATABRZ','KV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABRZ','KV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABRZ','KV',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,'' )
,('ATABRZ','KV',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABRZ','KV',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,'' )
,('ATABRZ','KV',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,'' )
,('ATABRZ','KV',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,'' )
,('ATABRZ','KV',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,'' )
,('ATABRZ','KV',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,'' )
,('ATABRZ','KV',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,'' )
,('ATABRZ','KV',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,'' )
,('ATABRZ','KV',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,'' )
,('ATABRZ','KV',13,'FORMULA',2,'FORMUL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATABRZ','KV',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,'' )
,('ATABRZ','KV',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,'' )
,('ATABRZ','KV',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,'' )
,('ATABRZ','KV',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,'' )
,('ATABRZ','KV',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,86,86,0,0,'X(86)','',0,'',0,0,'' )
,('ATABRZ','RA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABRZ','RA',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,'' )
,('ATABRZ','RA',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,'' )
,('ATABRZ','RA',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,'' )
,('ATABRZ','RA',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,'' )
,('ATABRZ','RA',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,'' )
,('ATABRZ','RA',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,'' )
,('ATABRZ','RA',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,'' )
,('ATABRZ','RA',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,'' )
,('ATABRZ','RA',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,'' )
,('ATABRZ','RA',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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATABRZ','RA',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,'' )
,('ATABRZ','RA',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,'' )
,('ATABRZ','RA',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,'' )
,('ATABRZ','RA',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,'' )
,('ATABRZ','RA',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,'' )
,('ATABRZ','RA',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,'' )
,('ATABRZ','RA',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,74,74,0,0,'X(74)','',0,'',0,0,'' )
,('ATABRZ','RV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABRZ','RV',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,'' )
,('ATABRZ','RV',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABRZ','RV',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,'' )
,('ATABRZ','RV',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,'' )
,('ATABRZ','RV',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,'' )
,('ATABRZ','RV',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,'' )
,('ATABRZ','RV',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,'' )
,('ATABRZ','RV',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,47,47,0,0,'X(47)','',0,'',0,0,'' )
,('ATABRZ','SV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABRZ','SV',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,'' )
,('ATABRZ','SV',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,'' )
,('ATABRZ','SV',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,'' )
,('ATABRZ','SV',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,'' )
,('ATABRZ','SV',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,'' )
,('ATABRZ','SV',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,'' )
,('ATABTA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABTA','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,'' )
,('ATABTA','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABTA','01',4,'ELEMENTO PER CALCOLO INTERESSI',2,'ELEINT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',12,'',0,0,'' )
,('ATABTA','01',5,'PERCENTUALE INTERESSE',3,'PERINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATABTA','01',6,'DATA INIZIALE',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('ATABTA','01',7,'DATA FINALE',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('ATABTA','01',8,'CODICE CAUSALE CONTABILE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',7,'',0,0,'' )
,('ATABTA','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATABTP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABTP','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,'' )
,('ATABTP','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATABTP','01',4,'ELEMENTO PER CALCOLO INTERESSI',2,'ELEINT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',12,'',0,0,'' )
,('ATABTP','01',5,'PERCENTUALE INTERESSE',3,'PERINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATABTP','01',6,'DATA INIZIALE',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('ATABTP','01',7,'DATA FINALE',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('ATABTP','01',8,'PERCENTUALE RITENUTA D''ACCONTO',2,'PERRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATABTP','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATABVE','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','00',2,'TIPO RECORD',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABVE','00',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATABVE','00',4,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATABVE','00',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,'' )
,('ATABVE','00',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,'' )
,('ATABVE','AD',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','AD',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','AD',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,'' )
,('ATABVE','AD',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,'' )
,('ATABVE','AD',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,'' )
,('ATABVE','AD',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,'' )
,('ATABVE','AD',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,'' )
,('ATABVE','AD',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,'' )
,('ATABVE','AD',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,'' )
,('ATABVE','AD',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,'' )
,('ATABVE','AG',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','AG',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','AG',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,'' )
,('ATABVE','AG',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,'' )
,('ATABVE','AG',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,'' )
,('ATABVE','AG',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,'' )
,('ATABVE','AG',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,'' )
,('ATABVE','AG',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,'' )
,('ATABVE','CV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','CV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','CV',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,'' )
,('ATABVE','CV',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABVE','CV',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,'' )
,('ATABVE','CV',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,'' )
,('ATABVE','CV',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,'' )
,('ATABVE','CV',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,'' )
,('ATABVE','CV',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,'' )
,('ATABVE','CV',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,'' )
,('ATABVE','KV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','KV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','KV',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,'' )
,('ATABVE','KV',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABVE','KV',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,'' )
,('ATABVE','KV',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,'' )
,('ATABVE','KV',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,'' )
,('ATABVE','KV',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,'' )
,('ATABVE','KV',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,'' )
,('ATABVE','KV',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,'' )
,('ATABVE','KV',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,'' )
,('ATABVE','KV',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,'' )
,('ATABVE','KV',13,'FORMULA',2,'FORMUL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATABVE','KV',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,'' )
,('ATABVE','LO',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','LO',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','LO',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,'' )
,('ATABVE','LO',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,'' )
,('ATABVE','LO',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,'' )
,('ATABVE','LO',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,'' )
,('ATABVE','LO',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,'' )
,('ATABVE','LO',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,'' )
,('ATABVE','LO',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,'' )
,('ATABVE','PO',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','PO',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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATABVE','PO',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABVE','PO',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,'' )
,('ATABVE','PO',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,'' )
,('ATABVE','PO',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,'' )
,('ATABVE','PO',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,'' )
,('ATABVE','PO',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,'' )
,('ATABVE','PO',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,'' )
,('ATABVE','RA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','RA',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,'' )
,('ATABVE','RA',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,'' )
,('ATABVE','RA',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,'' )
,('ATABVE','RA',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,'' )
,('ATABVE','RA',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,'' )
,('ATABVE','RA',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,'' )
,('ATABVE','RA',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,'' )
,('ATABVE','RA',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,'' )
,('ATABVE','RA',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,'' )
,('ATABVE','RA',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,'' )
,('ATABVE','RA',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,'' )
,('ATABVE','RA',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,'' )
,('ATABVE','RA',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,'' )
,('ATABVE','RA',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,'' )
,('ATABVE','RI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','RI',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','RI',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,'' )
,('ATABVE','RI',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,'' )
,('ATABVE','RI',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,'' )
,('ATABVE','RI',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,'' )
,('ATABVE','RI',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,'' )
,('ATABVE','RI',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,'' )
,('ATABVE','RV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','RV',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,'' )
,('ATABVE','RV',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABVE','RV',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,'' )
,('ATABVE','RV',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,'' )
,('ATABVE','RV',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,'' )
,('ATABVE','RV',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,'' )
,('ATABVE','RV',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,'' )
,('ATABVE','S2',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','S2',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,'' )
,('ATABVE','S2',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABVE','S2',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,'' )
,('ATABVE','S2',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,'' )
,('ATABVE','S2',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,'' )
,('ATABVE','S2',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,69,69,0,0,'X(69)','',0,'',0,0,'' )
,('ATABVE','SC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','SC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',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,'' )
,('ATABVE','SC',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,62,62,0,0,'X(62)','',0,'',0,0,'' )
,('ATABVE','ST',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','ST',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,'' )
,('ATABVE','ST',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABVE','ST',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,'' )
,('ATABVE','ST',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,'' )
,('ATABVE','ST',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,'' )
,('ATABVE','ST',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,'' )
,('ATABVE','ST',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,'' )
,('ATABVE','ST',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,'' )
,('ATABVE','ST',10,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABVE','ST',11,'CODICE CANTINA PER F1 (DEFAULT 000)',2,'CODCAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABVE','ST',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,'' )
,('ATABVE','ST',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('ATABVE','SV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','SV',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,'' )
,('ATABVE','SV',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,'' )
,('ATABVE','SV',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,'' )
,('ATABVE','SV',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,'' )
,('ATABVE','SV',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,'' )
,('ATABVE','SV',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,'' )
,('ATABVE','TA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','TA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','TA',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,'' )
,('ATABVE','TA',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,'' )
,('ATABVE','TA',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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATABVE','TA',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,'' )
,('ATABVE','TA',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,'' )
,('ATABVE','TA',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,'' )
,('ATABVE','TD',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','TD',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','TD',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,'' )
,('ATABVE','TD',4,'CODICE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATABVE','TD',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,'' )
,('ATABVE','TD',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,'' )
,('ATABVE','TD',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,'' )
,('ATABVE','TD',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,'' )
,('ATABVE','TD',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,'' )
,('ATABVE','TT',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','TT',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','TT',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,'' )
,('ATABVE','TT',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,'' )
,('ATABVE','TT',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,'' )
,('ATABVE','TT',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,'' )
,('ATABVE','TT',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,'' )
,('ATABVE','TT',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,'' )
,('ATABVE','UV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','UV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','UV',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,'' )
,('ATABVE','UV',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,'' )
,('ATABVE','UV',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,'' )
,('ATABVE','UV',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,'' )
,('ATABVE','UV',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,'' )
,('ATABVE','UV',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,'' )
,('ATABVE','UV',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,96,96,0,0,'X(96)','',0,'',0,0,'' )
,('ATABVE','VT',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','VT',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,'' )
,('ATABVE','VT',3,'CODICE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABVE','VT',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,'' )
,('ATABVE','VT',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,'' )
,('ATABVE','VT',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,'' )
,('ATABVE','VT',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,'' )
,('ATABVE','VT',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,'' )
,('ATABVE','VT',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,'' )
,('ATABVE','VT',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,'' )
,('ATABVE','VT',11,'PERCENTUALE',3,'PERAIM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',4,'',0,0,'' )
,('ATABVE','VT',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,'' )
,('ATABVE','VT',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,69,69,0,0,'X(69)','',0,'',0,0,'' )
,('ATABVE','ZC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVE','ZC',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,'' )
,('ATABVE','ZC',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,'' )
,('ATABVE','ZC',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,'' )
,('ATABVE','ZC',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,'' )
,('ATABVE','ZC',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,'' )
,('ATABVE','ZC',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,'' )
,('ATABVE','ZC',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,'' )
,('ATABVE','ZC',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,'' )
,('ATABVL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVL','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,'' )
,('ATABVL','01',3,'SIGLA VIGNETO',2,'SIGVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABVL','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('ATABVU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVU','01',2,'CODICE UVA DOC',2,'CODDOC',1,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATABVU','01',3,'CODICE UVA IGT',2,'CODIGT',2,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATABVU','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATABVV','AV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVV','AV',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVV','AV',3,'TIPO RECORD = "AV"',3,'TIPREC',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATABVV','AV',4,'CODICE',3,'CODICE',2,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATABVV','AV',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATABVV','AV',6,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATABVV','AV',7,'CODICE RAGRUPPAMENTO',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATABVV','AV',8,'CODICE REGISTRO VINIFICAZIONE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABVV','AV',9,'ELEMENTO CAUSALE BOLLA/VINIFICAZIONE',2,'ELECAU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',15,'',0,0,'' )
,('ATABVV','AV',10,'CAUSALE BOLLA (DOCO)',3,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATABVV','AV',11,'CAUSALE VINIFICAZIONE',3,'CAUVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATABVV','AV',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('ATAC38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATAC38','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,'' )
,('ATAC38','01',3,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ATAC38','01',4,'IMPORTO ACCONTO',2,'IMPACC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ATACEE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATACEE','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATACEE','01',3,'RESA ETTARO',3,'RESAHA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATACEE','01',4,'PERCENTUALE D.O.',2,'PERCDO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('ATACLI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATACLI','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,'' )
,('ATACLI','01',3,'CODICE TIPO VUOTO',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATACLI','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,'' )
,('ATACLI','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,'' )
,('ATACLI','01',6,'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,'' )
,('ATACRM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATACRM','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATACRM','01',3,'ANNO INIZIO ESERCIZIO',3,'ANNESE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATACRM','01',4,'CODICE TABELLA COSTI STANDARD PRODOTTI',2,'COSSTD',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATACRM','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,'' )
,('ATAENA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATAENA','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,'' )
,('ATAENA','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,'' )
,('ATAENA','01',4,'ANNO RIFERIMENTO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATAENA','01',5,'PERCENTUALE ENASARCO AGENTE',2,'PERAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATAENA','01',6,'PERCENTUALE ENASARCO AZIENDA',2,'PERAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATAENA','01',7,'PERCENTUALE RITENUTA',2,'PERRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATAENA','01',8,'PERCENTUALE IMPONIBILE X CALC. RITENUTA',2,'PERIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATAENA','01',9,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATAENA','01',10,'LIMITE IMPONIBILE',2,'LIMIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATAENA','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATAGAG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATAGAG','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,'' )
,('ATAGAG','01',3,'DATA AGGIORNAMENTO',3,'DATAGG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATAGAG','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATAGAG','01',5,'ANNO AGGIORNAMENTO',4,'AAAAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATAGAG','01',6,'MESE AGGIORNAMENTO',4,'MMMAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATAGAG','01',7,'GIORNO AGGIORNAMENTO',4,'GGGAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATAGAG','01',8,'ORE E MINUTI AGGIORNAMENTO',3,'OREMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATAGAG','01',9,'ANNO AGGIORNAMENTO',2,'ANNAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATAGAG','01',10,'MESE AGGIORNAMENTO',2,'MESAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATAGAG','01',11,'CODICE AGENTE INIZIALE',2,'AGEINI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATAGAG','01',12,'CODICE AGENTE FINALE',2,'AGEFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATAGAG','01',13,'DATA DOCUMENTO INIZIALE',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATAGAG','01',14,'DATA DOCUMENTO FINALE',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATAGAG','01',15,'DATA FINE DETRAZIONI',2,'DETFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATAGAG','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATAGCA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATAGCA','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,'' )
,('ATAGCA','01',3,'DATA AGGIORNAMENTO',3,'DATAGG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATAGCA','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATAGCA','01',5,'ANNO AGGIORNAMENTO',4,'AAAAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATAGCA','01',6,'MESE AGGIORNAMENTO',4,'MMMAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATAGCA','01',7,'GIORNO AGGIORNAMENTO',4,'GGGAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATAGCA','01',8,'ORE E MINUTI AGGIORNAMENTO',3,'OREMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATAGCA','01',9,'ANNO AGGIORNAMENTO',2,'ANNAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATAGCA','01',10,'MESE AGGIORNAMENTO',2,'MESAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATAGCA','01',11,'CODICE CAPO AREA INIZIALE',2,'CAPINI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATAGCA','01',12,'CODICE CAPO AREA FINALE',2,'CAPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATAGCA','01',13,'DATA DOCUMENTO INIZIALE',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATAGCA','01',14,'DATA DOCUMENTO FINALE',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATAGCA','01',15,'DATA FINE DETRAZIONI',2,'DETFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATAGCA','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATAGSC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATAGSC','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,'' )
,('ATAGSC','01',3,'DATA AGGIORNAMENTO',3,'DATAGG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATAGSC','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATAGSC','01',5,'ANNO AGGIORNAMENTO',4,'AAAAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATAGSC','01',6,'MESE AGGIORNAMENTO',4,'MMMAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATAGSC','01',7,'GIORNO AGGIORNAMENTO',4,'GGGAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATAGSC','01',8,'ORE E MINUTI AGGIORNAMENTO',3,'OREMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATAGSC','01',9,'ANNO ESECUZIONE',2,'ANNAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATAGSC','01',10,'MESE ESECUZIONE',2,'MESAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATAGSC','01',11,'CODICE SUPER CAPO AREA INIZIALE',2,'SCAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATAGSC','01',12,'CODICE SUPER CAPO AREA FINALE',2,'SCAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATAGSC','01',13,'DATA DOCUMENTO INIZIALE',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATAGSC','01',14,'DATA DOCUMENTO FINALE',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATAGSC','01',15,'DATA FINE DETRAZIONI',2,'DETFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATAGSC','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATAN71','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATAN71','01',2,'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,'' )
,('ATAN71','01',3,'C/F',2,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATAN71','01',4,'CODICE',2,'CODCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATAN71','01',5,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATAN71','01',6,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATAN71','01',7,'RAGIONE SOCIALE/COGNOME',2,'RAGSO1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATAN71','01',8,'RAGIONE SOCIALE/NOME',2,'RAGSO2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATAN71','01',9,'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,'' )
,('ATAN71','01',10,'INDIRIZZO RES. SEDE LEGALE',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATAN71','01',11,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATAN71','01',12,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATAN71','01',13,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATAN71','01',14,'PREFISSO TELEFONICO',2,'PRETEL',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('ATAN71','01',15,'NUMERO TELEFONICO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATAN71','01',16,'NUMERO FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATAN71','01',17,'INDIRIZZO DOMICILIO FISCALE',2,'INDIR1',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATAN71','01',18,'LOCALITA''',2,'LOCAL1',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATAN71','01',19,'PROVINCIA',2,'PROVI1',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATAN71','01',20,'CAP',2,'CODCA1',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATAN71','01',21,'PREFISSO TELEFONICO',2,'PRETE1',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('ATAN71','01',22,'NUMERO TELEFONICO',2,'NUMTE1',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATAN71','01',23,'NUMERO FAX',2,'NUMFA1',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATAN71','01',24,'TIPO SOGGETTO C/P/S/Y/Z',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATAN71','01',25,'SESSO',2,'CODSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATAN71','01',26,'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,'' )
,('ATAN71','01',27,'COMUNE DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATAN71','01',28,'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,'' )
,('ATAN71','01',29,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',2,'',0,0,'' )
,('ATAN71','01',30,'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,'' )
,('ATARCE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATARCE','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,'' )
,('ATARCE','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,'' )
,('ATARCE','01',4,'TIPO ARCHIVIAZIONE LIBRO SOCI',2,'ARCDLS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATARCE','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,187,187,0,0,'X(187)','',0,'',0,0,'' )
,('ATARLS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATARLS','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,'' )
,('ATARLS','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,'' )
,('ATARLS','01',4,'TIPO ARCHIVIAZIONE LIBRO SOCI',2,'ARCDLS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATARLS','01',5,'ULTIMA PAGINA STAMPATA',2,'ULTSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATARLS','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,181,181,0,0,'X(181)','',0,'',0,0,'' )
,('ATAS09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATAS09','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,'' )
,('ATAS09','01',3,'CODICE ASSEMBLEA',3,'CODASS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATAS09','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,'' )
,('ATAS09','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,'' )
,('ATAS09','01',6,'LUNGHEZZA MODULO DI STAMPA',2,'LUNMOD',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATAS09','01',7,'RIGHE DA SALTARE DOPO PARTE FISSA',2,'RIGSAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATAS09','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,948,948,0,0,'X(948)','',0,'',0,0,'' )
,('ATAU02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATAU02','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
('ATAU02','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,'' )
,('ATAU02','01',4,'NUOVO CODICE',2,'CODNEW',0,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATAZMA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATAZMA','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,'' )
,('ATAZMA','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('ATAZMA','01',4,'AZIENDA 1',2,'AZI001',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATAZMA','01',5,'AZIENDA 2',2,'AZI002',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATAZMA','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,141,141,0,0,'X(141)','',0,'',0,0,'' )
,('ATBAA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAA1','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,'' )
,('ATBAA1','01',3,'TIPO RECORD = "A1"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBAA1','01',4,'CODICE AGENTE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBAAG',1,1,'' )
,('ATBAA1','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,'X' )
,('ATBAA1','01',6,'DESCRIZIONE ZONA COPERTA',2,'DESZON',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAA1','01',7,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATBAA1','01',8,'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,'' )
,('ATBAA1','01',9,'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,'' )
,('ATBAA1','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,'' )
,('ATBAA1','01',11,'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,'X' )
,('ATBAA1','01',12,'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,'X' )
,('ATBAA1','01',13,'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,'X' )
,('ATBAA1','01',14,'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,'' )
,('ATBAA1','01',15,'TABELLA ATTRIBUTI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAA1','01',16,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('ATBAA1','01',17,'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,'' )
,('ATBAA1','01',18,'GESTITE PROVVIGIONI S/N',2,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAA1','01',19,'CODICE FORNITORE (SOAVE)',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANFO1',1,1,'' )
,('ATBAA1','01',20,'TIPO LIQ. PROVVIGIONI (VALDO)',2,'TIPLIQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAA1','01',21,'GESTIONE ENASARCO /N',2,'GESENA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAA1','01',22,'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,'ATBALI',1,1,'' )
,('ATBAA1','01',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,44,44,0,0,'X(44)','',0,'',0,0,'' )
,('ATBAA2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAA2','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,'' )
,('ATBAA2','01',3,'TIPO RECORD = "A2"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAA2','01',4,'CODICE AGENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBAA2','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATBAA2','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,'' )
,('ATBAA2','01',7,'TIPO AGENTE',2,'TIPAGE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAA2','01',11,'NUMERO SOCI (PER SOCIETA'' DI PERSONE)',2,'NUMSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAA2','01',12,'DATA INIZIO RAPPORTO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBAA2','01',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAA2','01',14,'ANNO INIZIO RAPPORTO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAA2','01',15,'MESE INIZIO RAPPORTO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAA2','01',16,'GIORNO INIZIO RAPPORTO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAA2','01',17,'DATA FINE RAPPORTO',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBAA2','01',18,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAA2','01',19,'ANNO FINE RAPPORTO',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAA2','01',20,'MESE FINE RAPPORTO',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAA2','01',21,'GIORNO FINE RAPPORTO',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAA2','01',22,'TIPO FINE RAPPORTO',2,'TIPFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAA2','01',26,'NUMERO DICHIARAZIONE D''INTENTO',2,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAA2','01',27,'DATA DICHIARAZIONE D''INTENTO',2,'DATINT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBAA2','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,'' )
,('ATBAA2','01',29,'ANNO DICHIARAZIONE D''INTENTO',3,'AAAINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAA2','01',30,'MESE DICHIARAZIONE D''INTENTO',3,'MMMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAA2','01',31,'GIORNO DICHIARAZIONE D''INTENTO',3,'GGGINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAA2','01',32,'DATA SCADENZA DICHIARAZIONE D''INTENTI',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBAA2','01',33,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAA2','01',34,'ANNO SCADENZA DICHIARAZIONE D''INTENTI',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAA2','01',35,'MESE SCADENZA DICHIARAZIONE D''INTENTI',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAA2','01',36,'GIORNO SCADENZA DICHIARAZIONE D''INTENTI',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAA2','01',37,'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,'' )
,('ATBAA2','01',38,'INDIRIZZO E-MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBAA2','01',39,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('ATBAA3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAA3','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,'' )
,('ATBAA3','01',3,'TIPO RECORD = "A3"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAA3','01',4,'CODICE AGENTE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBAA3','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,'' )
,('ATBAA3','01',6,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAA3','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,'' )
,('ATBAA3','01',8,'CODICE AVVIAMENTO POSTALE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATBAA3','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,'' )
,('ATBAA3','01',10,'PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAA3','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,88,88,0,0,'X(88)','',0,'',0,0,'' )
,('ATBAA4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAA4','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,'' )
,('ATBAA4','01',3,'CODICE AGENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBAA4','01',4,'INDIRIZZO E-MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBAA4','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,147,147,0,0,'X(147)','',0,'',0,0,'' )
,('ATBAA5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAA5','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,'' )
,('ATBAA5','01',3,'CODICE AGENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBAA5','01',4,'CODICE RESPONSABILE COMMERCIALE',3,'CODRES',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAA5','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,'' )
,('ATBAAC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAC','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,'' )
,('ATBAAC','01',3,'TIPO RECORD = "AC"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAAC','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAAC','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAAC','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATBAAC','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,'' )
,('ATBAAC','01',8,'TIPO AMMORTAMENTO (Diretto/Indiretto)',2,'TIPAMM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAC','01',9,'PERCENTUALE AMMORTAMENTO ORDINARIO',2,'PERCAO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('ATBAAC','01',10,'PREVALE SU VALORE DI ANAGRAFICA CESPITE',2,'FLAGAO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAC','01',11,'PERCENTUALE AMMORTAMENTO ANTICIPATO',2,'PERCAA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('ATBAAC','01',12,'PREVALE SU VALORE DI ANAGRAFICA CESPITE',2,'FLAGAA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAC','01',13,'CONTO IMMOBILIZZO',2,'GCSIMM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAC','01',14,'GRUPPO',3,'GRUIMM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAC','01',15,'CONTO',3,'CONIMM',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
('ATBAAC','01',16,'SOTTOCONTO',3,'SOTIMM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAAC','01',17,'CONTO QUOTE AMMORTAMENTO',2,'GCSQUA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAC','01',18,'GRUPPO',3,'GRUQUA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAC','01',19,'CONTO',3,'CONQUA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAC','01',20,'SOTTOCONTO',3,'SOTQUA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAAC','01',21,'CONTO FONDO AMMORTAMENTO ORDINARIO',2,'GCSFAO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAC','01',22,'GRUPPO',3,'GRUFAO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAC','01',23,'CONTO',3,'CONFAO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAC','01',24,'SOTTOCONTO',3,'SOTFAO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAAC','01',25,'CONTO AMMORTAMENTO ANTICIPATO',2,'GCSFAA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAC','01',26,'GRUPPO',3,'GRUFAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAC','01',27,'CONTO',3,'CONFAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAC','01',28,'SOTTOCONTO',3,'SOTFAA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAAC','01',29,'PERCENTUALE ACCANTONAMENTO',2,'PERACC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATBAAC','01',30,'PREVALE SU VALORE DI ANAGRAFICA CESPITE',2,'FLGACC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAC','01',31,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATBAAD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAD','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,'' )
,('ATBAAD','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,'' )
,('ATBAAD','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,'' )
,('ATBAAD','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,'' )
,('ATBAAD','01',6,'TIPO VINO',2,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAD','01',7,'CODICE E-BACCUS',2,'CODEBA',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATBAAD','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,450,450,0,0,'X(450)','',0,'',0,0,'' )
,('ATBAAE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAE','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAE','01',3,'TIPO RECORD = "AE"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAAE','01',4,'CODICE ASPETTO ESTERIORE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAAE','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,'' )
,('ATBAAE','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,'' )
,('ATBAAE','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,'' )
,('ATBAAE','01',8,'DESCRIZIONE ASPETTO',3,'DESASP',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBAAE','01',9,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBAAE','01',10,'SIGLA',2,'SIGASP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAAE','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,111,111,0,0,'X(111)','',0,'',0,0,'' )
,('ATBAAG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAG','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,'' )
,('ATBAAG','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,'X' )
,('ATBAAG','01',4,'CODICE AGENTE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBAAG','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,'X' )
,('ATBAAG','01',6,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAAG','01',7,'RAGIONE SOCIALE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBAAG','01',8,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAAG','01',9,'CODICE AVVIAMENTO POSTALE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATBAAG','01',10,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAAG','01',11,'PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAAG','01',12,'PARTITA IVA/CODICE FISCALE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATBAAG','01',13,'CODICE CATEGORIA',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBACT',1,1,'' )
,('ATBAAG','01',14,'PERCENTUALE PROVVIGIONE',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATBAAG','01',15,'AGENTE MONOMANDATARIO S/N',2,'MONOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAG','01',16,'SOGGETTO IRPEF S/N',2,'SIRPEF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAG','01',17,'CODICE AGENTE CAPO AREA',2,'AGCAPO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBACA',1,1,'' )
,('ATBAAG','01',18,'PROVVIGIONI AL LORDO DELLO SC CASSA S/N',2,'SCOCAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAG','01',19,'PERCENTUALE DA PAGARE SU MATURATO',2,'PERMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAAG','01',20,'CALCOLO INDENNITA'' DI CLIENTELA S/N',2,'FLGCIC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAG','01',21,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,90,90,0,0,'X(90)','',0,'',0,0,'' )
,('ATBAAI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAI','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,'' )
,('ATBAAI','01',3,'TIPO RECORD = "AI"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBAAI','01',4,'CODICE ALIQUOTE IVA ALLINEAMENTO DX',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBAAI','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,'X' )
,('ATBAAI','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,'' )
,('ATBAAI','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,'' )
,('ATBAAI','01',8,'PERCENTUALE DI CALCOLO',2,'PERCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATBAAI','01',9,'SIGLA DI STAMPA',2,'SIGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAAI','01',10,'CODICE CONTO IVA VENDITE',2,'IVAVEN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAI','01',11,'GRUPPO IVA VENDITE',3,'GRUVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAI','01',12,'CONTO IVA VENDITE',3,'CONVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAI','01',13,'SOTTOCONTO IVA VENDITE',3,'SOTVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAAI','01',14,'CONTO IVA ACQUISTI',2,'IVAACQ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAI','01',15,'GRUPPO IVA ACQUISTI',3,'GRUACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAI','01',16,'CONTO IVA ACQUISTI',3,'CONACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAI','01',17,'SOTTOCONTO IVA ACQUISTI',3,'SOTACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAAI','01',20,'RAGRUPPAMENTO IMPONIBILE CLIENTI',2,'RAGCL1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAAI','01',21,'RAGRUPPAMENTO IMPOSTA CLIENTI',2,'RAGCL2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAAI','01',22,'RAGRUPPAMENTO IMPONIBILE FORNITORI',2,'RAGFO1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAAI','01',23,'RAGRUPPAMENTO IMPOSTA FORNITORI',2,'RAGFO2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAAI','01',24,'PERCENTUALE INDEDUCIBILITA''',2,'PERIND',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATBAAI','01',25,'CODICE IVA PARTE DEDUCIBILE ALL. DX',2,'IVADED',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'ATBAAI',1,1,'' )
,('ATBAAI','01',26,'CAUSALE GIRO A COSTO IVA INDEDUCIBILE',2,'CAUCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAI','01',27,'CONTO IVA ACQUISTI INDEDUCIBILE',2,'ACQIND',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAI','01',28,'GRUPPO IVA ACQUISTI INDEDUCIBILE',3,'GRUACI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAI','01',29,'COMTO IVA ACQUISTI INDEDUCIBILE',3,'CONACI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAI','01',30,'SOTTOCONTO IVA ACQUISTI INDEDUCIBILE',3,'SOTACI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAAI','01',31,'ALIQUOTA IVA ACQUISTI INTRA (S) (CONTAB)',2,'FLGINT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAI','01',32,'SIGLA ESTESA',2,'SIGEST',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAAI','01',33,'ALIQUOTA IVA VENDITE INTRA (S) (VENDITE)',2,'VENINT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAI','01',34,'REPARTO REGISTRATORE DI CASSA CORRISP.',2,'CASSAC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAAI','01',35,'REPARTO REGISTRATORE DI CASSA FATTURE',2,'CASSAF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAAI','01',36,'TIPO CALCOLO LIQUIDAZIONE UNICO',2,'TCALIQ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBAAI','01',37,'PERCENTUALE COMPENSATIVA',2,'PERCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATBAAI','01',38,'FLAG DA STAMPARE IN RIEPILOGO R. IVA S/N',2,'FLGSTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAI','01',39,'TIPO CALCOLO LIQ. ATTIVITA'' MISTA',2,'TCLATM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBAAI','01',40,'TIPO CALCOLO LIQUIDAZIONE ACQUISTI',2,'TCALIA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBAAI','01',41,'TIPO CALCOLO LIQUIDAZIONE VENDITE',2,'TCALIV',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBAAI','01',42,'ALLEGATI IVA S/N (OBSOLETO)',2,'FLGALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAI','01',43,'NON IMPONIBILE S/N',2,'FLGNIM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAI','01',44,'ALIQUOTA PER SPLIT PAYMENT',2,'SPLITP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBAAI','01',46,'NATURA ALIQUOTE NON IMP.X FATT. PA',2,'NATFPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAAI','01',47,'RIF.NORMATIV ALIQUOTE NON IMP.X FATT. PA',2,'RIFFPA',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
('ATBAAI','01',48,'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,'' )
,('ATBAAI','01',49,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAAI','01',50,'INTESTAZIONE INTEGRAZIONE REV. CHARGE',2,'ININRC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATBAAI','01',51,'NATURA X SPESOMETRO E FATT. ELETTRONICA',2,'NATSPE',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAAI','01',52,'DEDUCIBILE /S',2,'DEDUCI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAI','01',53,'ESIGIBILITA'' IVA',2,'ESIGIB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAI','01',54,'ALIQUOTA SOGGETTA AD IMPOSTA DI BOLLO /S',2,'IMPBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAI','01',55,'NATURA X SPES. E FATTURA ELETTRONICA NEW',2,'NATNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATBAAL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAL','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,'' )
,('ATBAAL','01',3,'CODICE ALVEOLO',3,'CODALV',0,2,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATBAAL','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,'' )
,('ATBAAL','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,'' )
,('ATBAAL','01',6,'CODICE MAGAZZINO DI RIFERIMENTO',2,'CODMAG',0,1,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAAL','01',7,'DATA CREAZIONE (USATA PER SSCC)',2,'DTACRE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBAAL','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,'' )
,('ATBAAL','01',9,'ANNO',3,'AA-CRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAAL','01',10,'MESE',3,'MM-CRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAAL','01',11,'GIORNO',3,'GG-CRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAAL','01',12,'ORA CREAZIONE (USATA PER SSCC)',2,'ORACRE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATBAAL','01',13,'ORIGINE',2,'FLGORI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAL','01',18,'PESO LORDO IMPUTATO AL PICKING (NO PROD)',2,'PESLOR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('ATBAAL','01',19,'UTENTE CREATO CON PROCEDURA PICKING',2,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATBAAL','01',20,'CODICE MARCHIO',2,'CODMAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAAL','01',21,'UTENTE CHE HA SPEDITO LA PALETTA',2,'UTESPE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATBAAL','01',22,'CODICE TIPO PALETTA (AMQPAL)',2,'TIPPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAL','01',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,111,111,0,0,'X(111)','',0,'',0,0,'' )
,('ATBAAM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAM','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,'' )
,('ATBAAM','01',3,'TIPO RECORD = "AM"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAAM','01',4,'CODICE CAUSALE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAAM','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,'' )
,('ATBAAM','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,'' )
,('ATBAAM','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,'' )
,('ATBAAM','01',8,'AGGIORNAMENTO VALORE STORICO (+/-/ )',2,'FLGSTO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAM','01',9,'AGGIORNAMENTO AMM. ORDINARIO (+/-/ )',2,'FLGORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAM','01',10,'AGGIORNAMENTO AMM. ANTICIPATO (+/-/ )',2,'FLGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAM','01',11,'AGGIORNAMENTO VALORE RESIDUO (+/-/ )',2,'FLGRES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAM','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,96,96,0,0,'X(96)','',0,'',0,0,'' )
,('ATBAAN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAN','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,'' )
,('ATBAAN','01',3,'TIPO RECORD = "AN"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAAN','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAAN','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAAN','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATBAAN','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,'' )
,('ATBAAN','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,90,90,0,0,'X(90)','',0,'',0,0,'' )
,('ATBAAP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAP','01',2,'TIPO RECORD = "AP"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAAP','01',3,'CODICE DESCR. AGGIUNTIVA',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAAP','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,'' )
,('ATBAAP','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,'' )
,('ATBAAP','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,'' )
,('ATBAAP','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,'' )
,('ATBAAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAR','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,'' )
,('ATBAAR','01',3,'TIPO RECORD = "AR"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAAR','01',4,'CODICE ANNATA RACCOLTA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBAAR','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,'' )
,('ATBAAR','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,'' )
,('ATBAAR','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,'' )
,('ATBAAR','01',8,'ANNO RACCOLTA',2,'ANNRAC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAAR','01',9,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATBAAR','01',10,'PASSWORD',2,'PASSWD',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBAAR','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,47,47,0,0,'X(47)','',0,'',0,0,'' )
,('ATBAAS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAS','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,'' )
,('ATBAAS','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,1,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAAS','01',4,'CODICE ALVEOLO',3,'CODALV',0,3,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBAAS','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,'' )
,('ATBAAS','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,'' )
,('ATBAAS','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,193,193,0,0,'X(193)','',0,'',0,0,'' )
,('ATBAAT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAT','01',2,'CHIAVE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAT','01',3,'CODICE TRASPORTATORE',3,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBAAT','01',4,'CODICE AUTISTA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'X' )
,('ATBAAT','01',5,'RAGIONE SOCIALE 25 PER CONFORMITA'' BOLLE',2,'RAGSOC',0,1,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ATBAAT','01',6,'NUMERO PATENTE',2,'NUMPAT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAAT','01',7,'TARGA MOTRICE',2,'TARGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBAAT','01',8,'TARGA RIMORCHIO',2,'TARGAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBAAU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAU','01',2,'TIPO RECORD = "AU"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAAU','01',3,'CODICE AUTOMEZZO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAAU','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,'' )
,('ATBAAU','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,'' )
,('ATBAAU','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,'' )
,('ATBAAU','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,'' )
,('ATBAAV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAAV','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,'' )
,('ATBAAV','01',3,'TIPO RECORD = "AV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAAV','01',4,'CODICE ANNATA VENDEMMIA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBAAV','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,'' )
,('ATBAAV','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,'' )
,('ATBAAV','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,'' )
,('ATBAAV','01',8,'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,'' )
,('ATBAAV','01',9,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATBAAV','01',10,'PASSWORD',2,'PASSWD',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBAAV','01',11,'CODICE SERVER',2,'CODSRV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAAV','01',12,'FLAG VENDEMMIA RISERVATA /S',2,'FLGNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAAV','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,44,44,0,0,'X(44)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATBABA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBABA','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,'' )
,('ATBABA','01',3,'TIPO RECORD = "BA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBABA','01',4,'CODICE REGISTRO ACCISE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBABA','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,'' )
,('ATBABA','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,'' )
,('ATBABA','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,'' )
,('ATBABA','01',8,'TITOLO BOLLATO',2,'TITBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATBABA','01',9,'PERCENTUALE GARANZIA',2,'PERGAR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATBABA','01',10,'DATA INIZIO GESTIONE REGISTRO',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBABA','01',11,'GARANZIA INIZIALE PRESTATA',2,'IMPGAR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('ATBABA','01',13,'CODICE UFFICIO',2,'CODUFF',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBABA','01',14,'ANNO PROTOCOLLO',2,'ANNPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBABA','01',15,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBABA','01',16,'CODICE UTENTE',2,'CODUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBABA','01',17,'EX TIPO REGISTRO (SFUSO/CONFEZIONATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBABA','01',18,'FILLER (EX PROGRESSIVO INVIO TELEMAT.)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBABA','01',19,'DATA INIZIO TELEMATIZZAZIONE ACCISE',2,'INITEL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATBABA','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,'' )
,('ATBABA','01',21,'ANNO INIZIO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBABA','01',22,'MESE INIZIO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBABA','01',23,'GIORNO INIZIO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBABA','01',24,'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,'' )
,('ATBABA','01',25,'STAMPA NUMERO E ANNO PROT. IN INTEST.',2,'NPRINT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBABA','01',26,'PROGRESSIVO SEDE UTENTE AUTORIZZATO',2,'PROSED',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBABA','01',27,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBABB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBABB','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,'' )
,('ATBABB','01',3,'CODICE REGISTRO ACCISE',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBABB','01',4,'TIPO DESTINAZIONE NOTA RIC/CAMBIO DEST.',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBABB','01',5,'SPEDITORE DAA TELEMATICO',2,'SPEDIT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBABB','01',7,'EX SP-ACC CODICE ACCISA TOLTO PERCHE''',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ATBABB','01',9,'RAGIONE SOCIALE (gestiti 40 caratteri)',3,'SP-RAG',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATBABB','01',10,'INDIRIZZO',3,'SP-IND',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATBABB','01',11,'CAP',3,'SP-CAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATBABB','01',12,'LOCALITA''',3,'SP-LOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATBABB','01',13,'LUOGO SPEDIZIONE (CONSEGNA PER NOTA RIC)',2,'LUOSPE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBABB','01',15,'EX LS-ACC ACCISA',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ATBABB','01',16,'EX LS-RAG RAG.SOC (gestiti 40 caratteri)',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATBABB','01',17,'EX LS-IND INDIRIZZO',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATBABB','01',18,'EX LS-CAP CAP',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATBABB','01',19,'EX LS-LOC LOCALITA''',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATBABB','01',20,'TIPO MESSAGGIO (T014 AG. DOGANE)',2,'CDT014',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBABB','01',21,'GARANZIA DI CIRCOLAZIONE DAA TELEMATICO',2,'GARCIR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBABB','01',22,'CODICE CONTO',3,'CODCGA',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('ATBABB','01',23,'TIPOLOGIA GARANZIA (T003 AG. DOGANE)',3,'CDT003',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBABB','01',24,'OBSOLETO - IMPORTO CAUZIONE IMPEGNATA',3,'IMPGAR',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,2,0,'9(12)V99','',0,'',0,0,'' )
,('ATBABB','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,658,658,0,0,'X(658)','',0,'',0,0,'' )
,('ATBABC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBABC','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,'' )
,('ATBABC','01',3,'TIPO RECORD = "BC"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBABC','01',4,'CODICE REGISTRO COMMERCIALIZZAZIONE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBABC','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,'' )
,('ATBABC','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,'' )
,('ATBABC','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,'' )
,('ATBABC','01',8,'TITOLO BOLLATO',2,'TITBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATBABC','01',9,'AZIENDA DI RIFERIMENTO PER SICUREZZA',2,'AZIRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBABC','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,79,79,0,0,'X(79)','',0,'',0,0,'' )
,('ATBABI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBABI','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,'' )
,('ATBABI','01',3,'TIPO RECORD = "BI"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBABI','01',4,'CODICE REGISTRO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBABI','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,'' )
,('ATBABI','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,'' )
,('ATBABI','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,'' )
,('ATBABI','01',8,'TITOLO BOLLATO',2,'TITBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATBABI','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,81,81,0,0,'X(81)','',0,'',0,0,'' )
,('ATBABO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBABO','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,'' )
,('ATBABO','01',3,'TIPO RECORD = "BO"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBABO','01',4,'CODICE BLOCCO ORDINI',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBABO','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,'' )
,('ATBABO','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,'' )
,('ATBABO','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,'' )
,('ATBABO','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,'' )
,('ATBABS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBABS','01',2,'TIPO RECORD = "BS"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBABS','01',3,'CODICE BINS',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBABS','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,'' )
,('ATBABS','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,'' )
,('ATBABS','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,'' )
,('ATBABS','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,'' )
,('ATBABT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBABT','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,'' )
,('ATBABT','01',3,'TIPO RECORD = "BT"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBABT','01',4,'CODICE REGISTRO COMMERCIALIZZAZIONE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBABT','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,'' )
,('ATBABT','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,'' )
,('ATBABT','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,'' )
,('ATBABT','01',8,'TITOLO BOLLATO',2,'TITBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATBABT','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATBABU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBABU','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,'' )
,('ATBABU','01',3,'TIPO RECORD = "BU"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBABU','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBABU','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,'' )
,('ATBABU','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,'' )
,('ATBABU','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,'' )
,('ATBABU','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,'' )
,('ATBAC1','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
('ATBAC1','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,'' )
,('ATBAC1','01',3,'TIPO RECORD = "C1"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAC1','01',4,'CODICE CAPO AREA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBAC1','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,'' )
,('ATBAC1','01',6,'DESCRIZIONE ZONA COPERTA',2,'DESZON',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAC1','01',7,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATBAC1','01',8,'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,'' )
,('ATBAC1','01',9,'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,'' )
,('ATBAC1','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,'' )
,('ATBAC1','01',11,'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,'' )
,('ATBAC1','01',12,'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,'' )
,('ATBAC1','01',13,'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,'' )
,('ATBAC1','01',14,'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,'' )
,('ATBAC1','01',15,'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,'' )
,('ATBAC1','01',16,'INDIRIZZO MAIL AUTOMATICO',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBAC1','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('ATBAC2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAC2','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,'' )
,('ATBAC2','01',3,'TIPO RECORD = "C2"',3,'TIPREC',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAC2','01',4,'CODICE CAPO AREA',3,'CODICE',2,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBAC2','01',5,'ZERI',3,'ZEROES',3,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATBAC2','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,'' )
,('ATBAC2','01',7,'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,'' )
,('ATBAC2','01',8,'INDIRIZZO E-MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBAC2','01',9,'TIPO CAPO AREA',2,'TIPCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAC2','01',13,'NUMERO SOCI (PER SOCIETA'' DI PERSONE)',2,'NUMSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAC2','01',14,'DATA INIZIO RAPPORTO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBAC2','01',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAC2','01',16,'ANNO INIZIO RAPPORTO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAC2','01',17,'MESE INIZIO RAPPORTO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAC2','01',18,'GIORNO INIZIO RAPPORTO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAC2','01',19,'DATA FINE RAPPORTO',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBAC2','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,'' )
,('ATBAC2','01',21,'ANNO FINE RAPPORTO',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAC2','01',22,'MESE FINE RAPPORTO',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAC2','01',23,'GIORNO FINE RAPPORTO',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAC2','01',24,'TIPO FINE RAPPORTO',2,'TIPFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAC2','01',28,'NUMERO DICHIARAZIONE D''INTENTO',2,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAC2','01',29,'DATA DICHIARAZIONE D''INTENTO',2,'DATINT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBAC2','01',30,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAC2','01',31,'ANNO DICHIARAZIONE D''INTENTO',3,'AAAINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAC2','01',32,'MESE DICHIARAZIONE D''INTENTO',3,'MMMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAC2','01',33,'GIORNO DICHIARAZIONE D''INTENTO',3,'GGGINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAC2','01',34,'DATA SCADENZA DICHIARAZIONE D''INTENTI',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBAC2','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,'' )
,('ATBAC2','01',36,'ANNO SCADENZA DICHIARAZIONE D''INTENTI',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAC2','01',37,'MESE SCADENZA DICHIARAZIONE D''INTENTI',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAC2','01',38,'GIORNO SCADENZA DICHIARAZIONE D''INTENTI',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAC2','01',39,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('ATBAC3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAC3','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,'' )
,('ATBAC3','01',3,'CODICE CAPO AREA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBAC3','01',4,'CODICE RESPONSABILE COMMERCIALE',3,'CODRES',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAC3','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,'' )
,('ATBACA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACA','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACA','01',3,'TIPO RECORD = "CA"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBACA','01',4,'CODICE CAPO AREA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBACA','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' )
,('ATBACA','01',6,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBACA','01',7,'RAGIONE SOCIALE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBACA','01',8,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBACA','01',9,'CODICE AVVIAMENTO POSTALE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATBACA','01',10,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBACA','01',11,'PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBACA','01',12,'PARTITA IVA/CODICE FISCALE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATBACA','01',13,'CODICE CATEGORIA',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBACT',1,1,'' )
,('ATBACA','01',14,'PERCENTUALE PROVVIGIONE',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATBACA','01',15,'CAPO AREA MONOMANDATARIO S/N',2,'MONOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACA','01',16,'SOGGETTO IRPEF S/N',2,'SIRPEF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACA','01',17,'PROVVIGIONI AL NETTO DELLO SC CASSA S/N',2,'SCOCAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACA','01',18,'CODICE SUPER CAPO AREA (VALDOBBIADENE)',2,'CODSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBACA','01',19,'TIPO LIQ. PROVVIGIONI (VALDO)',2,'TIPLIQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACA','01',20,'PROVVIGIONI S/N',2,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACA','01',21,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('ATBACB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACB','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,'' )
,('ATBACB','01',3,'TIPO RECORD = "CB"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBACB','01',4,'CODICE CONFEZIONE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBACB','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,'' )
,('ATBACB','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,'' )
,('ATBACB','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,'' )
,('ATBACB','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,'' )
,('ATBACC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACC','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,'' )
,('ATBACC','01',3,'TIPO RECORD = "CC"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBACC','01',4,'CODICE COMMERCIALIZZAZIONE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBACC','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,'' )
,('ATBACC','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,'' )
,('ATBACC','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,'' )
,('ATBACC','01',8,'TIPO UNITA'' DI MISURA',2,'FLGUDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACC','01',12,'GESTITO AD ANNATE',2,'FLGANN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACC','01',16,'FLAG REGISTRO (V=VINI/S=SUCCHI)',2,'FLGREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACC','01',17,'FLAG COLORE (B=BIANCO/R=ROSSO/S=ROSATO)',2,'FLGCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACC','01',18,'CODICE ERGA OMNES COLLEGATO',2,'CODERG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBACC','01',19,'ERGA OMNES ATTO O CERTIFICATO (A/C)',2,'FLGERG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACC','01',20,'OBSOLETO ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACC','01',21,'CODICE ATTRIBUTO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('ATBACC','01',22,'DESCRIZIONE ESTESA PRIMA PARTE',2,'DESES1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBACC','01',23,'DESCRIZIONE ESTESA SECONDA PARTE',2,'DESES2',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
('ATBACD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACD','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,'' )
,('ATBACD','01',3,'CODICE DOCO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBACD','01',4,'DESCRIZIONE',2,'DESCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATBACD','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,77,77,0,0,'X(77)','',0,'',0,0,'' )
,('ATBACE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACE','01',2,'TIPO RECORD = "CE"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBACE','01',3,'CODICE CENTRO DI LAVORO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBACE','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,'' )
,('ATBACE','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,'' )
,('ATBACE','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,'' )
,('ATBACE','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,'' )
,('ATBACF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACF','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,'' )
,('ATBACF','01',3,'TIPO RECORD = "CF"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBACF','01',4,'CAUSALE FATTURA VENDITA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBACF','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'X' )
,('ATBACF','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,'' )
,('ATBACF','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,'' )
,('ATBACF','01',8,'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,'' )
,('ATBACF','01',9,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBACF','01',10,'CAUSALE CONTABILIZZAZIONE ITALIA',2,'CODCCN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBACF','01',11,'TIPO FATTURA',2,'TIPFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACF','01',17,'MODULO DI STAMPA',2,'MODULO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBACF','01',18,'CAUSALE INVERSA PER NOTE VUOTI',2,'CAUINV',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBACF','01',19,'RICHIESTO NUMERO FATTURA DI VENDITA',2,'PARRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACF','01',21,'CAUSALE CONTABILIZZAZIONE ESTERO',2,'CODCCE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBACF','01',22,'ESTRAZIONE STATISTICHE (S/N)',2,'FLSTAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACF','01',23,'NATURA DEL TRASPORTO PER INTRA-STAT',2,'NATTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACF','01',24,'REGIME PER INTRA-STAT',2,'REGIME',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACF','01',25,'MODULO FATTURE ESTERO',2,'MODEST',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBACF','01',26,'COMMENTO FISSO CREAZIONE FATT. DA BOLLE',2,'CFISSO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBACF','01',27,'CAUSALE CONTABILIZZAZIONE PAESI CEE',2,'CODCEU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBACF','01',28,'FLAG OBSOLETA ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACF','01',29,'CAUSALE SCONTO MERCE ( /S)',2,'FLGSCM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACF','01',30,'COMMNETO FISSO CREA FATT DA BOLLE ESTERO',2,'CFISES',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBACF','01',31,'CAUSALE FATT. DIF. DA PUNTO VENDITA',2,'FLGFDP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACF','01',32,'GESTITO SU DOCUMENTALE (S/N)',2,'FLSTDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACF','01',33,'AMMESSA FATTURA IMPORTO 0 (S)',2,'FLIMP0',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACF','01',34,'CHIEDI CREAZIONE FATT.IN BOLLA ( /N)',2,'FATBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACF','01',35,'RICHIESTO BARCODE ALLEGATO S/N',2,'BARALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACF','01',36,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('ATBACG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACG','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,'' )
,('ATBACG','01',3,'CODICE COMMERCIALIZZAZIONE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBACG','01',4,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATBACG','01',5,'CATEGORIA VINO (TABELLA T018 AG.DOGANE)',2,'CDT018',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACG','01',6,'FLAG GESTIONE MANIPOLAZIONI S/N/X',2,'FLGMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACG','01',10,'ATTESTATI DENOMINAZIONE',2,'ATTDEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBACG','01',11,'GESTITE FASCETTE IN PRODUZIONE ( /S)',2,'FASPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACG','01',12,'DATA INIZIO RICHIESTA FASCETTE PRODUZ.',2,'DATFAS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATBACG','01',13,'CODICE ORGANISMO DI CONTROLLO (MVV)',2,'CODORG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBACG','01',14,'CODICE PEC (SE DIVERSO DA DEFAULT)',2,'CODPEC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBACG','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,252,252,0,0,'X(252)','',0,'',0,0,'' )
,('ATBACI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACI','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,'' )
,('ATBACI','01',3,'TIPO RECORD = "CI"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBACI','01',4,'CODICE CONTRASSEGNO IVA (TAPPO)',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBACI','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,'' )
,('ATBACI','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,'' )
,('ATBACI','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,'' )
,('ATBACI','01',8,'TIPO REGISTRO (V=VINI/S=SUCCHI)',2,'FLGREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACI','01',9,'INFERIORE 5 LITRI (S/N)',2,'FLGCFZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACI','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,98,98,0,0,'X(98)','',0,'',0,0,'' )
,('ATBACL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACL','01',2,'TIPO RECORD = "CL"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBACL','01',3,'CODICE CAUSALE LIBRO SOCI',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBACL','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,'' )
,('ATBACL','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,'' )
,('ATBACL','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,'' )
,('ATBACL','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,'' )
,('ATBACM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACM','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,'' )
,('ATBACM','01',3,'TIPO RECORD = "CM"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBACM','01',4,'CODICE CAUSALE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBACM','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,'' )
,('ATBACM','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,'' )
,('ATBACM','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,'' )
,('ATBACM','01',8,'CODICE SALDO',2,'CODSAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBACM','01',9,'MOVIMENTAZIONE QUANTITA'' (+/-/ )',2,'FLGQTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACM','01',10,'MOVIMENTAZIONE VALORE (+/-/ )',2,'FLGVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACM','01',11,'MOVIMENTAZIONE ACQUISTI (S/N)',2,'FLGACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACM','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,'' )
,('ATBACM','01',13,'EX TIPO SALDO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACM','01',14,'CAUSALE TELEMATIZZAZIOE REG.ZUCCHERI',2,'CAURGT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBACM','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,87,87,0,0,'X(87)','',0,'',0,0,'' )
,('ATBACO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACO','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,'' )
,('ATBACO','01',3,'TIPO RECORD = "CO"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBACO','01',4,'CODICE CAUSALE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBACO','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,'' )
,('ATBACO','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,'' )
,('ATBACO','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,'' )
,('ATBACO','01',8,'SALDO DA AGGIORNARE',2,'FLGSAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACO','01',11,'TIPO AGGIORNAMENTO (+/-)',2,'FLGQTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACO','01',12,'IN IMM MOV COMM.MANTIENI DATI PRECEDENTI',2,'FLGDAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACO','01',13,'CODICE ATTRIBUTO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('ATBACO','01',14,'EFFETTO SU ATTRIBUTO IN BIL.COMM. ( /-)',2,'FLGSEG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',10,'',0,0,'' )
,('ATBACO','01',15,'DESCRIZIONE OPERAZIONE',2,'DESOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATBACO','01',16,'OBSOLETA ( /S)',2,'FLGOBS',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
('ATBACO','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATBACP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACP','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACP','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,'' )
,('ATBACP','01',4,'CODICE CATEGORIA PROVVIGIONE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBACP','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,'' )
,('ATBACP','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,'' )
,('ATBACP','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,'' )
,('ATBACP','01',8,'PERCENTUALE PROVVIGIONE AGENTE',2,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATBACP','01',9,'PERCENTUALE PROVVIGIONE AGENTE CAPO AREA',2,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATBACP','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('ATBACS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACS','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACS','01',3,'TIPO RECORD = "CS"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBACS','01',4,'CODICE CATEGORIA SCONTO',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBACS','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,'' )
,('ATBACS','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,'' )
,('ATBACS','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,'' )
,('ATBACS','01',8,'FLAG QUANTITA'' DA UTILIZZARE',2,'FLGQTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACS','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('ATBACT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACT','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACT','01',3,'TIPO RECORD = "CT"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBACT','01',4,'CODICE CATEGORIA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBACT','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' )
,('ATBACT','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,'' )
,('ATBACT','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,'' )
,('ATBACT','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,'' )
,('ATBACZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACZ','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,'' )
,('ATBACZ','01',3,'TIPO RECORD = "CZ"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBACZ','01',4,'CODICE CONFEZIONE/RECIPIENTE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBACZ','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,'' )
,('ATBACZ','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,'' )
,('ATBACZ','01',7,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATBACZ','01',8,'CODICE ASPETTO ESTERIORE',2,'CODAES',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBACZ','01',9,'GESTITO AL PUNTO VENDITA (S/N)',2,'FLAGPV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBACZ','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,'' )
,('ATBACZ','01',11,'SIGLA STAMPA ORDINI, BOLLE',2,'SIGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBACZ','01',12,'COMPONENTI LA CONFEZIONE',2,'NRCOMP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('ATBACZ','01',13,'FATTORI DI CONVERSIONE',2,'FATTCO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACZ','01',14,'PESO LORDO UNITARIO (KILOGRAMMI)',3,'PLORDO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,3,0,'9999V999 COMP-3','',0,'',0,0,'' )
,('ATBACZ','01',15,'VOLUME UNITARIO DM3',3,'VOLUME',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,3,0,'9999V999 COMP-3','',0,'',0,0,'' )
,('ATBACZ','01',16,'GESTIONE VUOTI',2,'GESVUO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',2,'',0,0,'' )
,('ATBACZ','01',17,'CODICE ARTICOLO VUOTO',3,'CODVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBACZ','01',18,'QUANTITA VUOTI DA SCARICARE',3,'QTVSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ATBACZ','01',19,'UN VUOTO DA SCARICARE OGNI',3,'QTVOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ATBACZ','01',20,'GESTIONE PRODUZIONE',2,'GESPRD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACZ','01',21,'CODICE CARTONE',3,'CODCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBACZ','01',22,'QUANTITA'' DA SCARICARE A PRODUZIONE',3,'QTCSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ATBACZ','01',23,'CONTRASSEGNI IVA',2,'CONIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBACZ','01',24,'CODICE CONTRASSEGNO IVA',3,'CODTAP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATBACZ','01',25,'QUANTITA'' DA SCARICARE',3,'QTTSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ATBACZ','01',26,'CAPACITA'' RECIPIENTE (VECCHIO 2 DEC)',2,'CAPOLD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('ATBACZ','01',27,'PESO TARA (KG)',2,'PESTAR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,3,0,'9999V999','',0,'',0,0,'' )
,('ATBACZ','01',28,'CAPACITA'' RECIPIENTE',2,'CAPREP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('ATBACZ','01',29,'CODICE IMBALLAGGIO (T010 AG. DOGANE)',2,'CDT010',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBACZ','01',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,76,76,0,0,'X(76)','',0,'',0,0,'' )
,('ATBADC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADC','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,'' )
,('ATBADC','01',3,'TIPO RECORD = "DC"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBADC','01',4,'CAUSALE BOLLA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBADC','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'X' )
,('ATBADC','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,'' )
,('ATBADC','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,'' )
,('ATBADC','01',8,'DESCRIZIONE CAUSALE DEL TRASPORTO',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBADC','01',9,'TIPO DOCUMENTO',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',15,'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,'' )
,('ATBADC','01',16,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBADC','01',17,'CODICE MAGAZZINO ARRIVO',2,'CODMG2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBADC','01',18,'CODICE MODALITA'' TRASPORTO',2,'CODMOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBADC','01',19,'CODICE BLOCCO (ZERO=NUMERAZIONE MANUALE)',2,'BLOCCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBADC','01',20,'NOME PROGRAMMA DI STAMPA MODULO',2,'MODULO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBADC','01',21,'CAUSALE FATTURAZIONE (SPAZI=NO FATTURA)',2,'CAUFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBADC','01',22,'ESTRAZIONE STATISTICHE (S/N)',2,'FLSTAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',23,'RESO S/N',2,'FLRESO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',24,'BLOCCO PER DAA',2,'BLODAA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBADC','01',25,'NOME PROGRAMMA DI STAMPA DAA',2,'MODDAA',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBADC','01',26,'MEZZO DI TRASPORTO',2,'CODMEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBADC','01',27,'FLAG CONTROLLO CODICI DOCO (S/N)',2,'FLDOCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',28,'CAUSALE BOLLA PER DOPPIA BOLLA ESTERO',2,'CAUCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBADC','01',29,'STAMPANTE DI DEFAULT BOLLA',2,'STPBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBADC','01',30,'STAMPANTE DI DEFAULT DAA',2,'STPDAA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBADC','01',31,'NUMERO COPIE',2,'NUMCOP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBADC','01',32,'DESCR. MAG. ARR. IN IV RIGA DESTINAZ.S/N',2,'DESARR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',33,'CONTROLLO STATO GIURIDICO CLIENTI',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',34,'BOLLE CLI.TRIANGOLARE SPEDIZIONE COME',2,'SPEDDC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',36,'MAGAZZINO DI ARRIVO OBBLIGATORIO S/N',2,'ARROBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',37,'GENERAZIONE AUTOMATICA MOVIMENTI VUOTI',2,'GENVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',38,'FLAG GESTITO LOTTO (S/N)',2,'FLGLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',39,'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,'' )
,('ATBADC','01',40,'CAUSALE SCONTO MERCE ( /S)',2,'FLGSCM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',41,'ELABORA IN STATISTICHE DA BOLLE (OPZ. 7)',2,'ELASTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',42,'CONTRATTO E/O ORDINE OBBLIGATORIO (S/N)',2,'FLGCOO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',43,'ARCHIVIAZIONE DOCUMENTALE BARCODE S/N',2,'FLSTDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',44,'CODICE COMMENTO FISSO FINE CORPO BOLLA',2,'COMFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBADC','01',45,'CENTRO DI COSTO SPESE DI TRASPORTO',2,'CCSPTR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBADC','01',47,'PESATA OBBLIGATORIA (S/N) (DOCO)',2,'FLGPEO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',48,'AMMESSA BOLLA IMPORTO 0 (S)',2,'FLIMP0',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',49,'DES.MOV.COMM. TRASFERIMENTI M=MAG C=CLI',2,'DESCOM',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
('ATBADC','01',50,'RICH.LETTURA BARCODE PER DOCUMENTALE S/N',2,'BARLET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',51,'FLAG CONSEGNA IN COMODATO S',2,'FLCCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',52,'BLOCCO PER CLIENTI BLOCCATI',2,'BLOCCB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBADC','01',53,'CODICE DESTINATARIO',2,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBADC','01',54,'CONTROLLO COMMERCIALIZZAZIONE S/N',2,'CTRCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',55,'FLAG GESTIONE DATI FOOD DEFENCE',2,'FLAGFD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',59,'DATA INIZIO OBBL. DATI FOOD DEFENCE',2,'DTAOFD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBADC','01',60,'CREA MOV.R.U.  SENZA SOGGETTO',2,'RUNSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADC','01',61,'CODICE ESONERO/DEROGA',2,'CODESO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATBADC','01',62,'CODICE CAUSALE TRASPORTO MVV-E (SIAN)',2,'CAUMVV',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBADC','01',63,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,42,42,0,0,'X(42)','',0,'',0,0,'' )
,('ATBADD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADD','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,'' )
,('ATBADD','01',3,'TIPO RECORD = "DD"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBADD','01',4,'CAUSALE BOLLA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBADD','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBADD','01',6,'CAUSALI MAGAZZINO',2,'CMAGAZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADD','01',7,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',8,'CAUSALE MAGAZZINO USCITA CARTONI (BREG.)',3,'CMPCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',9,'CAUSALE MAG.PARTENZA VEND. CMP NO STAMPA',3,'CMPVCN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',10,'CAUSALE MAG.PARTENZA OMAG. CMP NO STAMPA',3,'CMPOCN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',11,'CAUSALE MAGAZZINO PARTENZA VENDITA',3,'CMPVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',12,'CAUSALE MAGAZZINO ARRIVO VENDITA',3,'CMAVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',13,'CAUSALE MAGAZZINO PARTENZA OMAGGI',3,'CMPOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',14,'CAUSALE MAGAZZINO ARRIVO OMAGGI',3,'CMAOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',15,'CAUSALE MAGAZZINO PARTENZA RESO VUOTI',3,'CMPRSV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',16,'CAUSALE MAGAZZINO ARRIVO RESO VUOTI',3,'CMARSV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',17,'CAUSALE MAGAZZINO PARTENZA CONSEGNA VUOT',3,'CMPCOV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',18,'CAUSALE MAGAZZINO ARRIVO CONSEGNA VUOTI',3,'CMACOV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',19,'CAUSALE MAGAZZINO PERDITE TRASPORTO',3,'CMPPRT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',20,'CAUSALI COMMERCIALIZZAZIONE',2,'CCOMME',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADD','01',21,'CAUSALE COMMERCIALIZZAZIONE PARTENZA',3,'CCPVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',22,'CAUSALE COMMERCIALIZZAZIONE ARRIVO',3,'CCAVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',23,'CAUSALE COMMERC. PARTENZA OMAGGI',3,'CCPOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',24,'CAUSALE COMMERC. ARRIVO OMAGGI',3,'CCAOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',25,'CAUSALE COMMERC. PERDITE DI TRASPORTO',3,'CCPPRT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',26,'CAUSALI TAPPI FISCALI',2,'CTAPPF',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADD','01',27,'CAUSALE CONTRASSEGNI IVA PARTENZA',3,'CTPVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',28,'CAUSALE CONTRASSEGNI IVA ARRIVO',3,'CTAVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',29,'CAUSALE CONTRASSEGNI IVA PARTENZA OMAGGI',3,'CTPOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',30,'CAUSALE CONTRASSEGNI IVA ARRIVO OMAGGI',3,'CTAOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',31,'CAUSALE CONTRASS. IVA PERDITE TRASPORTO',3,'CTPPRT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',32,'CAUSALI IMBOTTIGLIAMENTO',2,'CIMBOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADD','01',33,'CAUSALE IMBOTTIGLIAMENTO',3,'CIPIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',34,'CAUSALI CONTRASSEGNI IVA SFUSO',2,'CCIVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADD','01',35,'CAUS. CONTR. IVA PARTENZA VENDITA SFUSO',3,'CIPVES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',36,'CAUSALE CONTR. IVA ARRIVO VENDITA SFUSO',3,'CIAVES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',37,'CAUSALE CONTR. IVA PARTENZA OMAGGI SFUSO',3,'CIPOMS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',38,'CAUSALE CONTR. IVA ARRIVO OMAGGI SFUSO',3,'CIAOMS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',39,'MODULO DICHIARAZIONE PULIZIA CISTERNE',2,'MODPUL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBADD','01',40,'BLOCCO DICHIARAZIONE PULIZIA CISTERNE',2,'BLOPUL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBADD','01',41,'STAMPANTE DICHIARAZIONE PULIZIA CISTERNE',2,'STPPUL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBADD','01',42,'MODULO CMR',2,'MODCMR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBADD','01',43,'STAMPANTE DI DEFAULT MODULO CMR',2,'STPCMR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBADD','01',44,'BOLLA ESENTE DA DIRITTI ACCISA /S',2,'ESDIAC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADD','01',45,'SCARTONA/CARTONA IN MAG.ARRIVO S/C',2,'FLGSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADD','01',46,'CAUSALE OPERAZIONE REG. UNICO PARTENZA',2,'CRUPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',47,'CAUSALE OPERAZIONE REG.UNICO ARRIVO',2,'CRUARR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',48,'CAUSALE OPERAZIONE REG.UNICO IMBOTT',2,'CRUIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADD','01',49,'CAUSALE REGISTRO UNICO IMBOTTIGLIAMENTO',2,'CRCPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBADD','01',50,'CAUSALE REGISTRO UNICO ARRIVO',2,'CRCARR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBADD','01',51,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,71,71,0,0,'X(71)','',0,'',0,0,'' )
,('ATBADE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADE','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,'' )
,('ATBADE','01',3,'TIPO RECORD = "DE"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBADE','01',4,'CAUSALE BOLLA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBADE','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBADE','01',6,'CAUSALI ERGA OMNES MAGAZZINO PARTENZA',2,'CERGAO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADE','01',7,'CAUSALE ERGA OMNES SFUSO ATTO',3,'SFUATT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADE','01',8,'CAUSALE ERGA OMNES SFUSO CERT.',3,'SFUCER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADE','01',9,'CAUSALE ERGA OMNES CONF. ATTO',3,'CONATT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADE','01',10,'CAUSALI ERGA OMNES MAGAZZINO ARRIVO',2,'CERGAA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADE','01',11,'CAUSALE ERGA OMNES SFUSO ATTO MAG.ARRIVO',3,'ASFUAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADE','01',12,'CAUSALE ERGA OMNES SFUSO CERT.MAG.ARRIVO',3,'ASFUCE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADE','01',13,'CAUSALE ERGA OMNES CONF. ATTO MAG.ARRIVO',3,'ACONAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADE','01',14,'QUARTA RIGA DI DESTINAZIONE',2,'RIGDES',0,0,0,0,0,0,0,0,0,0,'',4,0,55,55,0,0,'X(55)','',0,'',0,0,'' )
,('ATBADE','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,107,107,0,0,'X(107)','',0,'',0,0,'' )
,('ATBADF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADF','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,'' )
,('ATBADF','01',3,'TIPO RECORD = "DF"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBADF','01',4,'CAUSALE ACQUISTO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBADF','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBADF','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,'' )
,('ATBADF','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,'' )
,('ATBADF','01',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,'' )
,('ATBADF','01',9,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBADF','01',10,'MODULO DI STAMPA',2,'MODULO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBADF','01',11,'CAUSALI MAGAZZINO',2,'CMAGAZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADF','01',12,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADF','01',13,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADF','01',14,'CAUSALE MAGAZZINO MERCE',3,'CMAACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADF','01',15,'CAUSALI COMMERCIALIZZAZIONE',2,'CCOMME',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADF','01',16,'CAUSALE COMMERCIALIZZAZIONE',3,'CCOACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADF','01',17,'CAUSALI TAPPI FISCALI',2,'CTAPPF',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADF','01',18,'CAUSALE CONTRASSEGNI IVA ACQUISTO',3,'CTPACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADF','01',19,'CAUSALE CONTRASSEGNI IVA IMBOTTIGLIATO',3,'CTPIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADF','01',20,'PREZZO OBBLIGATORIO S/N/Z',2,'PRZOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADF','01',21,'FLAG OBSOLETA ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADF','01',22,'CAUSALI ERGA OMNES',2,'CERGAO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADF','01',23,'CAUSALE ERGA OMNES CARICO SFUSO ATTO',3,'SFUATT',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
('ATBADF','01',24,'CAUSALE ERGA OMNES CARICO SFUSO CERT.',3,'SFUCER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADF','01',25,'CAUSALE ERGA OMNES CARICO CONF. ATTO',3,'CONATT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADF','01',26,'SECONDO MAGAZZINO DA AGGIORNARE',2,'CODMA2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBADF','01',27,'NATURA TRANSAZIONE INTRA',2,'NATTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADF','01',28,'REGIME INTRA',2,'REGIME',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADF','01',29,'GESTITA ARCHIVIAZIONE DOCUMENTALE (S/N)',2,'FLSTDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADF','01',30,'CAUSALE RITORNO DA CONTO LAVORAZIONE',2,'RETCLA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADF','01',31,'CONTRATTO E/O ORDINE OBBLIGATORIO S/N',2,'FLGCOO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADF','01',32,'STAMPA SCHEDA ACQUISTO S/N',2,'STSCAC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADF','01',33,'PROPONI LOTTO S/N',2,'PROLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADF','01',34,'NUMERO ATTR. ARTICOLI CONTO LAVORO',2,'NUMCLA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBADF','01',35,'CODICE ATTR. ARTICOLI CONTO LAVORO',2,'CODCLA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBADF','01',36,'CAUSALE OPERAZIONE SU REGISTRO UNCIO',2,'CRUACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBADF','01',37,'FLAG GESTIONE DATI FOOD DEFENCE',2,'FLAGFD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBADF','01',41,'DATA INIZIO OBBL. DATI FOOD DEFENCE',2,'DTAOFD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBADF','01',42,'CAUSALE REG.UNICO (PER STATISTICHE)',2,'CRCACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBADF','01',43,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,52,52,0,0,'X(52)','',0,'',0,0,'' )
,('ATBADI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADI','01',2,'TIPO RECORD = "DI"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBADI','01',3,'CODICE DIPENDENTE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBADI','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,'' )
,('ATBADI','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,'' )
,('ATBADI','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,'' )
,('ATBADI','01',7,'CENTRO DI COSTO INDIVIDUALE',2,'CENCOS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBADI','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,97,97,0,0,'X(97)','',0,'',0,0,'' )
,('ATBADP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADP','01',2,'TIPO RECORD = "DP"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBADP','01',3,'CODICE DIPENDENTE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'99999','',0,'',0,0,'' )
,('ATBADP','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,'' )
,('ATBADP','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,'' )
,('ATBADP','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,'' )
,('ATBADP','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,'' )
,('ATBADT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBADT','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,'' )
,('ATBADT','01',3,'CODICE REGISTRO ACCISE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBADT','01',4,'DIRECTORY EXPORT',2,'NOMDIR',0,2,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBADT','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,'' )
,('ATBADT','01',6,'DESCRIZIONE UFFICIO',2,'DESUFF',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBADT','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,140,140,0,0,'X(140)','',0,'',0,0,'' )
,('ATBAFC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAFC','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAFC','01',3,'CODICE',3,'CODICE',1,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAFC','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,'' )
,('ATBAFC','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,'' )
,('ATBAFC','01',6,'TIPO NOMINATIVO',2,'TIPNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBAFC','01',7,'LIMITE IMPORTO MASSIMO ANNO SOLARE',2,'LIMITE',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ATBAFC','01',9,'TESSERA A PUNTI S/N',2,'FLGPUN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAFC','01',10,'LIMITE SCAGLIONE PUNTI',2,'LIMPUN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('ATBAFC','01',11,'IMPORTO SCONTO AL RAGGIUNGIMENTO PUNTI',2,'SCOPUN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('ATBAFC','01',12,'CODICE ARTICOLO IMPORTO SCONTO',2,'ARTSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBAFC','01',13,'AMM.IMP.NUOVO NOM IN REGISTRAZIONE',2,'AMIMNO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAFC','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,69,69,0,0,'X(69)','',0,'',0,0,'' )
,('ATBAFM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAFM','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,'' )
,('ATBAFM','01',3,'TIPO RECORD = "FM"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAFM','01',4,'CAUSALE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAFM','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,'' )
,('ATBAFM','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,'' )
,('ATBAFM','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,'' )
,('ATBAFM','01',8,'FLAG TEMPO FERMO OBBLIGATORIO (S/N)',2,'TEMOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAFM','01',9,'FLAG MOTIVAZIONE OBBLIGATORIA (S/N)',2,'MOTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAFM','01',10,'ESCLUSO DA CONTROLLO CAMPIONI VOLUME (S)',2,'ESCVOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAFM','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,97,97,0,0,'X(97)','',0,'',0,0,'' )
,('ATBAFP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAFP','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,'' )
,('ATBAFP','01',3,'TIPO RECORD = "FP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAFP','01',4,'CODICE MATERIA PRIMA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAFP','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATBAFP','01',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAFP','01',7,'LIMITE ARTICOLO INIZIALE',2,'ARTINI',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBAFP','01',8,'LIMITE ARTICOLO FINALE',2,'ARTFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBAFP','01',9,'LOTTO IMPUTAB(I), OBBLIG.(O) NON GEST(N)',2,'FLGLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAFP','01',10,'FORN IMPUTAB(I) OBBLIG(O) NON GESTITO(N)',2,'FLGFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAFP','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,83,83,0,0,'X(83)','',0,'',0,0,'' )
,('ATBAFT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAFT','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,'' )
,('ATBAFT','01',3,'CODICE TIPO FIDELITY CARD',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAFT','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,'' )
,('ATBAFT','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,'' )
,('ATBAGC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAGC','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAGC','01',3,'CODICE GRUPPO RICAVO',3,'CODICE',1,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAGC','01',4,'CODICE MAGAZZINO',3,'CODMAG',2,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAGC','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,'' )
,('ATBAGC','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,'' )
,('ATBAGC','01',7,'RICAVI ITALIA',2,'CODITA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAGC','01',8,'GRUPPO RICAVI ITALIA',3,'GRUITA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAGC','01',9,'CONTO RICAVI ITALIA',3,'CONITA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAGC','01',10,'SOTTOCONTO RICAVI ITALIA',3,'SOTITA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAGC','01',11,'RICAVI ESTERO',2,'CODEST',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAGC','01',12,'GRUPPO RICAVI ESTERO',3,'GRUEST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAGC','01',13,'CONTO RICAVI ESTERO',3,'CONEST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAGC','01',14,'SOTTOCONTO RICAVI ESTERO',3,'SCOEST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAGC','01',15,'RICAVI CEE',2,'CODCEE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAGC','01',16,'GRUPPO RICAVI CEE',3,'GRUCEE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAGC','01',17,'CONTO RICAVI CEE',3,'CONCEE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAGC','01',18,'SOTTOCONTO RICAVI CEE',3,'SCOCEE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAGC','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ATBAGP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAGP','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
('ATBAGP','01',3,'TIPO RECORD = "GP"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAGP','01',4,'CODICE NAZIONE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAGP','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,'' )
,('ATBAGP','01',6,'GIORNI PREPARAZIONE ORDINE',2,'GGGPRE',0,2,0,0,0,0,0,0,0,0,'',1,1,2,3,0,0,'S99','',0,'',0,0,'' )
,('ATBAGP','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,143,143,0,0,'X(143)','',0,'',0,0,'' )
,('ATBAGR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAGR','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAGR','01',3,'TIPO RECORD = "GR"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAGR','01',4,'CODICE GRUPPO RICAVO',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAGR','01',5,'CODICE MAGAZZINO',3,'CODMAG',3,4,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAGR','01',6,'ZERI',3,'ZEROES',4,5,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATBAGR','01',7,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAGR','01',8,'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,'' )
,('ATBAGR','01',9,'RICAVI ITALIA',2,'CODITA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAGR','01',10,'GRUPPO RICAVI ITALIA',3,'GRUITA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAGR','01',11,'CONTO RICAVI ITALIA',3,'CONITA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAGR','01',12,'SOTTOCONTO RICAVI ITALIA',3,'SCOITA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAGR','01',13,'RICAVI ESTERO',2,'CODEST',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAGR','01',14,'GRUPPO RICAVI ESTERO',3,'GRUEST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAGR','01',15,'CONTO RICAVI ESTERO',3,'CONEST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAGR','01',16,'SOTTOCONTO RICAVI ESTERO',3,'SCOEST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAGR','01',17,'RICAVI CEE',2,'CODCEE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAGR','01',18,'GRUPPO RICAVI CEE',3,'GRUCEE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAGR','01',19,'CONTO RICAVI CEE',3,'CONCEE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAGR','01',20,'SOTTOCONTO RICAVI CEE',3,'SCOCEE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAGR','01',21,'RICAVI PUNTO VENDITA',2,'CODPVE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAGR','01',22,'GRUPPO RICAVI PUNTO VENDITA',3,'GRUPVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAGR','01',23,'CONTO RICAVI PUNTO VENDITA',3,'CONPVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAGR','01',24,'SOTTOCONTO RICAVI PUNTO VENDITA',3,'SCOPVE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAGR','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,44,44,0,0,'X(44)','',0,'',0,0,'' )
,('ATBAGV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAGV','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,'' )
,('ATBAGV','01',3,'TIPO RECORD = "GV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAGV','01',4,'CODICE GRUPPO VALUTAZIONE RIMANENZE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAGV','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,'' )
,('ATBAGV','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,'' )
,('ATBAGV','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,'' )
,('ATBAGV','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,'' )
,('ATBAIM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAIM','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,'' )
,('ATBAIM','01',3,'TIPO RECORD = "IM"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAIM','01',4,'CODICE CAUSALE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAIM','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,'' )
,('ATBAIM','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,'' )
,('ATBAIM','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,'' )
,('ATBAIM','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,'' )
,('ATBAIR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAIR','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,'' )
,('ATBAIR','01',3,'TIPO RECORD = "IR"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAIR','01',4,'CODICE TIPO INVESTIMENTO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ATBAIR','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,'' )
,('ATBAIR','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,'' )
,('ATBAIR','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,'' )
,('ATBAIR','01',8,'TIPO DOCUMENTO',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAIR','01',12,'CODICE ARTICOLO DOCUMENTO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBAIR','01',13,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBAIR','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,81,81,0,0,'X(81)','',0,'',0,0,'' )
,('ATBAK1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAK1','01',2,'TIPO RECORD = "K1"',2,'TIPREC',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAK1','01',3,'CODICE CAUSALE',2,'CODICE',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',4,'ZERI',2,'ZEROES',3,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATBAK1','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,'' )
,('ATBAK1','01',6,'TIPO CORRISPETTIVO',2,'TIPCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAK1','01',11,'GRUPPO CASSA CORRISPETTIVI',2,'GRUCCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',12,'CONTO CASSA CORRISPETTIVI',2,'CONCCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',13,'SOTTOCONTO CASSA CORRISPETTIVI',2,'SOTCCA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAK1','01',14,'GRUPPO CLIENTI CORRISPETTIVI',2,'GRUCCL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',15,'CONTO CLIENTI CORRISPETTIVI',2,'CONCCL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',16,'SOTTOCONTO CLIENTI CORRISPETTIVI',2,'SOTCCL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAK1','01',17,'GRUPPO SOCIO CORRISPETTIVI',2,'GRUCSO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',18,'CONTO SOCIO CORRISPETTIVI',2,'CONCSO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',19,'ANNO PARTITA (SOCIO)',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',20,'DARE/AVERE CASSA/CLIENTE SOCIO',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAK1','01',21,'GRUPPO BANCOMAT/POS',2,'GRUPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',22,'CONTO BANCOMAT/POS',2,'CONPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',23,'SOTTOCONTO BANCOMAT/POS',2,'SOTPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAK1','01',24,'GRUPPO SCONTO',2,'GRUSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',25,'CONTO SCONTO',2,'CONSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',26,'SOTTOCONTO SCONTO',2,'SOTSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAK1','01',27,'ALTRO GRUPPO 1',2,'GRU001',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',28,'ALTRO CONTO 1',2,'CON001',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',29,'ALTRO SOTTOCONTO 1',2,'SOT001',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAK1','01',30,'ALTRO GRUPPO 2',2,'GRU002',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',31,'ALTRO CONTO 2',2,'CON002',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',32,'ALTRO SOTTOCONTO 2',2,'SOT002',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAK1','01',33,'GRUPPO CONTROPARTITA',2,'GRUCO1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',34,'CONTO CONTROPARTITA',2,'CONCO1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK1','01',35,'SOTTOCONTO CONTROPARTITA',2,'SOTCO1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAK1','01',36,'MOVIMENTO DI SOLA IVA S/N',2,'SOLIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAK1','01',37,'AMMESSO DOCUMENTO A ZERO S/N',2,'DOC000',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAK1','01',38,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('ATBAK2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAK2','01',2,'TIPO RECORD = "K2"',2,'TIPREC',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAK2','01',3,'CODICE CAUSALE',2,'CODICE',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK2','01',4,'ZERI',2,'ZEROES',3,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATBAK2','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,'' )
,('ATBAK2','01',6,'GRUPPO CAUZIONI',2,'GRUCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK2','01',7,'CONTO CAUZIONI',2,'CONCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK2','01',8,'SOTTOCONTO CAUZIONI',2,'SOTCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAK2','01',9,'CODICE IVA CAUZIONI',2,'IVACAU',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
('ATBAK2','01',10,'DESCRIZIONE AGG. PRIMA CONTROPARTITA',2,'DESAG1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAK2','01',11,'GRUPPO CONTROPARTITA',2,'GRUCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK2','01',12,'CONTO CONTROPARTITA',2,'CONCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK2','01',13,'SOTTOCONTO CONTROPARTITA',2,'SOTCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAK2','01',14,'GRUPPO CONTROPARTITA',2,'GRUCO3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK2','01',15,'CONTO CONTROPARTITA',2,'CONCO3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK2','01',16,'SOTTOCONTO CONTROPARTITA',2,'SOTCO3',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAK2','01',17,'GRUPPO CONTROPARTITA',2,'GRUCO4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK2','01',18,'CONTO CONTROPARTITA',2,'CONCO4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK2','01',19,'SOTTOCONTO CONTROPARTITA',2,'SOTCO4',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAK2','01',20,'IMPORTO MASSIMO ABBUONO',2,'MAXABX',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAK2','01',21,'IMPORTO MASSIMO ABBUONO',3,'MAXABB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,2,'9(6) COMP-3','9999V99 COMP-3',0,'',0,0,'' )
,('ATBAK2','01',22,'CONTO ABBUONO ATTIVO',2,'COABAX',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAK2','01',23,'GRUPPO ABBONO ATTIVO',3,'GGGABA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ATBAK2','01',24,'CONTO ABBONO ATTIVO',3,'CCCABA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ATBAK2','01',25,'SOTTOCONTO ABBONO ATTIVO',3,'SSSABA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('ATBAK2','01',26,'CONTO ABBUONO PASSIVO',2,'COABPX',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAK2','01',27,'GRUPPO ABBUONO PASSIVO',3,'GGGABP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ATBAK2','01',28,'CONTO ABBUONO PASSIVO',3,'CCCABP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ATBAK2','01',29,'SOTTOCONTO ABBUONO PASSIVO',3,'SSSABP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('ATBAK2','01',30,'TIPO DESCRIZIONE AGGIUNTIVA AUTOMATICA',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAK2','01',31,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('ATBAK3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAK3','01',2,'TIPO RECORD = "K3"',2,'TIPREC',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAK3','01',3,'CODICE CAUSALE',2,'CODICE',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK3','01',4,'ZERI',2,'ZEROES',3,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATBAK3','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,'' )
,('ATBAK3','01',6,'RIGHE DARE/AVERE GRUPPO/CONTO/SOTTOCONTO',2,'RIGADA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',8,'',0,0,'' )
,('ATBAK3','01',7,'DARE/AVERE',3,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAK3','01',8,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ATBAK3','01',9,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ATBAK3','01',10,'CODICE SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('ATBAK3','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,118,118,0,0,'X(118)','',0,'',0,0,'' )
,('ATBAK4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAK4','01',2,'TIPO RECORD = "K4"',2,'TIPREC',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAK4','01',3,'CODICE CAUSALE',2,'CODICE',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK4','01',4,'ZERI',2,'ZEROES',3,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATBAK4','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,'' )
,('ATBAK4','01',6,'RIGHE DARE/AVERE GRUPPO/CONTO/SOTTOCONTO',2,'RIGADA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',8,'',0,0,'' )
,('ATBAK4','01',7,'DARE/AVERE',3,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAK4','01',8,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ATBAK4','01',9,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ATBAK4','01',10,'CODICE SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('ATBAK4','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,118,118,0,0,'X(118)','',0,'',0,0,'' )
,('ATBAK5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAK5','01',2,'TIPO RECORD = "K5"',2,'TIPREC',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAK5','01',3,'CODICE CAUSALE',2,'CODICE',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK5','01',4,'ZERI',2,'ZEROES',3,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATBAK5','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,'' )
,('ATBAK5','01',6,'RIGHE DARE/AVERE GRUPPO/CONTO/SOTTOCONTO',2,'RIGADA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',8,'',0,0,'' )
,('ATBAK5','01',7,'DARE/AVERE',3,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAK5','01',8,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ATBAK5','01',9,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ATBAK5','01',10,'CODICE SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('ATBAK5','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,118,118,0,0,'X(118)','',0,'',0,0,'' )
,('ATBAK6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAK6','01',2,'TIPO RECORD = "K6"',2,'TIPREC',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAK6','01',3,'CODICE CAUSALE',2,'CODICE',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAK6','01',4,'ZERI',2,'ZEROES',3,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATBAK6','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,'' )
,('ATBAK6','01',6,'RIGHE DARE/AVERE GRUPPO/CONTO/SOTTOCONTO',2,'RIGADA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',8,'',0,0,'' )
,('ATBAK6','01',7,'DARE/AVERE',3,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAK6','01',8,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ATBAK6','01',9,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ATBAK6','01',10,'CODICE SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('ATBAK6','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,118,118,0,0,'X(118)','',0,'',0,0,'' )
,('ATBAKC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAKC','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,'' )
,('ATBAKC','01',3,'TIPO RECORD = "KC"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAKC','01',4,'CAUSALE CONTRATTO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAKC','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKC','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,'' )
,('ATBAKC','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,'' )
,('ATBAKC','01',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,'' )
,('ATBAKC','01',9,'CAUSALE MAGAZZINO',2,'CAUMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATBAKC','01',10,'BLOCCO NUMERAZIONE DOCUMENTO',2,'BLOCCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAKC','01',11,'FLSG OBSOLETA ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKC','01',12,'ASSEGNA BARCODE PER DOCUMENTALE (S/N)',2,'FLSTDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKC','01',13,'RICHIESTA BARCODE ALLEGATO S/N',2,'BARALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKC','01',14,'RICH.LETTURA BARCODE PER DOCUMENTALE S/N',2,'BARLET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKC','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,87,87,0,0,'X(87)','',0,'',0,0,'' )
,('ATBAKF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAKF','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,'' )
,('ATBAKF','01',3,'TIPO RECORD = "KF"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAKF','01',4,'CAUSALE CONTRATTO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAKF','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKF','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,'' )
,('ATBAKF','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,'' )
,('ATBAKF','01',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,'' )
,('ATBAKF','01',9,'CAUSALE MAGAZZINO',2,'CAUMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAKF','01',10,'MODULO DI STAMPA CONTRATTO',2,'MODULO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAKF','01',11,'TIPO CONTRATTO (ACQUISTO/CONFERIMENTO)',2,'TIPCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKF','01',12,'PREZZO OBBLIGATORIO (S/N/Z)',2,'PRZOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKF','01',13,'GRADO OBBLIGATORIO (S/N)',2,'GRDOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKF','01',14,'OBSOLETA ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKF','01',15,'ARCHIVIAZIONE DOCUMENTALE BARCODE S/N',2,'FLSTDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKF','01',16,'RICHIESTA BARCODE ALLEGATO S/N',2,'BARALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKF','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATBAKK','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAKK','01',2,'CHIAVE',2,'KEY001',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
('ATBAKK','01',3,'TIPO RECORD = "KK"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBAKK','01',4,'CODICE CAUSALE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKK','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,'X' )
,('ATBAKK','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,'' )
,('ATBAKK','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,'' )
,('ATBAKK','01',8,'IMMISSIONE VELOCE S/N',2,'IMMVEL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',9,'TIPO CAUSALE',2,'TIPCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBAKK','01',11,'TIPO MOVIMENTO',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',20,'TIPO DARE',2,'TIPDAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',25,'TIPO AVERE',2,'TIPAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',30,'REGISTRO IVA',2,'REGIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAKK','01',31,'TIPO REGISTRO NORMALE',3,'TIPREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',32,'NUMERO REGISTRO NORMALE',3,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAKK','01',33,'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,'' )
,('ATBAKK','01',34,'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,'' )
,('ATBAKK','01',35,'QUADRATURA IMPONIBILE S/N',2,'QUAIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',36,'QUADRATURA IMPOSTA S/N',2,'QUAIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',37,'EFFETTO SU FATTURE RICEVUTE',2,'EFFRIC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',41,'DESCR AGG CONTR AUT DA RAG SOC S/N',2,'DESAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',42,'COMPOSIZIONE PARTITA',2,'TIPPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',45,'EFFETTO SU CALCOLO LIQUIDAZIONE +/-/BLK',2,'EFFLIQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',46,'EFFETTO SU CALCOLO ACCONTI +/-/BLANK',2,'EFFACC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',47,'CAUSALE OBSOLETA S/N',2,'OBSOLE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',48,'DATA PAGAMENTO OBBLIGATORIA S/N',2,'PAGOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',49,'CODICE GRUPPO SOCI',2,'GRUSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKK','01',50,'CODICE CONTO SOCI',2,'CONSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKK','01',51,'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,'' )
,('ATBAKK','01',52,'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,'' )
,('ATBAKK','01',53,'SOTTOCONTO DARE',2,'SOTDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAKK','01',54,'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,'' )
,('ATBAKK','01',55,'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,'' )
,('ATBAKK','01',56,'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,'' )
,('ATBAKK','01',57,'GRUPPO CONTROPARTITA',2,'GRUCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKK','01',58,'CONTO CONTROPARTITA',2,'CONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKK','01',59,'SOTTOCONTO CONTROPARTITA',2,'SOTCON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAKK','01',60,'TIPO REG. (MOVIMENTI COMPOSTI)',2,'TIPSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',64,'DATA VALUTA LIBRETTI OBBLIGATORIA S/N',2,'VALOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',65,'SIGLA CAUSALE',2,'SIGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAKK','01',66,'CODICE AGENTE OBBLIGATORIO S/N',2,'AGEOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',67,'CODICE CAUSALE EFFETTI',2,'CAUEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKK','01',68,'GRUPPO PORTAFOGLIO EFFETTI',2,'GRUEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKK','01',69,'CONTO PORTAFOGLIO EFFETTI',2,'CONEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKK','01',70,'SOTTOCONTO PORTAFOGLIO EFFETTI',2,'SOTEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAKK','01',71,'TIPO DOCUMENTO (documenti iva soci)',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',75,'PRIMA D. A. FOR. SU SECONDA D.A. COSTO',2,'DESFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',76,'STAMPA RICEVUTA S/N',2,'STARIC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',77,'S=CTR CHE DATA REG = DATA PRIMARIA',2,'CTRDAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',78,'GRUPPO/CONTO/SOTTOCONTO IVA',2,'GCSIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAKK','01',79,'GRUPPO IVA',3,'GRUIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKK','01',80,'CONTO IVA',3,'CONIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKK','01',81,'SOTTOCONTO IVA',3,'SOTIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAKK','01',82,'CREAZIONE FATTURE SOCI /S (SOAVE)',2,'CREFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',83,'MOVIMENTO NO IVA',2,'NONIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',84,'GCS IMPORTO IVA',2,'GCSNIV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAKK','01',85,'GRUPPO IMPORTO IVA',3,'GRUNIV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKK','01',86,'CONTO IMPORTO IVA',3,'CONNIV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKK','01',87,'SOTTOCONTO IMPORTO IVA',3,'SOTNIV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAKK','01',88,'LETTURA BARCODE S/N',2,'BARCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',89,'TIPO DOCUMENTO PER DOCUMENTALE',2,'DOCDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKK','01',90,'PAGAMENTO PIU'' PARTITE PAG. CON ABBUONO',2,'PAGMUL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',91,'RATEI/RISCONTI AUTOMATICI',2,'RATRIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',92,'STAMPA INTEGRAZIONE REV. CHARGE ITALIA',2,'STINCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',93,'TIPO DOCUMENTO PER SPESOMETRO',2,'TDSPES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAKK','01',94,'EXPORT SU AGYO S/N',2,'EXPAGY',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAKK','01',95,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,47,47,0,0,'X(47)','',0,'',0,0,'' )
,('ATBAKM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAKM','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,'' )
,('ATBAKM','01',3,'TIPO RECORD = "KM"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAKM','01',4,'CAUSALE CONTRATTO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAKM','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAKM','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,'' )
,('ATBAKM','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,'' )
,('ATBAKM','01',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,'' )
,('ATBAKM','01',9,'CAUSALE MAGAZZINO',2,'CAUMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATBAKM','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,94,94,0,0,'X(94)','',0,'',0,0,'' )
,('ATBAKS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAKS','01',2,'TIPO RECORD = "KC"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAKS','01',3,'CODICE CAUSALE SCONTO MERCE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBAKS','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,'' )
,('ATBAKS','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,'' )
,('ATBAKS','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,'' )
,('ATBAKS','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,'' )
,('ATBALA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBALA','01',2,'TIPO RECORD = "LA"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBALA','01',3,'CODICE CAUSALE LIBRO SOCI',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBALA','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,'' )
,('ATBALA','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,'' )
,('ATBALA','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,'' )
,('ATBALA','01',7,'SEGNO +/-',2,'SEGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBALA','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('ATBALI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBALI','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBALI','01',3,'TIPO RECORD = "LI"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBALI','01',4,'CODICE LISTINO',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBALI','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' )
,('ATBALI','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,'' )
,('ATBALI','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,'' )
,('ATBALI','01',8,'VALUTA DI RIFERIMENTO (ZERO = LIRE)',2,'CODVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBALI','01',9,'TIPO PREZZO (I=IVATO, N=NETTO)',2,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBALI','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,96,96,0,0,'X(96)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATBALN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBALN','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBALN','01',3,'TIPO RECORD = "LN"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBALN','01',4,'CODICE LINGUA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBALN','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,'' )
,('ATBALN','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,'' )
,('ATBALN','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,'' )
,('ATBALN','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,'' )
,('ATBALP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBALP','01',2,'TIPO RECORD = "LP"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBALP','01',3,'CODICE LINEA',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBALP','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,'' )
,('ATBALP','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,'' )
,('ATBALP','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,'' )
,('ATBALP','01',7,'CAPACITA'' NOMINALE IN LITRI/ORA',2,'LITRIH',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('ATBALP','01',8,'NUMERO LINEA SU LOTTO',2,'NUMLOT',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ATBALP','01',9,'DRIVER BILANCIA',2,'DRIVER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATBALP','01',10,'USCITA VETRI MAGAZZINO FERRETTO',2,'UVFERR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBALP','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATBALP','01',12,'CONSENTITO ACCODAMENTO PRODUZIONI (S)',2,'FLGDUE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBALP','01',13,'INTEGRAZIONE EUROPOOL ATTIVA (S)',2,'EUPOOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBALP','01',14,'INDIRIZZO IP MARKEM (O PC DI CONTROLLO)',2,'MARKIP',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBALP','01',15,'PORTA TCP/IP MARKEM (O PC DI CONTROLLO)',2,'MKPORT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATBALP','01',16,'NUMERO NODO STAMPANTE',2,'IDNODE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBALP','01',17,'NOME HOST BILANCIA',2,'IPBILA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBALP','01',18,'PORTA IP BILANCIA',2,'PRBILA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATBALP','01',19,'CAMPIONI ALL''ORA (NUMERO MINIMO)',2,'CAMPVH',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBALP','01',20,'MOLTIPLICATORE CAMPIONI VOLUME',2,'CAMPVX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBALP','01',21,'STAMPANTE ETICHETTE SSCC',2,'STSSCC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBALP','01',22,'IP MOXA SUPERVISORE PRODUZIONE NEGRAR',2,'IPMOXA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBALP','01',23,'TIPO FASCETTE UTILIZZABILE',2,'TIPFAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBALP','01',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATBALP','01',25,'NUMERO VERIFICHE EAN MINIME ALL''ORA',2,'NVEANH',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBALP','01',26,'ORA INIZIO PRODUZIONE DEFAULT',2,'ORAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATBALQ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBALQ','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,'' )
,('ATBALQ','01',3,'CODICE LINEA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBALQ','01',4,'SERVER SMTP',2,'SESMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBALQ','01',5,'USER SMTP',2,'USSMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBALQ','01',6,'USER SMTP',2,'PWSMTP',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBALQ','01',7,'INDIRIZZO MITTENTE',2,'DAMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBALQ','01',8,'INDIRIZZO MITTENTE',2,'A-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',3,'',0,0,'' )
,('ATBALQ','01',9,'TIMO INVIO',2,'T-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',3,'',0,0,'' )
,('ATBALQ','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,638,638,0,0,'X(638)','',0,'',0,0,'' )
,('ATBAM1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAM1','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,'' )
,('ATBAM1','01',3,'TIPO RECORD = "M1"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAM1','01',4,'CODICE MAGAZZINO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAM1','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,'' )
,('ATBAM1','01',6,'LUOGO PARTENZA BOLLE',2,'LUOPAR',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAM1','01',7,'DESCRIZIONE REGISTRI MOVIMENTI INVERSI',2,'DESREG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATBAM1','01',8,'VECCHIO CODICE ACCISA -> ATBAM2-01LS-ACC',2,'OLDACC',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATBAM1','01',9,'LUOGO ARRIVO MERCI',2,'LUOARR',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATBAM1','01',10,'CONTO PAGAMENTO FATT.ACCOMP.PUNTO VEND.',2,'CPFAPV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAM1','01',11,'GRUPPO',3,'CPFAGR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAM1','01',12,'CONTO',3,'CPFACO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAM1','01',13,'SOTTOCONTO',3,'CPFASO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAM1','01',14,'CAUSALE CONTABILE PAGAM.FATT.ACC.P.VEND.',2,'CCFAPV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAM1','01',15,'CODICE REGISTRO ZUCCHERI',2,'REGZUC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAM1','01',16,'NUMERO FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATBAM1','01',17,'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,'' )
,('ATBAM1','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATBAM2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAM2','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,'' )
,('ATBAM2','01',3,'TIPO RECORD = "M2"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAM2','01',4,'CODICE MAGAZZINO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAM2','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATBAM2','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,'' )
,('ATBAM2','01',7,'CODICE REGISTRO DOLCIFICAZIONE',2,'REGDOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAM2','01',8,'CODICE REGISTRO FRIZZANTI',2,'REGFRI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAM2','01',9,'CODICE REGISTRO SPUMANTI',2,'REGSPU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAM2','01',10,'CODICE GRAFICA',2,'CODGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAM2','01',11,'CLIENTE FISSO TRIANGOLAZIONE',2,'CODTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAM2','01',12,'CONTO PAGAMENTO FATT. DIFF. DA P. VEND.',2,'CPFDPV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAM2','01',13,'GRUPPO',3,'CPFDGR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAM2','01',14,'CONTO',3,'CPFDCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAM2','01',15,'SOTTOCONTO',3,'CPFDSO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAM2','01',16,'CAUSALE CONTABILE PAGAM. FATT.DIFF. P.V.',2,'CCFDPV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAM2','01',17,'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,'' )
,('ATBAM2','01',18,'LUOGO DI SPEDIZIONE DAA TELEMATICO',2,'LUOSPE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAM2','01',20,'CODICE ACCISA',3,'LS-ACC',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ATBAM2','01',21,'DENOMINAZIONE',3,'LS-DEN',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATBAM2','01',22,'INDIRIZZO',3,'LS-IND',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATBAM2','01',23,'CAP',3,'LS-CAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATBAM2','01',24,'LUOGO',3,'LS-LUO',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ATBAM2','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAM3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAM3','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,'' )
,('ATBAM3','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAM3','01',4,'CODICE ATTRIBUTO COMMERCIALIZZAZIONE',3,'ATTCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ATBAM3','01',5,'CODICE REGISTRO IMBOTTIGLIAMENTO',2,'REGIMB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAM3','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,91,91,0,0,'X(91)','',0,'',0,0,'' )
,('ATBAM4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAM4','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,'' )
,('ATBAM4','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAM4','01',4,'CODICE ATTRIBUTO COMMERCIALIZZAZIONE',3,'ATTCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ATBAM4','01',5,'CODICE REGISTRO COMMERCIALIZZAZIONE',2,'REGCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAM4','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,91,91,0,0,'X(91)','',0,'',0,0,'' )
,('ATBAM5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAM5','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
('ATBAM5','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAM5','01',4,'CODICE ATTRIBUTO ARTICOLO',3,'ATTART',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ATBAM5','01',5,'CODICE REGISTRO VITIVINICOLO',2,'REGVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAMA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAMA','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,'' )
,('ATBAMA','01',3,'TIPO RECORD = "MA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBAMA','01',4,'CODICE MAGAZZINO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAMA','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,'X' )
,('ATBAMA','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,'' )
,('ATBAMA','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,'' )
,('ATBAMA','01',8,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAMA','01',9,'CODICE CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATBAMA','01',10,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAMA','01',11,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAMA','01',12,'CODICE REGISTRO COMMERCIALIZZAZIONE VINI',2,'CRCVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAMA','01',13,'CODICE REGISTRO COMMERCIALIZZAZIONE SUCC',2,'CRCSUC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAMA','01',14,'CODICE REGISTRO CONTRASSEGNI IVA VINI',2,'CRTVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAMA','01',15,'CODICE REGISTRO CONTRASSEGNI IVA SUCCHI',2,'CRTSUC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAMA','01',16,'CODICE REGISTRO IMBOTTIGLIAMENTO VINI',2,'CRIVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAMA','01',17,'CODICE REGISTRO ACCISA VINI CONFEZIONATO',2,'CRAVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAMA','01',18,'FLAG MAGAZZINO SPECIALE S/N',2,'FLGSPE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMA','01',19,'TIPO AGG.REG. BOLLE SPACCIO I/D/N',2,'TARBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMA','01',20,'TIPO AGG.REG. SCONTRINI SPACCIO I/D/N',2,'TARSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMA','01',21,'CODICE REGISTRO ERGA OMNES VINI',2,'CREVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAMA','01',22,'CODICE REGISTRO ACCISA VINI SFUSI',2,'CRASFU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAMA','01',23,'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,'' )
,('ATBAMA','01',24,'CODICE CLIENTE COLLEGATO (ROBOS VALDO)',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAMA','01',25,'GESTITO AD ALVEOLI (S/N)',2,'FLGALV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMA','01',26,'CODICE DESTINATARIO CLIENTE',2,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAMA','01',27,'AZIENDA DEL MAGAZZINO',2,'AZIMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAMA','01',28,'REGISTRO CONSIGNMENT STOCK',2,'REGCST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAMA','01',29,'FLAG LOCALE/REMOTO',2,'LOCREM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMA','01',30,'REGISTRO VITIVINICOLO UNICO',2,'REGVUN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAMA','01',31,'CODICE COMUNE ISTAT',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAMA','01',32,'TIME STAMP UTLIMA MODIFICA REG.UNICO TEL',2,'TISTRU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAMA','01',33,'DATA ULTIMA MODIFICA REG.UNICO TEL',3,'DATMRU',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBAMA','01',34,'ORA ULTIMA MODIFICA REG.UNICO TEL',3,'ORAMRU',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATBAMA','01',35,'CODICE LINEA PRODUZIONE PREDEFINITA',2,'LINPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAMA','01',36,'CODICE CAUSALE PRODUZIONE PREDEFINITA',2,'PROPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAMA','01',37,'CREA MOVIMENTI DA ANONIMI (S/N)',2,'CARUPV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMA','01',38,'CREA MOVIMENTI DA INTESTATI (S/N)',2,'CIRUPV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMA','01',39,'TIPO AGGIORNAMENTO SFUSI REGISTRO UNICO',2,'FLGSRU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMA','01',42,'AGGIORNAMENTO REGISTRO VENDITE CLIENTI',2,'VCRUPV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMA','01',46,'PRODOTTO R.U. SU DETTAGLIO BOLLETTE S/N',2,'PRUDET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMA','01',47,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,23,23,0,0,'X(23)','',0,'',0,0,'' )
,('ATBAMC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAMC','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,'' )
,('ATBAMC','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,'' )
,('ATBAMC','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,'' )
,('ATBAMC','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,'' )
,('ATBAMC','01',6,'FILLER EX PREFISSO SSCC',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBAMC','01',7,'FILLER EX INTESTAZIONE SSCC',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAMC','01',8,'BLOCCO NUMERAZIONE SSCC',2,'BLOSSC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAMC','01',9,'MODULO DI STAMPA ETICHETTA SSCC',2,'MODULO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAMC','01',10,'INTESTAZIONE ETICHETTA',2,'INTEST',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',2,'',0,0,'' )
,('ATBAMC','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,128,128,0,0,'X(128)','',0,'',0,0,'' )
,('ATBAMD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAMD','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,'' )
,('ATBAMD','01',3,'TIPO RECORD = "MD"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAMD','01',4,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('ATBAMD','01',5,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',20,'',0,0,'' )
,('ATBAMD','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,105,105,0,0,'X(105)','',0,'',0,0,'' )
,('ATBAMI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAMI','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,'' )
,('ATBAMI','01',3,'CODCIE COMBINAZIONE MANIPOLAZIONI',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATBAMI','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,'' )
,('ATBAMI','01',5,'CODICE MANIPOLAZIONE',2,'CODMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAMI','01',6,'EVENTUALE DESCRIZIONE MANIPOLAZIONI',2,'DESMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAMI','01',7,'OBSOLETA ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMI','01',8,'MANIP. X AGG. COMMERC. DA BOLLE ACQ/VEN',2,'COMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATBAMI','01',9,'MANIP. PER STAMPA REG. COMMERC. BOLLATO',2,'COMSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATBAMI','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,109,109,0,0,'X(109)','',0,'',0,0,'' )
,('ATBAMN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAMN','01',2,'TIPO RECORD = "MN"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAMN','01',3,'CODICE MANSIONE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAMN','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,'' )
,('ATBAMN','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,'' )
,('ATBAMN','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,'' )
,('ATBAMN','01',7,'CODICE RAGRUPPAMENTO MANSIONE',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAMN','01',8,'SIGLA MANSIONE ABBREVIATA',2,'SIGLAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMN','01',9,'NUMERO ATTRIBUTO ARTICOLO PRODUZIONE',2,'NATTPR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAMN','01',10,'CODICE ATTRIBUTO ARTICOLO PRODUZIONE',2,'CATTPR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('ATBAMN','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,64,64,0,0,'X(64)','',0,'',0,0,'' )
,('ATBAMP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAMP','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAMP','01',3,'TIPO RECORD = "MP"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBAMP','01',4,'CODICE MODALITA'' DI PAGAMENTO',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATBAMP','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,'X' )
,('ATBAMP','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,'' )
,('ATBAMP','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,'' )
,('ATBAMP','01',8,'TIPO PAGAMENTO',2,'TIPPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAMP','01',15,'SCORPORO IVA S/N',2,'SCOIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',17,'FILLER EX IMPORTO ANTICIPO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBAMP','01',18,'TIPO MESE',2,'TIPMES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',21,'TIPO CALCOLO DATA PARTENZA',2,'DATPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',29,'TIPO CALCOLO DATA ARRIVO',2,'DATARR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',34,'GIORNO FISSO',2,'GIOFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAMP','01',35,'TIPO SPOSTAMENTO GIORNO FISSO',2,'SPOFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',39,'MESI SENZA EFFETTI',2,'MESINO',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
('ATBAMP','01',40,'MESE SENZA EFFETTI',3,'MESENO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',6,'',0,0,'' )
,('ATBAMP','01',41,'TIPO SPOSTAMENTO MESI SENZA EFFETTI',2,'SPOMES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',44,'PERCENTUALE SCONTO PAGAMENTO',2,'SCOPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATBAMP','01',45,'PROVVIGIONE AGGIUNTIVA INCASSO AGENTE',2,'PROINC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATBAMP','01',46,'STAMPA RICEVUTA PER AGENTE S/N',2,'RICAGE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',47,'SOLLECITI S/N',2,'INVSOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',48,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ATBAMP','01',49,'SPESE INCASSO PER FATTURAZIONE',2,'SPEFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('ATBAMP','01',50,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBAMP','01',51,'TIPO SCADENZA',2,'TIPSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',56,'ARTICOLO SPESE INCASSO',2,'ARTINC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'AARTI1',1,1,'' )
,('ATBAMP','01',57,'STAMPA SCADENZE IN FATTURA S/N',2,'STSINF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',58,'IMPORTO PARTE RIMESSA DIRETTA A VISTA',2,'IMPANT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ATBAMP','01',59,'PERC. IMPORTO RIMESSA DIRETTA A VISTA',2,'PERANT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAMP','01',60,'ARROTONDAMENTO IMPORTO PARTE R.DIR VISTA',2,'ARRANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',61,'MODALITA'' AFFIDATA S/N',2,'MODAFF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',62,'S=MAV',2,'TIPMAV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',63,'.RES 038: VISIBILE WEB (S/ )',2,'FLGWEB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',64,'.RES 038: ITALIA/ESTERO/TUTTI (I/E/ )',2,'FLGNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',65,'.RES 038: BLOCCANTE (S/ )',2,'FLGBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',66,'.RES 038: VISIBILE INS.NUOVO CLI. (S/ )',2,'FLGINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',67,'.RES 038: ANTICIPO  (1/ )',2,'FLGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMP','01',68,'MODALITA'' DI PAGAMENTO FATTURA PA',2,'MODFPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAMP','01',69,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,85,85,0,0,'X(85)','',0,'',0,0,'' )
,('ATBAMT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAMT','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,'' )
,('ATBAMT','01',3,'TIPO RECORD = "MT"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBAMT','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAMT','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,'X' )
,('ATBAMT','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,'' )
,('ATBAMT','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,'' )
,('ATBAMT','01',8,'DESCRIZIONE ''A CURA DEL'' STAMPA DOCO',2,'DSDOCO',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATBAMT','01',9,'DESCRIZIONE ''TIPO DOCUMENTO'' STAMPA DOCO',2,'MDDOCO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBAMT','01',10,'TRASPORTATORE OBBLIGATORIO IN BOLLA S/N',2,'OBBTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMT','01',11,'TIPO TRASPORTO DOCO (D/M/V)',2,'TTDOCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMT','01',12,'TIPO DOCUMENTO DOCO (A/B/C/I)',2,'TDDOCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMT','01',13,'.RES 038: PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATBAMT','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,'' )
,('ATBAMZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAMZ','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,'' )
,('ATBAMZ','01',3,'TIPO RECORD = "MZ"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBAMZ','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAMZ','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,'X' )
,('ATBAMZ','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,'' )
,('ATBAMZ','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,'' )
,('ATBAMZ','01',8,'MODO TRASPORTO PER MODELLO INTRA',2,'MINTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAMZ','01',9,'MODALITA'' DI TRASPORTO (T008 AG.DOGANE)',2,'CDT008',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAMZ','01',10,'COD.UNITA''DI TRASPORTO (T009 AG.DOGANE)',2,'CDT009',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',2,'',0,0,'' )
,('ATBAMZ','01',12,'CODICE MEZZO DA TABELLE SIAN PER MVV-E',2,'CODMVV',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAMZ','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,91,91,0,0,'X(91)','',0,'',0,0,'' )
,('ATBANA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBANA','01',2,'TIPO RECORD = "NA"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBANA','01',3,'CODICE ADDETTO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBANA','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,'' )
,('ATBANA','01',5,'NOMINATIVO',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBANA','01',6,'NOMINATIVO',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBANA','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,'' )
,('ATBANC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBANC','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,'' )
,('ATBANC','01',3,'TIPO RECORD = "NC"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBANC','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ATBANC','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ATBANC','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,'' )
,('ATBANC','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,'' )
,('ATBANC','01',8,'STAMPA UNITA'' MISURA SUPPLEMENTARE S/N',2,'FLGUMS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBANC','01',9,'CODICE PRODOTTO ACCISA',2,'PROACC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBANC','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,96,96,0,0,'X(96)','',0,'',0,0,'' )
,('ATBAOC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAOC','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,'' )
,('ATBAOC','01',3,'TIPO RECORD = "OC"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAOC','01',4,'CAUSALE ORDINE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAOC','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAOC','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,'' )
,('ATBAOC','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,'' )
,('ATBAOC','01',8,'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,'' )
,('ATBAOC','01',9,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAOC','01',10,'CODICE MAGAZZINO ARRIVO',2,'CODMG2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAOC','01',11,'causali magazzino',2,'CAUMAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAOC','01',12,'CAUSALE MAGAZZINO PARTENZA ORDINATO',3,'CMPORD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAOC','01',13,'CAUSALE MAGAZZINO ARRIVO ORDINATO',3,'CMAORD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAOC','01',14,'CAUSALE MAGAZZINO PARTENZA OMAGGI',3,'CMPOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAOC','01',15,'CAUSALE MAGAZZINO ARRIVO OMAGGI',3,'CMAOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAOC','01',16,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAOC','01',17,'CODICE MODALITA'' TRASPORTO',2,'CODMOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAOC','01',18,'NOME PROGRAMMA DI STAMPA MODULO',2,'MODULO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAOC','01',19,'CODICE MEZZO DI TRASPORTO',2,'CODMEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAOC','01',20,'AMMESSA EVASIONE MAGGIORE ORDINATO (S/N)',2,'EVMAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOC','01',21,'MODULO ORDINE DI CARICO',2,'MODOCA',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAOC','01',22,'NUMERO COPIE',2,'NUMCOP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAOC','01',23,'FLAG OBSOLETA ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOC','01',24,'LOTTO OBBLIGATORIO ( /S)',2,'LOTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOC','01',25,'CAUSALE TRASPORTO',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAOC','01',26,'MODULO EXPORT ALTRI PROGRAMMI (INTEGRA)',2,'MODEXP',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAOC','01',27,'CAUSALE SCONTO MERCE ( /S)',2,'FLGSCM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOC','01',28,'ASSEGNA BARCODE PER DOCUMENTALE (S/N)',2,'FLSTDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOC','01',29,'RICHIESTO BARCODE ALLEGATO (S/N)',2,'BARALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOC','01',30,'INIBIRE CDV ( /S)',2,'FLGCDV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOC','01',31,'MODULO ETICHETTE DI CARICO',2,'MODECA',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAOC','01',32,'AMMESSO MAG.PARTENZA NON ABILITATO (S/N)',2,'DIRMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOC','01',33,'AMMESSO MAG.ARRIVO NON ABILITATO (S/N)',2,'DIRMG2',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
('ATBAOC','01',34,'CONTRATTO OBBLIGATORIO SE ESISTE (S/N)',2,'OBBCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOC','01',35,'AMMESSO ORDINE IMPORTO 0 (S)',2,'FLIMP0',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOC','01',36,'AMMESSA COPIA ORDINE DA ORDINE',2,'AMMCOP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOC','01',37,'NUMERO GIORNI CONTROLLO ORDINI DOPPI',2,'GGCTOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAOC','01',38,'AMMESO PICKING PALETTE BLOCCO PROD. (S)',2,'FLPBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOC','01',39,'RICH.LETTURA BARCODE PER DOCUMENTALE S/N',2,'BARLET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOC','01',40,'TIPO DOCUMENTO EVASIONE',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOC','01',45,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ATBAOF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAOF','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,'' )
,('ATBAOF','01',3,'TIPO RECORD = "OF"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAOF','01',4,'CAUSALE ORDINE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAOF','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAOF','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,'' )
,('ATBAOF','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,'' )
,('ATBAOF','01',8,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAOF','01',9,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAOF','01',10,'CAUSALI MAGAZZINO',2,'CAUMAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAOF','01',11,'CAUSALE MAGAZZINO MERCE ORDINATA',3,'CMMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAOF','01',12,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAOF','01',13,'NOME PROGRAMMA DI STAMPA MODULO',2,'MODULO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAOF','01',14,'CODICE COMMENTO FISSO',2,'COMFIX',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBAOF','01',15,'FLAG FIRMA ELETTRONICA OBBLIGATORIA S/N',2,'FLGFIR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOF','01',16,'AMMESSA EVASIONE OLTRE ORDINATO (S/N)',2,'EVMAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOF','01',17,'FLAG STAMPA OBBLIGATORIA S/N',2,'FLGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOF','01',18,'FLAG PREZZO ARTICOLI OBBLIGATORIO S/N/Z',2,'FLGPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOF','01',19,'FLAG OBSOLETA ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOF','01',20,'SECONDO MAGAZZINO DA AGGIORNARE (BOLLA)',2,'CODMA2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAOF','01',21,'NUMERO CONTRATTO OBBLIGATORIO',2,'CONTOB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOF','01',22,'ESPORTARE SU DOCUMENTALE STDM (S/N)',2,'FLSTDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOF','01',23,'RICHIESTO BARCODE ALLEGATI (S/N)',2,'BARALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOF','01',24,'CODICE PORTO DA PROPORRE',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ATBAOF','01',25,'CODICE MODALITA''DI TRASPORTO DA PROPORRE',2,'CODMOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAOF','01',26,'CAUSALE RITORNO DA CONTO LAVORAZIONE',2,'RETCLA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOF','01',27,'AMMESSO INSERIMENTO PRE ORDINE',2,'PREORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAOF','01',28,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,49,49,0,0,'X(49)','',0,'',0,0,'' )
,('ATBAP1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAP1','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAP1','01',3,'TIPO RECORD = "P1"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAP1','01',4,'CODICE MODALITA'' DI PAGAMENTO',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATBAP1','01',5,'0=PRIMO RECORD, 1=SECONDO RECORD',3,'NUMREC',3,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAP1','01',8,'VECCHIO NOME DEL CAMPO',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'S',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAP1','01',9,'AREA SCADENZE VARIABILI',2,'SCAVAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAP1','01',10,'SCADENZE CON INTERVALLO VARIABILE',3,'ELEVAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('ATBAP1','01',11,'GIORNI INTERVALLO DA PRECEDENTE',4,'INTVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAP1','01',12,'PERCENTUALE SCADENZA',4,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAP1','01',13,'NUMERO SCADENZE FISSE',2,'NUMFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAP1','01',16,'PERCENTUALE SCADENZE FISSE',2,'PERFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAP1','01',19,'AREA DATE FISSE',2,'DATFIS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAP1','01',20,'SCADENZE A DATE FISSE',3,'ELEFIS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('ATBAP1','01',21,'MESE SCADENZA DATA FISSA',4,'MESFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAP1','01',22,'GIORNO SCADENZA DATA FISSA',4,'GIOFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAP1','01',23,'PERCENTUALE SCADENZA DATA FISSA',4,'PERDAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAP1','01',24,'DATA PRIMA SCADENZA INTERVALLI FISSI',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBAP1','01',27,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAP1','01',28,'ANNO PRIMA SCADENZA',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAP1','01',29,'MESE PRIMA SCADENZA',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAP1','01',30,'GIORNO PRIMA SCADENZA',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAP1','01',31,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,42,42,0,0,'X(42)','',0,'',0,0,'' )
,('ATBAP2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAP2','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAP2','01',3,'CODICE MODALITA'' DI PAGAMENTO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATBAP2','01',4,'AREA DESCRIZIONI',2,'DESFAT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAP2','01',5,'DESCRIZIONI DA STAMPARE IN FATTURA',3,'ELEFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',30,'',0,0,'' )
,('ATBAP2','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,300,300,0,0,'X(300)','',0,'',0,0,'' )
,('ATBAPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPA','01',2,'TIPO RECORD = "PA"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAPA','01',3,'CODICE PRODOTTO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAPA','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,'' )
,('ATBAPA','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,'' )
,('ATBAPA','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,'' )
,('ATBAPA','01',7,'PRIMA PARTE DESCRIZIONE SPLITTATA',2,'DESCR1',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBAPA','01',8,'SECONDA PARTE DESCRIZIONE SPLITTATA',2,'DESCR2',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBAPA','01',9,'TIPO VINO',2,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPA','01',14,'EX CODICE CPA',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPA','01',15,'EX CODICE TARIC',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAPA','01',16,'EX CODICE CADD',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPA','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,69,69,0,0,'X(69)','',0,'',0,0,'' )
,('ATBAPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPC','01',2,'chiave',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPC','01',3,'TIPO RECORD = "PC"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBAPC','01',4,'CODICE GIORNO DI CHIUSURA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAPC','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' )
,('ATBAPC','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,'' )
,('ATBAPC','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,'' )
,('ATBAPC','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,'' )
,('ATBAPE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPE','01',2,'TIPO RECORD = "PE"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAPE','01',3,'CODICE PERSONALE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAPE','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,'' )
,('ATBAPE','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,'' )
,('ATBAPE','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,'' )
,('ATBAPE','01',7,'UTENTE DI AV2000',2,'NOMUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATBAPE','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATBAPF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPF','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,'' )
,('ATBAPF','01',3,'CODICE',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAPF','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,'' )
,('ATBAPF','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,'' )
,('ATBAPF','01',6,'CODICE DI IMPOSTAZIONE PALETIZZATORE',2,'CODPAL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATBAPF','01',7,'NUMERO CARTONI PER PALETTA',2,'NRCART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAPF','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,101,101,0,0,'X(101)','',0,'',0,0,'' )
,('ATBAPI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPI','01',2,'TIPO RECORD = "PI"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAPI','01',3,'CODICE TIPO/PREZZO IMBALLO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAPI','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,'' )
,('ATBAPI','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,'' )
,('ATBAPI','01',6,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,4,0,'9(6)V9(4)','',0,'',0,0,'' )
,('ATBAPI','01',7,'PERCENTUALE PLAFOND',2,'PERPLA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATBAPI','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,101,101,0,0,'X(101)','',0,'',0,0,'' )
,('ATBAPM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPM','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,'' )
,('ATBAPM','01',3,'CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAPM','01',4,'NUMERO ATTRIBUTO',3,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAPM','01',5,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAPM','01',10,'MAGAZZINO DI SCARICO COMPONENTI SFUSI',2,'MAGSFU',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAPM','01',11,'MAGAZZINO DI SCARICO MATERIE PRIME',2,'MAGMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAPM','01',12,'MAGAZZINO DI SCARICO PER ATTRIBUTO CMP',2,'MAGCMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAPM','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,140,140,0,0,'X(140)','',0,'',0,0,'' )
,('ATBAPO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPO','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPO','01',3,'TIPO RECORD = "PO"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBAPO','01',4,'CODICE PORTO',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAPO','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' )
,('ATBAPO','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,'' )
,('ATBAPO','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,'' )
,('ATBAPO','01',8,'DESCRIZIONE STAMPA BOLLA/FATTURA',2,'DESBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAPO','01',9,'CODICE MODALITA'' DI TRASPORTO',2,'CODMOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMT',1,1,'' )
,('ATBAPO','01',10,'TIPO PREZZO',2,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPO','01',14,'CONDIZIONE DI CONSEGNA INTRASTAT',2,'CONCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPO','01',15,'RESPONSABILE TRASPORTO (T016 AG DOGANE)',2,'CDT016',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPO','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('ATBAPP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPP','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,'' )
,('ATBAPP','01',3,'TIPO RECORD = "PP"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBAPP','01',4,'CAUSALE PUNTO VENDITA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAPP','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'X' )
,('ATBAPP','01',6,'CAUSALE FATTURA',2,'CAUFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAPP','01',7,'CODICE 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,'' )
,('ATBAPP','01',8,'CODICE COMMENTO FISSO BOLLETTE',2,'COMFIX',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBAPP','01',9,'CAUSALI CONTRASSEGNI IVA (SFUSO)',2,'CAUCIV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPP','01',10,'CAUSALE CONTRASSEGNI IVA VENDUTO SFUSO',3,'CCIVES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPP','01',11,'CAUSALE CONTRASSEGNI IVA OMAGGIO SFUSO',3,'CCIOMS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPP','01',12,'ACCOMPAGNATORIA (S/N/X)',2,'FATACC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPP','01',13,'CAUSALE FATTURA ACCOMPAGNATORIA',2,'CAUFAC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAPP','01',14,'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,'' )
,('ATBAPP','01',15,'MODULO STAMPA DDT CUI SEGUE FATTURA (OPZ',2,'MODDDT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAPP','01',16,'BLOCCO DDT CUI SEGUE FATTURA (OPZIONALE)',2,'BLODDT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAPP','01',17,'PERMETTI VENDITE A CLIENTI NO FATTURA SN',2,'FLGNFA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPP','01',18,'FLAG OBSOLETA ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPP','01',19,'ASPETTO DEI BENI OBBLIGATORIO PER BOLLE',2,'FLGASP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPP','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,87,87,0,0,'X(87)','',0,'',0,0,'' )
,('ATBAPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPR','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,'' )
,('ATBAPR','01',3,'TIPO RECORD = "PR"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAPR','01',4,'CAUSALE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAPR','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAPR','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,'' )
,('ATBAPR','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,'' )
,('ATBAPR','01',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,'' )
,('ATBAPR','01',9,'PROPORRE ORDINE/PRODUZIONE IN IMMISSIONE',2,'FLAGOP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',10,'CAUSALI MAGAZZINO',2,'CMAGAZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPR','01',11,'CAUSALE MAGAZZINO IMPEGNATO CARICO',3,'CMAIPC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',12,'CAUSALE MAGAZZINO PRODOTTO CARICO',3,'CMAPRC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',13,'CAUSALE MAGAZZINO IMPEGNATO SCARICO',3,'CMAIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',14,'CAUSALE MAGAZZINO PRODOTTO SCARICO',3,'CMAPRS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',15,'CAUSALE MAGAZZINO SFRIDI/PERDITE',3,'CMASFR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',16,'CAUSALE CARICO CAMPIONI',3,'CMACCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',17,'CAUSALE SCARICO CAMPIONI',3,'CMASCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',18,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',19,'CAUSALI COMMERCIALIZZAZIONE',2,'CCOMME',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPR','01',20,'CAUSALE COMMERCIALIZZAZIONE SFRIDI',3,'CCOSFR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',21,'CAUSALE COMMERCIALIZZAZIONE SC. CAMPIONI',3,'CCOSCC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',22,'CAUSALI CONTRASSEGNI IVA',2,'CTAPPF',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPR','01',24,'CAUSALE CONTRASSEGNI IVA IMBOTTIGLIATO',3,'CTPIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',25,'CAUSALE CONTRASSEGNI IVA SFRIDI',3,'CTPSFR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',26,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAPR','01',27,'CAUSALI IMBOTTIGLIAMENTO',2,'CIMBOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPR','01',28,'CAUSALE IMBOTTIGLIATO',3,'CIMIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',29,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',30,'ALTRE CAUSALI COMMERCIALIZZAZIONE',2,'CCOALT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPR','01',31,'SCARICO SE CODICE DIVERSO',3,'CCOSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',32,'CARICO SE CODICE DIVERSO',3,'CCOCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',33,'AGGIORNA SFRIDI REG.IMB. (S/N)',2,'FSFIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',34,'FLAG ESPLOSIONE DISTINTE SEMILAVORATI',2,'FESPLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',37,'MODULO DI STAMPA',2,'MODULO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAPR','01',38,'FLAG SPEDIZIONE (S/N/O)',2,'FLGSPE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',39,'LOTTO PER TRACCIABILITA'' OBBLIGATORIO',2,'FLGLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',40,'NUMERO DOCUMENTO IMPUTAZIONE OBBLIGATOR.',2,'FLGNDO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',41,'IN IMM. MANTIENI DATI MOV. PRECEDENTE',2,'FLGDAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',42,'CODICE AZIENDA DIVERSA***OBSOLETO',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAPR','01',43,'CAUSALE DI SCONFEZIONAMENTO S/N',2,'FLGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',44,'D. BASE ARTICOLO DA PRODURRE OBBL. S/N',2,'DISOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',45,'MAGAZZINO CAMPIONI',2,'MAGCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAPR','01',46,'FILLER (MAG SFU/MAT SPOSTATI SU ATBAPM)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'X(2)','',0,'',0,0,'' )
,('ATBAPR','01',47,'PROPONI LOTTO (S/N)',2,'PROLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',48,'IN IMM.MANTIENI LOTTO MOV. PRECEDENTE',2,'LOTPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',49,'RICHIEDI SOLO PRODOTTO CARICO (S/N)',2,'FLGCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',50,'LINEA PRODUZIONE',2,'CODLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAPR','01',51,'SE SI USA QUESTO FILLER INIZIALIZZARLO',2,'EXFLGD',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
('ATBAPR','01',52,'GESTIONE FASCETTE (S/N)',2,'FLGFAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',53,'BILANCIA QTA.CARICO/SCARICO COMM. (S/N)',2,'BILCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',54,'NORMA QUANTITA'' PRODOTTO FINITO (S/N)',2,'FLGNOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',55,'STAMPA SCHEDA OPERAZIONE S/N',2,'SNSTSC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',56,'RICALCOLA QTA COMPONENTI DA TESTATA S/N',2,'FLGQTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',57,'CODICE OPERAZIONE R.U. IMBOTTIGLIAMENTO',2,'OPEIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPR','01',58,'IMPUTAZIONE VASCHE (S/N)',2,'VASCHE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',59,'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,'' )
,('ATBAPR','01',60,'OBBLIGO IMPUT PRODOTTO RU SU ORDINE (S)',2,'FOBBPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',61,'AGGIORNA REGISTRO CARICO=SCARICO (S/N)',2,'AGGRUU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',62,'OBBLIGO IMPUTAZIONE TIPO PALLET (S/N)',2,'OBBTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPR','01',63,'MAGAZZINO PRELIEVO BANCALI A TERRA',2,'MAGPCT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAPR','01',64,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,71,71,0,0,'X(71)','',0,'',0,0,'' )
,('ATBAPS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPS','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,'' )
,('ATBAPS','01',3,'TIPO RECORD = "PS"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAPS','01',4,'CAUSALE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAPS','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAPS','01',6,'CAUSALI ERGA OMNES',2,'CERGOM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPS','01',7,'SCARICO VINO SFUSO ATTO',3,'SCASAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPS','01',8,'SCARICO VINO SFUSO CERTIFICATO',3,'SCASCE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPS','01',9,'SCARICO VINO CONF. ATTO',3,'SCACAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPS','01',10,'CARICO VINO SFUSO ATTO',3,'CARSAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPS','01',11,'CARICO VINO SFUSO CERTIFICATO',3,'CARSCE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPS','01',12,'CARICO VINO CONF. ATTO',3,'CARCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPS','01',13,'CAUSALE IMBOTT. FRIZZANTE/SPUMANTE',2,'CIMBFS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPS','01',14,'CAUSALE PERDITA FRIZZANTE/SPUMANTE',2,'CPERFS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPS','01',15,'TIPO PERDITA REG. FRIZZANTI/SPUMANTI',2,'TPERFS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPS','01',16,'SFRIDI ERGA OMNES',2,'SFRIEO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPS','01',17,'SFRIDO SFUSO ATTO',3,'SFRSAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPS','01',18,'SFRIDO SFUSO CERTIFICATO',3,'SFRSCE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPS','01',19,'SFRIDO CONF. ATTO',3,'SFRCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPS','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,188,188,0,0,'X(188)','',0,'',0,0,'' )
,('ATBAPT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPT','01',2,'TIPO RECORD = "PT"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAPT','01',3,'CODICE PROVINCIA',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAPT','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,'' )
,('ATBAPT','01',5,'CODICE TRASPORTATORE',2,'CODTRA',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBAPT','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,143,143,0,0,'X(143)','',0,'',0,0,'' )
,('ATBAPU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPU','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,'' )
,('ATBAPU','01',3,'CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAPU','01',4,'CODICE COMPONENTE DA AGGIUNGERE',3,'CODCMP',0,4,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBAPU','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,136,136,0,0,'X(136)','',0,'',0,0,'' )
,('ATBAPV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPV','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,'' )
,('ATBAPV','01',3,'TIPO RECORD = "PV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAPV','01',4,'CAUSALE PUNTO VENDITA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAPV','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAPV','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,'' )
,('ATBAPV','01',7,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAPV','01',8,'TIPO NOMINATIVO DI DEFAULT',2,'TIPNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBAPV','01',9,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAPV','01',10,'CAUSALI MAGAZZINO',2,'CAUMAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPV','01',11,'CAUSALE MAGAZZINO VENDUTO',3,'CMGVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',12,'CAUSALE MAGAZZINO OMAGGI',3,'CMGOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',13,'CAUSALE MAGAZZINO RESO VUOTI',3,'CMGRSV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',14,'CAUSALE MAGAZZINO RESO VUOTI',3,'CMGCOV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',15,'CAUSALE MAGAZZINO PERDITE',3,'CMGPRD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',16,'CAUSALE MAGAZZINO USCITA CARTONI',3,'CMGCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',17,'CAUSALI COMMERCIALIZZAZIONE',2,'CAUCOM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPV','01',18,'CAUSALE COMMERCIALIZZAZIONE VENDUTO',3,'CCOVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',19,'CAUSALE COMMERCIALIZZAZIONE OMAGGI',3,'CCOOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',20,'CAUSALE COMMERCIALIZZAZIONE PERDITE',3,'CCOPRD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',21,'CAUSALI CONTRASSEGNI IVA',2,'CAUCIV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPV','01',22,'CAUSALE CONTRASSEGNI IVA VENDUTO',3,'CCIVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',23,'CAUSALE CONTRASSEGNI IVA OMAGGI',3,'CCIOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',24,'CAUSALE CONTRASSEGNI IVA PERDITE',3,'CCIPRD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',25,'CODICE MODALITA'' TRASPORTO',2,'CODMOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAPV','01',26,'CODICE BLOCCO BOLLE (ZERO=NUM.MANUALE)',2,'BLOBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAPV','01',27,'CODICE BLOCCO SCONTRINO (ZERO=NUM.MAN.)',2,'BLOSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAPV','01',28,'NOME PROGRAMMA STAMPA MODULO BOLLA',2,'MODBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAPV','01',29,'NOME PROGRAMMA STAMPA MODULO SCONTRINO',2,'MODSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAPV','01',30,'ESTRAZIONE STATISTICHE (S/N/P)',2,'FLSTAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPV','01',34,'BOLLETTA DI SOLO OMAGGI (S/N)',2,'FLGOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPV','01',35,'CODICE MEZZO DI TRASPORTO',2,'CODMEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAPV','01',36,'CAUSALE REGISTRO IMBOTTIGLIAMENTO',2,'CIPIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',37,'CAUSALE MAGAZZINO VENDUTO CMP.NO STAMPA',2,'CMGVCN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',38,'CAUSALE MAGAZZINO OMAGGI CMP.NO STAMPA',2,'CMGOCN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',39,'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,'' )
,('ATBAPV','01',40,'GESTITO CON DOCUMENTALE STDM (S/N)',2,'FLSTDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPV','01',41,'AGG.MAGAZZINO DA DOC.NON INTESTATI S/N',2,'FLMGNI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPV','01',42,'PROPONI FLAG ORDINE/BOLLA (/O/B/ )',2,'FLAGOB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPV','01',43,'CAUSALE MAGAZZINO ORDINATO',2,'CMGORD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',44,'NUMERARE BOLLETTE PRIVATI SEMPRE (S/N)',2,'FLGNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPV','01',45,'CAUSALE OPERAZ. REGISTRO UNICO VENDITA',2,'CRUVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',46,'CAUSALE OPERAZ. REGISTRO UNICO IMBOTT.',2,'CRUIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',47,'CAUSALE OPERAZ. RESO REGISTRO UNICO',2,'CRURES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBAPV','01',48,'CAUSALE REGISTRO UNCIO VENDITA',2,'CRCVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAPV','01',49,'CAUSALE NOTA DI ACCREDITO',2,'CAUNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAPV','01',50,'PROPORRE STAMPA S/N NUOVO DOCUMENTO',2,'STAMPA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAPV','01',51,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('ATBAPZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAPZ','01',2,'CODICE PROVINCIA',2,'CODPRO',1,2,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAPZ','01',3,'CODICE ZONA CONSEGNA MERCE',2,'CODZON',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAPZ','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBAQC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAQC','01',2,'TIPO RECORD = "QC"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAQC','01',3,'CODICE PUNTO VENDITA CENTAUTO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAQC','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATBAQC','01',5,'CODICE CLIENTE AV2000',2,'CODCLI',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAQC','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,139,139,0,0,'X(139)','',0,'',0,0,'' )
,('ATBAR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAR1','01',2,'TIPO RECORD = "R1"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAR1','01',3,'CODICE CENTRO DI COSTO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAR1','01',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAR1','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,'' )
,('ATBAR1','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,'' )
,('ATBAR1','01',7,'RIFERIMENTO',2,'RIFERI',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBAR1','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,90,90,0,0,'X(90)','',0,'',0,0,'' )
,('ATBARB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBARB','01',2,'TIPO RECORD = "RB"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBARB','01',3,'CODICE CENTRO DI COSTO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBARB','01',4,'ZERI',2,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBARB','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,'' )
,('ATBARB','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,'' )
,('ATBARB','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,'' )
,('ATBARC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBARC','01',2,'TIPO RECORD = "RC"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBARC','01',3,'CODICE RAGRUPPAMENTO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBARC','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,'' )
,('ATBARC','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,'' )
,('ATBARC','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,'' )
,('ATBARC','01',7,'NUMERO COLONNA ALLEGATI INTERESSATA',2,'NUMCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ATBARC','01',8,'RIFERIMENTO PER ARCHIVIO TELEMATICO',2,'RIFTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBARC','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,'' )
,('ATBARD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBARD','01',2,'TIPO RECORD = "RD"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBARD','01',3,'CODICE RAGGRUPPAMENTO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBARD','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,'' )
,('ATBARD','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,'' )
,('ATBARD','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,'' )
,('ATBARD','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,'' )
,('ATBARE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBARE','01',2,'TIPO RECORD = "RE"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBARE','01',3,'CODICE REPARTO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBARE','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,'' )
,('ATBARE','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,'' )
,('ATBARE','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,'' )
,('ATBARE','01',7,'UTENTE AUTORIZZATIVO',2,'UTEAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATBARE','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATBARF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBARF','01',2,'TIPO RECORD = "RF"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBARF','01',3,'CODICE RAGRUPPAMENTO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBARF','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,'' )
,('ATBARF','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,'' )
,('ATBARF','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,'' )
,('ATBARF','01',7,'NUMERO COLONNA ALLEGATI INTERESSATA',2,'NUMCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ATBARF','01',8,'RIFERIMENTO PER ARCHIVIO TELEMATICO',2,'RIFTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBARF','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,'' )
,('ATBARM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBARM','01',2,'TIPO RECORD = "RM"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBARM','01',3,'CODICE RAGRUPPAMENTO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBARM','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,'' )
,('ATBARM','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,'' )
,('ATBARM','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,'' )
,('ATBARM','01',7,'CENTRO DI COSTO CONTABILE COLLEGATO',2,'CENCOS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBARM','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,97,97,0,0,'X(97)','',0,'',0,0,'' )
,('ATBARP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBARP','01',2,'TIPO RECORD = "RP"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBARP','01',3,'CODICE RUOLO DIPENDENTE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBARP','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,'' )
,('ATBARP','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,'' )
,('ATBARP','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,'' )
,('ATBARP','01',7,'PROPORRE IN IMMISSIONE (S/N)',2,'FLGDEF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBARP','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('ATBARX','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBARX','01',2,'CODICE',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBARX','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,'' )
,('ATBARX','01',4,'INDIRIZZO E-MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBARX','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,'' )
,('ATBAS1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAS1','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,'' )
,('ATBAS1','01',3,'TIPO RECORD = "S1"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAS1','01',4,'CODICE CAPO AREA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAS1','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,'' )
,('ATBAS1','01',6,'DESCRIZIONE ZONA COPERTA',2,'DESZON',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAS1','01',7,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATBAS1','01',8,'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,'' )
,('ATBAS1','01',9,'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,'' )
,('ATBAS1','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,'' )
,('ATBAS1','01',11,'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,'' )
,('ATBAS1','01',12,'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,'' )
,('ATBAS1','01',13,'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,'' )
,('ATBAS1','01',14,'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,'' )
,('ATBAS1','01',15,'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,'' )
,('ATBAS1','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,136,136,0,0,'X(136)','',0,'',0,0,'' )
,('ATBAS2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAS2','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,'' )
,('ATBAS2','01',3,'TIPO RECORD = "S2"',3,'TIPREC',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAS2','01',4,'CODICE CAPO AREA',3,'CODICE',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAS2','01',5,'ZERI',3,'ZEROES',3,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATBAS2','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,'' )
,('ATBAS2','01',7,'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,'' )
,('ATBAS2','01',8,'INDIRIZZO E-MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBAS2','01',9,'TIPO CAPO AREA',2,'TIPCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAS2','01',13,'NUMERO SOCI (PER SOCIETA'' DI PERSONE)',2,'NUMSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAS2','01',14,'DATA INIZIO RAPPORTO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBAS2','01',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAS2','01',16,'ANNO INIZIO RAPPORTO',3,'AAAINI',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
('ATBAS2','01',17,'MESE INIZIO RAPPORTO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAS2','01',18,'GIORNO INIZIO RAPPORTO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAS2','01',19,'DATA FINE RAPPORTO',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBAS2','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,'' )
,('ATBAS2','01',21,'ANNO FINE RAPPORTO',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAS2','01',22,'MESE FINE RAPPORTO',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAS2','01',23,'GIORNO FINE RAPPORTO',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAS2','01',24,'TIPO FINE RAPPORTO',2,'TIPFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAS2','01',28,'NUMERO DICHIARAZIONE D''INTENTO',2,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAS2','01',29,'DATA DICHIARAZIONE D''INTENTO',2,'DATINT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBAS2','01',30,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAS2','01',31,'ANNO DICHIARAZIONE D''INTENTO',3,'AAAINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAS2','01',32,'MESE DICHIARAZIONE D''INTENTO',3,'MMMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAS2','01',33,'GIORNO DICHIARAZIONE D''INTENTO',3,'GGGINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAS2','01',34,'DATA SCADENZA DICHIARAZIONE D''INTENTI',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBAS2','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,'' )
,('ATBAS2','01',36,'ANNO SCADENZA DICHIARAZIONE D''INTENTI',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAS2','01',37,'MESE SCADENZA DICHIARAZIONE D''INTENTI',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAS2','01',38,'GIORNO SCADENZA DICHIARAZIONE D''INTENTI',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBAS2','01',39,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,93,93,0,0,'X(93)','',0,'',0,0,'' )
,('ATBASC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBASC','01',2,'TIPO RECORD = "SC"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBASC','01',3,'CODICE TIPO SCHEDA',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBASC','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,'' )
,('ATBASC','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,'' )
,('ATBASC','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,115,115,0,0,'X(115)','',0,'',0,0,'' )
,('ATBASM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBASM','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,'' )
,('ATBASM','01',3,'TIPO RECORD = "SM"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBASM','01',4,'CODICE SALDO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBASM','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,'' )
,('ATBASM','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,'' )
,('ATBASM','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,'' )
,('ATBASM','01',8,'DESCRIZIONE INTESTAZIONE ALLINEATA A DX',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBASM','01',9,'TIPO SALDO',2,'TIPSAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBASM','01',17,'GESTITO A VALORE S/N',2,'FLGVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBASM','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,88,88,0,0,'X(88)','',0,'',0,0,'' )
,('ATBASS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBASS','01',2,'TIPO RECORD = "RB"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBASS','01',3,'CODICE CENTRO DI COSTO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBASS','01',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBASS','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,'' )
,('ATBASS','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,'' )
,('ATBASS','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,'' )
,('ATBASX','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBASX','01',2,'TIPO RECORD = "SX"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBASX','01',3,'CODICE CAPO AREA',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBASX','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,'' )
,('ATBASX','01',5,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBASX','01',6,'RAGIONE SOCIALE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBASX','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,'' )
,('ATBASX','01',8,'CODICE AVVIAMENTO POSTALE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATBASX','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,'' )
,('ATBASX','01',10,'PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBASX','01',11,'PARTITA IVA/CODICE FISCALE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATBASX','01',12,'CODICE CATEGORIA',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBASX','01',13,'PERCENTUALE PROVVIGIONE',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATBASX','01',14,'CAPO AREA MONOMANDATARIO S/N',2,'MONOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBASX','01',15,'SOGGETTO IRPEF S/N',2,'SIRPEF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBASX','01',16,'PROVVIGIONI AL NETTO DELLO SC CASSA S/N',2,'SCOCAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBASX','01',17,'TIPO LIQ. PROVVIGIONI (VALDO)',2,'TIPLIQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBASX','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,96,96,0,0,'X(96)','',0,'',0,0,'' )
,('ATBAT1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAT1','01',2,'TIPO RECORD = "T1"',2,'TIPREC',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAT1','01',3,'CODICE TRASPORTATORE',2,'CODICE',2,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBAT1','01',4,'ZERI',2,'ZEROES',3,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATBAT1','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,'' )
,('ATBAT1','01',6,'TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATBAT1','01',7,'FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATBAT1','01',8,'TARGA MOTRICE',2,'TARGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBAT1','01',9,'TARGA RIMORCHIO',2,'TARGAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBAT1','01',10,'TIPO DESTINAZIONE (T015 AG.DOGANE)',2,'CDT015',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAT1','01',11,'EX UFFDES (DOGANA USCITA CEE)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAT1','01',12,'COD.CLIENTE COLLEGATO PER FATTURE VUOTI',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAT1','01',13,'GESTIONE VUOTI PREDEFINITA (1/2/3/ )',2,'FLGVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAT1','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATBAT2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAT2','01',2,'TIPO RECORD = "T2"',2,'TIPREC',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAT2','01',3,'CODICE TRASPORTATORE',2,'CODICE',2,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBAT2','01',4,'ZERI',2,'ZEROES',3,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ATBAT2','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,'' )
,('ATBAT2','01',6,'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,'' )
,('ATBAT2','01',7,'INDIRIZZO E-MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBAT2','01',8,'SECONDO INDIRIZZO MAIL',2,'E-MAI2',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBAT2','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('ATBAT3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAT3','01',2,'CODICE TRASPORTATORE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBAT3','01',3,'LABEL CONSEGNA DISAGIATA',2,'LABDIS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAT3','01',4,'LABEL CONSEGNA PIANI ALTI/CANTINA',2,'LABCAN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAT3','01',5,'LABEL INOLTRO',2,'LABINO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAT3','01',6,'TELEFONATA PREVENTIVA',2,'LABTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAT3','01',7,'SPONDA IDRAULICA',2,'LABSPO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAT3','01',8,'GDO',2,'LABGDO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAT3','01',9,'TERZA E-MAIL',2,'E-MAI3',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBAT3','01',10,'QUARTA E-MAIL',2,'E-MAI4',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBAT3','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,717,717,0,0,'X(717)','',0,'',0,0,'' )
,('ATBATA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBATA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBATA','01',3,'CODICE TRASPORTATORE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBATA','01',4,'CODICE PRODOTTO',3,'CODPRO',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
('ATBATA','01',5,'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,'' )
,('ATBATA','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,94,94,0,0,'X(94)','',0,'',0,0,'' )
,('ATBATD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBATD','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,'' )
,('ATBATD','01',3,'CODICE',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBATD','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,'' )
,('ATBATD','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,'' )
,('ATBATD','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBATF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBATF','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,'' )
,('ATBATF','01',3,'TIPO RECORD = "CO"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBATF','01',4,'CODICE CAUSALE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBATF','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,'' )
,('ATBATF','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,'' )
,('ATBATF','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,'' )
,('ATBATF','01',8,'ELEMENTO DI AGGIORNAMENTO',2,'ELEMEN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',2,'',0,0,'' )
,('ATBATF','01',9,'SALDO DA AGGIORNARE',3,'FLGSAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBATF','01',13,'TIPO AGGIORNAMENTO (+/-/ )',3,'FLGQTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBATF','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,96,96,0,0,'X(96)','',0,'',0,0,'' )
,('ATBATI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBATI','01',2,'TIPO RECORD = "TI"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBATI','01',3,'CODICE TIPO IMBALLO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBATI','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,'' )
,('ATBATI','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,'' )
,('ATBATI','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,'' )
,('ATBATI','01',7,'FILLER',2,'ELEPRE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',4,'',0,0,'' )
,('ATBATI','01',8,'CODICE TIPO/PREZZO IMBALLO',3,'CODPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBATI','01',9,'PERCENTUALE PER PILOACCOPPIATI',3,'PERPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('ATBATI','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,68,68,0,0,'X(68)','',0,'',0,0,'' )
,('ATBATL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBATL','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,'' )
,('ATBATL','01',3,'CODICE TIPO LOTTO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBATL','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,'' )
,('ATBATL','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,'' )
,('ATBATL','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,112,112,0,0,'X(112)','',0,'',0,0,'' )
,('ATBATN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBATN','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,'' )
,('ATBATN','01',3,'TIPO RECORD = "TN"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBATN','01',4,'CODICE TIPO NOMINATIVO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBATN','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,'' )
,('ATBATN','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,'' )
,('ATBATN','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,'' )
,('ATBATN','01',8,'CODICE NOMINATIVO GENERICO',2,'NOMGEN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBATN','01',9,'TIPO LISTINO (S=SOCI/N=NOMINATIVI)',2,'FLGLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBATN','01',10,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATBATN','01',11,'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,'' )
,('ATBATN','01',12,'PROPONI NOMINATIVO/SOCIO/CLIENTE/TABELLA',2,'FLAGSN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBATN','01',13,'CODICE MAGAZZINO PER CUI E'' VALIDO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBATN','01',14,'OBBLIGO IMPUTAZIONE CONVENZIONATO (S/N)',2,'FLCONV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBATN','01',15,'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,'' )
,('ATBATN','01',16,'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,'' )
,('ATBATN','01',17,'CODICE ARTICOLO SPESE TRASPORTO',2,'ARTSPE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBATN','01',18,'SPESE DI TRASPORTO',2,'SPETRA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9(4)V99','',0,'',0,0,'' )
,('ATBATN','01',19,'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,'' )
,('ATBATN','01',20,'SIGLA TIPO NOMINATIVO',2,'SIGTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATBATN','01',21,'SCONTO MASSIMO AMMESSO',2,'SCOMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATBATN','01',22,'CONSIDERARE SCONTI MERCE IN CTR SC. MAX.',2,'CTRSCM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBATN','01',23,'TIPO INCASSO',2,'TIPPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBATN','01',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,39,39,0,0,'X(39)','',0,'',0,0,'' )
,('ATBATR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBATR','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBATR','01',3,'TIPO RECORD = "TR"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBATR','01',4,'CODICE TRASPORTATORE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ATBATR','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' )
,('ATBATR','01',6,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBATR','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,'' )
,('ATBATR','01',8,'CODICE AVVIAMENTO POSTALE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ATBATR','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,'' )
,('ATBATR','01',10,'PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBATR','01',11,'PARTITA IVA/CODICE FISCALE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATBATR','01',12,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBATR','01',13,'VECCHIO CODICE ACCISA -> ATBATR-01ACCISA',2,'OLDACC',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ATBATR','01',14,'CREA FILE TXT IN CREAZ.BOLLE DA SCHEDE V',2,'FLGSCH',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBATR','01',15,'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,'' )
,('ATBATR','01',16,'CODICE ISCRIZIONE ALL''ALBO',2,'ISCALB',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBATR','01',17,'TIPO NUMERAZIONE ORDINI PALETTA COMPLETA',2,'FLGNPC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBATR','01',20,'STAMPA TOTALE PALETTE (S/N)',2,'FLGSTP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBATR','01',21,'PERMETTI LA MODIFICA DEL FLAG PRECEDENTE',2,'MODSTP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBATR','01',23,'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,'' )
,('ATBATR','01',24,'DETT.X TIPO PALETTA IN CREA BOLLE DA SV',2,'FLGTPP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBATR','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATBATR','01',26,'AUTISTA DI DEFAULT',2,'AUTDEF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ATBATR','01',27,'TIPO TRASPORTO SYSTORE SOAVE (A/B)',2,'TTRSYS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBATR','01',28,'CODICE GLN PER EDI',2,'CODGLN',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATBATR','01',29,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBATR','01',30,'STATO GIURIDICO',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBATR','01',31,'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,'' )
,('ATBATR','01',32,'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,'' )
,('ATBATV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBATV','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,'' )
,('ATBATV','01',3,'TIPO RECORD = "TV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBATV','01',4,'CODICE TIPO VUOTO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBATV','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,'' )
,('ATBATV','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,'' )
,('ATBATV','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,'' )
,('ATBATV','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,'' )
,('ATBAU1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAU1','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,'' )
,('ATBAU1','01',3,'TIPO RECORD = "U1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAU1','01',4,'CODICE UNITA'' DI MISURA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATBAU1','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATBAU1','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,'' )
,('ATBAU1','01',7,'ASPETTO ESTERIORE DEI BENI',2,'CODAES',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAU1','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,153,153,0,0,'X(153)','',0,'',0,0,'' )
,('ATBAUD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAUD','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,'' )
,('ATBAUD','01',3,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBAUD','01',4,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAUD','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,'' )
,('ATBAUD','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,147,147,0,0,'X(147)','',0,'',0,0,'' )
,('ATBAUM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAUM','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,'' )
,('ATBAUM','01',3,'TIPO RECORD = "UM"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBAUM','01',4,'CODICE UNITA'' DI MISURA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBAUM','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,'X' )
,('ATBAUM','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,'' )
,('ATBAUM','01',7,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATBAUM','01',8,'RECIPIENTI PER REGISTRO IMBOTTIGLIAMENTO',2,'RECIMB',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAUM','01',9,'CODICE RECIPIENTE',3,'CODREC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAUM','01',10,'NUMERO RECIPIENTI',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ATBAUM','01',11,'CAPACITA'' RECIPIENTE (VECCHIO 2 DEC)',2,'CAPOLD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('ATBAUM','01',12,'RECIP.RICHIESTO AL PUNTO VENDITA (N/S/O)',2,'RECRPV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAUM','01',13,'SIGLA UNITA'' DI MISURA',2,'SIGUDM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAUM','01',14,'SIGLA STAMPA ORDINI, BOLLE, FATTURE',2,'SIGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAUM','01',15,'TIPO UNITA'' DI MISURA',2,'TIPUDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAUM','01',19,'COMPONENTI LA CONFEZIONE',2,'NRCOMP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('ATBAUM','01',20,'FATTORI DI CONVERSIONE',2,'FATTCO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAUM','01',21,'QUANTITA'' IN LITRI',3,'QLITRI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,3,0,'9999V999 COMP-3','',0,'',0,0,'' )
,('ATBAUM','01',22,'PESO LORDO UNITARIO (KILOGRAMMI)',3,'PLORDO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,3,0,'9999V999 COMP-3','',0,'',0,0,'' )
,('ATBAUM','01',23,'PESO NETTO UNITARIO (KILOGRAMMI)',3,'PNETTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,3,0,'9999V999 COMP-3','',0,'',0,0,'' )
,('ATBAUM','01',24,'VOLUME UNITARIO DM3',3,'VOLUME',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,3,0,'9999V999 COMP-3','',0,'',0,0,'' )
,('ATBAUM','01',25,'GESTIONE VUOTI',2,'GESVUO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',2,'',0,0,'' )
,('ATBAUM','01',26,'CODICE ARTICOLO VUOTO',3,'CODVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBAUM','01',27,'QUANTITA VUOTI DA SCARICARE',3,'QTVSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ATBAUM','01',28,'UN VUOTO DA SCARICARE OGNI',3,'QTVOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ATBAUM','01',29,'CONTRASSEGNI IVA',2,'CONIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAUM','01',30,'CODICE CONTRASSEGNO IVA',3,'CODTAP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATBAUM','01',31,'QUANTITA'' DA SCARICARE',3,'QTTSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ATBAUM','01',32,'RECIPIENTE OBBLIGATORIO S/N/O',2,'RECOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAUM','01',33,'TOTALIZZA COLLI (S/N)',2,'SCCOLL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAUM','01',34,'NUMERO BOTTIGLIE',2,'NRBOTT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ATBAUM','01',35,'PESO TARA (KG)',2,'PESTAR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,3,0,'9999V999','',0,'',0,0,'' )
,('ATBAUM','01',36,'CAPACITA'' RECIPIENTE',2,'CAPREP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('ATBAUM','01',37,'CODICE IMBALLAGGIO (T010 AG. DOGANE)',2,'CDT010',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAUM','01',38,'NUMERO COMPONENTRI RIFERITI A CDT010',2,'NRCD10',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ATBAUM','01',39,'STAMPOA ETICHETTE SV S/N',2,'STETSV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAUM','01',40,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATBAVA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAVA','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,'' )
,('ATBAVA','01',3,'TIPO RECORD = "VA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBAVA','01',4,'CODICE VALUTA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAVA','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,'X' )
,('ATBAVA','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,'' )
,('ATBAVA','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,'' )
,('ATBAVA','01',8,'SIGLA DI STAMPA',2,'SIGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATBAVA','01',9,'NUMERO DECIMALI (0-3)',2,'NUMDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ATBAVA','01',10,'CAMBIO EURO',2,'CAMEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,6,0,'999V9(6)','',0,'',0,0,'' )
,('ATBAVA','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,85,85,0,0,'X(85)','',0,'',0,0,'' )
,('ATBAVL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAVL','01',2,'TIPO RECORD = "VL"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAVL','01',3,'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,'' )
,('ATBAVL','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,'' )
,('ATBAVL','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,'' )
,('ATBAVL','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,'' )
,('ATBAVL','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,'' )
,('ATBAVM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAVM','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,'' )
,('ATBAVM','01',3,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAVM','01',4,'ANNATA',3,'ANNCOM',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBAVM','01',5,'TIPO PREZZO (N=QTA H=ETTOGRADO)',2,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBAVM','01',6,'VALORE DI MERCATO',2,'PREZZO',0,2,0,0,0,0,0,0,0,0,'',1,0,14,15,5,0,'9(9)V9(5)','',0,'',0,0,'' )
,('ATBAVM','01',7,'GRADO MEDIO PER PREZZI A ETTOGRADO',2,'GRAMED',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('ATBAVM','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,131,131,0,0,'X(131)','',0,'',0,0,'' )
,('ATBAYY','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAYY','01',2,'TIPO RECORD = "RB"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAYY','01',3,'CODICE CENTRO DI COSTO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAYY','01',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBAYY','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,'' )
,('ATBAYY','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,'' )
,('ATBAYY','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,'' )
,('ATBAZC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAZC','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAZC','01',3,'TIPO RECORD = "ZC"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('ATBAZC','01',4,'CODICE ZONA DI CONSEGNA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBAZC','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' )
,('ATBAZC','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,'' )
,('ATBAZC','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,'' )
,('ATBAZC','01',8,'% ADDEBITO SCONTO MERCE PROVVIGIONI',2,'PERDEP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('ATBAZC','01',11,'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,'ATBALI',1,1,'' )
,('ATBAZC','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,94,94,0,0,'X(94)','',0,'',0,0,'' )
,('ATBAZV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBAZV','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,'' )
,('ATBAZV','01',3,'TIPO RECORD = "ZV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBAZV','01',4,'CODICE ZONA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATBAZV','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,'' )
,('ATBAZV','01',6,'DESCRIZIONE ZONA',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBAZV','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,'' )
,('ATBAZV','01',8,'SIGLA ABBREVIATA',2,'SIGABB',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATBAZV','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,'' )
,('ATBELO','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
('ATBELO','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,'' )
,('ATBELO','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,'' )
,('ATBELO','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,'' )
,('ATBELO','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,'' )
,('ATBELO','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,'' )
,('ATBELO','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,'' )
,('ATBELO','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,'' )
,('ATBELO','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,240,240,0,0,'X(240)','',0,'',0,0,'' )
,('ATBEPO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBEPO','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,'' )
,('ATBEPO','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,'' )
,('ATBEPO','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,'' )
,('ATBEPO','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,'' )
,('ATBEPO','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,'' )
,('ATBEPO','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,'' )
,('ATBEPO','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,240,240,0,0,'X(240)','',0,'',0,0,'' )
,('ATBESC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBESC','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,'' )
,('ATBESC','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,'' )
,('ATBESC','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,'' )
,('ATBESC','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,'' )
,('ATBESC','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,'' )
,('ATBESC','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,'' )
,('ATBESC','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,241,241,0,0,'X(241)','',0,'',0,0,'' )
,('ATBEST','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBEST','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,'' )
,('ATBEST','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,'' )
,('ATBEST','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,'' )
,('ATBEST','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,'' )
,('ATBEST','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,'' )
,('ATBEST','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,'' )
,('ATBEST','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,'' )
,('ATBEST','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,'' )
,('ATBEST','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,'' )
,('ATBEST','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,173,173,0,0,'X(173)','',0,'',0,0,'' )
,('ATBEVT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBEVT','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,'' )
,('ATBEVT','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,'' )
,('ATBEVT','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,'' )
,('ATBEVT','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,'' )
,('ATBEVT','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,'' )
,('ATBEVT','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,'' )
,('ATBEZC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBEZC','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,'' )
,('ATBEZC','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,'' )
,('ATBEZC','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,'' )
,('ATBEZC','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,'' )
,('ATBEZC','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,'' )
,('ATBEZC','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,'' )
,('ATBEZC','01',8,'PERCENTUALE PER VENDEMMIA MECCANIZZATA',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ATBEZC','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,232,232,0,0,'X(232)','',0,'',0,0,'' )
,('ATBFOS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBFOS','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,'' )
,('ATBFOS','01',3,'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,'' )
,('ATBFOS','01',4,'LIMITE VALORE',3,'LIMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,18,19,5,0,'9(13)V9(5)','',0,'',0,0,'' )
,('ATBFOS','01',5,'PUNTI',2,'PUNVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBPCC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBPCC','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,'' )
,('ATBPCC','01',3,'TIPO RECORD = "CC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBPCC','01',4,'CODICE CENTRO DI COSTO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATBPCC','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('ATBPCC','01',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBPCC','01',7,'TITOLI DI STAMPA RIEPILOGO ORE',2,'TITSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',4,'',0,0,'' )
,('ATBPCC','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATBPD1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBPD1','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,'' )
,('ATBPD1','01',3,'TIPO RECORD = "D1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBPD1','01',4,'CODICE DIPENDENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBPD1','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATBPD1','01',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBPD1','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,'' )
,('ATBPD1','01',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBPD1','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,'' )
,('ATBPD1','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,'' )
,('ATBPDI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBPDI','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,'' )
,('ATBPDI','01',3,'TIPO RECORD = "DI"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBPDI','01',4,'CODICE DIPENDENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBPDI','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATBPDI','01',6,'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,'' )
,('ATBPDI','01',7,'CODICE TIPO DIPENDENTE',2,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBPDI','01',8,'NUMERO DI MATRICOLA',2,'NUMMAT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBPDI','01',9,'FLAG TURNI S/N',2,'FLGTUR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBPDI','01',10,'FLAG ATTIVO (S/N)',2,'FLGATT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBPDI','01',11,'FLAG GESTITO SEMPRE 8 H (S/N)',2,'FLAG8H',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBPDI','01',12,'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,'' )
,('ATBPDI','01',13,'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,'' )
,('ATBPDI','01',14,'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,'' )
,('ATBPDI','01',15,'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,'' )
,('ATBPDI','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,'' )
,('ATBPDI','01',17,'DATA ASSUNZIONE TEMPO DETERMINATO',2,'DTADET',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBPDI','01',18,'DATA ASSUNZIONE TEMPO INDETERMINATO',2,'DTAIND',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ATBPDI','01',19,'NUMERO CARTELLINO PER PRELIEVO TIMBRATE',2,'NUMCRT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATBPDI','01',20,'DIPENDENTE OBSOLETO ( /S) PER HELP',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBPDI','01',21,'PART TIME S/N',2,'FLGPTI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBPDI','01',22,'CIN EURO',2,'CINEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBPDI','01',23,'CIN ITALIA',2,'CINITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBPDI','01',24,'SESSO (F/M)',2,'FSESSO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBPDI','01',25,'MINUTI TOLLERANZA ENTRATA',2,'MMTENT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBPDI','01',26,'MINUTI TOLLERANZA USCITA',2,'MMTUSC',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
('ATBPDI','01',27,'VERIFICA PAUSA NOTTURNA DI ALMENO ORE',2,'OREVPN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBPDI','01',28,'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,'' )
,('ATBPDI','01',29,'EMAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ATBPME','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBPME','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,'' )
,('ATBPME','01',3,'TIPO RECORD = "ME"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBPME','01',4,'CODICE MENSILITA''',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBPME','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,15,15,0,0,'9(15)','',0,'',0,0,'' )
,('ATBPME','01',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBPME','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,'' )
,('ATBPT1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBPT1','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,'' )
,('ATBPT1','01',3,'CODICE TIPO DIPENDENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBPT1','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,'' )
,('ATBPT1','01',5,'CODICE PER EXPORT',2,'CODEXP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBPT1','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,'' )
,('ATBPTD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBPTD','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,'' )
,('ATBPTD','01',3,'TIPO RECORD = "TD"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBPTD','01',4,'CODICE TIPO DIPENDENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBPTD','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,15,15,0,0,'9(15)','',0,'',0,0,'' )
,('ATBPTD','01',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBPTD','01',7,'DESCRIZIONI AGGUINTIVE',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,150,150,0,0,'X(150)','',0,'',0,0,'' )
,('ATBPTD','01',8,'REDEFINES DESAGG',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBPTD','01',9,'DESCRIZIONE TURNO DIURNO',3,'DESTUD',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBPTD','01',10,'DESCRIZIONE TURNO NOTTURNO',3,'DESTUN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBPTD','01',11,'DESCRIZIONE ORDINARIO DIURNO',3,'DESORD',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBPTD','01',12,'DESCRIZIONE ORDINARIO NOTTURNO',3,'DESORN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBPTD','01',13,'DESCRIZIONE STRAORDINARIO DIURNO',3,'DESSTD',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBPTD','01',14,'DESCRIZIONE STRAORDINARIO NOTTURNO',3,'DESSTN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBPTD','01',15,'DESCRIZIONE FESTIVO',3,'DESFED',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBPTD','01',18,'DESCRIZIONE FESTIVO NOTTURNO',3,'DESFEN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBPTD','01',21,'DESCRIZIONE FESTIVO OLTRE 8 ORE',3,'DESFES',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBPTD','01',22,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATBPTD','01',23,'filler',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATBSCF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBSCF','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,'' )
,('ATBSCF','01',3,'PUNTI BOLLETTA DA DATI FOSS',3,'PUNBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBSCF','01',4,'CODICE SECONDA SCELTA CONFERIMENTO',2,'SCEFOS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBTPL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBTPL','01',2,'CODICE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBTPL','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,'' )
,('ATBTPL','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,'' )
,('ATBTPL','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,54,54,0,0,'X(54)','',0,'',0,0,'' )
,('ATBVAP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVAP','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,'' )
,('ATBVAP','01',3,'TIPO RECORD = "AP"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVAP','01',4,'CODICI IN CHIAVE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVAP','01',5,'NUMERO ATTRIBUTO (1-20)',4,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBVAP','01',6,'CODICE ATTRIBUTO (ZERO PER RECORD ATTR.)',4,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBVAP','01',7,'ZERI',4,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATBVAP','01',8,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBVAP','01',9,'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,'' )
,('ATBVAP','01',10,'OBBLIGATORIO S/N',2,'ATTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVAP','01',11,'INTESTAZIONE STAMPE ALLINEATA DX NUM ATT',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBVAP','01',12,'INTESTAZIONE STAMPE ALLINEATA DX COD ATT',2,'DESCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBVAP','01',13,'RICERCA PER STRINGA IN HELP S/N',2,'FLGSTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVAP','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('ATBVAV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVAV','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,'' )
,('ATBVAV','01',3,'TIPO RECORD = "AV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVAV','01',4,'CODICI IN CHIAVE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVAV','01',5,'NUMERO ATTRIBUTO (1-10)',4,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBVAV','01',6,'CODICE ATTRIBUTO (ZERO PER RECORD ATTR.)',4,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBVAV','01',7,'ZERI',4,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATBVAV','01',8,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBVAV','01',9,'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,'' )
,('ATBVAV','01',10,'OBBLIGATORIO S/N',2,'ATTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVAV','01',11,'INTESTAZIONE STAMPE ALLINEATA A DX',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATBVAV','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,96,96,0,0,'X(96)','',0,'',0,0,'' )
,('ATBVC1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVC1','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,'' )
,('ATBVC1','01',3,'TIPO RECORD = "C1"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVC1','01',4,'CODICE CAUSALE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATBVC1','01',5,'NUMERO RIGA NOTE',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBVC1','01',6,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ATBVC1','01',7,'RIGA DI NOTE',2,'DESNOT',0,2,0,0,0,0,0,0,0,0,'',4,0,76,76,0,0,'X(76)','',0,'',0,0,'' )
,('ATBVC1','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,69,69,0,0,'X(69)','',0,'',0,0,'' )
,('ATBVCA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVCA','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,'' )
,('ATBVCA','01',3,'TIPO RECORD = "CA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVCA','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATBVCA','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,'' )
,('ATBVCA','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,'' )
,('ATBVCA','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,'' )
,('ATBVCA','01',8,'TIPO CAUSALE',2,'TIPCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVCA','01',14,'FLAG ACQUISIZIONE ANNOTAZIONI VASCHE S/N',2,'FLNOTE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVCA','01',15,'OBSOLETA (S/ )',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVCA','01',16,'QUANTITA'' LAVORAZIONE RICHIESTA (S/N)',2,'QTALAV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVCA','01',17,'UNITA'' DI MISURA LAVORAZIONE',2,'UDMLAV',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATBVCA','01',18,'FLAG GENERAZIONE ATT PARTITA/VASC DEST.',2,'FLATPV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVCA','01',19,'NUMERO ATT PARTITA/VASCA DA FORZARE',2,'NUMFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBVCA','01',20,'CODICE ATT PARTITA/VASCA DA FORZARE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATBVCA','01',21,'GESTIONE NOTE ( /S)',2,'FLGNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVCA','01',22,'GESTIONE CLIENTE/FORNITORE SUL MOVIMENTO',2,'GESCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVCA','01',26,'PROPONI CONTENUTO VASCHE SCARICO',2,'QTASCA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVCA','01',27,'PROPONI CAPACITA'' VASCHE CARICO',2,'QTACAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVCA','01',28,'STAMPA ETICHETTE VASCHE CARICO ORDINE',2,'STAETI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVCA','01',29,'PROPONI ANALISI VASCHE (S/N)',2,'FLGANA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVCA','01',30,'COD.MAG.DA PROPORRE IN AGGIUNTA PROD.ENO',2,'MAGAGG',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
('ATBVCA','01',31,'CAU.MAG.SCARICO PRODOTTI ENO. AGGIUNTI',2,'CAUAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBVCA','01',32,'RICHIESTA TIPO LAVAGGIO VASCHE SCARICO',2,'FLGTIL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVCA','01',33,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,67,67,0,0,'X(67)','',0,'',0,0,'' )
,('ATBVCP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVCP','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,'' )
,('ATBVCP','01',3,'CODICE CAUSALE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATBVCP','01',4,'NUMERO RIGA (PER PRESERVARE ORDINE)',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBVCP','01',5,'TIPO PRODOTTO DA AGGIUNGERE',2,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBVCP','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,151,151,0,0,'X(151)','',0,'',0,0,'' )
,('ATBVFO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVFO','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,'' )
,('ATBVFO','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,'' )
,('ATBVFO','01',4,'CODICE TIPO ANALISI DA ASSEGNARE',2,'TIPANA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBVFO','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,143,143,0,0,'X(143)','',0,'',0,0,'' )
,('ATBVFP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVFP','01',2,'CODICE PARTITA',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVFP','01',3,'ANNO PARTITA',3,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBVFP','01',4,'TIPO PARTITA',3,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVFP','01',5,'NUMERO PARTITA',3,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATBVFP','01',6,'COSTO A HL',2,'COSHLT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('ATBVFP','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,83,83,0,0,'X(83)','',0,'',0,0,'' )
,('ATBVMA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVMA','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,'' )
,('ATBVMA','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,'' )
,('ATBVMA','01',4,'CAUSALE MOV. CARICO DA VINIFICAZIONE',2,'CAUVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBVMA','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,496,496,0,0,'X(496)','',0,'',0,0,'' )
,('ATBVPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVPA','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,'' )
,('ATBVPA','01',3,'TIPO RECORD = "PA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVPA','01',4,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('ATBVPA','01',5,'SPAZI',2,'SPACES',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBVPA','01',6,'ANNO PARTITA DA PROPORRE',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBVPA','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,111,111,0,0,'X(111)','',0,'',0,0,'' )
,('ATBVPE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVPE','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,'' )
,('ATBVPE','01',3,'CODICE TIPO PRODOTTO ENOLOGICO',3,'TIPPRO',0,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBVPE','01',4,'CODICE ARTICOLO MAGAZZINO',3,'CODART',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBVPE','01',6,'DESCRIZIONE TIPO PRODOTTO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBVPE','01',7,'DES.SUCCINTA TIPO PRODOTTO (GESTITI 13)',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATBVPE','01',8,'AGGIORNA MAGAZZINO S/N',2,'AGGMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVPE','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,137,137,0,0,'X(137)','',0,'',0,0,'' )
,('ATBVPV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVPV','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,'' )
,('ATBVPV','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,'' )
,('ATBVPV','01',4,'CAUSALE VASCHE USATA PER CARICO VEND.',2,'CAUCAV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBVPV','01',5,'CAUSALE MAGAZZINO USATA PER ACQUISTI',2,'CAUACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATBVPV','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,139,139,0,0,'X(139)','',0,'',0,0,'' )
,('ATBVRQ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVRQ','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,'' )
,('ATBVRQ','01',3,'TIPO RECORD = "RQ"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVRQ','01',4,'RIFERIMENTO QUALITA''',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATBVRQ','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,'' )
,('ATBVRQ','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,'' )
,('ATBVRQ','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,'' )
,('ATBVRQ','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,'' )
,('ATBVSE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVSE','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,'' )
,('ATBVSE','01',3,'TIPO RECORD = "SE"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVSE','01',4,'SETTORE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVSE','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,'' )
,('ATBVSE','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,'' )
,('ATBVSE','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,'' )
,('ATBVSE','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,41,41,0,0,'X(41)','',0,'',0,0,'' )
,('ATBVSO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVSO','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,'' )
,('ATBVSO','01',3,'TIPO RECORD = "PA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVSO','01',4,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('ATBVSO','01',5,'SIGLA ISO DA ST. IN ORDINE CANTINA',2,'SIGORD',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ATBVSO','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,66,66,0,0,'X(66)','',0,'',0,0,'' )
,('ATBVST','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVST','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,'' )
,('ATBVST','01',3,'TIPO RECORD = "ST"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVST','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVST','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,'' )
,('ATBVST','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,'' )
,('ATBVST','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,'' )
,('ATBVST','01',8,'CODICE REG.COMM.',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATBVST','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,37,37,0,0,'X(37)','',0,'',0,0,'' )
,('ATBVTA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVTA','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,'' )
,('ATBVTA','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,'' )
,('ATBVTA','01',4,'TIPO ANALISI',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ATBVTA','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,'' )
,('ATBVTA','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,'' )
,('ATBVTA','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,'' )
,('ATBVTA','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,41,41,0,0,'X(41)','',0,'',0,0,'' )
,('ATBVTL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVTL','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,'' )
,('ATBVTL','01',3,'TIPO VLAVAGGIO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBVTL','01',4,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBVTL','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,'' )
,('ATBVTP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVTP','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,'' )
,('ATBVTP','01',3,'CODICE',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVTP','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,'' )
,('ATBVTP','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,'' )
,('ATBVTP','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,53,53,0,0,'X(53)','',0,'',0,0,'' )
,('ATBVTV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVTV','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,'' )
,('ATBVTV','01',3,'TIPO RECORD = "TV"',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
('ATBVTV','01',4,'TIPO VASCA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVTV','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,'' )
,('ATBVTV','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,'' )
,('ATBVTV','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,'' )
,('ATBVTV','01',8,'STAMPA ETICHETTA VASCA (S/N)',2,'STPETI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVTV','01',9,'TIPO VASCA REGISTRO VITIVINICOLO UNICO',2,'CODRUV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVTV','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,39,39,0,0,'X(39)','',0,'',0,0,'' )
,('ATBVVA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVVA','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,'' )
,('ATBVVA','01',3,'TIPO RECORD = "VA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVVA','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBVVA','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,'' )
,('ATBVVA','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,'' )
,('ATBVVA','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,'' )
,('ATBVVA','01',8,'DESCRIZIONE ABBREVIATA PER STAMPE',2,'DESSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBVVA','01',9,'SIGLA UNITA'' DI MISURA',2,'UDIMIS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATBVVA','01',10,'NUMERO INTERI',2,'MAXINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATBVVA','01',11,'NUMERO DECIMALI',2,'MAXDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ATBVVA','01',12,'RICHIEDI SOLO S O N (S)',2,'FLAGSN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATBVVA','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,'' )
,('ATBVVF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVVF','01',2,'CODICE',2,'CODICE',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ATBVVF','01',3,'DESCRIZIONE',2,'DESCRI',1,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATBVVF','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,'' )
,('ATBVVT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATBVVT','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,'' )
,('ATBVVT','01',3,'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,'' )
,('ATBVVT','01',4,'TIPO PARTITATA''',3,'TIPPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATBVVT','01',5,'COSTO A HL',2,'COSHLT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('ATBVVT','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,107,107,0,0,'X(107)','',0,'',0,0,'' )
,('ATCA01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATCA01','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,'' )
,('ATCA01','01',3,'CODICE',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATCA01','01',4,'CODICE SAN GEMINIANO',2,'CODALT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATCA01','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,'' )
,('ATCART','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATCART','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,'' )
,('ATCART','01',3,'CODICE ARTICOLO CARTONE DA CARTONARE',3,'CODCAR',1,3,3,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATCART','01',4,'CODICE ARTICOLO COMPONENTE (BOTTIGLIA)',2,'CODCO1',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATCART','01',5,'ANNATA COMPONENTE (BOTTIGLIA)',2,'ANNCO1',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATCART','01',6,'QUANTITA'' COMPONENTE PER OGNI CARTONE',2,'QTARI1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATCART','01',7,'MAG. SCARICO COMPONENTE SE DIVERSO',2,'CODMA1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATCART','01',8,'CODICE SECONDO COMPONENTE (SCATOLA)',2,'CODCO2',0,0,1,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATCART','01',9,'ANNATA SECONDO COMPONENTE (SCATOLA)',2,'ANNCO2',0,0,2,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATCART','01',10,'QTA SECONDO COMPONENTE X OGNI CARTONE',2,'QTARI2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATCART','01',11,'MAGAZZINO SCARICO COMPONENTE SE DIVERSO',2,'CODMA2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATCART','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,150,150,0,0,'X(150)','',0,'',0,0,'' )
,('ATCOCC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATCOCC','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,'' )
,('ATCOCC','01',3,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATCOCC','01',4,'CODICE LINGUA',3,'CODLIN',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATCOCC','01',5,'NOME CAMPO',3,'NCAMPO',0,1,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('ATCOCC','01',6,'COSTANTE 1',2,'COSTAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ATCOCC','01',7,'COSTANTE 2',2,'COST02',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ATCOCC','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('ATCOEC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATCOEC','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,'' )
,('ATCOEC','01',3,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATCOEC','01',4,'CODICE LINGUA',3,'CODLIN',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATCOEC','01',5,'NOME CAMPO',3,'NCAMPO',0,1,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('ATCOEC','01',6,'COSTANTE 1',2,'COSTAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ATCOEC','01',7,'COSTANTE 2',2,'COST02',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ATCOEC','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('ATCOSO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATCOSO','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,'' )
,('ATCOSO','01',3,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATCOSO','01',4,'CODICE LINGUA',3,'CODLIN',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATCOSO','01',5,'NOME CAMPO',3,'NCAMPO',0,1,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('ATCOSO','01',6,'COSTANTE 1',2,'COSTAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ATCOSO','01',7,'COSTANTE 2',2,'COST02',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ATCOSO','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('ATCRVS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATCRVS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATCRVS','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,'' )
,('ATCRVS','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,'' )
,('ATCRVS','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,'' )
,('ATCRVS','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,'' )
,('ATCRVS','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,'' )
,('ATCRVS','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,'' )
,('ATCRVS','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,'' )
,('ATCRVS','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,'' )
,('ATCRVS','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,'' )
,('ATCRVS','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ATCS09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATCS09','01',2,'NUMERO RIGA',2,'NUMRIG',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATCS09','01',3,'TESTO RIGA',2,'TESRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ATCS09','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,'' )
,('ATDI12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATDI12','01',2,'CODICE TABELLA',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATDI12','01',3,'ELEMENTO TABELLA',2,'ELEDEF',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',14,'',0,0,'' )
,('ATDI12','01',4,'PERCENTUALE INIZIALE',3,'PERINI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATDI12','01',5,'PERCENTUALE FINALE',3,'PERFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATDI12','01',6,'ADDEBITO AL QUINTALE',3,'ADDQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,3,'9(6)','999V999',0,'',0,0,'' )
,('ATDI12','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('ATDOCA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATDOCA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATDOCA','01',3,'TIPO RECORD = "CA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATDOCA','01',4,'CODICE CAUSALE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATDOCA','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATDOCA','01',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ATDOCA','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,'' )
,('ATDOCA','01',8,'CODICE ARTICOLO DA DOLCIFICARE',2,'CODAR1',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATDOCA','01',9,'CODICE ARTICOLO DOLCIFICANTE',2,'CODAR2',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATDOCA','01',10,'CODICE ARTICOLO DOLCIFICATO',2,'CODAR3',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ATDOCA','01',12,'SCARICO PRODOTTO DA DOLCIFICARE',2,'CAUCO1',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATDOCA','01',13,'SCARICO PRODOTTO DOLCIFICANTE',2,'CAUCO2',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATDOCA','01',14,'CARICO PRODOTTO DOLCIFICATO',2,'CAUCO3',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATDOCA','01',15,'PERDITE PRODOTTO DOLCIFICATO',2,'CAUCO4',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATDOCA','01',17,'SCARICO PRODOTTO DA DOLCIFICARE',2,'CAUMA1',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATDOCA','01',18,'SCARICO PRODOTTO DOLCIFICANTE',2,'CAUMA2',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATDOCA','01',19,'CARICO PRODOTTO DOLCIFICATO',2,'CAUMA3',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATDOCA','01',20,'PERDITE PRODOTTO DOLCIFICATO',2,'CAUMA4',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATDOCA','01',21,'MASSA VOLUMICA PRODOTTO AGGIUNTO',2,'MASAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,5,0,'99V9(5)','',0,'',0,0,'' )
,('ATDOCA','01',22,'VASCA PRODOTTO AGGIUNTO',2,'VASAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATDOCA','01',23,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATDOCA','01',24,'STABILIMENTO AGGIUNTO',3,'STAAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATDOCA','01',25,'SETTORE AGGIUNTO',3,'SETAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATDOCA','01',26,'NUMERO AGGIUNTO',3,'NUMAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATDOCA','01',27,'GRADO EFFETTIVO PRODOTTO AGGIUNTO',2,'EFFAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATDOCA','01',28,'GRADO POTENZIALE(TOTALE) PROD. AGGIUNTO',2,'POTAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATDOCA','01',29,'ANNATA ARTICOLO DA AGGIUNGERE',2,'ANNAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATDOCA','01',30,'LOTTO ARTICOLO DA AGGIUNGERE',2,'LOTAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATDOCA','01',31,'CALC.KG AGGIUNTO (" "=NO DEC, "1"=2 DEC)',2,'CALKGA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATDOCA','01',32,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,128,128,0,0,'X(128)','',0,'',0,0,'' )
,('ATDORE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATDORE','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATDORE','01',3,'TIPO RECORD = "RE"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATDORE','01',4,'CODICE REGISTRO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATDORE','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATDORE','01',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATDORE','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,'' )
,('ATDORE','01',8,'DESCRIZIONI PER REGISTRO',2,'TITBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ATDORE','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,181,181,0,0,'X(181)','',0,'',0,0,'' )
,('ATELAI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATELAI','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATELAI','01',3,'CODICE REGISTRO (ZERO PER LOCK)',3,'CODREG',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATELAI','01',4,'ANNO',3,'ANNPER',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATELAI','01',5,'MESE',3,'MESPER',0,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATELAI','01',6,'PROGRESSIVO INVIO (ZERO PER LOCK)',3,'PROINV',0,4,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATELAI','01',7,'STATO (C/I)',2,'STATUS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATELAI','01',10,'INVIO PRECEDENTE SOSTITUITO DAL PRESENTE',2,'SOSINV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATELAI','01',11,'NOME DEL FILE CREATO',2,'NOMFIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ATELAI','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ATELMA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATELMA','01',2,'CHIAVE',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATELMA','01',3,'CODICE REGISTRO',3,'CODREG',0,0,0,1,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATELMA','01',4,'ANNO',3,'ANNPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATELMA','01',5,'MESE',3,'MESPER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATELMA','01',6,'PROGRESSIVO INVIO',3,'PROINV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATELMA','01',7,'DATA MOVIMENTO',3,'DATMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATELMA','01',8,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATELMA','01',9,'ANNO MOVIMENTO',4,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATELMA','01',10,'MESE MOVIMENTO',4,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATELMA','01',11,'GIORNO MOVIMENTO',4,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATELMA','01',12,'TIPO RECORD C/F',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATELMA','01',13,'TIPO RICHIESTA (VEDI TA01) C:ICAD F:IC',3,'TIPRIC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATELMA','01',14,'TIPO DOCUMENTO',3,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ATELMA','01',15,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,2,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('ATELMA','01',16,'DATA DOCUMENTO',3,'DATDOC',0,0,0,3,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATELMA','01',17,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATELMA','01',18,'ANNO DOCUMENTO',4,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATELMA','01',19,'MESE DOCUMENTO',4,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATELMA','01',20,'GIORNO DOCUMENTO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATELMA','01',21,'CODICE ISO',3,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATELMA','01',22,'CODICE ACCISA DESTINATARIO',3,'CODACC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ATELMA','01',23,'CODICE NOMENCLATURA COMBINATA',3,'CODNCO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ATELMA','01',24,'TIPO STOCCAGGIO (S/N)',3,'TIPSTO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATELMA','01',25,'VOLUME NOMINALE (SOLO PER CONFEZIONATO)',3,'VOLNOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('ATELMA','01',26,'CHIAVE PRNCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATELMA','01',27,'NUMERO INTERNO MOVIMENTO',4,'NUMERO',0,0,2,4,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATELMA','01',28,'QUANTITA'' IN LITRI',2,'QTALIT',0,0,0,0,0,0,0,0,0,0,'',1,0,16,17,5,0,'9(11)V9(5)','',0,'',0,0,'' )
,('ATELMA','01',29,'NUMERO CONFEZIONI (SOLO CONFEZIONATO)',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ATELMA','01',30,'TIPO MOVIMENTAZIONE',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ATELMA','01',31,'CAUSALE MOVIMENTAZIONE',2,'CAUMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATELMA','01',35,'GRADO PER CALCOLO IMPORTO (SEMPRE)',2,'GRAACC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ATELMA','01',39,'IMPORTO IMPEGNATO SPEDIZIONI',2,'IMPSPE',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,2,0,'9(12)V99','',0,'',0,0,'' )
,('ATELMA','01',40,'IMPORTO IMPEGNATO APPURAMENTI',2,'IMPAPP',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,2,0,'9(12)V99','',0,'',0,0,'' )
,('ATELMA','01',41,'NUMERO INTERNO MOVIMENTO CANCELLATO',2,'NUMDEL',0,0,1,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ATELMA','01',42,'IMPORTO PROVVEDIMENTI ACCETTATI',2,'IMPACC',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,2,0,'9(12)V99','',0,'',0,0,'' )
,('ATELMA','01',43,'IMPORTO PROVVEDIMENTI SCADUTI',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,2,0,'9(12)V99','',0,'',0,0,'' )
,('ATELMA','01',44,'IMPORTO COMPLESSIVO DISPONIBILE',2,'IMPDIS',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,2,0,'S9(12)V99','',0,'',0,0,'' )
,('ATELMA','01',45,'CODICE CPA',2,'CODCPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATELMA','01',46,'CODICE TARIC',2,'CODTAR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ATELMA','01',47,'CODICE CADD',2,'CODCAD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATELMA','01',48,'PROGRE DAA X ARC RIFERIMENTO (SEQ.NR.)',2,'SEQNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ATELMA','01',49,'NUMERO DI RIFERIMENTO LOCALE',2,'RIFLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ATELMA','01',50,'PROGRESSIVO DETTAGLIO E-AD (NR.RIGA)',2,'RIGDAA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ATELMA','01',51,'DATA APPURAMENTO',2,'DATAPP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATELMA','01',52,'ANNO PROTOCOLLO REGISTRO',2,'ANNPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATELMA','01',53,'NUMERO PROTOCOLLO REGISTRO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ATELMA','01',54,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ATELPI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATELPI','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATELPI','01',3,'CODICE UTENTE',3,'CODUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ATELPI','01',4,'DATA INVIO',3,'DTAINV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ATELPI','01',5,'ULTIMO INVIO PREPARATO (NUMERICO)',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ATELPI','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,34,34,0,0,'X(34)','',0,'',0,0,'' )
,('ATEMVV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ATEMVV','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,'' )
,('ATEMVV','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,'' )
go
