RE: [U2] Phantom Question
Are you using a PRINTER CLOSE command? Thanks, David A. Green DAG Consulting -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 12:13 PM To: u2-users@listserver.u2ug.org Subject: [U2] Phantom Question RedHat 8 Unidata 6.0 I use PHANTOM to run a proc that starts a program that continuously checks an item looking for work to do. The terminal output from that program is recorded in the como file, but any output sent to the printer does not print until the process is instructed to end. Then everything it has been asked to send to the printer shows up all at once. This rather defeats the purpose of the routine. Any ideas? Thanks, Kebbon Irwin --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Phantom Question
You need to do a PRINTER OFF command to close the print job then a PRINTER ON to start sending the PRINT output to the printer again. BobW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 12:13 PM To: u2-users@listserver.u2ug.org Subject: [U2] Phantom Question RedHat 8 Unidata 6.0 I use PHANTOM to run a proc that starts a program that continuously checks an item looking for work to do. The terminal output from that program is recorded in the como file, but any output sent to the printer does not print until the process is instructed to end. Then everything it has been asked to send to the printer shows up all at once. This rather defeats the purpose of the routine. Any ideas? Thanks, Kebbon Irwin --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Phantom Question
Are you closing the printer. The printer is automatically closed once the program ends. PRINTER ON PRINTER OFF PRINTER CLOSE Otherwise it's held in the print buffer until the program ends. Thanks, -- Donald Verhagen Application Development Manager [EMAIL PROTECTED] Tandem Staffing Solutions, Inc. 5901 Broken Sound Parkway NW, Suite 450 Boca Raton, FL 33487 USA Voice Phone: 561.226.8261 Fax Phone: 561.226.8115 >>> On 4/19/2006 at 3:12:50 pm, in message <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: > RedHat 8 > Unidata 6.0 > > I use PHANTOM to run a proc that starts a program that continuously checks > an item looking for work to do. The terminal output from that program is > recorded in the como file, but any output sent to the printer does not print > until the process is instructed to end. Then everything it has been asked to > send to the printer shows up all at once. This rather defeats the purpose of > the routine. > > Any ideas? > Thanks, > Kebbon Irwin > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Phantom Question
You need to add a PRINTER CLOSE to your basic program. That will force the output to print. Gordon J. Glorfield Sr. Applications Developer UnitedHealthcare's Mid-Atlantic Health Plans 301-360-8839 [EMAIL PROTECTED] wrote on 04/19/2006 03:12:50 PM: > RedHat 8 > Unidata 6.0 > I use PHANTOM to run a proc that starts a program that continuously > checks an item looking for work to do. The terminal output from > that program is recorded in the como file, but any output sent to > the printer does not print until the process is instructed to end. > Then everything it has been asked to send to the printer shows up > all at once. This rather defeats the purpose of the routine. > Any ideas? > Thanks, > Kebbon Irwin > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] PHANTOM question
IBM Release notes - 7894Prior to this release, UniVerse incorrectly interpreted any command line argument to the PHANTOM command containing a -U to indicate that the PHANTOM command should be run as a different user, and that the user name would follow the -U argument. Therefore, a command such as PHANTOM LIST -USER would fail. The PHANTOM command has been corrected to ensure any -U contained on the command line has one space on either side to indicate the intention to run the command as a different user. Problems Fixed in UniVerse Release 10.1.13 (Build 8290) Patricia Wilson MIS Programmer ext :3095 813.635.3095 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rex Gozar Sent: Friday, December 09, 2005 8:14 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] PHANTOM question Glen, I ran into this issue a couple of months ago. The issue with "-U" when starting a phantom appears to be a bug in the command line parser. When I type in the command: PHANTOM DAILY-UPDATE The command line parser thinks "-U" is the user option (for the PHANTOM command), and subsequently fails. It doesn't appear to have anything to do whether your root or not. FYI - If I rename my paragraph from "DAILY-UPDATE" to "DAILY.UPDATE", it works as expected. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] PHANTOM question
Ahhh. Since I don't have access to 10 I couldn't get the problem. Good option though once this bug gets repaired __ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "Rex Gozar" <[EMAIL PROTECTED]> Sent: Friday, December 09, 2005 8:14 AM To: Subject: RE: [U2] PHANTOM question Glen, I ran into this issue a couple of months ago. The issue with "-U" when starting a phantom appears to be a bug in the command line parser. When I type in the command: PHANTOM DAILY-UPDATE The command line parser thinks "-U" is the user option (for the PHANTOM command), and subsequently fails. It doesn't appear to have anything to do whether your root or not. FYI - If I rename my paragraph from "DAILY-UPDATE" to "DAILY.UPDATE", it works as expected. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] PHANTOM question
Glen, I ran into this issue a couple of months ago. The issue with "-U" when starting a phantom appears to be a bug in the command line parser. When I type in the command: PHANTOM DAILY-UPDATE The command line parser thinks "-U" is the user option (for the PHANTOM command), and subsequently fails. It doesn't appear to have anything to do whether your root or not. FYI - If I rename my paragraph from "DAILY-UPDATE" to "DAILY.UPDATE", it works as expected. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] PHANTOM question
While I don't have an answer as to why this occurs, having tested it on uv9.6.1 without failure, the interesting thing is the "Insufficient privilege to invoke this command" error message. I added this message when implementing the non-root administration functionality. Basically, what appears to be happening is that you are getting kicked out because you are either not root or the non-root administrator; I've never seen this type of error before so maybe it's something particular to uv10+? Try it as root or the non-root administrator and see if it works Glenn __ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "Jerry Banker" <[EMAIL PROTECTED]> Sent: Thursday, December 08, 2005 2:29 PM To: Subject: Re: [U2] PHANTOM question Just a guess but it is probably taking the -U as an option. - Original Message - From: "Donnie Jacobs" To: Sent: Thursday, December 08, 2005 12:37 PM Subject: [U2] PHANTOM question > I've got a really curious situation. > > > > We are running UV 10.1.12 (PICK flavor) on UNIX > > > > It appears that the PHANTOM command doesn't like to execute commands > that contain the string "-U" > > > > Below are the two programs that I'm trying to run as a phantom (DLJ1 and > DLJ-U). Both are compiled and cataloged. > > > > > > PHANTOM DLJ1 behaves exactly as expected and creates the "&PH&" record > as expected. > > > > PHANTOM DLJ-U returns the following error message. > > > > "Insufficient privilege to invoke this command." > > > > We have tried numerous combinations and variations of names, but it > seems to come down to the "-U" as being the problem > > > > Has anyone ever experienced this before? Any ideas / suggestions? > > > > > >>CT PGM DLJ1 > > > > DLJ1 > > 0001 CRT "HERE I AM" > >>CT PGM DLJ-U > > > > DLJ-U > > 0001 CRT "HERE I AM" > > > > Thanks in advance, > > > > Donnie Jacobs > > (210)-403-8742 > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] PHANTOM question
The problem has been identified. This blurb was found in the file patchlist.101 in the uv home directory. So it is trying to use the "-U" as an parameter, it's just not doing a very great job of parsing the command line. Thanks for the replies. Problems Fixed in UniVerse Release 10.0.16 (Build 1237) --- Issue Short Description - - 3766In order to run a phantom process as a different user, an enhancement has been made to the PHANTOM command. The syntax is as follows: PHANTOM [BRIEF] [SQUAWK] command -U username [password] When you are logged in as root, you can specify -U and the username to run the phantom process as a different user. On Windows platforms, you must also specify the password for the username. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] PHANTOM question
Just a guess but it is probably taking the -U as an option. - Original Message - From: "Donnie Jacobs" <[EMAIL PROTECTED]> To: Sent: Thursday, December 08, 2005 12:37 PM Subject: [U2] PHANTOM question I've got a really curious situation. We are running UV 10.1.12 (PICK flavor) on UNIX It appears that the PHANTOM command doesn't like to execute commands that contain the string "-U" Below are the two programs that I'm trying to run as a phantom (DLJ1 and DLJ-U). Both are compiled and cataloged. PHANTOM DLJ1 behaves exactly as expected and creates the "&PH&" record as expected. PHANTOM DLJ-U returns the following error message. "Insufficient privilege to invoke this command." We have tried numerous combinations and variations of names, but it seems to come down to the "-U" as being the problem Has anyone ever experienced this before? Any ideas / suggestions? CT PGM DLJ1 DLJ1 0001 CRT "HERE I AM" CT PGM DLJ-U DLJ-U 0001 CRT "HERE I AM" Thanks in advance, Donnie Jacobs (210)-403-8742 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/