HP3000-L Archives

August 2008, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Brian Donaldson <[log in to unmask]>
Reply To:
Date:
Mon, 4 Aug 2008 11:42:27 EDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
 
In a message dated 8/3/2008 11:15:40 P.M. Pacific Daylight Time,  
[log in to unmask] writes:

use  HPFopen to open input spoolfiles with the following options:

2: Formal  File Designator %Innn.IN.HPSPOOL%
3: Domain: 1 (permanent)
9: Dissallow  file: 1
29: Priv-Level: 2

works perfectly since many years. If you  work with input spoolfile 



Nice try but it won't work for me. My problem isn't the FOPEN, it's the  
FREAD that isn't reading the
records... The file is being FOPENed ok but the FREAD is failing.
 
However, as my program is riddled with calls to FOPEN, mixing and matching  
is a *big* no-no. Why?
Because, as I discovered many eons ago, FOPEN and HPFOPEN can return the  
SAME file number on
different files!! OUCH!

I don't know if HP ever fixed this problem, but I doubt it and if it hasn't  
been fixed, then I doubt they ever will
fix it now.........
 
Life in the fast lane......
 
Brian.



**************Looking for a car that's sporty, fun and fits in your budget? 
Read reviews on AOL Autos.      
(http://autos.aol.com/cars-BMW-128-2008/expert-review?ncid=aolaut00050000000017 )

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2