× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Oh for the simpler times! OCL sorts that created addrouts. The wonder of
it's day. :)

The rpg seemed comparatively easy compared to the OCL to CL.


------------------------------

message: 3
date: Tue, 05 Nov 2013 14:00:51 -0600
from: Booth Martin <booth@xxxxxxxxxxxx>
subject: Re: Questions about S/36 files

The file issue is the minor issue. Its fairly straight forward and in a
few hours you will have it sorted out in your mind.

That is not where you will get your frustrations. The frustrations will
come from the hardware restraints that programmers had to works with 30
years ago. Their work-arounds and shortcuts worked, but you will regret
having to deal with them. The MOVE opcode can do things those
programmers needed done, but it will make you gasp, defining a numeric
field with varying lengths so it will fit on a printed page will mystify
you, defining a field as alpha or numeric, depending how you wish to use
it in your program will make you cringe. Seeing whole programs written,
and temporary files created, sorted, used, and destroyed just to do some
small piece of a report will trouble you. And, we haven't even begun to
discuss the hoops created by CL program manipulation of files.

In short, I have done dozens of these and they always start out looking
like _this_ one will be different. They never are, Programmers back
then did the best they could with what was available, but since then a
whole lot more has become available. I will offer this hint: if you are
going to do it, start with the smallest, least significant application
first. Get your feet wet, and get a success early on, so you will have
a better basis to decide whether or not to continue. My estimate is
that, once you understand what is happening in an application, you can
probably write the same thing, new, in 20% of the time it will take to
update the existing application.

But yes, the files can be keyed. The keys are contiguous and added to
the end of the record, even if they are identical to data fields in the
original record, There is also another feature called the ADDROUT file
which is a separate file made up of only addresses. A data file can
have any number of these detached address files, allowing an early
version of indexed files.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.