Purpose of binding directory in CGIDEV2?
1005 pts.
0
Q:
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: Oct 19 2009  5:52 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
3250 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
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 Answered: Oct 19 2009  6:27 PM GMT by Teandy   3250 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Koohiisan   1005 pts.  |   Oct 19 2009  6:35PM GMT

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!

 
0