IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Is it possible to insert images in panels?


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arulkumar

New User


Joined: 17 Jun 2010
Posts: 6
Location: chennai

PostPosted: Wed Mar 07, 2012 8:53 pm
Reply with quote

Hi,

Can any one help me to how to insert the images in ISPF Panels.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Mar 07, 2012 9:06 pm
Reply with quote

NO
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Wed Mar 07, 2012 9:11 pm
Reply with quote

Oh yes, you can:

Code:
/-----\
| O O |
|  #  |
| === |
\-----/
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Mar 07, 2012 9:21 pm
Reply with quote

36_2_35.gif
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Wed Mar 07, 2012 9:36 pm
Reply with quote

Ahem. If you display your ISPF panels in GUI mode, graphics can be included via GDDM. (See the Dialog Developers' Guide, chapter 6)

I have never done this, and I suspect this is not what the TS had in mind.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Mar 07, 2012 10:22 pm
Reply with quote

i did not suggest GDDM because it seems to have fallen in disuse
and not all the 3270 emulator are configured to support GDDM graphics
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Thu Mar 08, 2012 12:23 am
Reply with quote

ISPF in GUI mode connects to your workstation directly, outside of an emulator. I don't have much experience running ISPF in GUI mode, but from what I have seen it is not a pretty sight. Workstation Agent, the desktop program that manages the GUI connection was "functionally stabilized" by IBM several years ago, so the GUI isn't going to get any prettier.

I use Workstation Agent frequently, but only because it enables ISPF's FILEXFER service, not for the GUI interface.

Anyway, the GUI interface is supposed to have the ability to display graphical areas and elements defined on your panel, but the only "graphics" I have ever seen are simple GUI elements like radio buttons and check boxes. (The ISPF SETTINGS panel, when displayed in GUI mode, is a good example to check out).

Sorry, getting way OT now. I guess I am looking ahead to Friday. icon_cool.gif
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Thu Mar 08, 2012 12:30 am
Reply with quote

Quote:
If you display your ISPF panels in GUI mode, graphics can be included via GDDM.


Actually, you are mixing up two different things.

1. on the 3270 emulator, you can display graphics using GDDM. Those are images rendered by z/OS. your panel needs an attribute of AREA(GRAPHIC). You can generate your graphics dynamically. As Enrico mentioned, it has fallen into disuse. But some displays of RMFWDM use it to good effect. If your application data is best shown using graphics, then you should be able to make it a requirement for your users.

2. Using the GUI mode, panels are displayed in Windows using the ISPF workstation client. The images used there are GIF files stored in the ISPILIB concatenation. I have never done it, but I suppose you can also generate the GIF files dynamically and LIBDEF to it.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Thu Mar 08, 2012 12:48 am
Reply with quote

Quote:
You can generate your [GDDM] graphics dynamically.


You need a compiled program, which issues GDDM calls to build the graphics, then call ISPLINK to display the panel.

I am not sure where I got this PLI example:
Code:

 CIRCLE: PROCEDURE OPTIONS(MAIN);                         
  DCL AAB (2) INIT (0,0) FIXED BIN (31),                 
      ISPLINK EXTERNAL ENTRY OPTIONS (ASM,INTER,RETCODE),
      FSINR  EXTERNAL ENTRY OPTIONS (ASM, INTER, RETCODE);
  %INCLUDE SYSLIB (ADMUPIRG);                             
  CALL  ISPLINK ('GRINIT', AAB, 'CIRCLE ');               
  CALL  GSPS (AAB, 1, 1);                                 
  CALL  GSSEG (AAB, 1);                                   
  CALL  GSCOL (AAB, 2);                                   
  CALL  GSAREA (AAB, 1);                                 
  CALL  GSMOVE (AAB, 50, 25);                             
  CALL  GSARC  (AAB, 50, 50, 360);                       
  CALL  GSENDA (AAB);                                     
  CALL  ISPLINK ('DISPLAY ', 'CIRCLE ');                 
  CALL  ISPLINK ('GRTERM', AAB);                         
  END CIRCLE;                                             


and panel:
Code:

)ATTR                                                       
 @ AREA(GRAPHIC)                                           
)BODY EXPAND(//)                                           
%/-/ A RED CIRCLE /-/                                       
%===>_ZCMD                                                 
@AREA2                                                           @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
@                                                          @
)END                                                       


It worked in 1988; not sure about now.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Mar 08, 2012 1:19 am
Reply with quote

see file 300 of the CBT tape for VERY nice GDDM examples
they are fortran but can be easily ported to PL/I
no fancy, just a sequence of gddm calls with fixed parameters
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Thu Mar 08, 2012 9:54 am
Reply with quote

I was surprised to see a rexx example in the GDDM manuals! Not ISPF related, but cool nonetheless. I did not know rexx could drive GDDM!

Now I have to look for some project where I can utilize this new tidbit of knowledge.
Back to top
View user's profile Send private message
Stefan

Active User


Joined: 12 Jan 2006
Posts: 110
Location: Germany

PostPosted: Mon Mar 12, 2012 5:51 pm
Reply with quote

Quote:
Graphical Data Display Manager (IBM GDDM) is a supported product. Select Option 14 under product 5722SS100 and install it. There is currently only one device type that can be used to display a Graphical Data Display Manager object. The device is a twinax-attached 5292 Model 2. There is currently no PC interactive emulator capable of 5292-2 Graphical Data Display Manager support. The last emulator was DOS-based and existed for IBM System/36, IBM System/38, and early IBM AS/400.

Graphical Data Display Manager is still quite useful in driving IPDS printers and building GDFs that can be interchanged with other products. The current plan is that Option 14 (GDDM) will continue to be a supported portion of the operating system for non-5250 workloads.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2546
Location: Silicon Valley

PostPosted: Mon Mar 12, 2012 7:19 pm
Reply with quote

It is not clear what you are quoting... but you can definitely display graphics using IBM's PCOMM emulator.
Back to top
View user's profile Send private message
Stefan

Active User


Joined: 12 Jan 2006
Posts: 110
Location: Germany

PostPosted: Tue Mar 13, 2012 1:42 pm
Reply with quote

I've found it at "Terminal Type Supported by Graphical Data Display Manager".
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Insert header record with record coun... DFSORT/ICETOOL 14
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
No new posts Identify Program Insert DB2 7
No new posts Insert trailer for non empty file only DFSORT/ICETOOL 6
No new posts Merge files with a key and insert a b... DFSORT/ICETOOL 6
Search our Forums:

Back to Top