submitting job to batch using HTTPAPI

Discussions related to HTTPAPI (An HTTP Client Package for RPG programming.) http://www.scottklement.com/httpapi/
Post Reply
erinklanderman
Posts: 4
Joined: Mon Mar 20, 2023 2:54 pm

submitting job to batch using HTTPAPI

Post by erinklanderman »

When calling my program interactively which uses HTTPAPI to connect to a URL with an XML request and receives an XML response it is working perfectly, but when the program is submitted to batch it fails. The library list is set correctly. I am getting an error that HTTPAPIR4 does not exist. Do I need to do something different to be able to submit to batch?
jonboy49
Posts: 205
Joined: Wed Jul 28, 2021 8:18 pm

Re: submitting job to batch using HTTPAPI

Post by jonboy49 »

Is HTTPAPI in the library list for the batch process? If I remember correctly that was the problem that I experienced in the past.
Scott Klement
Site Admin
Posts: 652
Joined: Sun Jul 04, 2021 5:12 am

Re: submitting job to batch using HTTPAPI

Post by Scott Klement »

No, there's nothing special -- it just locates the object in the library list (or hard-coded library if you set it up that way) just like any other disk object. No magic here!
Post Reply