PowerHouse and POSIX on the HPe3000

Pickering, John (NORBORD) PICKERIJ@norbord.com
Thu, 11 Jan 2001 16:13:50 -0500


Robert -- getting kind of late in your day isn't it??

A few quickie tests (test 1, 2 below) with Posix files produces a big "Huh?"
from Quiz. My guess is that the PH components know nothing of Posix files. 

But it does appear that Quiz honours symbolic links as test 3 below
demonstrates. But symbolic links, while a Posix concept, are implemented in
MPE via the FOPEN intrinsic which one assumes PH uses to open the source
file. When FOPEN finds a symbolic link it follows it to the "real" file --
Quiz probably has no idea what is happening behind its back.

Regards,
JWP

Test 1

/lj ./aa.txt
    1     acc provinces              
    2     cho tbl-id "PROV"
    3     rep province description
    4     go
/quiz

Q U I Z   (PowerHouse  8.19.C4)
Copyright 1999 COGNOS INCORPORATED
Norbord Industries Inc.

> use ./aa.txt
      ^
*E* Expected:  <filename>
> 

Test 2

/lj /NORBORD/JWP/aa.txt
    1     acc provinces
    2     cho tbl-id "PROV"
    3     rep province description
    4     go
/quiz

Q U I Z   (PowerHouse  8.19.C4)
Copyright 1999 COGNOS INCORPORATED
Norbord Industries Inc.

> use /NORBORD/JWP/aa.txt
      ^
*E* Expected:  <filename>
> 


Test 3

/newlink qztest,./aa.txt
/lj qztest
    1     acc provinces                                               
    2     cho tbl-id "PROV"
    3     rep province description
    4     go
/quiz

Q U I Z   (PowerHouse  8.19.C4)
Copyright 1999 COGNOS INCORPORATED
Norbord Industries Inc.

> use qztest
> acc provinces
> cho tbl-id "PROV"
> rep province description
> go



01/01/11 Norbord Industries Inc. PAGE   1

  Prov  Description


   AB   ALBERTA
   AK   ALASKA
   AL   ALABAMA
   AR   ARKANSAS
   AZ   ARIZONA
   BC   BRITISH COLUMBIA

> -----Original Message-----
> From:	Robert Mills [SMTP:robert.mills@windsong-services.co.uk]
> Sent:	Thursday, January 11, 2001 8:08 AM
> To:	'PowerHouse List'
> Subject:	PowerHouse and POSIX on the HPe3000
> 
> Anybody know if PH819C5 is aware of Posix on MPE/iX 6.0?
> 
> By aware I mean:
> 
> 1. Can I put my source and compiled files in the Posix domain?
> 2. Can I use the Un*x type filespec? eg. /[directory/]...filename.suffix
> 3. Will it recognise the symbolic links created by the :NEWLINK command?
> 
> Here's hoping.
> 
> regards,
> 
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> |Robert W.Mills (Systems Development Manager) |
> |Windsong Services, St. Mary Cray, ENGLAND    |
> |Tel  : +44 (0)1689 870622 x3005              |
> |Fax  : +44 (0)1689 899026                    |
> |Email: Robert.Mills@windsong-services.co.uk  |
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> 
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.