[Info-vax] Cobol: Faster flushing of buffer to sequential file
Hein RMS van den Heuvel
heinvandenheuvel at gmail.com
Sat Feb 5 10:42:16 EST 2011
On Feb 5, 9:22 am, VAXman- @SendSpamHere.ORG wrote:
> In article <941ea11d-36c0-4110-9d8f-6d3b2d6fc... at x1g2000yqb.googlegroups.com>, Hein RMS van den Heuvel <heinvandenheu... at gmail.com> writes:
> >Hein
>
> Is the quoted-pukeable crap due to posting through Google Groups?
Probably. Sorry.
Did you _have_ to annotate it all though?
Is that an edit macro you used?
One line would have equally convinced me.
Of course it looks just fine to me, writing and reading it back, so
thanks for the feedback as I did not know.
I use plain text whenever and wherever I see that option and do not
critically need a highlight.
> Or, due to what you use to post there?
I used Google Chrome, but I doubt the browser matters.
> > $CREATE fab=3Doutfab
>
> --------------------^^^> blbc r0,error
> Why not just $CREATE and CIF?
Yeah that' be fine also. Better even.
It was just a cut & paste job.
> > cmpl r0,#RMS$_EOF
> > beql succes
> >error: ret
> >succes:
> > movl #1, r0
> > ret
> > .end start
I'd first redo the end. to fall through on the anticipate status and
dropt the succes label + ret
cmpl r0,#RMS$_EOF
bneq error
movl #1, r0
error: ret
It's just a simple example of RMS, in a language that everyone has.
The (better) alternative would have been a simple DCL script as
indicated also.
Cheers,
Hein
More information about the Info-vax
mailing list