The STATUS statements returns a dynamic array of various values. here is an
example of it's use. The two file pointers are:
(04) ED VOC CLNT.STATS.TEST
3 lines long.
----: P
0001: Q
0002: AAC.ARCH
0003: CLNT.STATS.HIST.0701
Bottom at line 3.
and
TESTAAC>ED VOC CLNT.STATS.HIST.0701
3 lines long.
----: P
0001: F
0002: /data1/AAC.ARCH/CLNT.STATS.HIST.0701
0003: D_CLNT.STATS
Bottom at line 3.
The little program I am using is:
TESTAAC>ED JPB.BP TEST
12 lines long.
----: P
0001: OPEN 'CLNT.STATS.HIST.0701' TO CLNT.STATS.HIST.FILE ELSE STOP
0002: OPEN 'CLNT.STATS.TEST' TO CLNT.STATS.TEST.FILE ELSE STOP
0003: STATUS S.ARRAY FROM CLNT.STATS.HIST.FILE THEN
0004: CRT S.ARRAY<10>
0005: CRT S.ARRAY<20>
0006: END
0007: STATUS S.ARRAY FROM CLNT.STATS.TEST.FILE THEN
0008: CRT S.ARRAY<10>
0009: CRT S.ARRAY<20>
0010: END
0011: RETURN
0012: END
Bottom at line 12.
and here are the results:
TESTAAC>TEST
159107
/data1/AAC.ARCH/CLNT.STATS.HIST.0701
159107
/data1/AAC.ARCH/CLNT.STATS.HIST.0701
Field 10 is the inode number field 20 is the actual path even though one of
the voc pointers is a q-pointer it still returns the entire path. This was
done on a Solaris system running UV 10.1.12.
----- Original Message -----
From: "Susan Joslyn" <[EMAIL PROTECTED]>
To: <u2-users@listserver.u2ug.org>
Sent: Monday, March 12, 2007 5:21 PM
Subject: Spam:[U2] RE: U2 Users Digest V1 #1538
STATUS doesn't seem to return anything.
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/