|
Adrienne, If you are looking for a COBOL example of reading and writing to stream files try the link below. The COBOL example is sandwiched between the C and RPG examples. http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/apis/Unixapiex.htm Thanx, PLA On 2/6/06, Adrienne McConnon <Adrienne.McConnon@xxxxxxxxxxxx> wrote: > > Hello, > > I am trying to convert an HP 3000 COBOL program to the iSeries. The > program is run in the backround continuously and is designed to never > abort. All files are accessed via HP intrinsics using the file number > and are not defined in the in the file section. Does anybody have any > idea on the best way to accomplish this on the iSeries? From what I > have found - the Open File API sounds like it will do what I want - but > I have not found any COBOL examples of its usage. The code example in > the book looks like it may be c++. I am thinking that I will need to > call the c++ program from within my COBOL program and then check the > disposition of the file within my COBOL program, but I am not sure, and > asking you iSeries COBOL experts for advice. > > Thanks and have a great day! > > Adrienne McConnon > Vercuity Solutions > Parsippany, New Jersey, USA > > > > -- > This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing > list > To post a message email: COBOL400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/cobol400-l > or email: COBOL400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/cobol400-l. > >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.