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



I found the problem.  Evidently I had my %xlate BIF coded wrong:-P  The
%xlate doesn't allow you to translate something into nothing.  For example
if I wanted to get rid of a decimal point in a number.
D version         S              5
D EVER_ID         S              5  2
version = %xlate('.':'':%char(EVER_ID));

when I changed it to this it compiled fine with no 'internal errors'.

version = %xlate('.':' ':%char(EVER_ID));

Odd that they wouldn't catch that with the compiler.  Oh well, one for the
archives I guess. . .

Aaron Bartell


-----Original Message-----
From: Bartell, Aaron L. (TC) [mailto:ALBartell@taylorcorp.com]
Sent: Tuesday, April 23, 2002 12:34 PM
To: 'rpg400-l@midrange.com'
Subject: Compilation Error


Ok. This is a new one for me.  I am trying to compile and RPG program with
CRTBNDRPG and I am getting this message.  This just all of a sudden started
happening about 10 minutes ago.  I am using free format RPG so I am guessing
that it might have something to do with that, but I am totally unsure.
Anybody know where I should start looking?

>From module . . . . . . . . :   GRP4CPP

>From procedure  . . . . . . :   cleanup

Statement . . . . . . . . . :   11

Message . . . . :   Compilation stopped. Internal failure occurred. Error
code
  is  1.

Cause . . . . . :   The possible error codes are: 1  - Failure occurred in
the
  compiler front end. 2  - Failure occurred while  exiting the command. 3  -

  Failure occurred in the back end. 4  - Failure occurred in the command. 5
-
  Memory allocation error occurred in the command. 12 - Memory allocation

  error occurred in the front end. 13 - Read error occurred in the compiler

  front end. 14 - Write error occurred in the compiler front end. Recovery
.


Thanks in advance for any help,
Aaron Bartell
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
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 ...

Follow-Ups:

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.