Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 922553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:03:02+00:00 2026-05-15T19:03:02+00:00

I was wondering if anyone had experience retrieving data with the 3270 protocol. My

  • 0

I was wondering if anyone had experience retrieving data with the 3270 protocol. My understanding so far is:

Connection

I need to connect to an SNA server using telnet, issue a command and then some data will be returned. I’m not sure how this connection is made since I’ve read that a standard telnet connection won’t work. I’ve also read that IBM have a library to help but not got as far as finding out any more about it.

Parsing

I had assumed that the data being returned would be a string of 1920 characters since the 3278 screen was 80×24 chars. I would simply need to parse these chars into the appropriate fields. The more I read about the 3270 protcol the less this seems to be the case – I read in the documentation provided with a trial of the Jagacy 3270 Java library that attributes were marked in the protocol with the char ‘A’ before the attribute and my understanding is that there are more chars denoting other factors such as whether fields are editable.

I’m reasonably sure my thinking has been too simplistic. Take an example like a screen containing a list of items – pressing a special key on one of the 24 visible rows drills down into more detailed information regarding that row.

Also it’s been suggested to me that print commands can be issued. This has some positive implications – if the format of the string returned is not 1920 since it contains these characters such as ‘A’ denoting how users interact with the terminal, printing would eradicate these. Also it would stop having to page through lots of data. The flip side is I wouldn’t know how to retrieve the data from the print command back to Java.

So..

I currently don’t have access to the SNA server but have some screen shots of what the terminal will look like once I get a connection and was therefore going to start work on parsing. With so many assumptions and not a lot of idea on what the data will look like I feel really stumped. Does anyone have any knowledge of these systems that might help me back on track?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T19:03:03+00:00Added an answer on May 15, 2026 at 7:03 pm

    You’ve picked a ripper of a problem there. 3270 is a very complex protocol indeed. I wouldn’t bother about trying to implement it, it’s a fool’s errand, and I’m speaking from painful personal experience. Try to find a TN3270 (Telnet 3270) client API.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been doing server-side development for several years, and have not had much (read
I need to run .Net code in Sql and I'm trying to decide between
I’m currently trying to implement webfonts on the site I build, I want to
Hello and thank you in advance! I am setting up a site and it
I've got a for loop I want to parallelize with something like PLINQ's Parallel.ForEach().
I know this is a pretty specific question but I managed to get some
I have an application that I will soon be doing a significant rewrite of
I am writing an HTML / JS application and plan to submit to the
Recently, I came across this one stone kills multiple birds framework - http://phonegap.com/ .
I am new to Java, and am working on a Public Transit Java app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.