|
From: Simon Coulter <shc@flybynight.com.au> > According to the MI syntax described in the QPRCRTPG section of the API > manual: > "Data objects declared with DIR may also have an explicit POS value. The > object is defined on the appropriate space object and uses the specified > POS value. However, the next byte count is changed only if the POS value > causes the count to increase." > ~~~~~~~~~ <= This is the important statement. > Simon, thanks for spotting that all-important statement. So, POS cannot be used as an easy way of simulating the COBOL "REDEFINES" clause. Too bad, but then MI was never meant as programming language for humans. :-)
As an Amazon Associate we earn from qualifying purchases.
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.