I need a 3270 terminal software which should connect to an IBM mainframe.

Certain data fields on the 3270 screen should then be grabbed/fetched into e.g. a local
file and other data should be filled into other fileds on the 3270 screen/terminal.

Does someone know such a software?

Again: I am not only searching for a dumb 3270 terminal emulator but for a 3270 software
which allows (script based) interacting from local system to the remote screen.

Any idea is appreciated.

Peter