1. Last Newbie File handling question!!

Well, it seems that my posted question (and unposted question) was
answered - Great!!
Now just one more - because I have to interface with various platforms
-- Mainframe/Unix/Client server - -and applications, Sometimes a file is
delivered as having a CR and sometimes it's streamed.
What I want to do is be able to translate a line (CR) type file to a
sequential (no CR) and vice/versa.

My reading of the manual tells me that the way to handle the sequential
file is either to read/write it character by character, or block by
block (sorry, I don't have the manual in front of me right now, and
being a newbie I cannot remember the command/syntax - but it's in the
refman).
I would also strip the CR off the sequence containing the line type
record if I was writing it to    a sequential file.

I guess that my question is -- Are there other, more efficient ways of
doing this that I haven't come across yet??

Thanks in advance, and apologies for the simple nature of the question.

Dave E.
dedwards at technologist.com

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu