[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: HTTP API Error code Help



Sender: "Troy Paulson" <tpaulson@xxxxxxxxxxx>

I'll check that out when I get back to it next Tuesday.

Thanks

-----Original Message-----
From: owner-ftpapi@xxxxxxxxxxxxx [mailto:owner-ftpapi@xxxxxxxxxxxxx]On
Behalf Of Scott Klement
Sent: Wednesday, February 11, 2004 5:36 PM
To: ftpapi@xxxxxxxxxxxxx
Subject: RE: HTTP API Error code Help


Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>


Hi Troy,

> The program I'm calling is just a modified version of example 5.  I call
it
> passing parms from a CL.  I only call it once.  Would I need to sign off
my
> session to clear the activation group?

EXAMPLE5 (at least in my copy) has code at the top that looks like this:
   H DFTACTGRP(*NO) ACTGRP(*NEW)

That means that the activation group will be deleted as soon as the
program ends.  You haven't removed that, have you?

Certainly, signing off will clear the activation group, as that ends the
entire job.  But, signing off is a bit extreme...  It's better to have the
program that uses HTTPAPI either run in a *NEW activation group, or have
it in a named activation group that gets reclaimed with the RCLACTGRP
command.

> Also, I didn't mean to make it sound like the debugging was causing the
> storage error.  It is just another problem, I tried to turn it on in
> order to see if I could get more details about the previous 2 errors.
> But the debugging doesn't seem to be writing anything out to the default
> IFS folder (/httpapi_debug).

If the debugger has any problems opening the file in the IFS, it simply
skips writing anything (after all, it's just debugging info) my first
guess would be that you don't have authority to create files in the root
directory of your IFS.

> One change I did make to example 5 that might cause the storage error, is
I
> removed all of the Returns, placed all of the main code in a subroutine,
and
> use LEAVESR to take the program to the *INLR=*ON.

I don't see why that would matter, as long as the program is still
ACTGRP(*NEW)...


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------