|
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 insteadone
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
toprogram that needs FIXNBR(*ZONED *INPUTPACKED). I execute this command
exceptioncompile, 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
programoccurred and was not handled. The name of the program to which the
unhandled exception is sent is STRPREPRC STRPREPRC2 STRPREPRC. The
shown,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
exceptionthe 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
programoccurred and was not handled. The name of the program to which the
unhandled exception is sent is STRPREPRC STRPREPRC2 STRPREPRC. The
shown,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
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 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.