5,005 pts.
 Purpose of binding directory in CGIDEV2?
I'm a little stuck.  I'm trying to follow some guides regarding using CGIDEV2 on my iSeries V6R1 to do AJAX.  I've looked at easy400.net as well as some other references, but I keep having the same issue.  I keep getting error CPF980F 'Binding directory [dir] in library *libl not found.' Do I need to create a binding directory first?  Am I using the wrong compile command?  Any guesses? AJAX sample I am trying to compile: http://www.itjungle.com/fhg/fhg111908-story01.html I keep trying to knuckle-down on this project, but keep getting dragged away in twenty different directions, so I realize that I may be just overlooking something simple that I really should know already...  So, I really appreciate any guidance you can give me to help me get the ball rolling!  Thanks so much!

Software/Hardware used:
AS400 V6R1 RPG IV, CGIDEV2, AJAX
ASKED: October 19, 2009  5:52 PM
UPDATED: October 20, 2009  12:31 PM

Answer Wiki:
I think that the problem is that binding directory ALLBNDDIR does not exist on your system. Try replacing: H DftActGrp(*No) ActGrp('AGCGI') BndDir('ALLBNDDIR') with H DftActGrp(*No) ActGrp('AGCGI') BndDir('CGIDEVBND')
Last Wiki Answer Submitted:  October 19, 2009  6:27 pm  by  Teandy   5,860 pts.
All Answer Wiki Contributors:  Teandy   5,860 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Teandy,

I got to looking around and found a CGIDEV2 binding directory on my system. I changed the source to say that, and it does compile now. I just want to make sure that I’m using the *right* binding directory. I want to make sure I do this right since I’m just now starting out.

Thanks!

 5,005 pts.