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

Macro for Host on Demand


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 213
Location: Cochin/Kerala/India

PostPosted: Thu Aug 04, 2011 6:30 pm
Reply with quote

Hi,

I am working in mainframe using Host on Demand. I want to create a macro to take screenshot of mainframe screens and paste in to excel.
Is any able to give some idea to do this.

I tried 'record macro' option and pressed on 'printscreen' command.But i am not able to see that command in macro which have been saved
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Thu Aug 04, 2011 8:49 pm
Reply with quote

Not sure if this will help (I can't get my HOD up and running right now), but there is a sample code from IBM for talking between HOD and Excel:



publib.boulder.ibm.com/infocenter/hodhelp/v9r0/index.jsp?topic=%2Fcom.ibm.hod9.doc%2Fdoc%2Fmacro%2Fmacro.html
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Thu Aug 04, 2011 9:18 pm
Reply with quote

Well.. HOD macro has limitations and am doubtfull that you will be able to take screenshot and store\paste somewhere..

However .. You can write VBA or .net script such a that on ever hit of Return key or function key (based on your requirement) it can take screen shot and append\paste in some document. (I remember my testing team done so for capturing test results of online screen testing)
Back to top
View user's profile Send private message
bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 213
Location: Cochin/Kerala/India

PostPosted: Fri Aug 05, 2011 3:18 pm
Reply with quote

Hi Sambhaji ,

Is it possible that execute VBA or .net script from HOD enviornment?
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Fri Aug 05, 2011 3:39 pm
Reply with quote

Not on hod ... you need to execute it on your local machine and capture screenshot on event of keystrokes of functional keys\return key etc...
Back to top
View user's profile Send private message
bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 213
Location: Cochin/Kerala/India

PostPosted: Fri Aug 05, 2011 4:25 pm
Reply with quote

Hi Ed Goodman,

I checked the sample code which is given in HOD programing guide.As per manual there should be some sample code present in location <install>\HOD\xx\doc\macro\samples\amnu.But i am not able to find these sample macros in my system.

Is any one able to share these sample macros?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Aug 05, 2011 5:33 pm
Reply with quote

why not talk to Your support, to find out about them
the sources might be copyrighted, so sharing them might be improper
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Aug 06, 2011 9:34 am
Reply with quote

Hello,

Is there some reason you cannot ask HOD support?
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts PRINTOUT macro PL/I & Assembler 0
No new posts access the last host command CLIST & REXX 2
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
No new posts Issues with executing a REXX MACRO th... TSO/ISPF 4
Search our Forums:

Back to Top