|
I don't know about POST, but FEOD forces the buffers to commit. I think there's a FAQ on this... Eric DeLong Sally Beauty Company MIS-Project Manager (BSG) 940-898-7863 or ext. 1863 -----Original Message----- From: Booth Martin [mailto:Booth@xxxxxxxxxxxx] Sent: Monday, October 27, 2003 1:08 PM To: midrange-l@xxxxxxxxxxxx Subject: Re: Record commitment and SVCPGM question Read up on the POST opcode. It may help in this situation. There are performance considerations so if this is a regular and huge job you may want to test the consequences of any changes you choose to make. --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: Midrange Systems Technical Discussion Date: Monday, October 27, 2003 12:53:36 PM To: 'midrange-l@xxxxxxxxxxxx' Subject: Record commitment and SVCPGM question I've been in the process of refactoring a lot of old applications, and in the process have started to move some of the functions into SVCPGMs. Today I ran into an odd situation, and I don't know if I caused it, or if its just my own ignorance of what is supposed to be going on. Basically, I have a SVCPGM (TESTUTIL) that reads/updates a couple of files (say FILE1 (update), FILE2 (output only)). I call a program , that calls procedures in the SVCPGM from the command line. What I notice is that changes to FILE1 are immediately obvious, while writes to FILE2 aren't visible (via DSPPFM or DBU) until I log-off, terminating the SVCPGM. (It was compiled with ACTGRP(*CALLER), as was the program that is referencing it.) What bothers me is that I can't see the records that are being written until after the SVCPGM terminates. Is this normal? I am not using any commitment control that I am aware of. _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.