VAM file
Cousins, Michael
Michael.Cousins@Cognos.COM
Mon, 21 Sep 1998 09:53:53 -0400
PH opens MPE files with locking enabled. This may represent a conflict with
3GL's, depending on how you have configured the open for the file in the 3GL
program. Compatibility can be simply attained by including ;LOCK on a file
equation for the VAM file.
> ----------
> From: Michael C. Lee[SMTP:mclsys@home.com]
> Sent: Friday, September 18, 1998 6:12 PM
> To: Cummings, Ken P.
> Cc: 'PowerHouse Discussion List'; Dulworth, Amanda L.
> Subject: Re: VAM file
>
> We use mailbox files in our system and they are declared as follows:
> File CMBX_FILE
> &
> Organization DIRECT
> &
> open *CMBXFILE &
> NOCREATE
>
> Record CMBX_FILE
> &
> Description " This file is used as a mailbox file for background
> jobs "
> &
> "It is a message flat file of the MPE file system which
> "
> &
> "remove the record entry once the record has been read.
> "
>
> And the file is listed on the HP as follows:
>
> FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
> SIZE TYP EOF LIMIT R/B SECTORS #X MX
>
> CMBXFILE* 56B VAM 1 1052 4 272 1 *
>
>
> Regards,
>
>
> Michael Lee
> MCL Systems Inc.
>
> Cummings, Ken P. wrote:
>
> > I am on an HP3000 running PH 7.29 under MPE/X.
> >
> > I have a VAM file (MPE "message" file) that I want to read from a QUIZ
> > program. Currently, a COBOL program accesses this VAM file and prints
> order
> > acknowledgements. The VAM file is always being accessed by around 40
> > processes which write to it concurrently, and the COBOL background
> process
> > runs during the day printing order acknowledgement as they hit this
> file.
> > Because the file is a VAM file, as soon as the record is read by the
> COBOL
> > program, the record is automatically deleted from the file.
> >
> > I rewriting the COBOL Order Acknowledgement print program in QUIZ. My
> > question is, can I define this VAM file in my PDL so that I can access
> it
> > from QUIZ directly? If so, what ORGANIZATION and TYPE would I define it
> as?
> >
> > Thanks in advance.
> > Ken.
> >
> > ----------------------------------------------------------------------
> > Ken Cummings
> > Senior Consultant
> > VersaComp Systems Inc.
> > cummingsk@versacomp.com
> > kpcummin@gapac.com
> > 404-652-6250
> >
> > = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> = =
> > Subscribe: "subscribe powerh-l" in message body to
> majordomo@lists.swau.edu
> > Unsubscribe: "unsubscribe powerh-l" in message to
> majordomo@lists.swau.edu
> > powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
> > This list is closed, thus to post to the list, you must be a subscriber.
>
>
>
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> =
> Subscribe: "subscribe powerh-l" in message body to
> majordomo@lists.swau.edu
> Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
> powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
> This list is closed, thus to post to the list, you must be a subscriber.
>
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.