I'm having an issue getting HTTPAPI to work on our system. I have everything installed and in LIBHTTP. However, I can't even access any of the code because I keep getting an RNF0273 error, "Compiler not able to open the /COPY or /INCLUDE file; directive ignored." Here is some of my code:
Have we somehow installed it wrong or am I missing a setting? It will compile without /copy directive so I'm guessing the bnddir is correct. I'm a fairly new RPGLE programmer so if someone could help that'd be great.
I apologize for not checking first, but I'm using miworkplace as my IDE, for some reason I can't compile it in the IDE but it compiles successfully on the green screen.
This sounds like a library list problem - you need to find how to set the library list in MIWorkplace for compilations. We don't use it here, so I don't know where to look.
Yea I got that part covered and it recognizes the library and I can see all the procedures in my spooled file but I still can't get a simple http_get program to compile. Says *RNF0637 30 1 An operand was expected but was not found; specification is
ignored.
Much appreciated for the responses, but I finally figured out the problem. I checked the version of HTTPAPI on our system and it was from 2014. Installed new HTTPAPI and so far everything works as it should. Spent about 8 hours on this today only to try this within the last 45 mins.