View previous topic :: View next topic
|
Author |
Message |
arulkumar
New User
Joined: 17 Jun 2010 Posts: 6 Location: chennai
|
|
|
|
Hi,
Can any one help me to how to insert the images in ISPF Panels. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
NO |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
Oh yes, you can:
Code: |
/-----\
| O O |
| # |
| === |
\-----/
|
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
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. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
Stefan
Active User
Joined: 12 Jan 2006 Posts: 110 Location: Germany
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
It is not clear what you are quoting... but you can definitely display graphics using IBM's PCOMM emulator. |
|
Back to top |
|
|
Stefan
Active User
Joined: 12 Jan 2006 Posts: 110 Location: Germany
|
|
Back to top |
|
|
|