HP3000-L Archives

February 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:
Francois Desrochers <[log in to unmask]>
Reply To:
Francois Desrochers <[log in to unmask]>
Date:
Wed, 6 Feb 2008 15:39:00 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
Jim,
 
I tend to agree what Dave Waroff wrote in a seperate posting.
 
According to the Cobol Reference manual, file status 39 indicates a fixed file attribute conflict. Based on the name/extension, this looks like a bytestream file. You might get this to work by fine-tuning the Cobol definition and turn into a variable-length file ex. RECORD CONTAINS 1 to 1000 CHARACTERS.
 
It's tough to be more specific not knowing exactly what the file contains and how the records are really arranged.
 
Not sure why you are getting file status 14 when the name starts with a dot but it's definitely not the right syntax if we assume the file is called FILE.CSV in the JIM group of the JKP account.
 
HTH
François

________________________________

From: HP-3000 Systems Discussion on behalf of Jim Phillips
Sent: Wed 2/6/2008 3:52 PM
To: [log in to unmask]
Subject: [HP3000-L] COBOL and HFS Files



I am attempting to open a file that exists in the HFS space with a COBOL program that I am writing.  When I use "/JKP/JIM/FILE.CSV" I get and error #39 returned from the COBOL OPEN statement.  When I change the file name to "./JKP/JIM/FILE.CSV" then I get error #14.
  
  Should I just give up and use HPFOPEN?  Or is there a way to make this work with COBOL verbs?
  
  Jim

      
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html * 
 
Remarque - Cette transmission est pour l'usage exclusif du ou des destinataires indiqués et peut contenir de l'information confidentielle ou protégée. Si vous n'êtes pas le destinataire indiqué, veuillez supprimer cette transmission ainsi que tout fichier joint et aviser l'expéditeur par courriel immédiatement. Toute révision, utilisation, divulgation ou distribution non autorisée est interdite.
 
 
Notice: This transmission is for the sole use of the intended recipient(s) and may contain information that is confidential and/or privileged.  If you are not the intended recipient, please delete this transmission and any attachments and notify the sender by return email immediately.  Any unauthorized review, use, disclosure or distribution is prohibited.

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

ATOM RSS1 RSS2