Just do a file equation in your program using the HPCICOMMAND with a
filereference which depends on the day and time (like an Editor work file)
and open it in the COBOL program using the formaldesignator that does not
change.
Philippe Di Monte
Castle <[log in to unmask]> a écrit dans le message :
F4B1826B1A21D211AEC5006008207AF4021141B0@dogbert.csillc.com...
> 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.
>