× 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.



Paul,
It appears that somewhere else in your program, you have a reference to the
procedure DIE.
I would suggest that you check all modules that you are using for that
reference and either comment it out if not needed, or add the module or
service program containing the procedure to your binding directory in the
CRTPGM command.

On Wed, Jan 4, 2012 at 11:19 AM, Steinmetz, Paul <PSteinmetz@xxxxxxxxxx>wrote:

Example 4.5 will only compile using IFSEBOOK copy books if I comment out



0082.00 * callp die('open(): ' +
%str(strerror(errno)))



What is needed for a successful compile?



CPD5D02 Diagnostic 30 01/04/12 10:58:11.312650 QBNBIND
QSYS *STMT QBNBIND QSYS *STMT

From module . . . . . . . . :
QBNBSYMR

From procedure . . . . . . :
QBNBSYMR__UnresolvedReferenceIterator

Statement . . . . . . . . . : 31

To module . . . . . . . . . :
QBNBSYMR

To procedure . . . . . . . :
QBNBSYMR__SignalUnresolvedReferences

Statement . . . . . . . . . : 8

Message . . . . : Definition not
found for symbol 'DIE'.

Cause . . . . . : No definition was
found for reference DIE in *MODULE

object NBAPGM01TT in library QTEMP.
The definition either does not exist or

is not of the same data or procedure
type as the reference. Recovery . . .

: Try the Create Program (CRTPGM)
command again, supplying an object that

contains a definition for symbol DIE.



Thanks


Paul Steinmetz
AS/400 Operations Analyst
Pencor Services, Inc.
471 Delaware Ave
Palmerton Pa 18071
610-826-9117 work
610-826-9188 fax
610-920-1658 pager
610-349-0913 cell
610-377-6012 home
psteinmetz@xxxxxxxxxx<mailto:psteinmetz@xxxxxxxxxx>
http://www.pencor.com/

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.