Bill,

What exactly are you trying to achieve with the unix file?

On UniVerse the "openpath" command will open a unix path as a database file,
from which you then read items as normal.
You either need to change to use the "openseq" command so you can
sequentially read the contents of the unix item, or "openpath
'/u2/SOFTWARE/BP'" to open the unix path as a file and then read the
"BASELINE.R0" item.


Gregor

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Brutzman, Bill
Sent: Thursday, 21 May 2009 9:20 AM
To: [email protected]
Subject: RE: [U2] Opening UniBasic Source Code - Tab Key

1. Nope... I did not copy them; I would rather not have to copy them.

2. So far I have not have to do a fnuxi. 

3. What does a Tab key come over as?  I have a little method to buzz out
the blank spaces.  I would like to use this    
   method on the pesky Tabs.

--Bill



-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Symeon Breen
Sent: Wednesday, May 20, 2009 5:34 PM
To: [email protected]
Subject: RE: [U2] Opening UniBasic Source Code Into A UniBasic

Have you copied these programs over from another host - esp another host
with a different endian processor ?   you may need to do a fnuxi or such
thing on the code.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Brutzman, Bill
Sent: 20 May 2009 21:35
To: [email protected]
Subject: [U2] Opening UniBasic Source Code Into A UniBasic

I am writing on how to open a Unix file of UniBasic source code.

When I try a 


  openpath '/u2/SOFTWARE/BP/BASELINE.R0'  to  F.This  then
                                                               crt 'OK'
                                                      end else
        
crt 'Error'
                                                      end

*-----------------------------------------------------------------------
-------
The.End:

  crt status()
  crt
  crt ' [<] ' :

  input Ans

  crt @(-1)

  END 

*-----------------------------------------------------------------------
---------

02 RUN BP FILESCAN.R0
Error
-7

 [<]

Where -7 is InValid file revision or wrong byte-ordering for the
platform.

The platform is UniVerse v10.1 on HP-Ux 11i v2.

Suggestions would be appreciated.

--Bill
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-- 
Message  protected by DealerGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.pentanasolutions.com

Click here to report this message as spam:
https://login.mailguard.com.au/report/1xv5n3xAdt/24cAapgssVfLPUFP8fUeWL/0



Please consider the environment before printing this email
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to