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
 

 

VB Script and IBM Personal Communication

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PC Guides & IT News
View previous topic :: :: View next topic  
Author Message
Narsimha

New User


Joined: 06 Feb 2006
Posts: 3
Location: Vizag

PostPosted: Wed May 27, 2009 12:14 am    Post subject: VB Script and IBM Personal Communication
Reply with quote

I'am trying to write a Vb Script to copy all the informtion(entire screen) from Personal Communication to a Notepad.

Say active session or a report is of ' n ' number of pages, which i navigate through F8 and F7 Function Keys for forward and backword. Now this entire report to be exported or copied to a Notepad.

i'm looking for a suggestion, on how to proceed

Thank You.
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 27, 2009 12:34 am    Post subject:
Reply with quote

why not look at the Personal Communications documentation?
Back to top
View user's profile Send private message
Escapa

Senior Member


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

PostPosted: Wed May 27, 2009 12:36 am    Post subject:
Reply with quote

Is this report is in dataset?
if so you can send it to your pc using various ways...
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed May 27, 2009 9:55 am    Post subject:
Reply with quote

Change the settings of your printer to "Print to Disk - Append". You can even specify a file name. Then, within the VB Script, use the "Local Copy" command. The screen will be saved to a file.

You can even define your own PDT if you want to alter the results (we built a special Hebrew PDT).

O.
Back to top
View user's profile Send private message
Narsimha

New User


Joined: 06 Feb 2006
Posts: 3
Location: Vizag

PostPosted: Thu May 28, 2009 12:04 am    Post subject:
Reply with quote

Hi ofer71
Thank you for your quick response. Personal communication screen is in browse mode (restricted access). As you advised to use local copy command, are you indicating to copy or copy append option of Edit menu?

Suppose my report say consist of 5 pages all the pages to be exported to a notepad. it is like from 1st page to end of page, say in run time the loop continues till i encounter end of page (EOF).

if you don't mind can you explain what do you mean by " define your own PDT "
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu May 28, 2009 11:22 am    Post subject:
Reply with quote

[button] print screen = [script] local copy.

Regarding PDT - when you use the HELP menu of PCOM, you can find lots of information about PDTs.

O.
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 -> PC Guides & IT News All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts USS Shell script:Convert hex to binar... RSR2015 All Other Mainframe Topics 0 Fri Sep 18, 2015 2:00 am
No new posts CICS Record script Prasoon kumar CICS 1 Thu Nov 06, 2014 7:58 pm
No new posts TSO/REXX script to open multiple scre... Scott Latunski TSO/ISPF 9 Fri Apr 19, 2013 9:38 am
No new posts Personal Comm. - User Defined Transfe... Div Grad IBM Tools 6 Wed Mar 06, 2013 2:06 am
No new posts Rexx Script janmejay CLIST & REXX 5 Wed Oct 17, 2012 1:00 pm


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