HP3000-L Archives

May 2002, 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:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Sun, 5 May 2002 17:56:19 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
Re:
>   I am  using following in COBOL code
>     call intrinsic "FOPEN"
>          WS-FILENAME
>          %30105 %2300
>          WS-SOME-FILE-POINTER.
>
>     call instrinsic "FWRITE" ...
>
>  I am facing some error at execution time.
>
> Issue 1:  My build is giving me  a VAM kind of file.
>           I am looking for a FAM.
>

You're getting a variable record file because you asked
for a variable record file :)

Foptions %30105 and aoption %2300 mean:

Current file options:
   foptions (%030105) = MSG,  V, ascii, old,perm
   aoptions (%002300) = gmulti, shr, IN


However, note that specifygin "V" (or "F", for that matter)
doesn't make a lot of sense when opening an *old* file, but
only when opening a *new* file.

Our free "FILEOPEN" utility at
http://www.allegro.com/software/hp3000/allegro.html
will decode foptions and aoptions for you ...
and encode them as well.

FILEOPEN comes both as a procedure you can call from QEDIT or
EDITOR, and as a standalone program.
Stan Sieler                                           [log in to unmask]
www.allegro.com/sieler/wanted/index.html          www.allegro.com/sieler

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

ATOM RSS1 RSS2