Re: F$GETJPI doesn't match SHOW PROCESS/ACCOUNTING



Hein RMS van den Heuvel wrote:

On Feb 22, 7:19 pm, David J Dachtera <djesys...@xxxxxxxxxxxxxxxx>
wrote:
Hhmmm...
:
$ jbi = f$getjpi( jpi, "biocnt" )
:
Why don't the Direct I/O and Buffered I/O counts match the values returned by F$GETJPI()?

Because you did not ask for those? :-)

This topic seems to call for a teasing reply or two.

I'll go with:

- David has forgotten more about DCL than most programmers ever know,
and here is a case in point.

my runner up:

- Senior moment Dave?

Yeah, kinda. I really wanted DIRIO and BUFIO.

See, I'm developing a sort of an extended DELETE|SET|SHOW ENTRY. The SHOW output
looks like this ("sanitized" for publication):

$ ent show q=node$batch
Entry Jobname Username Blocks Status
----- ------- -------- ------ ------
3450 SITE_RELL SYSTEM Executing
On available batch queue NODE$BATCH
SUBMITted 23-FEB-2007 00:04:40.05
/AFTER=23-FEB-2007 00:45:00.00
Running since 23-FEB-2007 00:45:00.05
000030BB SITE_RELL CPU=00:09:51.85 PF=87830 IO=2388646 MEM=36

3418 SITE_PAT SYSTEM Executing
On available batch queue NODE$BATCH
SUBMITted 22-FEB-2007 17:00:19.57
/AFTER=23-FEB-2007 02:00:00.00
Running since 23-FEB-2007 02:00:00.00
000030C0 SITE_PAT CPU=00:00:02.53 PF=15849 IO=2419 MEM=39

3518 SYSHOURLY SYSTEM Holding until 23-FEB-2007
09:00:00.00
On available batch queue NODE$BATCH
SUBMITted 23-FEB-2007 08:00:02.18
/AFTER=23-FEB-2007 09:00:00.00

3451 SYSDAILY SYSTEM Holding until 24-FEB-2007
00:05:00.00
On available batch queue NODE$BATCH
SUBMITted 23-FEB-2007 00:05:02.17
/AFTER=24-FEB-2007 00:05:00.00

Note the "mini-CTRL+T" display for jobs that are running. I'm sure the MEM value
is still wrong. I'm using PPGCNT, but it doesn't match an actual CTRL+T display.

Notice also that the /AFTER time is shown for jobs that are Executing, unlike
the standard SHOW ENTRY display. The procedure uses SHOW ENTRY as well as
F$GETQUI("DISPLAY_ENTRY", ...).

P1 can be DEL, SET or SHOW (DEL and SET are obviously potentially VERY
dangerous!).

P2 can be a list of (range(s) of) entry numbers, a single entry number (range)
or the expression Q[UEUE]=queue_name. Yes, the expression
"Q=SYS$BATCH,NODE$BATCH" is allowed (list does not require parens - F$ELEMENT()
is used looking for comma-separated items to the right of the "=" before the
next whitespace), and wild-cards in queue names are supported. (!CAUTION!)

P3 can be /LOG (for DEL or SET), /FULL for SHOW or any qualifier supported by
the matching SET ENTRY, SHOW ENTRY to DELETE/ENTRY command (though some may not
make sense for this usage).

Ideally, I'd like to see this functionality added to:

SHOW
ENTRY
/EXTENDED
/QUEUE=queue_name[/BY_JOB_STATUS=value]
/[NO]CTRLT (default should be CTRLT for Executing jobs)
.
.
.

SET
ENTRY
/QUEUE=queue_name[/BY_JOB_STATUS=value]
.
.
.

DELETE/ENTRY=[([entry_number[,entry_number[,...]]]|QUEUE={queue_name[,queue_name[,...]]])]

....with support for ranges of entry numbers (SET, SHOW and DELETE already
support lists of specific entry numbers) and selection of entries by queue name
and job status.

Also, how 'bout letting SET ENTRY/DELETE duplicate the function of DELETE/ENTRY?

Nothing version-specific here; so, back-porting is reasonably expectable. ;-)

....oh, yeah: count my hand raised, also, for RENAME/QUEUE. Bloody pain doing it
the other way!

--
David J Dachtera
dba DJE Systems
http://www.djesys.com/

Unofficial OpenVMS Marketing Home Page
http://www.djesys.com/vms/market/

Unofficial Affordable OpenVMS Home Page:
http://www.djesys.com/vms/soho/

Unofficial OpenVMS-IA32 Home Page:
http://www.djesys.com/vms/ia32/

Unofficial OpenVMS Hobbyist Support Page:
http://www.djesys.com/vms/support/
.



Relevant Pages

  • Re: Deleting alias files (blocks deleted)
    ... >>> Fine example AEF. ... >>> not through an direct attribute of the entry. ... The fiel name in teh header is ... > Unofficial OpenVMS Hobbyist Support Page: ...
    (comp.os.vms)
  • Re: [OpenVMS Alpha V7.3-2] Batch/Print Job Numbering
    ... He posits that entry number re-use is hindering ... A job SUBMITted /HOLD once a minute for a day would yield 1440 entry ... Unofficial Affordable OpenVMS Home Page: ... Unofficial OpenVMS Hobbyist Support Page: ...
    (comp.os.vms)
  • Re: Deleting alias files (blocks deleted)
    ... >>DELETE will remove the directory entry and $DELETE the file. ... back-link FID does not match of the FID of the directory where the entry ... Unofficial OpenVMS Hobbyist Support Page: ... Unofficial Affordable OpenVMS Home Page: ...
    (comp.os.vms)
  • Re: Serious Bug using Office 2000 with Project Server 2003 and WSS
    ... entry in the registry that somehow does not know who I am logged in as ... Here is the location of the entry: ... David ... the users Office Profile gets corrupted and each web ...
    (microsoft.public.project.pro_and_server)
  • Re: ENTER button
    ... with default "Down" the cursor normall goes straight ... not to first column of next row.">> ... If you'll re-read my post David, you'll see that I stated, just as the OP ... described his use of, when you tab after data entry, for however many ...
    (microsoft.public.excel.misc)