× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.

Look at this code:

if ((pf = _Ropen(PFILENAME, "rr")) == NULL)
printf("can't open file %s\n", PFILENAME);
Working with File Systems and Devices 223

==>> Working with File Systems and Devices 223
This is copy-paste artifact, you should remove it


-------- Original Message --------
Subject : [C400-L] Problem in compiling C program
From : Thomas Burrows thomas.burrows.1957@xxxxxxxxx
To : "Bare Metal Programming IBM i (AS/400 and iSeries)" <c400-l@xxxxxxxxxxxxxxxxxx>
Cc :
Date : Wednesday, April 19, 2023 9:50

I pulled this program from the IBM C/C++ manual. Around page 412 or

Have attached the manual. And a copy of the program I put into a text file.
Using NOTEPAD++ to edit my text.

Kind of stuck.

Thomas Burrows
mobile 469 693 2533

65 | _Rclose(pf);
66 | _Rclose(subf);
67 |
68 | } /*close of main routine */
69 |
70 | void init_subfile(_RFILE *pf, _RFILE *subf)
71 | {
72 | _RIOFB_T *fb;
73 | int i;
74 | pf_t record;
75 |
76 | /* Select the subfile record format. */
SEVERE==========> CZM0046 Syntax error.
77 |
78 | _Rformat(subf, "SFL");

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2023 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.