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



This is my first attempt to use CODE to submit C++ compiles to v4r5 -
I'm not having much luck.

CRTCPPMOD runs fine from a green screen.

Using CODE, I can submit a C compile just fine:
    <DJ400>
    <DJ400>CRTCMOD SRCFILE(DJ/QCSRC) SRCMBR(YUK)
         MODULE(DJ/YUK) OPTION(*EVENTF)
    CZM0614 Warnings were issued during compilation.
    CZM0607 Module YUK was created in library DJ on 05/24/02 at 14:49:52.
    <DJ400>
The compile completes (with appriate warnings) and the error list window
pops up just fine.

When I try CPP I get "Unsuccesful command completion":

    <DJ400>CRTCPPMOD SRCFILE(DJ/QCSRC)  SRCMBR(YUK)
         MODULE(*CURLIB/YUK) OPTION  (*EVENTF)
        CRTCPPMOD SRCFILE(DJ/QCSRC) SRCMBR(YUK) MODULE(*CURLIB/YUK)
OPTION(*EVENTF)
        CPD0084 '*EVENTF   ' not valid for parameter OPTION.
        CPF0001 Error found on CRTCPPMOD command.
    <DJ400>

*EVENTF is not a valid CRTCPPMOD option, but I cannot eliminate it by
messing with
the ILE C++ profile. Where do I go from here?

I'm using WDT 5.1 and my system is a Server 270 with v4r5 (I cannot upgrade
to v5r1 since
my target customers will not do so, and they have MANY systems in place). My
workstations
are Windows 2000 SP2.  I don't have a WebSphere Development Server, only WDT
and
Websphere Development Studio for V4R5.

Thanks - JF

P.S. Is there any definitive information on what all those .EXEs do in
WDT400?

Also: I've tried IXLC - it runs and creates a module but I get:
  Program HELLO was created in library JFOGARTYS on 04/25/02 at 10:02:25.
  com.ibm.as400.access.ObjectDoesNotExistException:
    /QSYS.LIB/QDEVTOOLS.LIB/QCZCNAME.PGM: Object does not exist
I didn't have QDEVTOOLS so I got a copy from IBM, the only SAVF was for
5.1 and wouldn't even unpack on my system.

=====================================================
John Fogarty, Developer               email: jfogarty@datajunction.com
Data Junction Corporation             Phone: (512) 459-1308 x 515
2201 Northland Drive                    FAX: (512) 459-1309
Austin, TX 78756                          http://www.datajunction.com




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