Mark,

I'd recommend using the CHGPF command to set the FRCRATIO value to 1.
Although you say you're setting LR *ON before returning, it appears that
something is preventing the file from being closed, and the records forced
to disk.  Subsequent requests from the browser may be handled by an entirely
different server JOB.  If the records are not forced to disk, the other JOB
wont see them.  Maybe something to do with the activation group(s) your CGI
programs run under?

Nathan M. Andelin
www.relational-data.com

----- Original Message -----
From: "Mark A. Manske" <mmanske@minter-weisman.com>
To: "'WEB400 (E-mail)" <WEB400@midrange.com>
Sent: Tuesday, March 05, 2002 1:21 PM
Subject: [WEB400] strange behavior with web site programs/files


> I am not sure were to look for this issue, so could someone please send me
> in some direction.
>
> Here's the story - on our AS/400, a customer can sign on over the internet
> and maintain their
> suggested retails.  We are on V5R1.  This is a pure CGI environment with
the
> classic web server.
>
> They can change customer number/check which zones to maintain/search by
> catalog/item/do single
> item changes or mass changes by catalog header; these go into a work file
by
> userid, so they can
> apply or cancel the changes.
>
> We have what is called a default zone, a customer has a custom zone which
> they maintain.
>
> Today I had a customer that when they went into it, it was like his
customer
> zone records did not
> even exist/even more bizarre was if I hit the web from in-house, I got the
> same results.
>
> Now we get even odder, I ended the service, and re-started it.
>
> Go back into the SRP maintenance, and all is fine now -
>
> It is almost like I have file pointers that are REALLY messed up on my web
> jobs -
> of course this only happens to the live side, with me starting 6 instances
> and a max of 20,
> so doing a debug is nearly futile.
>
> Any thoughts as to what I may have missed in this undertaking.
> I know it is something little and stupid, but I am not sure what that
would
> be.
> I set on LR for each cgi program (and there are many) - they all assume
> nothing
> coming in, so all files get positioned/even some ovrdbf if user is a demo
> customer.
>
> We are current on PTF's/ are my instances too high, should I "re-boot" the
> server nightly?
> I know this is rather general - if it is my code then I did some green
> screen snafu, but I am
> hoping that I just messed up the server (though I followed most other
> examples - it works fine,
> except for this thing since V5R1.)
>
> TIA
>
> Mark A. Manske
> Fleming CSD - Plymouth Division
> Sr. Project Lead
> Phone      (763) 545-3700 extension 273
> Web Site  http://www.minter-weisman.com
> E-Mail      mailto:mmanske@minter-weisman.com
>
>
>
>
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
> To post a message email: WEB400@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/web400
> or email: WEB400-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/web400.
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.