Purpose of binding directory in CGIDEV2?

5020 pts.
Tags:
Ajax
AS/400
CGIDEV2
RPG IV
V6R1
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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’)

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Koohiisan
    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,020 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following