Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Is it possible to insert images in panels?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Is it possible to insert images in panels?
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Mar 07, 2012 9:06 pm    Post subject: Reply to: Is it possible to insert images in panels?
Reply with quote

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

Active Member


Joined: 07 Feb 2009
Posts: 984
Location: Oostende, Belgium

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

Oh yes, you can:

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Mar 07, 2012 9:21 pm    Post subject: Reply to: Is it possible to insert images in panels?
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: 641
Location: Whitby, ON, Canada

PostPosted: Wed Mar 07, 2012 9:36 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Mar 07, 2012 10:22 pm    Post subject: Reply to: Is it possible to insert images in panels?
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: 641
Location: Whitby, ON, Canada

PostPosted: Thu Mar 08, 2012 12:23 am    Post subject:
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

Senior Member


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

PostPosted: Thu Mar 08, 2012 12:30 am    Post subject: Reply to: Is it possible to insert images in panels?
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

Senior Member


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

PostPosted: Thu Mar 08, 2012 12:48 am    Post subject: Reply to: Is it possible to insert images in panels?
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Thu Mar 08, 2012 1:19 am    Post subject: Reply to: Is it possible to insert images in panels?
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

Senior Member


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

PostPosted: Thu Mar 08, 2012 9:54 am    Post subject: Reply to: Is it possible to insert images in panels?
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    Post subject:
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

Senior Member


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

PostPosted: Mon Mar 12, 2012 7:19 pm    Post subject: Reply to: Is it possible to insert images in panels?
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm
No new posts How to insert a lengthy string havin... vidyaa DB2 7 Thu Aug 25, 2016 5:20 pm
No new posts How do I right justify a string in an... rakesh17684 DB2 1 Wed Jun 08, 2016 8:01 pm
No new posts insert the same records but chancing ... danylele74 DB2 6 Mon May 02, 2016 7:22 pm
No new posts Can a DB2 insert trigger execution of... TS70363 DB2 6 Tue Nov 24, 2015 10:44 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us