Subject: | |
From: | |
Reply To: | |
Date: | Fri, 2 Jul 2004 09:34:42 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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 *
|
|
|