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
 

 

Macro for Host on Demand

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
bipinpeter

Active User


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

PostPosted: Thu Aug 04, 2011 6:30 pm    Post subject: Macro for Host on Demand
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    Post subject:
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:



http://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    Post subject:
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: 210
Location: Cochin/Kerala/India

PostPosted: Fri Aug 05, 2011 3:18 pm    Post subject:
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    Post subject: Reply to: Macro for Host on Demand
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: 210
Location: Cochin/Kerala/India

PostPosted: Fri Aug 05, 2011 4:25 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10257
Location: italy

PostPosted: Fri Aug 05, 2011 5:33 pm    Post subject: Reply to: Macro for Host on Demand
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

Site Director


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

PostPosted: Sat Aug 06, 2011 9:34 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 8 Wed Jan 25, 2017 8:24 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:23 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:21 pm


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