On Mon, 2011-12-26 at 13:11 -0500, Shibu wrote:
> Hi Folks,
>
> I'm very new to Assembler, has just started learning assembler and
> verymuch interested in the same.
>
> my question is, Is there any way to do display (3270) screen related
> things like changing color/clearing display in Assembler? . I know that we
> normally execute load module with JCL, but will it be possible to do if we
> execute load module with Rexx?
>
> please advice.
> -Shibu

The 3270 is controlled via the 3270 data stream. That data includes
codes to position the cursor, change the foreground and background
colors, blink, and so forth. The method used to get that data stream to
the 3270 depends on how the program is communicating to the 3270. OK, in
today's world, that is VTAM for z/OS. z/VM CMS uses a different access
method. Communicating directly to VTAM using VTAM macros is not for the
faint of heart. Two main ways to simplify this is via CICS, mainly by
using BMS (Basic Mapping Support), and TSO, using TPUT/TGET/TPG macros.
But even these are not "simple". IMO, the easiest way is to use TSO
ISPF/DM (Display Manager). That is all done with fairly easy to
understand panel language. It is also very easy to use this with REXX
programs, HLASM programs, C, and COBOL.

For "raw" understanding of the 3270 data stream, you might want to start
here:
http://www.tommysprinkle.com/mvs/P3270/start.htm

IBM Reference manual here:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CN7P4000/CCONTENTS?DT=19920626112004

The basic REXX language itself does not have any 3270 display
capability. If in TSO, use ISPF Display Manager. If in CICS, use BMS. I
don't personally have any knowledge about other ways to do 3270 display
in REXX, though there likely are.

ISPF:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISPZDG90/CCONTENTS

CICS BMS:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHP3C00/6.0
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHP3C00/4.4



--
John McKown
Maranatha! <><

Reply via email to