Posted 19 March 2001 - 09:32 AM
/pro40/pro USR CO/DIV
Although I have not explored them in too much detail, I know tasks are very handy for background processing. You can execute a series of functions with many variables common to all of them.
Posted 19 March 2001 - 06:25 PM
If you wish to use 'standard' Background Processing, then reasonably detailed information is contained in the PRO-IV Manuals set. This information can be found either in the System Administrator's Manual or the SuperLayer Administrator's Guide, depending upon the version of the manuals you have.
Posted 19 March 2001 - 08:09 PM
Posted 19 March 2001 - 08:44 PM
Are entries being added into the Queue ? If you're not sure, then temporarily set the QUE Operator ID to Transparent Log-On 'No', which will effectively stop Background Processing from executing them.
If the entries are being added, are they being removed by Background Processing ? This would mean that Background Processing is basically working, but you may have issues with the functions you are trying to execute.
When you mentioned '...execute Queue Processing (execute a number of function) ....', do you mean Background Processing for Linked Functions ?
Posted 19 March 2001 - 09:23 PM
1. Define 'QUE' user.
2. Select Spooler option(17) in Base Utility and select my update function
3. In the Batch Queue Option, enter value 1 for Queue ID and Priority set to 1
4. Login to unix prompt by using teraterm and execute command 'pro QUE1'.
5. However, a error message is coming out that 'ERROR in OPENNING FILE BATCHQUE'.
6. So, I am copy batchque.pro from bootstrap(PROPATH) folder to userdata(PRODATA) folder.
7. Run 'pro QUE1' again. A message come out as following:-
UPDATE IN PROGRESS - PLEASE WAIT'
8. But the screen is hangs on this message....
(A num of function)... I am wish to execute a number of function that under a same QUEUE ID. All of my function EXIT LINK = MENU and ERROR LINK = MENU.
Posted 19 March 2001 - 09:40 PM
batchque.pro needs to be in the data directory for batch to work correctly.
Posted 19 March 2001 - 09:42 PM
The process has not hung - it is polling the queue waiting for a new entry to process.
Posted 19 March 2001 - 10:16 PM
When this function is run, proiv writes an entry to the batch queue (ie to batchque.pro), instead of actually running the function. This means the function will be run by the batch queue process set with the same queue id.
Posted 19 March 2001 - 10:47 PM
I have run my update function and a new record '1' has been added into BATCHQUE.pro (iskeys to look for record key). But how can I use this queue to execute on unix prompt.
I have tried enter 'pro QUE1' on unix prompt but still no function. Do yoh have any idea to execute a queue processing?
Posted 19 March 2001 - 11:04 PM
Based on your previous post, I assumed you are already running the batch queue?
Many people when they start the batch queue run it in the background. ie pro QUEA &
Generally it is better to use a script to start the batch queue that sets all your environment vars like PROPATH etc.
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users