RE: How to schedule Pick basic programs
Are you on Unix ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: 23 April 2004 13:38 To: [EMAIL PROTECTED] Subject: How to schedule Pick basic programs Hi, Can some one tell me how to schedule the pick basic programs. tx in advance for the help regards, Reddy -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: How to schedule Pick basic programs
windows 2000 -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: How to schedule Pick basic programs
Create a .bat file that contains UDT PROGAM.TO.RUN Use the scheduler on Win2k to call the *.bat file. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 8:49 AM To: U2 Users Discussion List Subject: RE: How to schedule Pick basic programs windows 2000 -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately. -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: How to schedule Pick basic programs
Another method would be: ED VOC SCHEDULE-THIS 0001: PA 0001: LOOP (If you want this to repeat each day) 0002: SLEEP XX:XX (Time you want process to run) 0003: TCL COMMAND 0004: TCL COMMAND 0005: TCL COMMAND 0005: REPEAT (If you want this to repeat each day) PHANTOM SCHEDULE-THIS LO It works under all OS's, and doesn't care about the login scripts (unless you need to change accounts within the VOC). George -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 8:38 AM To: [EMAIL PROTECTED] Subject: How to schedule Pick basic programs Hi, Can some one tell me how to schedule the pick basic programs. tx in advance for the help regards, Reddy -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: How to schedule Pick basic programs
This is so simple. Wish we would have discovered it 4 years ago. We've been doing it the hard way (batch/script file in Scheduler/cron in Windoze/AIX) up to now. Why didn't UV Support ever tell us about this? :-( Thanks George! Now, if you still want to use the batch file approach you may find you'll need the following command ahead of the execution line: SET UNIVERSE_CONTROLLING_TERM=1 - it's been a while since we did this but I think this makes sure that Universe sees the process as a phantom and not something else. We ran into problems without it. Reported it as an issue to Universe a long time agonot sure if it's ever been fixed. Also, don't know what UDT command does as indicated in Marty Benson's reply - doesn't work on our systems. Here's a sample of what our batch file might look like (as given to us by UniVerse Support) The first line is needed if the UV data account is not on the same drive as the system substitute drive letters as needed for your system mappings D: CD \path_to_UV_data_account SET UNIVERSE_CONTROLLING_TERM=1 D:\path_to_UV_bin_directory\uv tcl_command_line D:\path_to_output_file ... Or NULL Gary Eppel Cerner Corp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen Sent: Friday, April 23, 2004 9:32 AM To: U2 Users Discussion List Subject: RE: How to schedule Pick basic programs Another method would be: ED VOC SCHEDULE-THIS 0001: PA 0001: LOOP (If you want this to repeat each day) 0002: SLEEP XX:XX (Time you want process to run) 0003: TCL COMMAND 0004: TCL COMMAND 0005: TCL COMMAND 0005: REPEAT (If you want this to repeat each day) PHANTOM SCHEDULE-THIS LO It works under all OS's, and doesn't care about the login scripts (unless you need to change accounts within the VOC). George -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 8:38 AM To: [EMAIL PROTECTED] Subject: How to schedule Pick basic programs Hi, Can some one tell me how to schedule the pick basic programs. tx in advance for the help regards, Reddy -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. -- -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: How to schedule Pick basic programs
I like the scheduled approach (NT). A phantom in UniVerse like is shown below with the LOOP/REPEAT gets lost when the server is restarted. So you need to have a procedure that restarts the job. If you use the NT scheduler, it is always going to run -- even after a restart. Dick Kryka Director of Applications CCCS of Greater Denver, Inc. Paragon Financial Services 303-632-2226 [EMAIL PROTECTED] -Original Message- From: Eppel,Gary [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 10:39 AM To: U2 Users Discussion List Subject: RE: How to schedule Pick basic programs This is so simple. Wish we would have discovered it 4 years ago. We've been doing it the hard way (batch/script file in Scheduler/cron in Windoze/AIX) up to now. Why didn't UV Support ever tell us about this? :-( Thanks George! Now, if you still want to use the batch file approach you may find you'll need the following command ahead of the execution line: SET UNIVERSE_CONTROLLING_TERM=1 - it's been a while since we did this but I think this makes sure that Universe sees the process as a phantom and not something else. We ran into problems without it. Reported it as an issue to Universe a long time agonot sure if it's ever been fixed. Also, don't know what UDT command does as indicated in Marty Benson's reply - doesn't work on our systems. Here's a sample of what our batch file might look like (as given to us by UniVerse Support) The first line is needed if the UV data account is not on the same drive as the system substitute drive letters as needed for your system mappings D: CD \path_to_UV_data_account SET UNIVERSE_CONTROLLING_TERM=1 D:\path_to_UV_bin_directory\uv tcl_command_line D:\path_to_output_file ... Or NULL Gary Eppel Cerner Corp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen Sent: Friday, April 23, 2004 9:32 AM To: U2 Users Discussion List Subject: RE: How to schedule Pick basic programs Another method would be: ED VOC SCHEDULE-THIS 0001: PA 0001: LOOP (If you want this to repeat each day) 0002: SLEEP XX:XX (Time you want process to run) 0003: TCL COMMAND 0004: TCL COMMAND 0005: TCL COMMAND 0005: REPEAT (If you want this to repeat each day) PHANTOM SCHEDULE-THIS LO It works under all OS's, and doesn't care about the login scripts (unless you need to change accounts within the VOC). George -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 8:38 AM To: [EMAIL PROTECTED] Subject: How to schedule Pick basic programs Hi, Can some one tell me how to schedule the pick basic programs. tx in advance for the help regards, Reddy -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. -- -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: How to schedule Pick basic programs
Actually, this method has been in the documentation for at least 10 years. Though you'd think it would be documented in the UniVerse User Reference manual under 'uv', it's actually found under UV.LOGIN. Go figure. At least it still appears in the rev10 documentation in the same place. At 12:39 PM 4/23/2004, you wrote: This is so simple. Wish we would have discovered it 4 years ago. We've been doing it the hard way (batch/script file in Scheduler/cron in Windoze/AIX) up to now. Why didn't UV Support ever tell us about this? :-( Thanks George! Now, if you still want to use the batch file approach you may find you'll need the following command ahead of the execution line: SET UNIVERSE_CONTROLLING_TERM=1 - it's been a while since we did this but I think this makes sure that Universe sees the process as a phantom and not something else. We ran into problems without it. Reported it as an issue to Universe a long time agonot sure if it's ever been fixed. Also, don't know what UDT command does as indicated in Marty Benson's reply - doesn't work on our systems. Here's a sample of what our batch file might look like (as given to us by UniVerse Support) The first line is needed if the UV data account is not on the same drive as the system substitute drive letters as needed for your system mappings D: CD \path_to_UV_data_account SET UNIVERSE_CONTROLLING_TERM=1 D:\path_to_UV_bin_directory\uv tcl_command_line D:\path_to_output_file ... Or NULL Gary Eppel Cerner Corp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen Sent: Friday, April 23, 2004 9:32 AM To: U2 Users Discussion List Subject: RE: How to schedule Pick basic programs Another method would be: ED VOC SCHEDULE-THIS 0001: PA 0001: LOOP (If you want this to repeat each day) 0002: SLEEP XX:XX (Time you want process to run) 0003: TCL COMMAND 0004: TCL COMMAND 0005: TCL COMMAND 0005: REPEAT (If you want this to repeat each day) PHANTOM SCHEDULE-THIS LO It works under all OS's, and doesn't care about the login scripts (unless you need to change accounts within the VOC). George -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 8:38 AM To: [EMAIL PROTECTED] Subject: How to schedule Pick basic programs Hi, Can some one tell me how to schedule the pick basic programs. tx in advance for the help regards, Reddy -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. -- -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
RE: How to schedule Pick basic programs
what I do for that is I have a script I run when either of UV admins logs in which checks the status of any phantoms that are supposed to be running on a daily basis, and if not, reports that they are not running. which is much easier in *NIX (with the ps command). I don't know what you would use in NT to see running processes. Using PORT.STATUS unless your root i *NIX only shows your processes, not all processes. Don't know how it behaves in windows. This is fine for one or two events. However, the scheduling software (like BENTON and others) would probably be the better route to take if you have a lot of scheduling. But You could also write a small UV Basic program that would sample the date/time, then check to see if any processes should fire off, and phantom them off, then do a CHAIN to phantom itself again (to prevent previous completed phantoms from hanging the processes up waiting for the parent phantom to die). If you go this route, make sure the checks are only done once per minute or you will start rapid firing processes until the minute is up. At least in UV phantoms are free (unless you start using the socket stuff with the newer UV releases - or so it's been stated). George -Original Message- From: Kryka, Richard [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 12:49 PM To: U2 Users Discussion List Subject: RE: How to schedule Pick basic programs I like the scheduled approach (NT). A phantom in UniVerse like is shown below with the LOOP/REPEAT gets lost when the server is restarted. So you need to have a procedure that restarts the job. If you use the NT scheduler, it is always going to run -- even after a restart. Dick Kryka Director of Applications CCCS of Greater Denver, Inc. Paragon Financial Services 303-632-2226 [EMAIL PROTECTED] -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users