Hi folks,
Its been a while. Let me set the context - I wrote a tiny macro called MINE, that draws a visual structure chart - all the caller and called routines of a paragraph. It works with Partitioned Datasets as well as Endevor Source and Listings. Here's the XMIT Format file http://cbttape.org/ftp/updates/CBT891.zip.
I wish to add some more functionality, such as Flow-Charting a program. This requires the ability to draw flow-chart shapes such as Rectangles, Polygons, diamond-boxes and circles on the 3270 emulator. Surfing the Internet, did not turn up much results. Do I need to get down and dirty, understand 3270 data-stream? Is there a way to achieve this? Any pointers?
I didn't know, what's an appropriate place to post it. For now, I've posted it under TSO & SISPF.
Thank you very much,
Quasar.
Drawing shapes on the 3270 Terminal
- Quasar
- Posts: 102
- Joined: Wed Nov 10, 2010 7:11 pm
- Skillset: 4 years on the Mainframe
- Referer: Google
- Location: Borivali, Mumbai
Drawing shapes on the 3270 Terminal
Quasar Chunawala,
Software Engineer, Lives at Borivali, Mumbai
Software Engineer, Lives at Borivali, Mumbai
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: Drawing shapes on the 3270 Terminal
The 3270 is a character terminal. To do graphics you need GDDM (I think).
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Global moderator
- Posts: 2105
- Joined: Thu Jun 03, 2010 6:21 pm
- Skillset: Assembler, JCL, utilities
- Referer: zos.efglobe.com
Re: Drawing shapes on the 3270 Terminal
I'm pretty sure NicC is correct. In addition, your terminal emulator has to support GDDM streams; many do not. The IBM Personal Communicator (or whatever they call it this week) program does, but I don't know about any others. In my limited experience (using the GDDM capabilities in the MVS Book Manager Read program in the 1990s) it was clumsy and seemed rather slow. It did not seem possible to mix character and GDDM images on a single screen.NicC wrote:The 3270 is a character terminal. To do graphics you need GDDM (I think).
There used to be programs around that could "draw" these types of shapes on 1403 printers. I think they might work on 3270s, but I do not the results would be pleasing. I sort of recall they used the printer's ability to overprint lines, something that is rarely used any more since GDDM type images can be sent to page printers more directly.
Well, good luck.
- Pedro
- Posts: 686
- Joined: Thu Jul 31, 2008 9:59 pm
- Skillset: ISPF
- Referer: google
- Location: Silicon Valley
Re: Drawing shapes on the 3270 Terminal
various thoughts:
1. A few weeks ago, I think Prino shared a sample program that showed how to use graphic escape characters on ISPF-L. You can easily draw boxes similar to popup panels. My suggestion is to just use rectangles in a vertical stack.
2. For 3270, the answer is GDDM. ISPF does allow shapes to be included in panels... but I think learning GDDM will be more difficult than what it is worth. My suggestion is create a description of the structure you want, download it via the ISPF workstation client, then somehow launch a workstation program that understands the description and formats it.
1. A few weeks ago, I think Prino shared a sample program that showed how to use graphic escape characters on ISPF-L. You can easily draw boxes similar to popup panels. My suggestion is to just use rectangles in a vertical stack.
2. For 3270, the answer is GDDM. ISPF does allow shapes to be included in panels... but I think learning GDDM will be more difficult than what it is worth. My suggestion is create a description of the structure you want, download it via the ISPF workstation client, then somehow launch a workstation program that understands the description and formats it.
Pedro Vera
- Stefan
- Posts: 27
- Joined: Tue Aug 21, 2012 3:02 pm
- Skillset: Application development, configuration management, maintaining test environments
- Referer: world wide web
Re: Drawing shapes on the 3270 Terminal
You could use graphical escape characters in a dynamic area.
I've written a small utility to show all characters with their hex value. The actual visual representation depends on your local code page. You will find this program on my web site.
I've written a small utility to show all characters with their hex value. The actual visual representation depends on your local code page. You will find this program on my web site.
There are 10 types of people in the world: Those who understand binary, and those who don't.
-
- Posts: 341
- Joined: Thu Feb 24, 2011 12:05 am
- Skillset: 30 years on IBM mainframes
- Referer: Searched for Frank Yeager
Re: Drawing shapes on the 3270 Terminal
Does it HAVE to display on the 3270 screen? Could you write it in HTML and make it available to link from a browser?
Maybe even a PCL (printer control language) file, or better yet, a PDF?
Unless it's just for fun, then more power to ya.
Maybe even a PCL (printer control language) file, or better yet, a PDF?
Unless it's just for fun, then more power to ya.
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Drawing shapes on the 3270 Terminal
Hello,
Along with Ed, i'd consider something other than the 3270 for a presentation media.
Most are set up for 24x80 which does not allow for much on a screen.
Along with Ed, i'd consider something other than the 3270 for a presentation media.
Most are set up for 24x80 which does not allow for much on a screen.
Hope this helps,
d.sch.
d.sch.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
emulator 3270 "divided" into 2 Screens ??
by swist10 » Thu Jan 05, 2023 6:50 pm » in Simulators & Emulators - 0
- 5298
-
by swist10
View the latest post
Thu Jan 05, 2023 6:50 pm
-