Re: [U2] [ud] Sub-second delay?
From some even older references (just for fun) we have: REALITY - Assembly Language Reference Manual (May 1976, http://www.bitsavers.org/pdf/microdata/reality/771009A_REALITYasmRef_May76.pdf) Definition: "RQM - Process releases the remainder of its time quantam to the monitor." R83 Assembly Reference Manual (1987, http://www.bitsavers.org/pdf/pickSystems/) Definition: "Release Time Ouantum (RQM) - Upon execution of this instruction, the process gets deactivated and the next process is selected. This process will be reactivated after a small delay. The instruction is useful when you need to wait a short period for some external activity." --- From: "Tony Gravagno" The documentation is interesting for at least two reasons. 1) I have an R83 manual in my hands, v5 1990 that has the exact same text as the Microdata text below, except with the words REALITY and Pick interchanged, and one other subtlety: REALITY: "RQM statement causes a one-second sleep, terminating the program's current timeslice." R83: "RQM statement terminates the program's current time-slice." There's no telling which version came first without going back to R81v1 docs. There's probably no way to tell who got the text from who, or by what license or method. There's also no real way to know which implementation actually did a sleep 1 or whether it really just relinquished the Nms timeslice if there was no 'seconds' argument. That RQM and SLEEP are documented as being equivalent only confuses the matter more in this "much ado about nearly nothing" but fun discussion. 2) As I understand it, Unidata was conceived in a dream, and any relation to other Pick platforms was purely coincidental - at least as described in early lawsuits defending the originality of the platform. (Or maybe I'm thinking of Universe?) So how could there be an "original purpose" of a command that was not based on something else? I'm sure that there is some logical reason for this and that we're not looking at a smoking gun from 1991, but the historical significance is intriguing. T From: Bob Wyatt UniBasic User's Guide, Release 2.1, Copyright 1991 by Unidata, Inc. "The original purpose of RQM was to release remaining execution time reserved for a program, allowing other programs to use the time. REALITY by Microdata. DATA/BASIC Programming Manual, Series 3.0 - 4.0, Release 4.0, February, 1981 "The time-shared environment of the REALITY system allows concurrent execution of several programs, with each program executing for a specific time period (called a timeslice or quantum) and then pausing while other programs continue execution. The RQM statement causes a one-second sleep, terminating the program's current timeslice. The RQM statement may be used in heavy compute loops to allow increased execution speed of other concurrently executing programs by giving up time. It may also be used to cause pauses." ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
Thank GOD someone is older ... david ... David L. Wasylenko President, Pick Professionals, Inc w) 314 558 1482 d...@pickpro.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno Sent: Thursday, August 30, 2012 3:51 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [ud] Sub-second delay? > From: David L. Wasylenko > (I don't miss the 150/300bps modems) > (( yes I am that old )) And old enough to forget that it was 110baud. haha ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
> From: David L. Wasylenko > (I don't miss the 150/300bps modems) > (( yes I am that old )) And old enough to forget that it was 110baud. haha ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
I used to walk into client site with 6 or more large tape reels -- to load new programs, data, backup results etc Now I walk in/out with my phone and a USB cable, or an $18 USB drive... entire systems onboard :-) (I don't miss the 150/300bps modems) (( yes I am that old )) ... david ... David L. Wasylenko President, Pick Professionals, Inc w) 314 558 1482 d...@pickpro.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Colin Alfke Sent: Thursday, August 30, 2012 3:00 PM To: 'U2 Users List' Subject: Re: [U2] [ud] Sub-second delay? I was just talking with a client this morning that was lamenting the fact that our proposed SQL solution would require 4 VM machines to run a comparable system to his current one on UniData that "doesn't have as much processing power as my iphone". (It may also not have as much memory, and is possible that it has less disk space than the phone has RAM...) Colin -Original Message- From: Rutherford, Marc Sent: August 30, 2012 10:19 AM To: U2 Users List Subject: Re: [U2] [ud] Sub-second delay? Ah yes, Microdata - my first Pick machine. We were running a 32 user ERP on 64K of main memory and a 30MB drive. Marc Rutherford ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
I was just talking with a client this morning that was lamenting the fact that our proposed SQL solution would require 4 VM machines to run a comparable system to his current one on UniData that "doesn't have as much processing power as my iphone". (It may also not have as much memory, and is possible that it has less disk space than the phone has RAM...) Colin -Original Message- From: Rutherford, Marc Sent: August 30, 2012 10:19 AM To: U2 Users List Subject: Re: [U2] [ud] Sub-second delay? Ah yes, Microdata - my first Pick machine. We were running a 32 user ERP on 64K of main memory and a 30MB drive. Marc Rutherford ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
Ah yes, Microdata - my first Pick machine. We were running a 32 user ERP on 64K of main memory and a 30MB drive. Marc Rutherford Principal Programmer Analyst Advanced Bionics LLC 661) 362 1754 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of dennis bartlett Sent: Thursday, August 30, 2012 1:18 AM To: U2 Users List Subject: Re: [U2] [ud] Sub-second delay? Actually the RQM functionality existed at hardware level (a true release quantum timeslice) when Pick ran on the Microdata machines specifically built for Pick. Way back when, Master Dick (and the other fella) wrote 'the ideal operating system' as their thesis. The theory goes that operating systems were inefficient because machines were being built and only when the machine existed an operating system would be invented for it. The "hardware" side of the Pick Operating System (as opposed to the file structure) was to be specifically designed to implement the structure at raw machine code level. Microdata (or whoever they were prior to that - maybe the ARPA people) then built this machine specifically for Pick. This was even pre-R81. My understanding was that it was at IRQ (interrupt request) level, so that just as a process needing something from an external source (external to the CPU), the processor would set a flag as "I'm waiting" then release the cpu to other processes (just as they do today). The difference today is that many disparate processes need to occupy memory, and so a paging file/swap space is needed. Back then Pick occupied the CPU the whole time. RQM would emulate this behaviour and also set a "I'm waiting" flag, thus releasing the cpu to process the next request. This worked in a circular fashion just like an ethernet works today - the focus moves from computer to computer until all have been serviced then returns to the first one. In a Pick CPU each "user" process had a "request" (of some maths to be done on something). They would all sit in a bottleneck queue and be processed one after the other (no multithreading). The RQM was a way to hurry up the process to allow important processes (logged in users) to get reasonable response times and yet still be able to run slower routines. Yes, 16 users on a 386. Full MRP system, plus GL and accounts, and MRP/CRP reporting running in the background constantly. All background apps were initiated as phantoms that read flags, when the system set the flag, all phantoms would implement RQMs. Online programs would set the flag as data capturing started, then reset it while the processor thought, etc. On 30 August 2012 05:18, Tony Gravagno <3xk547...@sneakemail.com> wrote: > The documentation is interesting for at least two reasons. > > 1) > I have an R83 manual in my hands, v5 1990 that has the exact same text > as the Microdata text below, except with the words REALITY and Pick > interchanged, and one other subtlety: > REALITY: "RQM statement causes a one-second sleep, terminating the > program's current timeslice." > R83: "RQM statement terminates the program's current time-slice." > > There's no telling which version came first without going back to > R81v1 docs. There's probably no way to tell who got the text from who, > or by what license or method. There's also no real way to know which > implementation actually did a sleep 1 or whether it really just > relinquished the Nms timeslice if there was no 'seconds' argument. > That RQM and SLEEP are documented as being equivalent only confuses > the matter more in this "much ado about nearly nothing" but fun > discussion. > > 2) > As I understand it, Unidata was conceived in a dream, and any relation > to other Pick platforms was purely coincidental - at least as > described in early lawsuits defending the originality of the platform. > (Or maybe I'm thinking of Universe?) So how could there be an > "original purpose" of a command that was not based on something else? > I'm sure that there is some logical reason for this and that we're not > looking at a smoking gun from 1991, but the historical significance is > intriguing. > > T > > > From: Bob Wyatt > > UniBasic User's Guide, Release 2.1, Copyright 1991 by Unidata, Inc. > > "The original purpose of RQM was to release remaining execution time > > reserved for a program, allowing other programs to use the time. > > > > REALITY by Microdata. DATA/BASIC Programming Manual, Series 3.0 - > > 4.0, Release 4.0, February, 1981 > > > > "The time-shared environment of the REALITY system allows concurrent > > execution of several programs, with eac
Re: [U2] [ud] Sub-second delay?
You still had swap space. You just didnt have to swap out the *Primary* workspace, which stayed in memory constantly. But you still had to swap out the rest of it. -Original Message- From: dennis bartlett To: U2 Users List Sent: Thu, Aug 30, 2012 1:18 am Subject: Re: [U2] [ud] Sub-second delay? Actually the RQM functionality existed at hardware level (a true release quantum timeslice) when Pick ran on the Microdata machines specifically built for Pick. Way back when, Master Dick (and the other fella) wrote 'the ideal operating system' as their thesis. The theory goes that operating systems were inefficient because machines were being built and only when the machine existed an operating system would be invented for it. The "hardware" side of the Pick Operating System (as opposed to the file structure) was to be specifically designed to implement the structure at raw machine code level. Microdata (or whoever they were prior to that - maybe the ARPA people) then built this machine specifically for Pick. This was even pre-R81. My understanding was that it was at IRQ (interrupt request) level, so that just as a process needing something from an external source (external to the CPU), the processor would set a flag as "I'm waiting" then release the cpu to other processes (just as they do today). The difference today is that many disparate processes need to occupy memory, and so a paging file/swap space is needed. Back then Pick occupied the CPU the whole time. RQM would emulate this behaviour and also set a "I'm waiting" flag, thus releasing the cpu to process the next request. This worked in a circular fashion just like an ethernet works today - the focus moves from computer to computer until all have been serviced then returns to the first one. In a Pick CPU each "user" process had a "request" (of some maths to be done on something). They would all sit in a bottleneck queue and be processed one after the other (no multithreading). The RQM was a way to hurry up the process to allow important processes (logged in users) to get reasonable response times and yet still be able to run slower routines. Yes, 16 users on a 386. Full MRP system, plus GL and accounts, and MRP/CRP reporting running in the background constantly. All background apps were initiated as phantoms that read flags, when the system set the flag, all phantoms would implement RQMs. Online programs would set the flag as data capturing started, then reset it while the processor thought, etc. On 30 August 2012 05:18, Tony Gravagno <3xk547...@sneakemail.com> wrote: > The documentation is interesting for at least two reasons. > > 1) > I have an R83 manual in my hands, v5 1990 that has the exact same text > as the Microdata text below, except with the words REALITY and Pick > interchanged, and one other subtlety: > REALITY: "RQM statement causes a one-second sleep, terminating the > program's current timeslice." > R83: "RQM statement terminates the program's current time-slice." > > There's no telling which version came first without going back to > R81v1 docs. There's probably no way to tell who got the text from who, > or by what license or method. There's also no real way to know which > implementation actually did a sleep 1 or whether it really just > relinquished the Nms timeslice if there was no 'seconds' argument. > That RQM and SLEEP are documented as being equivalent only confuses > the matter more in this "much ado about nearly nothing" but fun > discussion. > > 2) > As I understand it, Unidata was conceived in a dream, and any relation > to other Pick platforms was purely coincidental - at least as > described in early lawsuits defending the originality of the platform. > (Or maybe I'm thinking of Universe?) So how could there be an > "original purpose" of a command that was not based on something else? > I'm sure that there is some logical reason for this and that we're not > looking at a smoking gun from 1991, but the historical significance is > intriguing. > > T > > > From: Bob Wyatt > > UniBasic User's Guide, Release 2.1, Copyright 1991 by Unidata, Inc. > > "The original purpose of RQM was to release remaining execution time > > reserved for a program, allowing other programs to use the time. > > > > REALITY by Microdata. DATA/BASIC Programming Manual, Series 3.0 - > > 4.0, Release 4.0, February, 1981 > > > > "The time-shared environment of the REALITY system allows concurrent > > execution of several programs, with each program executing for a > > specific time period (called a timeslice or quantum) and then > p
Re: [U2] [ud] Sub-second delay?
I was soldering cables, when my supervisor said Hey they just came out with this fancy new *crimping* tool... -Original Message- From: dennis bartlett To: U2 Users List Sent: Wed, Aug 29, 2012 9:25 pm Subject: Re: [U2] [ud] Sub-second delay? ha ha.. ok, then how about going into debug n below, and using Peek/Poke and good ol' fashion arithmetic to fix GFE's? What fun! (yeah, me old too! A sense of accomplishment redeeming a 10MB file on which life depended!) McDonell Douglas Sequoia, and Allen, ever tried silver nitrating a mirror to 'fix' it? On 29 August 2012 14:05, Allen Elwood RR wrote: > i remember when we had to bake and slice our own bread, now those were the > days!!! > > ;-) > > > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
On 30/08/12 08:55, dennis bartlett wrote: > Well, then you would remember CHAP (where you create a processing > priority). One could flag some processes to work as foreground and others, > where finish time was not of great concern, to background. One then set > CRON items to CHAP up processes overnight, thus getting more done when the > load had all gone home. The mixture of CHAP and RQM could make for a user > friendly IT dept. > Except CHAP was a Pr1meism? There's a fair bit of stuff in UV/UD which didn't have its origin in the Pick world, COMO certainly and CHAP also I believe. They came from Pr1mos. Cheers, Wol ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
Actually the RQM functionality existed at hardware level (a true release quantum timeslice) when Pick ran on the Microdata machines specifically built for Pick. Way back when, Master Dick (and the other fella) wrote 'the ideal operating system' as their thesis. The theory goes that operating systems were inefficient because machines were being built and only when the machine existed an operating system would be invented for it. The "hardware" side of the Pick Operating System (as opposed to the file structure) was to be specifically designed to implement the structure at raw machine code level. Microdata (or whoever they were prior to that - maybe the ARPA people) then built this machine specifically for Pick. This was even pre-R81. My understanding was that it was at IRQ (interrupt request) level, so that just as a process needing something from an external source (external to the CPU), the processor would set a flag as "I'm waiting" then release the cpu to other processes (just as they do today). The difference today is that many disparate processes need to occupy memory, and so a paging file/swap space is needed. Back then Pick occupied the CPU the whole time. RQM would emulate this behaviour and also set a "I'm waiting" flag, thus releasing the cpu to process the next request. This worked in a circular fashion just like an ethernet works today - the focus moves from computer to computer until all have been serviced then returns to the first one. In a Pick CPU each "user" process had a "request" (of some maths to be done on something). They would all sit in a bottleneck queue and be processed one after the other (no multithreading). The RQM was a way to hurry up the process to allow important processes (logged in users) to get reasonable response times and yet still be able to run slower routines. Yes, 16 users on a 386. Full MRP system, plus GL and accounts, and MRP/CRP reporting running in the background constantly. All background apps were initiated as phantoms that read flags, when the system set the flag, all phantoms would implement RQMs. Online programs would set the flag as data capturing started, then reset it while the processor thought, etc. On 30 August 2012 05:18, Tony Gravagno <3xk547...@sneakemail.com> wrote: > The documentation is interesting for at least two reasons. > > 1) > I have an R83 manual in my hands, v5 1990 that has the exact same text > as the Microdata text below, except with the words REALITY and Pick > interchanged, and one other subtlety: > REALITY: "RQM statement causes a one-second sleep, terminating the > program's current timeslice." > R83: "RQM statement terminates the program's current time-slice." > > There's no telling which version came first without going back to > R81v1 docs. There's probably no way to tell who got the text from who, > or by what license or method. There's also no real way to know which > implementation actually did a sleep 1 or whether it really just > relinquished the Nms timeslice if there was no 'seconds' argument. > That RQM and SLEEP are documented as being equivalent only confuses > the matter more in this "much ado about nearly nothing" but fun > discussion. > > 2) > As I understand it, Unidata was conceived in a dream, and any relation > to other Pick platforms was purely coincidental - at least as > described in early lawsuits defending the originality of the platform. > (Or maybe I'm thinking of Universe?) So how could there be an > "original purpose" of a command that was not based on something else? > I'm sure that there is some logical reason for this and that we're not > looking at a smoking gun from 1991, but the historical significance is > intriguing. > > T > > > From: Bob Wyatt > > UniBasic User's Guide, Release 2.1, Copyright 1991 by Unidata, Inc. > > "The original purpose of RQM was to release remaining execution time > > reserved for a program, allowing other programs to use the time. > > > > REALITY by Microdata. DATA/BASIC Programming Manual, Series 3.0 - > > 4.0, Release 4.0, February, 1981 > > > > "The time-shared environment of the REALITY system allows concurrent > > execution of several programs, with each program executing for a > > specific time period (called a timeslice or quantum) and then > pausing > > while other programs continue execution. The RQM statement causes a > > one-second sleep, terminating the program's current timeslice. The > > RQM statement may be used in heavy compute loops to allow increased > > execution speed of other concurrently executing programs by giving > up > > time. It may also be used to cause pauses." > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
Well, then you would remember CHAP (where you create a processing priority). One could flag some processes to work as foreground and others, where finish time was not of great concern, to background. One then set CRON items to CHAP up processes overnight, thus getting more done when the load had all gone home. The mixture of CHAP and RQM could make for a user friendly IT dept. On 30 August 2012 00:19, Rutherford, Marc < marc.rutherf...@advancedbionics.com> wrote: > Additionally I would use RQM in batch loops that ran for a huge number of > iterations, and where I was not concerned about the final completion time. > > At the end of each loop I would issue RQM would release any remaining > time-slice - I would get my big butt out of the way. This would allow > other users (normally the interactive ones) to proceed. It was a good way > to 'play nice'. > > Marc Rutherford > Principal Programmer Analyst > Advanced Bionics LLC > 661) 362 1754 > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto: > u2-users-boun...@listserver.u2ug.org] On Behalf Of Charlie Noah > Sent: Tuesday, August 28, 2012 7:33 PM > To: U2 Users List > Subject: Re: [U2] [ud] Sub-second delay? > > Yes, Dennis, it did. There are long technical explanations of how it > worked, but it was indeed a clever, 'techie-appealing' concept. Back in the > old Microdata days (yes, I'm that old), you could get in big trouble with > the timeslice approach, though. If your timeslice was 50 ms, after that > time everything you were doing got saved and the next process in line got > the juice. There were certain things that released your timeslice, too, > such as IO operations, etc. If you were doing disk access, and what you > were working with got paged out of memory, you had to go get it again when > your turn came around again. If that took too long, you went through the > same thing again, and you might actually sit there all day and get nothing > done. No wonder we worried about frame faulting. Ah, those were the days... > > Thanks for the trip down memory lane! > Charlie > > Tiny Bear's Wild Bird Store > "Everything For The Backyard Bird Enthusiast, Except For The Birds" > http://www.TinyBearWildBirdStore.com > Toll Free: 1-855-TinyBear (855-846-9232) > > > On 08-28-2012 9:19 PM, dennis bartlett wrote: > > Who on earth is going to understand what 'release quantum' (RQM) means? > > Still, it worked.. and such a clever, 'techie-appealing' concept - tho > > I don't know that it ever did what I was told it did, it sure sounded > good! > > > > On 28 August 2012 02:51, Wjhonson wrote: > > > >> How interesting. RQM isn't even in the online help for Universe 10, > >> but it does compile. > >> > >> > >> -Original Message- > >> From: David L. Wasylenko > >> To: U2 Users List > >> Sent: Mon, Aug 27, 2012 9:41 am > >> Subject: Re: [U2] [ud] Sub-second delay? > >> > >> > >> Universe only supports an integer for the SLEEP command... > >> > >> Try this in unidata: > >> 001 CRT TIMEDATE() > >> 002 FOR I=1 TO 5 > >> 003 SLEEP 0.5 > >> 004 NEXT I > >> 005 CRT TIMEDATE() > >> > >> I've no idea if it's supported... but it's worth a shot to test. > >> > >> ... david ... > >> > >> David L. Wasylenko > >> President, Pick Professionals, Inc > >> w) 314 558 1482 > >> d...@pickpro.com > >> > >> > >> -Original Message- > >> From: u2-users-boun...@listserver.u2ug.org [mailto: > >> u2-users-boun...@listserver.u2ug.org] > >> On Behalf Of lar...@wcs-corp.com > >> Sent: Monday, August 27, 2012 11:30 AM > >> To: U2 Users List > >> Subject: Re: [U2] [ud] Sub-second delay? > >> > >> RQM is still supported by UniData, but it's now merely a synonym for > >> SLEEP. NAP is a UV thing, with millisecond granularity. SLEEP, in > >> both UV and UD, like the *nix sleep command, only counts in whole > >> seconds. > >> > >> Larry Hiscock > >> Western Computer Services > >> > >>> RQM was supposed to be merely a command to "release quantuum" which > >>> means to pause until I come back up in the time-slicing round-robin. > >>> At some point I wonder if they didn't just replace this with a > >>> "Sleep 1" but that's not really what it was *supposed* to be. > >> > >> ___
Re: [U2] [ud] Sub-second delay?
ha ha.. ok, then how about going into debug n below, and using Peek/Poke and good ol' fashion arithmetic to fix GFE's? What fun! (yeah, me old too! A sense of accomplishment redeeming a 10MB file on which life depended!) McDonell Douglas Sequoia, and Allen, ever tried silver nitrating a mirror to 'fix' it? On 29 August 2012 14:05, Allen Elwood RR wrote: > i remember when we had to bake and slice our own bread, now those were the > days!!! > > ;-) > > > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
The documentation is interesting for at least two reasons. 1) I have an R83 manual in my hands, v5 1990 that has the exact same text as the Microdata text below, except with the words REALITY and Pick interchanged, and one other subtlety: REALITY: "RQM statement causes a one-second sleep, terminating the program's current timeslice." R83: "RQM statement terminates the program's current time-slice." There's no telling which version came first without going back to R81v1 docs. There's probably no way to tell who got the text from who, or by what license or method. There's also no real way to know which implementation actually did a sleep 1 or whether it really just relinquished the Nms timeslice if there was no 'seconds' argument. That RQM and SLEEP are documented as being equivalent only confuses the matter more in this "much ado about nearly nothing" but fun discussion. 2) As I understand it, Unidata was conceived in a dream, and any relation to other Pick platforms was purely coincidental - at least as described in early lawsuits defending the originality of the platform. (Or maybe I'm thinking of Universe?) So how could there be an "original purpose" of a command that was not based on something else? I'm sure that there is some logical reason for this and that we're not looking at a smoking gun from 1991, but the historical significance is intriguing. T From: Bob Wyatt > UniBasic User's Guide, Release 2.1, Copyright 1991 by Unidata, Inc. > "The original purpose of RQM was to release remaining execution time > reserved for a program, allowing other programs to use the time. > REALITY by Microdata. DATA/BASIC Programming Manual, Series 3.0 - > 4.0, Release 4.0, February, 1981 > > "The time-shared environment of the REALITY system allows concurrent > execution of several programs, with each program executing for a > specific time period (called a timeslice or quantum) and then pausing > while other programs continue execution. The RQM statement causes a > one-second sleep, terminating the program's current timeslice. The > RQM statement may be used in heavy compute loops to allow increased > execution speed of other concurrently executing programs by giving up > time. It may also be used to cause pauses." ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
Additionally I would use RQM in batch loops that ran for a huge number of iterations, and where I was not concerned about the final completion time. At the end of each loop I would issue RQM would release any remaining time-slice - I would get my big butt out of the way. This would allow other users (normally the interactive ones) to proceed. It was a good way to 'play nice'. Marc Rutherford Principal Programmer Analyst Advanced Bionics LLC 661) 362 1754 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Charlie Noah Sent: Tuesday, August 28, 2012 7:33 PM To: U2 Users List Subject: Re: [U2] [ud] Sub-second delay? Yes, Dennis, it did. There are long technical explanations of how it worked, but it was indeed a clever, 'techie-appealing' concept. Back in the old Microdata days (yes, I'm that old), you could get in big trouble with the timeslice approach, though. If your timeslice was 50 ms, after that time everything you were doing got saved and the next process in line got the juice. There were certain things that released your timeslice, too, such as IO operations, etc. If you were doing disk access, and what you were working with got paged out of memory, you had to go get it again when your turn came around again. If that took too long, you went through the same thing again, and you might actually sit there all day and get nothing done. No wonder we worried about frame faulting. Ah, those were the days... Thanks for the trip down memory lane! Charlie Tiny Bear's Wild Bird Store "Everything For The Backyard Bird Enthusiast, Except For The Birds" http://www.TinyBearWildBirdStore.com Toll Free: 1-855-TinyBear (855-846-9232) On 08-28-2012 9:19 PM, dennis bartlett wrote: > Who on earth is going to understand what 'release quantum' (RQM) means? > Still, it worked.. and such a clever, 'techie-appealing' concept - tho > I don't know that it ever did what I was told it did, it sure sounded good! > > On 28 August 2012 02:51, Wjhonson wrote: > >> How interesting. RQM isn't even in the online help for Universe 10, >> but it does compile. >> >> >> -Original Message----- >> From: David L. Wasylenko >> To: U2 Users List >> Sent: Mon, Aug 27, 2012 9:41 am >> Subject: Re: [U2] [ud] Sub-second delay? >> >> >> Universe only supports an integer for the SLEEP command... >> >> Try this in unidata: >> 001 CRT TIMEDATE() >> 002 FOR I=1 TO 5 >> 003 SLEEP 0.5 >> 004 NEXT I >> 005 CRT TIMEDATE() >> >> I've no idea if it's supported... but it's worth a shot to test. >> >> ... david ... >> >> David L. Wasylenko >> President, Pick Professionals, Inc >> w) 314 558 1482 >> d...@pickpro.com >> >> >> -Original Message- >> From: u2-users-boun...@listserver.u2ug.org [mailto: >> u2-users-boun...@listserver.u2ug.org] >> On Behalf Of lar...@wcs-corp.com >> Sent: Monday, August 27, 2012 11:30 AM >> To: U2 Users List >> Subject: Re: [U2] [ud] Sub-second delay? >> >> RQM is still supported by UniData, but it's now merely a synonym for >> SLEEP. NAP is a UV thing, with millisecond granularity. SLEEP, in >> both UV and UD, like the *nix sleep command, only counts in whole >> seconds. >> >> Larry Hiscock >> Western Computer Services >> >>> RQM was supposed to be merely a command to "release quantuum" which >>> means to pause until I come back up in the time-slicing round-robin. >>> At some point I wonder if they didn't just replace this with a >>> "Sleep 1" but that's not really what it was *supposed* to be. >> >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users >> >> >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users >> > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
Bob UniData was spelled two ways because one was the company name and one was the product name. David A. Green (480) 813-1725 DAG Consulting -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bob Wyatt Sent: Tuesday, August 28, 2012 9:24 PM To: 'U2 Users List' Subject: Re: [U2] [ud] Sub-second delay? -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of dennis bartlett Sent: Tuesday, August 28, 2012 10:20 PM To: U2 Users List Subject: Re: [U2] [ud] Sub-second delay? Who on earth is going to understand what 'release quantum' (RQM) means? Still, it worked.. and such a clever, 'techie-appealing' concept - tho I don't know that it ever did what I was told it did, it sure sounded good! -- UniBasic User's Guide, Release 2.1, Copyright 1991 by Unidata, Inc. "The original purpose of RQM was to release remaining execution time reserved for a program, allowing other programs to use the time. If a particular program was very computation-intensive, RQM could improve overall system performance. In UniData, this command functions like the SLEEP command. For further information, refer to the SLEEP statement later in this chapter." It is kind-of interesting to note the undecided way to spell Unidata/UniData back then (or that UniData hadn't been registered yet); there are no typo's (by me) in the above... Also note that the SLEEP page of the document makes no mention of RQM... REALITY by Microdata. DATA/BASIC Programming Manual, Series 3.0 - 4.0, Release 4.0, February, 1981 "The time-shared environment of the REALITY system allows concurrent execution of several programs, with each program executing for a specific time period (called a timeslice or quantum) and then pausing while other programs continue execution. The RQM statement causes a one-second sleep, terminating the program's current timeslice. The RQM statement may be used in heavy compute loops to allow increased execution speed of other concurrently executing programs by giving up time. It may also be used to cause pauses." IIRC, the 'M' was measurement; the "measurement" was whatever remained of the processes timeslice. Documentation back to UniVerse 6.3.3 makes no mention of RQM... ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
"Thrashing", I believe. Good times. Good times. :-) -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Charlie Noah Sent: Tuesday, August 28, 2012 10:33 PM To: U2 Users List Subject: Re: [U2] [ud] Sub-second delay? Yes, Dennis, it did. There are long technical explanations of how it worked, but it was indeed a clever, 'techie-appealing' concept. Back in the old Microdata days (yes, I'm that old), you could get in big trouble with the timeslice approach, though. If your timeslice was 50 ms, after that time everything you were doing got saved and the next process in line got the juice. There were certain things that released your timeslice, too, such as IO operations, etc. If you were doing disk access, and what you were working with got paged out of memory, you had to go get it again when your turn came around again. If that took too long, you went through the same thing again, and you might actually sit there all day and get nothing done. No wonder we worried about frame faulting. Ah, those were the days... Thanks for the trip down memory lane! Charlie Tiny Bear's Wild Bird Store "Everything For The Backyard Bird Enthusiast, Except For The Birds" http://www.TinyBearWildBirdStore.com Toll Free: 1-855-TinyBear (855-846-9232) On 08-28-2012 9:19 PM, dennis bartlett wrote: > Who on earth is going to understand what 'release quantum' (RQM) means? > Still, it worked.. and such a clever, 'techie-appealing' concept - tho > I don't know that it ever did what I was told it did, it sure sounded good! > > On 28 August 2012 02:51, Wjhonson wrote: > >> How interesting. RQM isn't even in the online help for Universe 10, >> but it does compile. >> >> >> -Original Message----- >> From: David L. Wasylenko >> To: U2 Users List >> Sent: Mon, Aug 27, 2012 9:41 am >> Subject: Re: [U2] [ud] Sub-second delay? >> >> >> Universe only supports an integer for the SLEEP command... >> >> Try this in unidata: >> 001 CRT TIMEDATE() >> 002 FOR I=1 TO 5 >> 003 SLEEP 0.5 >> 004 NEXT I >> 005 CRT TIMEDATE() >> >> I've no idea if it's supported... but it's worth a shot to test. >> >> ... david ... >> >> David L. Wasylenko >> President, Pick Professionals, Inc >> w) 314 558 1482 >> d...@pickpro.com >> >> >> -Original Message- >> From: u2-users-boun...@listserver.u2ug.org [mailto: >> u2-users-boun...@listserver.u2ug.org] >> On Behalf Of lar...@wcs-corp.com >> Sent: Monday, August 27, 2012 11:30 AM >> To: U2 Users List >> Subject: Re: [U2] [ud] Sub-second delay? >> >> RQM is still supported by UniData, but it's now merely a synonym for >> SLEEP. NAP is a UV thing, with millisecond granularity. SLEEP, in >> both UV and UD, like the *nix sleep command, only counts in whole >> seconds. >> >> Larry Hiscock >> Western Computer Services >> >>> RQM was supposed to be merely a command to "release quantuum" which >>> means to pause until I come back up in the time-slicing round-robin. >>> At some point I wonder if they didn't just replace this with a >>> "Sleep 1" but that's not really what it was *supposed* to be. >> >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users >> >> >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users >> > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
-Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of dennis bartlett Sent: Tuesday, August 28, 2012 10:20 PM To: U2 Users List Subject: Re: [U2] [ud] Sub-second delay? Who on earth is going to understand what 'release quantum' (RQM) means? Still, it worked.. and such a clever, 'techie-appealing' concept - tho I don't know that it ever did what I was told it did, it sure sounded good! -- UniBasic User's Guide, Release 2.1, Copyright 1991 by Unidata, Inc. "The original purpose of RQM was to release remaining execution time reserved for a program, allowing other programs to use the time. If a particular program was very computation-intensive, RQM could improve overall system performance. In UniData, this command functions like the SLEEP command. For further information, refer to the SLEEP statement later in this chapter." It is kind-of interesting to note the undecided way to spell Unidata/UniData back then (or that UniData hadn't been registered yet); there are no typo's (by me) in the above... Also note that the SLEEP page of the document makes no mention of RQM... REALITY by Microdata. DATA/BASIC Programming Manual, Series 3.0 - 4.0, Release 4.0, February, 1981 "The time-shared environment of the REALITY system allows concurrent execution of several programs, with each program executing for a specific time period (called a timeslice or quantum) and then pausing while other programs continue execution. The RQM statement causes a one-second sleep, terminating the program's current timeslice. The RQM statement may be used in heavy compute loops to allow increased execution speed of other concurrently executing programs by giving up time. It may also be used to cause pauses." IIRC, the 'M' was measurement; the "measurement" was whatever remained of the processes timeslice. Documentation back to UniVerse 6.3.3 makes no mention of RQM... ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
i remember when we had to bake and slice our own bread, now those were the days!!! ;-) On 8/28/2012 7:32 PM, Charlie Noah wrote: Yes, Dennis, it did. There are long technical explanations of how it worked, but it was indeed a clever, 'techie-appealing' concept. Back in the old Microdata days (yes, I'm that old), you could get in big trouble with the timeslice approach, though. If your timeslice was 50 ms, after that time everything you were doing got saved and the next process in line got the juice. There were certain things that released your timeslice, too, such as IO operations, etc. If you were doing disk access, and what you were working with got paged out of memory, you had to go get it again when your turn came around again. If that took too long, you went through the same thing again, and you might actually sit there all day and get nothing done. No wonder we worried about frame faulting. Ah, those were the days... Thanks for the trip down memory lane! Charlie Tiny Bear's Wild Bird Store "Everything For The Backyard Bird Enthusiast, Except For The Birds" http://www.TinyBearWildBirdStore.com Toll Free: 1-855-TinyBear (855-846-9232) On 08-28-2012 9:19 PM, dennis bartlett wrote: Who on earth is going to understand what 'release quantum' (RQM) means? Still, it worked.. and such a clever, 'techie-appealing' concept - tho I don't know that it ever did what I was told it did, it sure sounded good! On 28 August 2012 02:51, Wjhonson wrote: How interesting. RQM isn't even in the online help for Universe 10, but it does compile. -Original Message- From: David L. Wasylenko To: U2 Users List Sent: Mon, Aug 27, 2012 9:41 am Subject: Re: [U2] [ud] Sub-second delay? Universe only supports an integer for the SLEEP command... Try this in unidata: 001 CRT TIMEDATE() 002 FOR I=1 TO 5 003 SLEEP 0.5 004 NEXT I 005 CRT TIMEDATE() I've no idea if it's supported... but it's worth a shot to test. ... david ... David L. Wasylenko President, Pick Professionals, Inc w) 314 558 1482 d...@pickpro.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto: u2-users-boun...@listserver.u2ug.org] On Behalf Of lar...@wcs-corp.com Sent: Monday, August 27, 2012 11:30 AM To: U2 Users List Subject: Re: [U2] [ud] Sub-second delay? RQM is still supported by UniData, but it's now merely a synonym for SLEEP. NAP is a UV thing, with millisecond granularity. SLEEP, in both UV and UD, like the *nix sleep command, only counts in whole seconds. Larry Hiscock Western Computer Services RQM was supposed to be merely a command to "release quantuum" which means to pause until I come back up in the time-slicing round-robin. At some point I wonder if they didn't just replace this with a "Sleep 1" but that's not really what it was *supposed* to be. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
Yes, Dennis, it did. There are long technical explanations of how it worked, but it was indeed a clever, 'techie-appealing' concept. Back in the old Microdata days (yes, I'm that old), you could get in big trouble with the timeslice approach, though. If your timeslice was 50 ms, after that time everything you were doing got saved and the next process in line got the juice. There were certain things that released your timeslice, too, such as IO operations, etc. If you were doing disk access, and what you were working with got paged out of memory, you had to go get it again when your turn came around again. If that took too long, you went through the same thing again, and you might actually sit there all day and get nothing done. No wonder we worried about frame faulting. Ah, those were the days... Thanks for the trip down memory lane! Charlie Tiny Bear's Wild Bird Store "Everything For The Backyard Bird Enthusiast, Except For The Birds" http://www.TinyBearWildBirdStore.com Toll Free: 1-855-TinyBear (855-846-9232) On 08-28-2012 9:19 PM, dennis bartlett wrote: Who on earth is going to understand what 'release quantum' (RQM) means? Still, it worked.. and such a clever, 'techie-appealing' concept - tho I don't know that it ever did what I was told it did, it sure sounded good! On 28 August 2012 02:51, Wjhonson wrote: How interesting. RQM isn't even in the online help for Universe 10, but it does compile. -Original Message- From: David L. Wasylenko To: U2 Users List Sent: Mon, Aug 27, 2012 9:41 am Subject: Re: [U2] [ud] Sub-second delay? Universe only supports an integer for the SLEEP command... Try this in unidata: 001 CRT TIMEDATE() 002 FOR I=1 TO 5 003 SLEEP 0.5 004 NEXT I 005 CRT TIMEDATE() I've no idea if it's supported... but it's worth a shot to test. ... david ... David L. Wasylenko President, Pick Professionals, Inc w) 314 558 1482 d...@pickpro.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto: u2-users-boun...@listserver.u2ug.org] On Behalf Of lar...@wcs-corp.com Sent: Monday, August 27, 2012 11:30 AM To: U2 Users List Subject: Re: [U2] [ud] Sub-second delay? RQM is still supported by UniData, but it's now merely a synonym for SLEEP. NAP is a UV thing, with millisecond granularity. SLEEP, in both UV and UD, like the *nix sleep command, only counts in whole seconds. Larry Hiscock Western Computer Services RQM was supposed to be merely a command to "release quantuum" which means to pause until I come back up in the time-slicing round-robin. At some point I wonder if they didn't just replace this with a "Sleep 1" but that's not really what it was *supposed* to be. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
Who on earth is going to understand what 'release quantum' (RQM) means? Still, it worked.. and such a clever, 'techie-appealing' concept - tho I don't know that it ever did what I was told it did, it sure sounded good! On 28 August 2012 02:51, Wjhonson wrote: > > How interesting. RQM isn't even in the online help for Universe 10, but > it does compile. > > > -Original Message- > From: David L. Wasylenko > To: U2 Users List > Sent: Mon, Aug 27, 2012 9:41 am > Subject: Re: [U2] [ud] Sub-second delay? > > > Universe only supports an integer for the SLEEP command... > > Try this in unidata: > 001 CRT TIMEDATE() > 002 FOR I=1 TO 5 > 003 SLEEP 0.5 > 004 NEXT I > 005 CRT TIMEDATE() > > I've no idea if it's supported... but it's worth a shot to test. > > ... david ... > > David L. Wasylenko > President, Pick Professionals, Inc > w) 314 558 1482 > d...@pickpro.com > > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto: > u2-users-boun...@listserver.u2ug.org] > On Behalf Of lar...@wcs-corp.com > Sent: Monday, August 27, 2012 11:30 AM > To: U2 Users List > Subject: Re: [U2] [ud] Sub-second delay? > > RQM is still supported by UniData, but it's now merely a synonym for > SLEEP. NAP > is a UV thing, with millisecond granularity. SLEEP, in both UV and UD, > like the > *nix sleep command, only counts in whole seconds. > > Larry Hiscock > Western Computer Services > > > > > RQM was supposed to be merely a command to "release quantuum" which > > means to pause until I come back up in the time-slicing round-robin. > > At some point I wonder if they didn't just replace this with a "Sleep > > 1" but that's not really what it was *supposed* to be. > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
With the caveat that it's not *actually* waking up right at the specified microsecond. It's *at least* that number of microseconds, and then you have to add the effect of the round-robin timeslice scheme. "Your wait time will be at least 84213 microseconds" "Your wait time will be at least 65432 microseconds" W. S. J. -Original Message- From: John Thompson To: U2 Users List Sent: Tue, Aug 28, 2012 9:51 am Subject: Re: [U2] [ud] Sub-second delay? Oh and I should have said usleep handles time in microseconds. There is a million microseconds in a second. I actually had to google that :( On Tue, Aug 28, 2012 at 12:49 PM, John Thompson wrote: > Coming late to the party because I've been writing documentation for the > past few days... which may cause me to go to sleep... > > Anyway, AIX and Linux should have a command called usleep I believe. > > Could you shell out and execute usleep? Just a thought... > (This shell out code is UV specific, not sure what it might be in Unidata) > > EXECUTE 'SH -c "usleep 20"' ; *Sleep for 0.2 seconds" > > Of course, the execute command probably takes longer than 0.2 seconds... > > On the AIX Print spooler question. Is it System V printing or AIX native > printing? > > If its System V printing: > I found this in a redbook (Ugh, redbooks...) > http://www.redbooks.ibm.com/redbooks/pdfs/sg246018.pdf > > Notice they put FUN, in the title, sheesh... > > 8.3.8 Cleaning up and starting over > There should not be a necessity to clear out all the queues and start > over, but > you might have a need for this if you clone a system. > 8.3.8.1 Resetting the print subsystem job number > The job number for the local jobs is stored in /spool/tmp/host-name/.SEQF > and contains four fields separated by colons, as shown here: > 1:999:1:598 > The first two numbers are the limits of the job numbers. The next number > shows where this job sequence started, and the last number (598) is the > number of the next print request. To change the sequence number, just > change this last value, and recycle the print subsystem with lpshut and > lpsched. > 8.3.8.2 Cleaning out old print files > If you are just having problems, you may want to start out by cleaning out > the > job request files. First, check to see the job names and cancel them, as > shown here: > # lpstat -o > # cancel fileps-124 > If you are not able to cancel the files, then remove the individual files > from the > /spool/tmp/host-name directory and the /var/spool/lp/requests/host-name > directory. > > Thats probably not what you want though. > > If its the AIX Print system, they probably do it differently. > > I didn't find much in here after poking around for a few minutes: > > http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix.printergd/doc/printrgd/printrgd_pdf.pdf > > I did find that the maximum copies per page in the print job is 999, so it > might make sense that the maximum number of total jobs is 999. > > Also keep in mind, that if you did find a way to increase that job number > greater than 999, you would have to be wary of exceeding maximum number of > inodes of the filesystem the jobs would be queued up on. > > You would be able to get that with a df command. Just use the switch to > show inodes I believe. > > Other than that, I'm afraid thats all I've got- if that helps. > > > > On Tue, Aug 28, 2012 at 11:51 AM, Wjhonson wrote: > >> >> Example code ? >> >> >> >> -Original Message- >> From: Daniel McGrath >> To: U2 Users List >> Sent: Tue, Aug 28, 2012 1:57 am >> Subject: Re: [U2] [ud] Sub-second delay? >> >> >> I needed this once for a test program I was writing (not production code). >> >> To do it, I cheated a bit and used the socket API and used a blocking >> command, >> which did support timeouts with millisecond granularity. Works like a >> charm; at >> least in the cases when you don't have to worry about people connecting >> to that >> socket and affecting your programs timing :) >> >> Regards, >> Dan >> >> -Original Message- >> From: u2-users-boun...@listserver.u2ug.org [mailto: >> u2-users-boun...@listserver.u2ug.org] >> On Behalf Of Kevin King >> Sent: Monday, August 27, 2012 9:46 AM >> To: U2 Users List >> Subject: [U2] [ud] Sub-second delay? >> >> Is there anything in Unidata (7.1, in particular) that can do a sub-second >> delay, like maybe a half second? >> _
Re: [U2] [ud] Sub-second delay?
Oh and I should have said usleep handles time in microseconds. There is a million microseconds in a second. I actually had to google that :( On Tue, Aug 28, 2012 at 12:49 PM, John Thompson wrote: > Coming late to the party because I've been writing documentation for the > past few days... which may cause me to go to sleep... > > Anyway, AIX and Linux should have a command called usleep I believe. > > Could you shell out and execute usleep? Just a thought... > (This shell out code is UV specific, not sure what it might be in Unidata) > > EXECUTE 'SH -c "usleep 20"' ; *Sleep for 0.2 seconds" > > Of course, the execute command probably takes longer than 0.2 seconds... > > On the AIX Print spooler question. Is it System V printing or AIX native > printing? > > If its System V printing: > I found this in a redbook (Ugh, redbooks...) > http://www.redbooks.ibm.com/redbooks/pdfs/sg246018.pdf > > Notice they put FUN, in the title, sheesh... > > 8.3.8 Cleaning up and starting over > There should not be a necessity to clear out all the queues and start > over, but > you might have a need for this if you clone a system. > 8.3.8.1 Resetting the print subsystem job number > The job number for the local jobs is stored in /spool/tmp/host-name/.SEQF > and contains four fields separated by colons, as shown here: > 1:999:1:598 > The first two numbers are the limits of the job numbers. The next number > shows where this job sequence started, and the last number (598) is the > number of the next print request. To change the sequence number, just > change this last value, and recycle the print subsystem with lpshut and > lpsched. > 8.3.8.2 Cleaning out old print files > If you are just having problems, you may want to start out by cleaning out > the > job request files. First, check to see the job names and cancel them, as > shown here: > # lpstat -o > # cancel fileps-124 > If you are not able to cancel the files, then remove the individual files > from the > /spool/tmp/host-name directory and the /var/spool/lp/requests/host-name > directory. > > Thats probably not what you want though. > > If its the AIX Print system, they probably do it differently. > > I didn't find much in here after poking around for a few minutes: > > http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix.printergd/doc/printrgd/printrgd_pdf.pdf > > I did find that the maximum copies per page in the print job is 999, so it > might make sense that the maximum number of total jobs is 999. > > Also keep in mind, that if you did find a way to increase that job number > greater than 999, you would have to be wary of exceeding maximum number of > inodes of the filesystem the jobs would be queued up on. > > You would be able to get that with a df command. Just use the switch to > show inodes I believe. > > Other than that, I'm afraid thats all I've got- if that helps. > > > > On Tue, Aug 28, 2012 at 11:51 AM, Wjhonson wrote: > >> >> Example code ? >> >> >> >> -Original Message- >> From: Daniel McGrath >> To: U2 Users List >> Sent: Tue, Aug 28, 2012 1:57 am >> Subject: Re: [U2] [ud] Sub-second delay? >> >> >> I needed this once for a test program I was writing (not production code). >> >> To do it, I cheated a bit and used the socket API and used a blocking >> command, >> which did support timeouts with millisecond granularity. Works like a >> charm; at >> least in the cases when you don't have to worry about people connecting >> to that >> socket and affecting your programs timing :) >> >> Regards, >> Dan >> >> -Original Message- >> From: u2-users-boun...@listserver.u2ug.org [mailto: >> u2-users-boun...@listserver.u2ug.org] >> On Behalf Of Kevin King >> Sent: Monday, August 27, 2012 9:46 AM >> To: U2 Users List >> Subject: [U2] [ud] Sub-second delay? >> >> Is there anything in Unidata (7.1, in particular) that can do a sub-second >> delay, like maybe a half second? >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users >> >> >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users >> > > > > -- > John Thompson > -- John Thompson ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
Coming late to the party because I've been writing documentation for the past few days... which may cause me to go to sleep... Anyway, AIX and Linux should have a command called usleep I believe. Could you shell out and execute usleep? Just a thought... (This shell out code is UV specific, not sure what it might be in Unidata) EXECUTE 'SH -c "usleep 20"' ; *Sleep for 0.2 seconds" Of course, the execute command probably takes longer than 0.2 seconds... On the AIX Print spooler question. Is it System V printing or AIX native printing? If its System V printing: I found this in a redbook (Ugh, redbooks...) http://www.redbooks.ibm.com/redbooks/pdfs/sg246018.pdf Notice they put FUN, in the title, sheesh... 8.3.8 Cleaning up and starting over There should not be a necessity to clear out all the queues and start over, but you might have a need for this if you clone a system. 8.3.8.1 Resetting the print subsystem job number The job number for the local jobs is stored in /spool/tmp/host-name/.SEQF and contains four fields separated by colons, as shown here: 1:999:1:598 The first two numbers are the limits of the job numbers. The next number shows where this job sequence started, and the last number (598) is the number of the next print request. To change the sequence number, just change this last value, and recycle the print subsystem with lpshut and lpsched. 8.3.8.2 Cleaning out old print files If you are just having problems, you may want to start out by cleaning out the job request files. First, check to see the job names and cancel them, as shown here: # lpstat -o # cancel fileps-124 If you are not able to cancel the files, then remove the individual files from the /spool/tmp/host-name directory and the /var/spool/lp/requests/host-name directory. Thats probably not what you want though. If its the AIX Print system, they probably do it differently. I didn't find much in here after poking around for a few minutes: http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix.printergd/doc/printrgd/printrgd_pdf.pdf I did find that the maximum copies per page in the print job is 999, so it might make sense that the maximum number of total jobs is 999. Also keep in mind, that if you did find a way to increase that job number greater than 999, you would have to be wary of exceeding maximum number of inodes of the filesystem the jobs would be queued up on. You would be able to get that with a df command. Just use the switch to show inodes I believe. Other than that, I'm afraid thats all I've got- if that helps. On Tue, Aug 28, 2012 at 11:51 AM, Wjhonson wrote: > > Example code ? > > > > -Original Message- > From: Daniel McGrath > To: U2 Users List > Sent: Tue, Aug 28, 2012 1:57 am > Subject: Re: [U2] [ud] Sub-second delay? > > > I needed this once for a test program I was writing (not production code). > > To do it, I cheated a bit and used the socket API and used a blocking > command, > which did support timeouts with millisecond granularity. Works like a > charm; at > least in the cases when you don't have to worry about people connecting to > that > socket and affecting your programs timing :) > > Regards, > Dan > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto: > u2-users-boun...@listserver.u2ug.org] > On Behalf Of Kevin King > Sent: Monday, August 27, 2012 9:46 AM > To: U2 Users List > Subject: [U2] [ud] Sub-second delay? > > Is there anything in Unidata (7.1, in particular) that can do a sub-second > delay, like maybe a half second? > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > -- John Thompson ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
Example code ? -Original Message- From: Daniel McGrath To: U2 Users List Sent: Tue, Aug 28, 2012 1:57 am Subject: Re: [U2] [ud] Sub-second delay? I needed this once for a test program I was writing (not production code). To do it, I cheated a bit and used the socket API and used a blocking command, which did support timeouts with millisecond granularity. Works like a charm; at least in the cases when you don't have to worry about people connecting to that socket and affecting your programs timing :) Regards, Dan -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Monday, August 27, 2012 9:46 AM To: U2 Users List Subject: [U2] [ud] Sub-second delay? Is there anything in Unidata (7.1, in particular) that can do a sub-second delay, like maybe a half second? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
I needed this once for a test program I was writing (not production code). To do it, I cheated a bit and used the socket API and used a blocking command, which did support timeouts with millisecond granularity. Works like a charm; at least in the cases when you don't have to worry about people connecting to that socket and affecting your programs timing :) Regards, Dan -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Monday, August 27, 2012 9:46 AM To: U2 Users List Subject: [U2] [ud] Sub-second delay? Is there anything in Unidata (7.1, in particular) that can do a sub-second delay, like maybe a half second? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
I was unaware of NAP before today! That's why I'm still using !SLEEP$ (yes, as we did in PI/OPEN). I like it - thanks. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Ed Clark Sent: Monday, August 27, 2012 2:35 PM To: U2 Users List Subject: Re: [U2] [ud] Sub-second delay? yep, it's there for compatibility with pr1me. the source is in APP.PROGS SLEEP: 0031 subroutine PR1ME(time.in.milliseconds) 0032 ;* if time.in.milliseconds < 1000 then sleep 1 0033 ;* else sleep (time.in.milliseconds / 1000) 0034 0035NAP time.in.milliseconds 0036 return On Aug 27, 2012, at 4:48 PM, Wjhonson wrote: > > Oooo naughty > This is *not* in our online HELP BASIC display, and yet it works. > I guess it's a synonym for NAP in Universe > > > > -Original Message- > From: Oaks, Harold > To: U2 Users List > Sent: Mon, Aug 27, 2012 1:34 pm > Subject: Re: [U2] [ud] Sub-second delay? > > > In Universe Basic, the !SLEEP$ routine accepts milliseconds as a > parameter. For example: > > CALL !SLEEP$(200) > > sleeps for 200 milliseconds (2/10 of a second). > > Of course it takes a little time for the routine to start up, so you > won't sleep exactly 1 millisecond if you try > !SLEEP$(1). But it works quite well in general. > > Sometimes I have a message where pausing on it for 1 second seems too > fast, 2 seconds too slow, so I make the call > CALL !SLEEP$(1500) > to pause 1.5 seconds. > > Harold Oaks > Clark County > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson > Sent: Monday, August 27, 2012 10:10 AM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] [ud] Sub-second delay? > > > O talk about bringing a system to its knees :) > > > > -Original Message- > From: Marco Antonio Rojas Castro > To: u2-users > Sent: Mon, Aug 27, 2012 9:59 am > Subject: Re: [U2] [ud] Sub-second delay? > > > > H = SYSTEM(12) ;* TIME IN MILISECONDS > LOOP > H2 = SYSTEM(12) > IF H2 - H > 500 THEN EXIT ;* 500 MS ELAPSED > REPEAT > > > >> Date: Mon, 27 Aug 2012 10:17:01 -0600 >> From: ke...@precisonline.com >> To: u2-users@listserver.u2ug.org >> Subject: Re: [U2] [ud] Sub-second delay? >> >> Ah crap, this client is Unidata 6.1 and NAP is not supported. I'm not >> seeing it in the 7.1 or 7.2 docs either. Looks to be a UV thing, > right? >> >> On Mon, Aug 27, 2012 at 9:41 AM, David L. Wasylenko > wrote: >> >>> NAP 500 >>> >>> ... david ... >>> >>> David L. Wasylenko >>> President, Pick Professionals, Inc >>> w) 314 558 1482 >>> d...@pickpro.com >>> >>> -Original Message- >>> From: u2-users-boun...@listserver.u2ug.org [mailto: >>> u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King >>> Sent: Monday, August 27, 2012 10:46 AM >>> To: U2 Users List >>> Subject: [U2] [ud] Sub-second delay? >>> >>> Is there anything in Unidata (7.1, in particular) that can do a > sub-second >>> delay, like maybe a half second? >>> ___ >>> U2-Users mailing list >>> U2-Users@listserver.u2ug.org >>> http://listserver.u2ug.org/mailman/listinfo/u2-users >>> ___ >>> U2-Users mailing list >>> U2-Users@listserver.u2ug.org >>> http://listserver.u2ug.org/mailman/listinfo/u2-users >>> >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > This e-mail and related attachments and any response may be subject to public > disclosure under state law. > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users This e-mail and related attachments and any response may be subject to public disclosure under state law. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
yep, those 79 programs are for compatibility with prime and are mostly not documented, because they aren't documented :). the source for all of them is in APP.PROGS I think. On Aug 27, 2012, at 4:58 PM, Wjhonson wrote: > > Wow! > We have *SEVENTY NINE* entries in Global.Catdir starting with a "!" > Only *eighteen* in BASIC HELP > > Jeez > > > > -Original Message- > From: George Gallen > To: U2 Users List > Sent: Mon, Aug 27, 2012 1:50 pm > Subject: Re: [U2] [ud] Sub-second delay? > > > This is a Prime Information carry over I believe. > > George > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] > On Behalf Of Wjhonson > Sent: Monday, August 27, 2012 4:49 PM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] [ud] Sub-second delay? > > > Oooo naughty > This is *not* in our online HELP BASIC display, and yet it works. > I guess it's a synonym for NAP in Universe > > > > -----Original Message- > From: Oaks, Harold > To: U2 Users List > Sent: Mon, Aug 27, 2012 1:34 pm > Subject: Re: [U2] [ud] Sub-second delay? > > > In Universe Basic, the !SLEEP$ routine accepts milliseconds as a > parameter. For example: > > CALL !SLEEP$(200) > > sleeps for 200 milliseconds (2/10 of a second). > > Of course it takes a little time for the routine to start up, so you > won't sleep exactly 1 millisecond if you try > !SLEEP$(1). But it works quite well in general. > > Sometimes I have a message where pausing on it for 1 second seems too > fast, 2 seconds too slow, so I make the call > CALL !SLEEP$(1500) > to pause 1.5 seconds. > > Harold Oaks > Clark County > > -Original Message----- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson > Sent: Monday, August 27, 2012 10:10 AM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] [ud] Sub-second delay? > > > O talk about bringing a system to its knees :) > > > > -Original Message- > From: Marco Antonio Rojas Castro > To: u2-users > Sent: Mon, Aug 27, 2012 9:59 am > Subject: Re: [U2] [ud] Sub-second delay? > > > > H = SYSTEM(12) ;* TIME IN MILISECONDS > LOOP > H2 = SYSTEM(12) > IF H2 - H > 500 THEN EXIT ;* 500 MS ELAPSED > REPEAT > > > >> Date: Mon, 27 Aug 2012 10:17:01 -0600 >> From: ke...@precisonline.com >> To: u2-users@listserver.u2ug.org >> Subject: Re: [U2] [ud] Sub-second delay? >> >> Ah crap, this client is Unidata 6.1 and NAP is not supported. I'm not >> seeing it in the 7.1 or 7.2 docs either. Looks to be a UV thing, > right? >> >> On Mon, Aug 27, 2012 at 9:41 AM, David L. Wasylenko > wrote: >> >>> NAP 500 >>> >>> ... david ... >>> >>> David L. Wasylenko >>> President, Pick Professionals, Inc >>> w) 314 558 1482 >>> d...@pickpro.com >>> >>> -Original Message- >>> From: u2-users-boun...@listserver.u2ug.org [mailto: >>> u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King >>> Sent: Monday, August 27, 2012 10:46 AM >>> To: U2 Users List >>> Subject: [U2] [ud] Sub-second delay? >>> >>> Is there anything in Unidata (7.1, in particular) that can do a > sub-second >>> delay, like maybe a half second? >>> ___ >>> U2-Users mailing list >>> U2-Users@listserver.u2ug.org >>> http://listserver.u2ug.org/mailman/listinfo/u2-users >>> ___ >>> U2-Users mailing list >>> U2-Users@listserver.u2ug.org >>> http://listserver.u2ug.org/mailman/listinfo/u2-users >>> >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > This e-mail and related attachments and any response may be subject to public > disclosure under state law. > ___ > U2-Users mailing lis
Re: [U2] [ud] Sub-second delay?
yep, it's there for compatibility with pr1me. the source is in APP.PROGS SLEEP: 0031 subroutine PR1ME(time.in.milliseconds) 0032 ;* if time.in.milliseconds < 1000 then sleep 1 0033 ;* else sleep (time.in.milliseconds / 1000) 0034 0035NAP time.in.milliseconds 0036 return On Aug 27, 2012, at 4:48 PM, Wjhonson wrote: > > Oooo naughty > This is *not* in our online HELP BASIC display, and yet it works. > I guess it's a synonym for NAP in Universe > > > > -Original Message- > From: Oaks, Harold > To: U2 Users List > Sent: Mon, Aug 27, 2012 1:34 pm > Subject: Re: [U2] [ud] Sub-second delay? > > > In Universe Basic, the !SLEEP$ routine accepts milliseconds as a > parameter. For example: > > CALL !SLEEP$(200) > > sleeps for 200 milliseconds (2/10 of a second). > > Of course it takes a little time for the routine to start up, so you > won't sleep exactly 1 millisecond if you try > !SLEEP$(1). But it works quite well in general. > > Sometimes I have a message where pausing on it for 1 second seems too > fast, 2 seconds too slow, so I make the call > CALL !SLEEP$(1500) > to pause 1.5 seconds. > > Harold Oaks > Clark County > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson > Sent: Monday, August 27, 2012 10:10 AM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] [ud] Sub-second delay? > > > O talk about bringing a system to its knees :) > > > > -Original Message- > From: Marco Antonio Rojas Castro > To: u2-users > Sent: Mon, Aug 27, 2012 9:59 am > Subject: Re: [U2] [ud] Sub-second delay? > > > > H = SYSTEM(12) ;* TIME IN MILISECONDS > LOOP > H2 = SYSTEM(12) > IF H2 - H > 500 THEN EXIT ;* 500 MS ELAPSED > REPEAT > > > >> Date: Mon, 27 Aug 2012 10:17:01 -0600 >> From: ke...@precisonline.com >> To: u2-users@listserver.u2ug.org >> Subject: Re: [U2] [ud] Sub-second delay? >> >> Ah crap, this client is Unidata 6.1 and NAP is not supported. I'm not >> seeing it in the 7.1 or 7.2 docs either. Looks to be a UV thing, > right? >> >> On Mon, Aug 27, 2012 at 9:41 AM, David L. Wasylenko > wrote: >> >>> NAP 500 >>> >>> ... david ... >>> >>> David L. Wasylenko >>> President, Pick Professionals, Inc >>> w) 314 558 1482 >>> d...@pickpro.com >>> >>> -Original Message- >>> From: u2-users-boun...@listserver.u2ug.org [mailto: >>> u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King >>> Sent: Monday, August 27, 2012 10:46 AM >>> To: U2 Users List >>> Subject: [U2] [ud] Sub-second delay? >>> >>> Is there anything in Unidata (7.1, in particular) that can do a > sub-second >>> delay, like maybe a half second? >>> ___ >>> U2-Users mailing list >>> U2-Users@listserver.u2ug.org >>> http://listserver.u2ug.org/mailman/listinfo/u2-users >>> ___ >>> U2-Users mailing list >>> U2-Users@listserver.u2ug.org >>> http://listserver.u2ug.org/mailman/listinfo/u2-users >>> >> ___ >> U2-Users mailing list >> U2-Users@listserver.u2ug.org >> http://listserver.u2ug.org/mailman/listinfo/u2-users > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > This e-mail and related attachments and any response may be subject to public > disclosure under state law. > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
Wow! We have *SEVENTY NINE* entries in Global.Catdir starting with a "!" Only *eighteen* in BASIC HELP Jeez -Original Message- From: George Gallen To: U2 Users List Sent: Mon, Aug 27, 2012 1:50 pm Subject: Re: [U2] [ud] Sub-second delay? This is a Prime Information carry over I believe. George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Monday, August 27, 2012 4:49 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [ud] Sub-second delay? Oooo naughty This is *not* in our online HELP BASIC display, and yet it works. I guess it's a synonym for NAP in Universe -Original Message- From: Oaks, Harold To: U2 Users List Sent: Mon, Aug 27, 2012 1:34 pm Subject: Re: [U2] [ud] Sub-second delay? In Universe Basic, the !SLEEP$ routine accepts milliseconds as a parameter. For example: CALL !SLEEP$(200) sleeps for 200 milliseconds (2/10 of a second). Of course it takes a little time for the routine to start up, so you won't sleep exactly 1 millisecond if you try !SLEEP$(1). But it works quite well in general. Sometimes I have a message where pausing on it for 1 second seems too fast, 2 seconds too slow, so I make the call CALL !SLEEP$(1500) to pause 1.5 seconds. Harold Oaks Clark County -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Monday, August 27, 2012 10:10 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [ud] Sub-second delay? O talk about bringing a system to its knees :) -Original Message- From: Marco Antonio Rojas Castro To: u2-users Sent: Mon, Aug 27, 2012 9:59 am Subject: Re: [U2] [ud] Sub-second delay? H = SYSTEM(12) ;* TIME IN MILISECONDS LOOP H2 = SYSTEM(12) IF H2 - H > 500 THEN EXIT ;* 500 MS ELAPSED REPEAT > Date: Mon, 27 Aug 2012 10:17:01 -0600 > From: ke...@precisonline.com > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] [ud] Sub-second delay? > > Ah crap, this client is Unidata 6.1 and NAP is not supported. I'm not > seeing it in the 7.1 or 7.2 docs either. Looks to be a UV thing, right? > > On Mon, Aug 27, 2012 at 9:41 AM, David L. Wasylenko wrote: > > > NAP 500 > > > > ... david ... > > > > David L. Wasylenko > > President, Pick Professionals, Inc > > w) 314 558 1482 > > d...@pickpro.com > > > > -Original Message- > > From: u2-users-boun...@listserver.u2ug.org [mailto: > > u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King > > Sent: Monday, August 27, 2012 10:46 AM > > To: U2 Users List > > Subject: [U2] [ud] Sub-second delay? > > > > Is there anything in Unidata (7.1, in particular) that can do a sub-second > > delay, like maybe a half second? > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users This e-mail and related attachments and any response may be subject to public disclosure under state law. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
This is a Prime Information carry over I believe. George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Monday, August 27, 2012 4:49 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [ud] Sub-second delay? Oooo naughty This is *not* in our online HELP BASIC display, and yet it works. I guess it's a synonym for NAP in Universe -Original Message- From: Oaks, Harold To: U2 Users List Sent: Mon, Aug 27, 2012 1:34 pm Subject: Re: [U2] [ud] Sub-second delay? In Universe Basic, the !SLEEP$ routine accepts milliseconds as a parameter. For example: CALL !SLEEP$(200) sleeps for 200 milliseconds (2/10 of a second). Of course it takes a little time for the routine to start up, so you won't sleep exactly 1 millisecond if you try !SLEEP$(1). But it works quite well in general. Sometimes I have a message where pausing on it for 1 second seems too fast, 2 seconds too slow, so I make the call CALL !SLEEP$(1500) to pause 1.5 seconds. Harold Oaks Clark County -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Monday, August 27, 2012 10:10 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [ud] Sub-second delay? O talk about bringing a system to its knees :) -Original Message- From: Marco Antonio Rojas Castro To: u2-users Sent: Mon, Aug 27, 2012 9:59 am Subject: Re: [U2] [ud] Sub-second delay? H = SYSTEM(12) ;* TIME IN MILISECONDS LOOP H2 = SYSTEM(12) IF H2 - H > 500 THEN EXIT ;* 500 MS ELAPSED REPEAT > Date: Mon, 27 Aug 2012 10:17:01 -0600 > From: ke...@precisonline.com > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] [ud] Sub-second delay? > > Ah crap, this client is Unidata 6.1 and NAP is not supported. I'm not > seeing it in the 7.1 or 7.2 docs either. Looks to be a UV thing, right? > > On Mon, Aug 27, 2012 at 9:41 AM, David L. Wasylenko wrote: > > > NAP 500 > > > > ... david ... > > > > David L. Wasylenko > > President, Pick Professionals, Inc > > w) 314 558 1482 > > d...@pickpro.com > > > > -Original Message- > > From: u2-users-boun...@listserver.u2ug.org [mailto: > > u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King > > Sent: Monday, August 27, 2012 10:46 AM > > To: U2 Users List > > Subject: [U2] [ud] Sub-second delay? > > > > Is there anything in Unidata (7.1, in particular) that can do a sub-second > > delay, like maybe a half second? > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users This e-mail and related attachments and any response may be subject to public disclosure under state law. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
Oooo naughty This is *not* in our online HELP BASIC display, and yet it works. I guess it's a synonym for NAP in Universe -Original Message- From: Oaks, Harold To: U2 Users List Sent: Mon, Aug 27, 2012 1:34 pm Subject: Re: [U2] [ud] Sub-second delay? In Universe Basic, the !SLEEP$ routine accepts milliseconds as a parameter. For example: CALL !SLEEP$(200) sleeps for 200 milliseconds (2/10 of a second). Of course it takes a little time for the routine to start up, so you won't sleep exactly 1 millisecond if you try !SLEEP$(1). But it works quite well in general. Sometimes I have a message where pausing on it for 1 second seems too fast, 2 seconds too slow, so I make the call CALL !SLEEP$(1500) to pause 1.5 seconds. Harold Oaks Clark County -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Monday, August 27, 2012 10:10 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [ud] Sub-second delay? O talk about bringing a system to its knees :) -Original Message- From: Marco Antonio Rojas Castro To: u2-users Sent: Mon, Aug 27, 2012 9:59 am Subject: Re: [U2] [ud] Sub-second delay? H = SYSTEM(12) ;* TIME IN MILISECONDS LOOP H2 = SYSTEM(12) IF H2 - H > 500 THEN EXIT ;* 500 MS ELAPSED REPEAT > Date: Mon, 27 Aug 2012 10:17:01 -0600 > From: ke...@precisonline.com > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] [ud] Sub-second delay? > > Ah crap, this client is Unidata 6.1 and NAP is not supported. I'm not > seeing it in the 7.1 or 7.2 docs either. Looks to be a UV thing, right? > > On Mon, Aug 27, 2012 at 9:41 AM, David L. Wasylenko wrote: > > > NAP 500 > > > > ... david ... > > > > David L. Wasylenko > > President, Pick Professionals, Inc > > w) 314 558 1482 > > d...@pickpro.com > > > > -Original Message- > > From: u2-users-boun...@listserver.u2ug.org [mailto: > > u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King > > Sent: Monday, August 27, 2012 10:46 AM > > To: U2 Users List > > Subject: [U2] [ud] Sub-second delay? > > > > Is there anything in Unidata (7.1, in particular) that can do a sub-second > > delay, like maybe a half second? > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users This e-mail and related attachments and any response may be subject to public disclosure under state law. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
In Universe Basic, the !SLEEP$ routine accepts milliseconds as a parameter. For example: CALL !SLEEP$(200) sleeps for 200 milliseconds (2/10 of a second). Of course it takes a little time for the routine to start up, so you won't sleep exactly 1 millisecond if you try !SLEEP$(1). But it works quite well in general. Sometimes I have a message where pausing on it for 1 second seems too fast, 2 seconds too slow, so I make the call CALL !SLEEP$(1500) to pause 1.5 seconds. Harold Oaks Clark County -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Monday, August 27, 2012 10:10 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [ud] Sub-second delay? O talk about bringing a system to its knees :) -Original Message- From: Marco Antonio Rojas Castro To: u2-users Sent: Mon, Aug 27, 2012 9:59 am Subject: Re: [U2] [ud] Sub-second delay? H = SYSTEM(12) ;* TIME IN MILISECONDS LOOP H2 = SYSTEM(12) IF H2 - H > 500 THEN EXIT ;* 500 MS ELAPSED REPEAT > Date: Mon, 27 Aug 2012 10:17:01 -0600 > From: ke...@precisonline.com > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] [ud] Sub-second delay? > > Ah crap, this client is Unidata 6.1 and NAP is not supported. I'm not > seeing it in the 7.1 or 7.2 docs either. Looks to be a UV thing, right? > > On Mon, Aug 27, 2012 at 9:41 AM, David L. Wasylenko wrote: > > > NAP 500 > > > > ... david ... > > > > David L. Wasylenko > > President, Pick Professionals, Inc > > w) 314 558 1482 > > d...@pickpro.com > > > > -Original Message- > > From: u2-users-boun...@listserver.u2ug.org [mailto: > > u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King > > Sent: Monday, August 27, 2012 10:46 AM > > To: U2 Users List > > Subject: [U2] [ud] Sub-second delay? > > > > Is there anything in Unidata (7.1, in particular) that can do a sub-second > > delay, like maybe a half second? > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users This e-mail and related attachments and any response may be subject to public disclosure under state law. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
O talk about bringing a system to its knees :) -Original Message- From: Marco Antonio Rojas Castro To: u2-users Sent: Mon, Aug 27, 2012 9:59 am Subject: Re: [U2] [ud] Sub-second delay? H = SYSTEM(12) ;* TIME IN MILISECONDS LOOP H2 = SYSTEM(12) IF H2 - H > 500 THEN EXIT ;* 500 MS ELAPSED REPEAT > Date: Mon, 27 Aug 2012 10:17:01 -0600 > From: ke...@precisonline.com > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] [ud] Sub-second delay? > > Ah crap, this client is Unidata 6.1 and NAP is not supported. I'm not > seeing it in the 7.1 or 7.2 docs either. Looks to be a UV thing, right? > > On Mon, Aug 27, 2012 at 9:41 AM, David L. Wasylenko wrote: > > > NAP 500 > > > > ... david ... > > > > David L. Wasylenko > > President, Pick Professionals, Inc > > w) 314 558 1482 > > d...@pickpro.com > > > > -Original Message- > > From: u2-users-boun...@listserver.u2ug.org [mailto: > > u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King > > Sent: Monday, August 27, 2012 10:46 AM > > To: U2 Users List > > Subject: [U2] [ud] Sub-second delay? > > > > Is there anything in Unidata (7.1, in particular) that can do a sub-second > > delay, like maybe a half second? > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
That's a pretty tight loop Marco. I agree with David, these kinds of tight loops can really negatively impact performance. On Mon, Aug 27, 2012 at 10:59 AM, Marco Antonio Rojas Castro < marco_roja...@hotmail.com> wrote: > > H = SYSTEM(12) ;* TIME IN MILISECONDS > LOOP >H2 = SYSTEM(12) >IF H2 - H > 500 THEN EXIT ;* 500 MS ELAPSED > REPEAT > > > > > Date: Mon, 27 Aug 2012 10:17:01 -0600 > > From: ke...@precisonline.com > > To: u2-users@listserver.u2ug.org > > Subject: Re: [U2] [ud] Sub-second delay? > > > > Ah crap, this client is Unidata 6.1 and NAP is not supported. I'm not > > seeing it in the 7.1 or 7.2 docs either. Looks to be a UV thing, right? > > > > On Mon, Aug 27, 2012 at 9:41 AM, David L. Wasylenko > wrote: > > > > > NAP 500 > > > > > > ... david ... > > > > > > David L. Wasylenko > > > President, Pick Professionals, Inc > > > w) 314 558 1482 > > > d...@pickpro.com > > > > > > -Original Message- > > > From: u2-users-boun...@listserver.u2ug.org [mailto: > > > u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King > > > Sent: Monday, August 27, 2012 10:46 AM > > > To: U2 Users List > > > Subject: [U2] [ud] Sub-second delay? > > > > > > Is there anything in Unidata (7.1, in particular) that can do a > sub-second > > > delay, like maybe a half second? > > > ___ > > > U2-Users mailing list > > > U2-Users@listserver.u2ug.org > > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > > > U2-Users mailing list > > > U2-Users@listserver.u2ug.org > > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
You will get a delay... but you won't reduce work-load. In fact, a tight loop like that will take over and make system performance crawl. ... david ... David L. Wasylenko President, Pick Professionals, Inc w) 314 558 1482 d...@pickpro.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Marco Antonio Rojas Castro Sent: Monday, August 27, 2012 12:00 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [ud] Sub-second delay? H = SYSTEM(12) ;* TIME IN MILISECONDS LOOP H2 = SYSTEM(12) IF H2 - H > 500 THEN EXIT ;* 500 MS ELAPSED REPEAT > Date: Mon, 27 Aug 2012 10:17:01 -0600 > From: ke...@precisonline.com > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] [ud] Sub-second delay? > > Ah crap, this client is Unidata 6.1 and NAP is not supported. I'm not > seeing it in the 7.1 or 7.2 docs either. Looks to be a UV thing, right? > > On Mon, Aug 27, 2012 at 9:41 AM, David L. Wasylenko wrote: > > > NAP 500 > > > > ... david ... > > > > David L. Wasylenko > > President, Pick Professionals, Inc > > w) 314 558 1482 > > d...@pickpro.com > > > > -Original Message- > > From: u2-users-boun...@listserver.u2ug.org [mailto: > > u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King > > Sent: Monday, August 27, 2012 10:46 AM > > To: U2 Users List > > Subject: [U2] [ud] Sub-second delay? > > > > Is there anything in Unidata (7.1, in particular) that can do a > > sub-second delay, like maybe a half second? > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
H = SYSTEM(12) ;* TIME IN MILISECONDS LOOP H2 = SYSTEM(12) IF H2 - H > 500 THEN EXIT ;* 500 MS ELAPSED REPEAT > Date: Mon, 27 Aug 2012 10:17:01 -0600 > From: ke...@precisonline.com > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] [ud] Sub-second delay? > > Ah crap, this client is Unidata 6.1 and NAP is not supported. I'm not > seeing it in the 7.1 or 7.2 docs either. Looks to be a UV thing, right? > > On Mon, Aug 27, 2012 at 9:41 AM, David L. Wasylenko wrote: > > > NAP 500 > > > > ... david ... > > > > David L. Wasylenko > > President, Pick Professionals, Inc > > w) 314 558 1482 > > d...@pickpro.com > > > > -Original Message- > > From: u2-users-boun...@listserver.u2ug.org [mailto: > > u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King > > Sent: Monday, August 27, 2012 10:46 AM > > To: U2 Users List > > Subject: [U2] [ud] Sub-second delay? > > > > Is there anything in Unidata (7.1, in particular) that can do a sub-second > > delay, like maybe a half second? > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > ___ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
Thanks everyone. David, good idea. The original premise was to try to keep a Unidata program from overflowing the AIX spooler, which has a max job # of 999. We were hitting it with a couple thousand documents daily (within a few minutes) and the premise was that if I had a job 615 in the spooler, the next 615 that got generated (round robin) would overwrite the first 615. This has subsequently been disproven, so the delay is less of a concern now. But while I'm here... anyone know how to configure an AIX 5.3 print queue daemon to have longer than 3 character job #'s? -K On Mon, Aug 27, 2012 at 10:48 AM, David L. Wasylenko wrote: > If you are trying to unload a heavy processs... how about sleeping one > second every 100 records or every 1000 > > ... david ... > > David L. Wasylenko > President, Pick Professionals, Inc > w) 314 558 1482 > d...@pickpro.com > > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto: > u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson > Sent: Monday, August 27, 2012 11:51 AM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] [ud] Sub-second delay? > > > How interesting. RQM isn't even in the online help for Universe 10, but > it does compile. > > > -Original Message- > From: David L. Wasylenko > To: U2 Users List > Sent: Mon, Aug 27, 2012 9:41 am > Subject: Re: [U2] [ud] Sub-second delay? > > > Universe only supports an integer for the SLEEP command... > > Try this in unidata: > 001 CRT TIMEDATE() > 002 FOR I=1 TO 5 > 003 SLEEP 0.5 > 004 NEXT I > 005 CRT TIMEDATE() > > I've no idea if it's supported... but it's worth a shot to test. > > ... david ... > > David L. Wasylenko > President, Pick Professionals, Inc > w) 314 558 1482 > d...@pickpro.com > > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto: > u2-users-boun...@listserver.u2ug.org] > On Behalf Of lar...@wcs-corp.com > Sent: Monday, August 27, 2012 11:30 AM > To: U2 Users List > Subject: Re: [U2] [ud] Sub-second delay? > > RQM is still supported by UniData, but it's now merely a synonym for > SLEEP. NAP is a UV thing, with millisecond granularity. SLEEP, in both UV > and UD, like the *nix sleep command, only counts in whole seconds. > > Larry Hiscock > Western Computer Services > > > > > RQM was supposed to be merely a command to "release quantuum" which > > means to pause until I come back up in the time-slicing round-robin. > > At some point I wonder if they didn't just replace this with a "Sleep > > 1" but that's not really what it was *supposed* to be. > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
If you are trying to unload a heavy processs... how about sleeping one second every 100 records or every 1000 ... david ... David L. Wasylenko President, Pick Professionals, Inc w) 314 558 1482 d...@pickpro.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson Sent: Monday, August 27, 2012 11:51 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [ud] Sub-second delay? How interesting. RQM isn't even in the online help for Universe 10, but it does compile. -Original Message- From: David L. Wasylenko To: U2 Users List Sent: Mon, Aug 27, 2012 9:41 am Subject: Re: [U2] [ud] Sub-second delay? Universe only supports an integer for the SLEEP command... Try this in unidata: 001 CRT TIMEDATE() 002 FOR I=1 TO 5 003 SLEEP 0.5 004 NEXT I 005 CRT TIMEDATE() I've no idea if it's supported... but it's worth a shot to test. ... david ... David L. Wasylenko President, Pick Professionals, Inc w) 314 558 1482 d...@pickpro.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of lar...@wcs-corp.com Sent: Monday, August 27, 2012 11:30 AM To: U2 Users List Subject: Re: [U2] [ud] Sub-second delay? RQM is still supported by UniData, but it's now merely a synonym for SLEEP. NAP is a UV thing, with millisecond granularity. SLEEP, in both UV and UD, like the *nix sleep command, only counts in whole seconds. Larry Hiscock Western Computer Services > > RQM was supposed to be merely a command to "release quantuum" which > means to pause until I come back up in the time-slicing round-robin. > At some point I wonder if they didn't just replace this with a "Sleep > 1" but that's not really what it was *supposed* to be. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
How interesting. RQM isn't even in the online help for Universe 10, but it does compile. -Original Message- From: David L. Wasylenko To: U2 Users List Sent: Mon, Aug 27, 2012 9:41 am Subject: Re: [U2] [ud] Sub-second delay? Universe only supports an integer for the SLEEP command... Try this in unidata: 001 CRT TIMEDATE() 002 FOR I=1 TO 5 003 SLEEP 0.5 004 NEXT I 005 CRT TIMEDATE() I've no idea if it's supported... but it's worth a shot to test. ... david ... David L. Wasylenko President, Pick Professionals, Inc w) 314 558 1482 d...@pickpro.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of lar...@wcs-corp.com Sent: Monday, August 27, 2012 11:30 AM To: U2 Users List Subject: Re: [U2] [ud] Sub-second delay? RQM is still supported by UniData, but it's now merely a synonym for SLEEP. NAP is a UV thing, with millisecond granularity. SLEEP, in both UV and UD, like the *nix sleep command, only counts in whole seconds. Larry Hiscock Western Computer Services > > RQM was supposed to be merely a command to "release quantuum" which > means to pause until I come back up in the time-slicing round-robin. > At some point I wonder if they didn't just replace this with a "Sleep > 1" but that's not really what it was *supposed* to be. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
Universe only supports an integer for the SLEEP command... Try this in unidata: 001 CRT TIMEDATE() 002 FOR I=1 TO 5 003 SLEEP 0.5 004 NEXT I 005 CRT TIMEDATE() I've no idea if it's supported... but it's worth a shot to test. ... david ... David L. Wasylenko President, Pick Professionals, Inc w) 314 558 1482 d...@pickpro.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of lar...@wcs-corp.com Sent: Monday, August 27, 2012 11:30 AM To: U2 Users List Subject: Re: [U2] [ud] Sub-second delay? RQM is still supported by UniData, but it's now merely a synonym for SLEEP. NAP is a UV thing, with millisecond granularity. SLEEP, in both UV and UD, like the *nix sleep command, only counts in whole seconds. Larry Hiscock Western Computer Services > > RQM was supposed to be merely a command to "release quantuum" which > means to pause until I come back up in the time-slicing round-robin. > At some point I wonder if they didn't just replace this with a "Sleep > 1" but that's not really what it was *supposed* to be. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
RQM is still supported by UniData, but it's now merely a synonym for SLEEP. NAP is a UV thing, with millisecond granularity. SLEEP, in both UV and UD, like the *nix sleep command, only counts in whole seconds. Larry Hiscock Western Computer Services > > RQM was supposed to be merely a command to "release quantuum" which means > to pause until I come back up in the time-slicing round-robin. At some > point I wonder if they didn't just replace this with a "Sleep 1" but > that's not really what it was *supposed* to be. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
SLEEP 1 and NAP xxx will do the same... I've had processes hogging resources... added NAP 1 and it played very nicely with the system afterward. ... david ... David L. Wasylenko President, Pick Professionals, Inc w) 314 558 1482 d...@pickpro.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rutherford, Marc Sent: Monday, August 27, 2012 11:23 AM To: U2 Users List Subject: Re: [U2] [ud] Sub-second delay? While OT to your question, I miss the true RQM (release quantum) from the OS days. A nice way to make a resource-hungry program more courteous to other users. Marc Rutherford Principal Programmer Analyst Advanced Bionics LLC 661) 362 1754 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Monday, August 27, 2012 8:46 AM To: U2 Users List Subject: [U2] [ud] Sub-second delay? Is there anything in Unidata (7.1, in particular) that can do a sub-second delay, like maybe a half second? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
While OT to your question, I miss the true RQM (release quantum) from the OS days. A nice way to make a resource-hungry program more courteous to other users. Marc Rutherford Principal Programmer Analyst Advanced Bionics LLC 661) 362 1754 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Monday, August 27, 2012 8:46 AM To: U2 Users List Subject: [U2] [ud] Sub-second delay? Is there anything in Unidata (7.1, in particular) that can do a sub-second delay, like maybe a half second? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
RQM was supposed to be merely a command to "release quantuum" which means to pause until I come back up in the time-slicing round-robin. At some point I wonder if they didn't just replace this with a "Sleep 1" but that's not really what it was *supposed* to be. You could try a single RQM and time it? I'm fairly certain Unidata should have RQM since it goes back to the original Reality code. -Original Message- From: Kevin King To: U2 Users List Sent: Mon, Aug 27, 2012 9:17 am Subject: Re: [U2] [ud] Sub-second delay? Ah crap, this client is Unidata 6.1 and NAP is not supported. I'm not seeing it in the 7.1 or 7.2 docs either. Looks to be a UV thing, right? On Mon, Aug 27, 2012 at 9:41 AM, David L. Wasylenko wrote: > NAP 500 > > ... david ... > > David L. Wasylenko > President, Pick Professionals, Inc > w) 314 558 1482 > d...@pickpro.com > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto: > u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King > Sent: Monday, August 27, 2012 10:46 AM > To: U2 Users List > Subject: [U2] [ud] Sub-second delay? > > Is there anything in Unidata (7.1, in particular) that can do a sub-second > delay, like maybe a half second? > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
Ah crap, this client is Unidata 6.1 and NAP is not supported. I'm not seeing it in the 7.1 or 7.2 docs either. Looks to be a UV thing, right? On Mon, Aug 27, 2012 at 9:41 AM, David L. Wasylenko wrote: > NAP 500 > > ... david ... > > David L. Wasylenko > President, Pick Professionals, Inc > w) 314 558 1482 > d...@pickpro.com > > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto: > u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King > Sent: Monday, August 27, 2012 10:46 AM > To: U2 Users List > Subject: [U2] [ud] Sub-second delay? > > Is there anything in Unidata (7.1, in particular) that can do a sub-second > delay, like maybe a half second? > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [ud] Sub-second delay?
NAP 500 ... david ... David L. Wasylenko President, Pick Professionals, Inc w) 314 558 1482 d...@pickpro.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Monday, August 27, 2012 10:46 AM To: U2 Users List Subject: [U2] [ud] Sub-second delay? Is there anything in Unidata (7.1, in particular) that can do a sub-second delay, like maybe a half second? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] [ud] Sub-second delay?
Is there anything in Unidata (7.1, in particular) that can do a sub-second delay, like maybe a half second? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users