HP3000-L Archives

September 1999, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Schlosser, Robert (Contractor)" <[log in to unmask]>
Reply To:
Schlosser, Robert (Contractor)
Date:
Tue, 7 Sep 1999 09:47:44 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
In Cobol you can specify a variable name in the SELECT clause and at run time
generate
a random/unique name. If you also specify the FILE-STATUS phrase then you can
check
for these types of errors before the user would ever see them.

Bob Schlosser
(407) 727-5893

        -----Original Message-----
        From:   Castle [SMTP:[log in to unmask]]
        Sent:   Tuesday, September 07, 1999 9:19
        To:     [log in to unmask]
        Subject:        Web Development on the HP3000

        When you open a work file on the HP3000 in a COBOL program that doesn't
        exist, it creates a temporary file for that session.  Because APACHE
server
        only runs as one session, how can I have a temporary workfile for
multiple
        users?  When I'm testing out my page, and load the same page on two
        different browser sessions at the same time, one of the sessions gets a
        file opened exclusively error.

        Is there any way to dynamically open a file in a COBOL program?  Like
        incrementing the file by one every time the program runs?

        Any help would be appreciated.

ATOM RSS1 RSS2