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

Code in excel macro for mainframe blue zone emulator


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

New User


Joined: 15 Nov 2011
Posts: 7
Location: India

PostPosted: Thu Jan 26, 2012 12:52 pm
Reply with quote

Hi All,

I want to make a repetitive job easier by making a macro. My requirement is:

I will place some input on excel sheet and I want to design a macro such that it takes the input from sheet and does some operations in mainframe. I am confused on how to link my sheet to mainframe screen. Please guide.

Also, please let me know if its not the right place to discuss as I didn't find a suitable place.

Any help will be appreciated.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jan 26, 2012 12:57 pm
Reply with quote

Why not use the macro facility most terminal emulators have?
Back to top
View user's profile Send private message
gyan2march

New User


Joined: 15 Nov 2011
Posts: 7
Location: India

PostPosted: Thu Jan 26, 2012 1:13 pm
Reply with quote

Thats because every time input will be different. I want to put input in excel sheet and pick from there and then run the mainframe according to input.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jan 26, 2012 1:18 pm
Reply with quote

And that is possible too.
Back to top
View user's profile Send private message
gyan2march

New User


Joined: 15 Nov 2011
Posts: 7
Location: India

PostPosted: Thu Jan 26, 2012 1:21 pm
Reply with quote

I use blue zone emulator .... not sure how possible its through that icon_sad.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jan 26, 2012 1:30 pm
Reply with quote

Try the manual(s).

I did it once with Host On demand. Blue zone uses vbscript so i guess it should be possible.
Back to top
View user's profile Send private message
gyan2march

New User


Joined: 15 Nov 2011
Posts: 7
Location: India

PostPosted: Wed May 23, 2012 12:10 am
Reply with quote

Hi,

Sorry to post after a long time. I am looking for possible answers if any. Plz help.
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: Wed May 23, 2012 12:44 am
Reply with quote

Hello,

Suggest you ask Blue Zone support. They should be able to explain how this might be done with their product.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed May 23, 2012 1:37 am
Reply with quote

gyan2march.

i dooo believe that you have it ass-backwards.

when you are ready to close the excel sheet,
have an excel macro save the sheet in proper format,
and execute a PC Script (or bat file)
that will instigate the upload process and whatever job to be performed on the Mainframe.

probably be easiest to just have a job on the mainframe submitted,
that will:
1. upload (ndm, ftp, whatever) the sheet in text format to the mainframe
2. do your processing.

why would you want to have to go to the emulator to do this?

emulator is nothing but a communications method between your pc and the mainframe.
the emulator is but one task on you pc,
and should be used for doing things on the mainframe.

if you are doing something on the pc
and then want something to happen on the mainframe that is dependent on you last pc work,
then use that to initiate the mainframe side.

it may be that you have to first copy your file to one of your servers,
that is already 'coupled with the mainframe' thru NDM or something.

if this process is going to be promoted to production,
i imagine (if your site has any acceptable IT standards)
there exists on the server somekind of template you can use to make your own unique process.

i have seen idiots design this kind of garbage before
(weeks spent writing an emulator macro
that uploads something thru the emulator)
which means they sit there with their thumb up their ass
because their session is tied up transferring some fucking file
the transfer for which was initiated with limited keystrokes.

if you are going to automate something,
automate it so that it does not interfere with you mainframe session.
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 FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top