![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I have not used MVbase is a very long time. I need to create a phantom for a quick project. have looked in the manuals, but they don't have an example I can simulate. I have a program that I want to run at 1:00 am everyday. How can I start a phantom using the LOGON command? Here is what I have done so far. created account SSFL created program file SSFL.BP created program SSFL.XML How can I create a phantom with the above info? Any help will be appreciated. Pete |
#3
| |||
| |||
|
|
LOGON <phantom process#>,SSFL-PHANTOM,<password |
|
TANDEM <phantom process# |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Pete, We run our daily FILE-SAVE as a scheduled phantom this way. First create a login PROC that sleeps until 1:00am, runs your program, and then loops, e.g.: SSFL-PHANTOM 001 PQ 002 10 C begin loop 003 HSLEEP 01:00:00 004 P 005 HSSFL.XML (or whatever CATALOGed program you want to run) 006 P 007 GO 10 Then create a Q-pointer to the SSFL account in the SYSTEM dictionary with the same name as the login PROC: SSFL-PHANTOM 001 Q 002 SSFL 003 004 005 006 007 <same encrypted password as SSFL 008 <same privilege level as SSFL 009 L 010 10 Then start it up using LOGON: LOGON <phantom process#>,SSFL-PHANTOM,<password It will run until the next time you boot mvBASE. You can also watch or interact with it using the TANDEM verb: TANDEM <phantom process# Good luck! |
#6
| |||
| |||
|
|
From an account we tandem into another line (usually outside our max licensed users number) login to appropriate account and start the |
#7
| |||
| |||
|
|
David, I don't know mvBase, but doesn't your method burn a user license? Phantom processes do not, at least in D3. Does mvBase support phantoms? "David Ousele" <deva (AT) oregoncoast (DOT) com> wrote in message news:1141841299.271903.243590 (AT) j33g2000cwa (DOT) googlegroups.com... Pete, We run our daily FILE-SAVE as a scheduled phantom this way. First create a login PROC that sleeps until 1:00am, runs your program, and then loops, e.g.: SSFL-PHANTOM 001 PQ 002 10 C begin loop 003 HSLEEP 01:00:00 004 P 005 HSSFL.XML (or whatever CATALOGed program you want to run) 006 P 007 GO 10 Then create a Q-pointer to the SSFL account in the SYSTEM dictionary with the same name as the login PROC: SSFL-PHANTOM 001 Q 002 SSFL 003 004 005 006 007 <same encrypted password as SSFL 008 <same privilege level as SSFL 009 L 010 10 Then start it up using LOGON: LOGON <phantom process#>,SSFL-PHANTOM,<password It will run until the next time you boot mvBASE. You can also watch or interact with it using the TANDEM verb: TANDEM <phantom process# Good luck! |
#8
| |||
| |||
|
|
We use "phantoms" to do backups and other nightly data transfers. From an account we tandem into another line (usually outside our max licensed users number) login to appropriate account and start the process. We then disconnect from the tandem and then do an UNLINK-LINE lineno. This doesnt consume a "user". We have our max num of users logged in and have 3 phantom processes running without a problem. Mark |
![]() |
| Thread Tools | |
| Display Modes | |
| |