Avatar of anuar8080
anuar8080

asked on 

Error in compilation of RPG Program

Hi,

I am trying to compile this RPG program but it keeps hitting error as below and it say that it cannot be complied because the binding directory . TQ

 SBMJOB CMD(CRTBNDRPG PGM(MYLIB/FILE) SRCFILE(MYLIB/MYSOURCEFILE)  DFTACTGRP(*NO) ACTGRP(*CALLER) )

Error as below from job log as below

    Comments  . . . . . . . . . . . :     2134                        
         * * * * *   E N D   O F   F I N A L   S U M M A R Y   * * * *
                 B i n d   D i a g n o s t i c   M e s s a g e s      
Errors were found during the binding step. See the job log for more inf
 * * * * *   E N D   O F   B I N D   D I A G N O S T I C   M E S S A G
Program FILE in library MYLIB not created.          
Operating Systems

Avatar of undefined
Last Comment
Member_2_276102
Avatar of Theo Kouwenhoven
Theo Kouwenhoven
Flag of Netherlands image

Please try to compile this program interactively with:
CRTBNDRPG PGM(MYLIB/FILE) SRCFILE(MYLIB/MYSOURCEFILE)  DFTACTGRP(*NO) ACTGRP(*CALLER)

If not succesfull, please post your compiler-listing here.

ASKER CERTIFIED SOLUTION
Avatar of Gary Patterson, CISSP
Gary Patterson, CISSP
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Member_2_276102
Member_2_276102

Gary's right. The compile listing indicates that the error should be found in the joblog wherever the compile was run. Without the error from the joblog, there's no way to know what the problem is.

Technically, it might also be possible to guess the problem from seeing the entire source listing. For example, you might have a call to a procedure that could be found in the QC2LE binding directory and that's not shown on your CRTBNDRPG command. Similar possibilities might also be visible.

But the joblog should give a specific message.

Tom
Operating Systems
Operating Systems

Operating systems perform basic tasks, such as recognizing input from the keyboard, sending output to the display screen, keeping track of files and directories on the disk, and controlling peripheral devices such as disk drives and printers. For large systems, the operating system makes sure that different programs and users running at the same time do not interfere with each other. The operating system is also responsible for security, ensuring that unauthorized users do not access the system. Operating systems provide a software platform on top of which other programs, called application programs, can run.

37K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo