Save 
Join IIUG
 for   
 

Informix News
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter


[ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

Development Tools Forum

Question about I/O to files

Posted By: r.prop@informa.nl
Date: Thursday, 27 January 2005, at 2:07 p.m.

Hi,
=20
I'm having difficulty writing to an ASCII file with a serialRecord.
=20
I've read in the reference guide that the specified file name is a =
logical
name and that it is binded at run or build time to a physical name. =
(Which
could be platform specific). Howerver in the guide is only described how =
it
is done logically, but not where or how exactly. Can somebody please =
help me
with this....
=20
Also if there are more books available besides the 980 pages large
referenece guide (with a lot of theory but not a lot of complete =
examples) I
would appreciate it to know.
=20
I have the following code (snippets):
=20
DataDef:
=20
package data;
=20
Record Egltest type SQLRecord { tableNames =3D ("ROB.EGLTEST"), =
keyitems =3D
("cust_no") }
cust_no CUST_NO {column =3D "CUST_NO"};
cust_name CUST_NAME {column =3D "CUST_NAME", isNullable =3D yes};
end
=20
// define the data to store in the session for a detail of Egltest
Record EgltestKeys type BasicRecord
cust_no CUST_NO;
end
=20
// define the data to store in the session for a list of Egltest
Record EgltestSessionListData type BasicRecord
// index of the first item of the current page
_pageIndex int;
end
=20
Record eglfile type serialRecord { filename =3D "myfile" }
10 cust_no int;
10 cust_name char(30);
end
=20
main package:
=20
package testpkg;
=20
import data.*;
=20
Program testprg
=20
function main()
rec1 egltest;
rec2 eglfile;
=20
rec2.resourceAssociation =3D "c:\\test.txt";
=20
open selectRec with #sql{
select cust_no, cust_name
from rob.egltest
}
into rec1.cust_no, rec2.cust_name;
=20
forEach (from selectRec)
move rec1 to rec2 byname;
add rec2;
syslib.wait(1);
end =20
sysLib.wait(5);
end
=20
end
=20
ERROR:
=20
VGJ0750E The I/O driver for file myfile could not be created. VGJ0751E =
The
fileType property for file myfile could not be found in the Java =
run-time
property vgj.ra.fileName.fileType. You need to set the following =
run-time
property to a valid file type: vgj.ra.fileName.fileType
VGJ0004I The error occurred in testprg, function main.
VGJ0004I The error occurred in testprg, function main.

[ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

Development Tools Forum is maintained by Administrator with WebBBS 5.12.