Questions tagged [3270]

The 3270 protocol was designed in the 1970s to communicate between "green screen" terminals and IBM mainframes. 3270 terminals are no longer manufactured; the protocol lives on in emulator software used to access IBM mainframe services that do not yet have web (or other) interfaces.

The 3270 protocol was designed in the 1970s to communicate between "green screen" terminals and IBM mainframes. 3270 terminals are no longer manufactured; the protocol lives on in emulator software used to access IBM mainframe services that do not yet have web (or other) interfaces.

It is possible to "screen scrape" a 3270 emulator. This technique originated in the 1980s with the advent of such emulators. At that time, the mechanism used was to send commands to the emulator via the High Level Language Application Programming Interface (HLLAPI). HLLAPI was later enhanced, and one began to hear of EHLLAPI.

In either case, the intent was (and still is) to make use of existing mainframe applications, but to create a more friendly user interface. In some cases, a mashup of multiple applications can be developed.

Such applications come with a price: they are wedded to the 3270 interface. If the interface changes, the screen scraping application must change.

Today, there are more modern mechanisms available to interface with mainframe applications - provided the owners of those applications are willing to have them upgraded to use the mechanisms. If not, sometimes screen scraping is the only viable option.

36 questions
8
votes
5 answers

How to 3270 screen-scrape from a Linux-based web app

I have a LAMP (PHP) web app which need to interface with programs on an IBM 3270 mainframe (via Microsoft SNA Server). One solution I'm looking at is screen-scraping via 3270. (I'm integrating the present with the past!) Many years ago, I wrote C…
Peter Howe
  • 1,353
  • 2
  • 15
  • 28
7
votes
1 answer

Public 3270 server

I know it's not exactly the right place for such a question, but I've seen similar questions to this here, and I don't know any other place where I could ask this, so sorry in advance. Do you know where I could find a public 3270 server ? I'm…
Virus721
  • 7,156
  • 8
  • 49
  • 110
5
votes
5 answers

Implement 3270 protocol in Java

I've got a big problem with IBM HACL for accessing a server which speaks 3270 protocol. The library keeps crashing, and our JNI wrapper is actually a bug-fixing layer for the poorly-implemented and poorly-documented library (and I suspect we have…
G B
  • 2,853
  • 2
  • 26
  • 47
4
votes
8 answers

Is there some way to access Sql server from z/OS mainframe and have the result in IBM 3270 terminal emulation?

Is there any way (possibly cheap) to access Microsoft Sql Server from z/OS mainframe (COBOL programs) and have the result in 3270 terminal emulation? I'm aware that 3270 is a pretty old system, but in bank CED, is still very popular.
systempuntoout
  • 65,753
  • 43
  • 162
  • 239
3
votes
1 answer

Connecting to CICS from Windows Desktop Application

Now there is a new requirement. I have got some adhoc work at hand. The requirement is to connect a desktop based Java application to read data from Mainframe generated by some CICS Transaction. [Basically I have to read all the records being…
Nitin Srivastava
  • 470
  • 1
  • 7
  • 18
3
votes
2 answers

Parsing IBM 3270 data in java

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…
James
  • 1,620
  • 4
  • 28
  • 49
2
votes
2 answers

Good 3270 Emulator (.NET)

Can anyone indicate a good 3270 emulator (which can login, scrape screen, find text, send keys etc. in background) for .NET (win and web). Something very similar to http://www.zephyrcorp.com/legacy-integration/index.htm (apparently zephyr costs like…
CodingSlayer
  • 882
  • 1
  • 7
  • 14
2
votes
1 answer

How do I copy code from my computer into x3270 emulator?

I'm using x3270 on Ubuntu 16.04. The zOS does not have a good editor and having to write a lot of code and fixing it is a pain. I want to write code on my computer and copy it into x3270 window. Is there a way to do this?
knt5784
  • 99
  • 1
  • 2
  • 11
2
votes
2 answers

Can one use Fiddler to monitor a PCOMM session, or any 3270 Emulator session?

Can one use Fiddler to monitor a Mainframe PCOMM session? Or a Mainframe session with any 3270 Emulator software? If so, how? I have looked at the Fiddler documentation, and searched, and it is not mentioned. The ultimate goal is to connect to…
Baruch Atta
  • 401
  • 1
  • 4
  • 14
2
votes
2 answers

Which map is currently being displayed?

I am just getting into mainframe development so excuse any ignorance, but is there a way to identify which map is being displayed or was last sent to the terminal? For example, I have MAP1 & MAP2 in mapset MAPS. The maps would alternate by the press…
Nathaniel Brown
  • 51
  • 1
  • 3
  • 11
1
vote
1 answer

How to insert a character when editing a file using ISPF Edit via TN3270?

The editor in mvs3.8 TK4- is very different from the editors that I have used in Windows and Linux. I am trying to figure out how to insert a character between two characters in the editor. For example: //HERC01C JOB (COBOL), If i want to insert an…
schizoid_man
  • 113
  • 4
1
vote
1 answer

S3270 how to send a function key (iE PF3)

If i wanted to write like "hello" at position row 20 col 4 I would do it like that: MoveCursor(20,4) Key(h) Key(e) Key(l) Key(l) Key(o) Enter [if i wanted to submit it. "Enter" also works] works fine. But how do i send a function key? I tried…
1
vote
2 answers

PF Keys for Host On-Demand on OS X

I'm running IBM Host On-Demand on my Mac. I haven't found a way to enter PF Keys other than through clicking on the virtual keyboard in the application. Other 3270 emulators such as Brown University tn3270 allow for command+number key for PF key…
1
vote
2 answers

autECLFieldList.count returns 1 and not the number of fields on the screen

The AutEclFieldList.Count returns a 1 instead of the number of fields on the screen. This is happening in a collegues session. In my own session i receive the number 122 which seems to be correct on the total of labels and datafields.…
AnnPr
  • 11
  • 2
1
vote
1 answer

s3270 - Write text to session, not inside an input field

I have an interesting problem interfacing to an IBM mainframe based CICS application. I can login and write to input fields successfully using s3270 and x3270if. However, the CICS system I am working with expects certain commands to simply be…
kaigoh
  • 500
  • 3
  • 11
1
2 3