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.

39 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,403
  • 2
  • 16
  • 30
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
  • 8,061
  • 12
  • 67
  • 123
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,951
  • 2
  • 28
  • 50
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
  • 71,966
  • 47
  • 171
  • 241
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
  • 480
  • 1
  • 7
  • 19
3
votes
0 answers

Do any monospace Unicode fonts include the IBM PUA characters for EBCDIC code page 310?

Do any (preferably, open-source) monospace Unicode fonts include the IBM Private Use Area (PUA) characters for EBCDIC code page 310? For example: U+F892; EBCDIC code page 310 byte value X'81', GCGID SF630000, "Double Vertical, Bar Graphic". (Look…
Graham Hannington
  • 1,749
  • 16
  • 18
3
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
  • 129
  • 1
  • 2
  • 16
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,720
  • 5
  • 29
  • 50
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
  • 883
  • 1
  • 7
  • 14
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
  • 421
  • 1
  • 5
  • 16
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
  • 61
  • 2
  • 4
  • 11
1
vote
0 answers

py3270.CommandError: No input field

Logging in and navigating perfectly fine through the Mainframe. However, after I login, I proceed to access a new page of our mainframe, this page is just completely blank (it should be blank and always has been). I proceed to input "safe", which is…
1
vote
0 answers

x3270 - automation script to login, send command and save into text file

i'm having difficult to write a script to access by using the x3270 emulator. the machine is linux redhat. I'd love to use php, do you have some example? i have tried this, it opens the windows of x3270 but it seems stuck, i don't get how can i…
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
2 3