Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What language used for IBM personal communication macro

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
chaoj

Active User


Joined: 03 Jun 2010
Posts: 103
Location: Dalian

PostPosted: Tue Jun 28, 2011 10:04 am    Post subject: What language used for IBM personal communication macro
Reply with quote

I want to learn the IBM personal communication macro, the macro is written by VB ?
Where can I find the reference ?

below is the macro I recorded to log on TSO

Code:

[PCOMM SCRIPT HEADER]
LANGUAGE=VBSCRIPT
DESCRIPTION=
[PCOMM SCRIPT SOURCE]
OPTION EXPLICIT
autECLSession.SetConnectionByName(ThisSessionName)

REM This line calls the macro subroutine
subSub1_

sub subSub1_()
   autECLSession.autECLOIA.WaitForAppAvailable
   
   autECLSession.autECLOIA.WaitForInputReady
   autECLSession.autECLPS.SendKeys " EV6946"
   autECLSession.autECLOIA.WaitForInputReady
   autECLSession.autECLPS.SendKeys "[enter]"
   
   autECLSession.autECLPS.WaitForAttrib 8,19,"0c","3c",3,10000

   autECLSession.autECLPS.WaitForCursor 8,20,10000

   autECLSession.autECLOIA.WaitForAppAvailable
   
   autECLSession.autECLOIA.WaitForInputReady
   autECLSession.autECLPS.SendKeys "CIKOQ3A8"
   autECLSession.autECLOIA.WaitForInputReady
   autECLSession.autECLPS.SendKeys "[enter]"
   
   autECLSession.autECLPS.WaitForAttrib 18,5,"00","3c",3,10000

   autECLSession.autECLPS.Wait 2891

   autECLSession.autECLOIA.WaitForAppAvailable
   
   autECLSession.autECLOIA.WaitForInputReady
   autECLSession.autECLPS.SendKeys "[enter]"
end sub
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: Tue Jun 28, 2011 10:56 am    Post subject:
Reply with quote

Hello,

It has been a while since i used PCOMM, but thye macro documentation is (was) included in the manual.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1894
Location: UK

PostPosted: Tue Jun 28, 2011 11:16 am    Post subject:
Reply with quote

You ask:
Quote:
the macro is written by VB

The second line of your code:
Code:
LANGUAGE=VBSCRIPT


Suggest you read things before posting.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1243
Location: Israel

PostPosted: Tue Jun 28, 2011 7:24 pm    Post subject:
Reply with quote

In the Help file (click Help | Help Contents to open it), go to the Index and type "VB".
Select "VBScripting" and you will receive the following information:
Quote:
The VBScript language allows you to create scripts for use with Personal Communications. Presented here are some VBScript script functions that are recognized by Personal Communications. Creating or modifying scripts should be done by those who have programming experience and are knowledgeable in VBScript. A more detailed description and information can be found at the Microsoft web page (http://www.microsoft.com/vbscript) for VBScript and the IBM Personal Communications Host Access Class Library (ECL).

Click on one of the following interface objects for more information:
  • autECLConnMgr
    - autECLConnList
  • autECLSession
    - autECLPS
    - autECLFieldList
    - autECLOIA
    - autECLXfer
    - autECLWinMetrics
  • autSYSTEM
Additional properties:
  • ThisSessionName
All the objects in your VBscript appear here. That should be enough...
Back to top
View user's profile Send private message
chaoj

Active User


Joined: 03 Jun 2010
Posts: 103
Location: Dalian

PostPosted: Tue Jun 28, 2011 7:47 pm    Post subject:
Reply with quote

Marso wrote:
In the Help file (click Help | Help Contents to open it), go to the Index and type "VB".
Select "VBScripting" and you will receive the following information:
Quote:
The VBScript language allows you to create scripts for use with Personal Communications. Presented here are some VBScript script functions that are recognized by Personal Communications. Creating or modifying scripts should be done by those who have programming experience and are knowledgeable in VBScript. A more detailed description and information can be found at the Microsoft web page (http://www.microsoft.com/vbscript) for VBScript and the IBM Personal Communications Host Access Class Library (ECL).

Click on one of the following interface objects for more information:
  • autECLConnMgr
    - autECLConnList
  • autECLSession
    - autECLPS
    - autECLFieldList
    - autECLOIA
    - autECLXfer
    - autECLWinMetrics
  • autSYSTEM
Additional properties:
  • ThisSessionName
All the objects in your VBscript appear here. That should be enough...



thank you very much , this is what I want !
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 -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts ISREDIT MACRO NOT WORKING! :cry: kirank889 TSO/ISPF 3 Thu Aug 03, 2017 5:46 pm
No new posts StreamWeaver language reference chetanambi Compuware & Other Tools 1 Wed Jul 05, 2017 12:50 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us