HP3000-L Archives

September 1995, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Richard Trapp RAT <[log in to unmask]>
Reply To:
Richard Trapp RAT <[log in to unmask]>
Date:
Thu, 28 Sep 1995 13:27:00 PDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (63 lines)
David A. Warner asks about satisfying COBOL reads:
 
>What is the proper data structure that the COBOL read is looking for ?
(i.e.
> STX data ETX CR DC1)
>What ascii character will satisfy the COBOL read when the read buffer is
not
>full? (i.e. DC1 DC3)
>I can use with fixed or variable length file structures for the COBOL read.
 
COBOL's read usually waits on byte count and can be terminated by a Carriage
Return (CR ascii 13 Decimal).
 
Regarding  your example (STX data ETX CR DC1), you might
try (STX data CR ETX DC1).     I'm not a hardware person, but if the data is
not
forwarded by the port concentrator until it sees the ETX, it isn't sending
the CR
and this could cause the read to remain unsatisfied.
 
Rich
______________________________________________________________________
________ Dynamic Information Systems Corp.   |
\!DISC / Rich Trapp                          | My opinions are my own.
 \    /  OMNIDEX Product Manager - IMAGE/SQL | With any luck they're
  \  /   Phone : 303 444-4000                | correct ;-)
   \/    E-mail: [log in to unmask]                |
 ----------------------------------------------------------------------
 ----------
>From: David A. Warner
>To: Multiple recipients of list HP3000-L
>Subject: Hardware Communications questions
>Date: Thursday, September 28, 1995 11:25
>
>I am working on a project where I need to have a HP3000 Series GX & 70
>communicate with an Intermec 9161 Port Concentrator. I can configure the
9161
>to send back the proper signals to the HP3000 but the configurations that I
>am using are not satisfying the COBOL read requirements. I can transmit
data
>to the 9161 and any device beyond the 9161 concentrator can receive the
data.
>The port where the 9161 is connected is a term type 10.
>
>Question:
>
>What is the proper data structure that the COBOL read is looking for ?
(i.e.
> STX data ETX CR DC1)
>What ascii character will satisfy the COBOL read when the read buffer is
not
>full? (i.e. DC1 DC3)
>I can use with fixed or variable length file structures for the COBOL read.
>
>Thanks in advance!
>
>========================================================================
>David A. Warner, Partner
>Warner Electronic Systems Team
>E-Mail:  [log in to unmask]
>Voice:  (707) 528-9378
>

ATOM RSS1 RSS2