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



Can you share an example source with me so that I can reproduce and debug the problem?

Thomas.

-----Ursprüngliche Nachricht-----
Von: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> Im Auftrag von Art Tostaine, Jr.
Gesendet: Mittwoch, 19. Januar 2022 12:54
An: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Betreff: Re: [WDSCI-L] Isphere question creating objects from green screen

No it was not **free. RPG/400 with plenty of free mixed in.

On Wed, Jan 19, 2022 at 3:05 AM Tools/400 <thomas.raddatz@xxxxxxxxxxx>
wrote:

That is interesting. What kind of RPG source did you try to compile? A
**free source?

Thomas.

Am 18.01.2022 um 18:20 schrieb Art Tostaine, Jr.:
Looks like my problem was that I was using * to indicate comments
instead of //. Once I changed to this it works OK

// >>PRE-COMPILER<<;
// >>CRTCMD<< CRTBNDRPG SRCFILE(WRKART/&SF) SRCMBR(&SM);
// >>IMPORTANT<<
// >>PARM<< PGM(&LI/&OB);
// >>PARM<< OPTION(*EVENTF);
// >>PARM<< DBGVIEW(*LIST);
// >>PARM<< TRUNCNBR(*NO);
// >>PARM<< FIXNBR(*ZONED *INPUTPACKED);
// >>END-IMPORTANT<<
// >>EXECUTE<<
// >>END-PRE-COMPILER<<



On Tue, Jan 18, 2022 at 11:36 AM Art Tostaine, Jr.
<atostaine@xxxxxxxxx>
wrote:

I want to run the compile process from green screen sometimes. I
have
one
program that needs FIXNBR(*ZONED *INPUTPACKED). I execute this
command
to
compile, with the following source lines but FIXNBR isn't added. From
RDi it crashes (log below)

ISPHERE/STRPREPRC USESRCFILE(&LIB/&SRCFILE) USESRCMBR(&SRCMBR)
OPTION(*NOEVENTF)
LIB(&LIB) OBJ(&SRCMBR) TYPECODE(*NONE) SRCLIB(&LIB)
SRCFILE(&SRCFILE) SRCMBR(&S
RCMBR)


* >>PRE-COMPILER<< *
* >>CRTCMD<< CRTBNDRPG PGM(WRKART/&OB) SRCFILE(&SL/&SF) + *
* SRCMBR(&SM); *
* >>IMPORTANT<< *
* >>PARM<< OPTION(*EVENTF); *
* >>PARM<< DBGVIEW(*ALL); *
* >>PARM<< TRUNCNBR(*NO); *
* >>PARM<< FIXNBR(*ZONED *INPUTPACKED); *
* >>END-IMPORTANT<< *
* >>EXECUTE<< *
* >>END-PRE-COMPILER<< *

SBMJOB CMD(STRPREPRC USESRCFILE(PTILIB/QRPGLESRC)
USESRCMBR(PTIO1029R)
OPTION(*EVENTF) CHGOBJD(*NO) OBJTYPE(*PGM) LIB(PTILIB)
OBJ(PTIO1029R)
SRCLIB(PTILIB) SRCFILE(QRPGLESRC) SRCMBR(PTIO1029R)
TGTRLS(*CURRENT) USER0('Prod version of Legacy cartonization
PRODUCTION')) JOBD(*USRPRF)
JOB(PTIO1029R)
Job 450495/GMAN/PTIO1029R submitted to job queue QBATCH in library QGPL.

STRPREPRC USESRCFILE(PTILIB/QRPGLESRC) USESRCMBR(PTIO1029R)
OPTION(*EVENTF) CHGOBJD(*NO) OBJTYPE(*PGM) LIB(PTILIB)
OBJ(PTIO1029R)
SRCLIB(PTILIB) SRCFILE(QRPGLESRC) SRCMBR(PTIO1029R)
TGTRLS(*CURRENT) USER0('Prod version of Legacy cartonization
PRODUCTION') Application error. MCH3601 unmonitored by STRPREPRC
at statement 0000088600, instruction X'0000'.
Cause . . . . . : The application ended abnormally because an
exception
occurred and was not handled. The name of the program to which the
unhandled exception is sent is STRPREPRC STRPREPRC2 STRPREPRC. The
program
was stopped at the high-level language statement number(s)
0000088600 at the time the message was sent. If more than one
statement number is
shown,
the program is an optimized ILE program. Optimization does not
allow a single statement number to be determined. If *N is shown as a value, it
means the real value was not available. Recovery . . . : See the low
level messages previously listed to locate the cause of the exception.
Correct any errors, and then try the request again.
SBMJOB CMD(STRPREPRC USESRCFILE(PTILIB/QRPGLESRC)
USESRCMBR(PTIO1029R)
OPTION(*EVENTF) CHGOBJD(*NO) OBJTYPE(*PGM) LIB(PTILIB)
OBJ(PTIO1029R)
SRCLIB(PTILIB) SRCFILE(QRPGLESRC) SRCMBR(PTIO1029R)
TGTRLS(*CURRENT) USER0('Prod version of Legacy cartonization
PRODUCTION')) JOBD(*USRPRF)
JOB(PTIO1029R)
Job 450546/GMAN/PTIO1029R submitted to job queue QBATCH in library QGPL.

STRPREPRC USESRCFILE(PTILIB/QRPGLESRC) USESRCMBR(PTIO1029R)
OPTION(*EVENTF) CHGOBJD(*NO) OBJTYPE(*PGM) LIB(PTILIB)
OBJ(PTIO1029R)
SRCLIB(PTILIB) SRCFILE(QRPGLESRC) SRCMBR(PTIO1029R)
TGTRLS(*CURRENT) USER0('Prod version of Legacy cartonization
PRODUCTION') Application error. MCH3601 unmonitored by STRPREPRC
at statement 0000088600, instruction X'0000'.
Cause . . . . . : The application ended abnormally because an
exception
occurred and was not handled. The name of the program to which the
unhandled exception is sent is STRPREPRC STRPREPRC2 STRPREPRC. The
program
was stopped at the high-level language statement number(s)
0000088600 at the time the message was sent. If more than one
statement number is
shown,
the program is an optimized ILE program. Optimization does not
allow a single statement number to be determined. If *N is shown as a value, it
means the real value was not available. Recovery . . . : See the low
level messages previously listed to locate the cause of the exception.
Correct any errors, and then try the request again.


--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.