Skip to main content

How can 3270 emulation problems be avoided when using MFS BYPASS in Assembler

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

When using an MFS BYPASS (Assembler) module, 3270 emulator reverts to 24x80 screen size from the preset 32x80 screen size when application is run.

How can this be avoided..?

Resolution:

The problem is caused by the erase-write x'F5' code in the assembler module which displays 24x80 (model-2) emulation.

Example of the assembler code would be...

MSGOUT   DS    0H                 

MSGLL      DC    AL2(MSGEND-MSGOUT)

MSGZZ      DC    AL2(0)            

MSGCC     DC    X'F5'              

To workaround this, the assembler can be changed to include an erase-write-alternate x'7E' to put the display into anything other than Model-2.

Example of changed code would be...

MSGOUT   DS    0H                 

MSGLL      DC    AL2(MSGEND-MSGOUT)

MSGZZ      DC    AL2(0)            

MSGCC     DC    X'7E'        

The assembler module needs to be recompiled /rebuilt in MFE.      

Old KB# 5041

#EnterpriseDeveloper
#MFDS