Article View: comp.lang.asm370
Article #104Reading more than 133 bytes
From: Michael Hanrahan
Date: Mon, 31 Jul 1989 21:03
Date: Mon, 31 Jul 1989 21:03
29 lines
1664 bytes
1664 bytes
Hi,
How does one read more than 133 bytes into an assembler program?
I've written a program which is intended to read a file which has
been chopped up into small "packets" (sorta like Kermit) but if
I send it a packet with more than 135 bytes in it, things get truncated.
Here's the assembler code which does the read...
WRTERM 'SEND PACKET>' prompt for next packet
WAITT make sure I/O is done
RDTERM PACKET,EDIT=PHYS,LENGTH=1024 read the packet
PACKET is defined as
PACKET DS CL1024 packet buffer of 1k
Obviously, the reason I want to use a packet size larger than 133 is
to reduce the number of system interactions and speed up the file
transfer. I know that typical CMS programs (written in Rexx, C, or
whatever), can't read more than 133 bytes from the console but there
is obviously some low level way around this because programs like
Kermit can send a packet with more than 1024 bytes each.
Does anyone have any ideas? Thanks in advance...
Michael Hanrahan
Educational Computing Services
Washington University
Technical Details
Message-ID:
<8907312321.AA24646@rice.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!ucbvax!RICE.EDU!C09615MH%WUVMDShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!ucbvax!RICE.EDU!C09615MH%WUVMD From: C09615MH%WUVMD@RICE.EDU (Michael Hanrahan) Newsgroups: comp.lang.asm370 Subject: Reading more than 133 bytes Message-ID: <8907312321.AA24646@rice.edu> Date: 31 Jul 89 21:03:46 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List <ASM370%UCF1VM@rice.edu> Distribution: inet Organization: The Internet Lines: 29