Control file: extract from neoview sql source – HP Neoview Release 2.5 Software User Manual
Page 89
Example A-2 Control File: Extract From Neoview SQL Source
/*----------------------------------------*/
/* Simple Extract From Neoview SQL Source To File */
/*----------------------------------------*/
version 1.0;
options
{
errors = 100,
discards = 100,
rowsetsize = 1000
}
dataformats
{
dataformat1 delimited
records separated by
fields delimited by <,>
optionally qualified by <">
(
SSN largeint,
FIRST_NAME char,
LAST_NAME char,
ADDRESS char,
ZIP int,
PHONE char,
INFO1 char,
INFO2 char
)
dataformat2 sql fields
(
FIRST_NAME char,
LAST_NAME char,
ADDRESS char,
ZIP int,
PHONE char,
SSN largeint,
INFO1 char,
INFO2 char
)
}
sources {
src1 jdbc sql "select * from NEO.nvt.sn_nvt_ext order by SSN" options
(
system = "asl0101",
user = "user",
password = "transport",
datasource = "Admin_Load_DataSource",
url = "jdbc:hpt4jdbc://txnaslan01.txn.cpqcorp.net:18650/"
)
tgt1 file "./data_files/sn_ext.dat"
}
maps {
map1 from dataformat2 to dataformat1
(
SSN = SSN,
FIRST_NAME = FIRST_NAME,
89
- Scripting Toolkit for Linux (68 pages)
- Scripting Toolkit for Windows 9.50 (62 pages)
- Scripting Toolkit for Windows 9.60 (62 pages)
- Storage Area Manager (13 pages)
- Core HP-UX (5 pages)
- Matrix Operating Environment Software (95 pages)
- Matrix Operating Environment Software (152 pages)
- Matrix Operating Environment Software (264 pages)
- Matrix Operating Environment Software (137 pages)
- Matrix Operating Environment Software (138 pages)
- Matrix Operating Environment Software (97 pages)
- Matrix Operating Environment Software (33 pages)
- Matrix Operating Environment Software (142 pages)
- Matrix Operating Environment Software (189 pages)
- Matrix Operating Environment Software (58 pages)
- Matrix Operating Environment Software (68 pages)
- Matrix Operating Environment Software (79 pages)
- Matrix Operating Environment Software (223 pages)
- Matrix Operating Environment Software (136 pages)
- Matrix Operating Environment Software (34 pages)
- Matrix Operating Environment Software (63 pages)
- Matrix Operating Environment Software (67 pages)
- Matrix Operating Environment Software (128 pages)
- Matrix Operating Environment Software (104 pages)
- Matrix Operating Environment Software (75 pages)
- Matrix Operating Environment Software (245 pages)
- Matrix Operating Environment Software (209 pages)
- Matrix Operating Environment Software (71 pages)
- Matrix Operating Environment Software (239 pages)
- Matrix Operating Environment Software (107 pages)
- Matrix Operating Environment Software (77 pages)
- Insight Management-Software (148 pages)
- Matrix Operating Environment Software (80 pages)
- Insight Management-Software (128 pages)
- Matrix Operating Environment Software (132 pages)
- Matrix Operating Environment Software (74 pages)
- Matrix Operating Environment Software (76 pages)
- Matrix Operating Environment Software (233 pages)
- Matrix Operating Environment Software (61 pages)
- Matrix Operating Environment Software (232 pages)
- Matrix Operating Environment Software (70 pages)
- Matrix Operating Environment Software (120 pages)
- Matrix Operating Environment Software (36 pages)
- Matrix Operating Environment Software (192 pages)
- Matrix Operating Environment Software (99 pages)