+ Reply to Thread
Results 1 to 6 of 6

Thread: Compiling netdata ILE program cannot find symbol cvtcgmthi

  1. #1
    Guest.Visitor Guest

    Default Compiling netdata ILE program cannot find symbol cvtcgmthi

    I am having trouble getting a clean compile(ILE RPG). I am doing options to create module and then trying option 14 to create an RPG program. The error tells me I am not able to find a symbol (I forget the name of it right now)in Qtemp. It looks like it cannot find the external definition for the GENENV or PUTENV in the RPG program (get and/or put envelop). Also the program uses APIs and has buffers that exist in data structures. The program had compiled previously. My purpose is to be able to pass data and call an RPG program and update data on the the AS/400 from the parms sent. THnaks for any help.

  2. #2
    Guest.Visitor Guest

    Default Compiling netdata ILE program cannot find symbol cvtcgmthi

    Gary, You say the program uses APIs. Can we assume that you have not added any PTFs or gone through a version upgrade recently? Later, Bret

  3. #3
    Guest.Visitor Guest

    Default Compiling netdata ILE program cannot find symbol cvtcgmthi

    Option 14 will sometimes mask the problem which keeps the program from being created. Instead of using option 14, use option 15 and then use CRTPGM to create the program. If the programs is not created, look in the joblog for the reason. I personally no longer use option 14 (CRTBNDRPG) to create programs. I find it is easier to use the method I described, it gives me much more information. Hope this helps! Jerry Hensley

  4. #4
    Guest.Visitor Guest

    Default Compiling netdata ILE program cannot find symbol cvtcgmthi

    Try using the DSPPGM command. Dave

  5. #5
    Guest.Visitor Guest

    Default Compiling netdata ILE program cannot find symbol cvtcgmthi

    You can't tell which binding directory was used, but to show the modules/service programs used you can use the: DSPPGM PGM(pgmname) DETAIL(*MODULE) for modules and DSPPGM PGM(pgmname) DETAIL(*SRVPGM) for service programs. Or use *ALL and go through the list. Brad

  6. #6
    Guest.Visitor Guest

    Default Compiling netdata ILE program cannot find symbol cvtcgmthi

    Gary, You are no doubt missing a binding directory or not listing service programs/modules on the compile. You say that: 1. Your program uses APIs. 2. It can't find the definition for GETENV, etc. GETENV is most likely a wrapper for the QtmhGetEnv API. This means that there is a module or service program on your system that contains a referece to this subprocedure. If you're also using APIs, such as: QtmhGetEnv, QtmhWrStout, etc... (anything starting with Qtmh) then you need to specify the service program QTMHCGI on the compile, or a binding directory that contains it as an entry. If your programs use any APIs that start with Qzhb then you need to use service program QZHBCGI when you compile. If you can, post your errors and we'll figure out what it going on, or email me privately. Brad

+ Reply to Thread

Similar Threads

  1. Replies: 4
    Last Post: 10-23-2007, 08:30 AM
  2. Compiling the Program thru CL Program
    By Guest.Visitor in forum CL
    Replies: 5
    Last Post: 11-30-2005, 05:55 AM
  3. Multiple jobs submitted when compiling SQLRPGLE program
    By Guest.Visitor in forum Dev Tools
    Replies: 4
    Last Post: 03-01-2005, 02:49 PM
  4. Can you find out who deleted a program?
    By Guest.Visitor in forum Analysis
    Replies: 5
    Last Post: 07-13-2000, 09:46 AM
  5. Compiling ILE RPG Program
    By Guest.Visitor in forum Programming
    Replies: 3
    Last Post: 10-26-1998, 12:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts