× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I recognize that "HTTPAPIR4". We used it in a "Tax" application. Actually if I remember correctly we got the code examples for it from Scott K. ....GEOTEST something :-)... So I had to double check ours and they are *libl for *SRVPGMs....

Man can believe I can remember what I did in 2008/2009 or last week for that matter. :-)

-----Original Message-----
From: rpg400-l-bounces+bhopkins=pfgc.com@xxxxxxxxxxxx [mailto:rpg400-l-bounces+bhopkins=pfgc.com@xxxxxxxxxxxx] On Behalf Of James Lampert
Sent: Thursday, January 12, 2012 2:59 PM
To: RPG programming on the IBM i / System i
Subject: Not the display file after all, Re: Weird issue with a display file

Ok. I just simplified the program to JUST the display file reference,
and the most basic environment:

H DFTACTGRP(*NO) ACTGRP(*NEW)
FWTSETGGKEYCF E WORKSTN PREFIX(DF)
C SETON LR
C EXFMT KEYREC

and it no longer complains if the library is wrong.

So at least things aren't as insane as I'd thought.

Going back to the real program, I've got a SRVPGM bound to it using a
BNDDIR.

And it accesses two *DTAARAs.

The *BNDDIR has a single entry referencing only the *SRVPGM I'm using.

HELLO! What's this?

The *SRVPGM in question references HTTPAPIR4, and IT is a qualified
reference.

I think I found the problem.

--
JHHL
Professional Imbecile


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.