Re: Spam:[U2] RE: U2 Users Digest V1 #1538
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 TESTAACED 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: TESTAACED 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.ARRAY10 0005: CRT S.ARRAY20 0006: END 0007: STATUS S.ARRAY FROM CLNT.STATS.TEST.FILE THEN 0008: CRT S.ARRAY10 0009: CRT S.ARRAY20 0010: END 0011: RETURN 0012:END Bottom at line 12. and here are the results: TESTAACTEST 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/
[U2] RE: U2 Users Digest V1 #1538
Hi Everyone. On help with file pointers thanks to everyone who has pitched in. So far I'm no joy. FILEINFO doesn't return just a hard path. STATUS doesn't seem to return anything. Ls -I might do the trick on UNIX but I need a Windows solution, too (and first). I think I can do the peel back/parsing thing. Was hoping not to have to do that. Anybody got anything else? Susan --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] RE: U2 Users Digest V1 #1538
Hi Susan, When in Universe on windows, you can view the voc entry for UFD. Attribute three (3) will have the path. Of course you will need to strip out the DICT filename or extract it via FIELD(vocRec3,'\',1,COUNT(vocRec3,'\')). CT VOC UFD UFD 0001 F 0002 . 0003 C:\IBM\UV\D_UFD Regards, Jeff Marcos -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Susan Joslyn Sent: Tuesday, 13 March 2007 10:21 AM To: u2-users@listserver.u2ug.org Subject: [U2] RE: U2 Users Digest V1 #1538 Hi Everyone. On help with file pointers thanks to everyone who has pitched in. So far I'm no joy. FILEINFO doesn't return just a hard path. STATUS doesn't seem to return anything. Ls -I might do the trick on UNIX but I need a Windows solution, too (and first). I think I can do the peel back/parsing thing. Was hoping not to have to do that. Anybody got anything else? Susan --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/