HP3000-L Archives

July 2004, 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:
Duane Percox <[log in to unmask]>
Reply To:
Duane Percox <[log in to unmask]>
Date:
Fri, 2 Jul 2004 09:34:42 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
Brian wrote:
>To all who replied, thank you.
>
>Yes, I tried the FOPEN, FWRITE, FCLOSE scenario.
>
>In my Cobol mainline I FOPENed the file, gave me the file
>number which I passed to the Pascal sub to do the FWRITE. The
>FWRITE failed with CC > zeroes (CCG).
>
>I tried to write an 80 byte char field to this file and the
>FWRITE failed.
>
>Couldn't figure out why as the opened file is larger than 80 bytes.
>
>[snipped]

>I did a LISTFTEMP,2 after the program ran to see how many
>records were written to the file and as you can see none were
>written at all: listftemp,2
>
>TEMPORARY FILES FOR MGR.E3K,PUB
>
>ACCOUNT=  E3K         GROUP=  PUB
>
>FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----
>                  SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX
>
>PASC001          7060B  FA           0          0   1    0  0  * (TEMP)

If you give your file more LIMIT than '0' you can probably write records
into it :-)

Notice the text of the CCG in the Intrinsic Manual...that gives you
your clue.

duane

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

ATOM RSS1 RSS2