Subject: | |
From: | |
Reply To: | |
Date: | Thu, 26 Mar 1998 19:53:45 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Re:
SORT is in CM
Yes...the *USER INTERFACE* is in CM. Sort calls the NM HPSORT routines.
In addition to Gavin's unlikely (but probably possible) scenario,
there's one other situation where staying in CM may be better than
switching to NM: heavy use of a CM-managed file (RIO, CIR, or KSAM V file)
(BTW, my copy of SORT has been OCT'd, but it's still CM)
:run sort.pub.sys
in catalog.pub.sys
out foo
key 1,20
end
<well-timed <BREAK> key>
:showproc
QPRI CPUTIME STATE JOBNUM PIN (PROGRAM) STEP
C152 0:02.510 WAIT S29 89 :SORT
C155 0:00.088 READY S29 99 (SORT.PUB.SYS)
:debug
$4d ($59) nmdebug > pin #99
%76 (%143) cmdebug > nm i
$3f ($63) nmdebug > tr,i,d
PC=a.00ed3bcc HPSORTINPUT
NM* 0) SP=41638490 RP=a.00ed3998 HPSORTINIT+$52bc
NM 1) SP=41638490 RP=a.00000000
(end of NM stack)
$40 ($63) nmdebug > cm
%101 (%143) cmdebug > tr
SYS % 230.404 SWITCH'TO'NM'+%4 (mITroC CCG) SUSER1
* 0) SYS % 230.404 SWITCH'TO'NM'+%4 (mITroC CCG) SUSER1
1) SYS % 252.6451 SORTINIT'SW+%445 (mITroC CCG) FSCEUSER
2) SYS % 226.6673 SORTINIT+%3174 (mITroc CCL) SORTLIB
3) PROG % 0.10362 SORTMAIN+%10362 (mITroc CCL) SORT
4) PROG % 0.11516 OB'+%254 (mITroc CCG) SORT
5) SYS % 166.0 ?TERMINATE (MItroc CCG) CMSWITCH
%102 (%143) cmdebug > c
:
:resume
--
Stan Sieler [log in to unmask]
http://www.allegro.com/sieler.html
|
|
|