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
 

 

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: 1756
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: 1226
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 Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Need Help in understanding what is th... mainakdalal PL/I & Assembler 9 Mon Oct 03, 2016 8:03 pm
No new posts Any body aware of CAP-COBOL language? Sachin Raghuwanshi COBOL Programming 4 Tue Aug 02, 2016 9:34 am
No new posts PCOMM macro to call another PCOMM macro boyti ko All Other Mainframe Topics 4 Tue Jul 12, 2016 4:30 pm
No new posts Send parameter for macro STIMERM from... Daniel Teolotitla PL/I & Assembler 13 Tue Jul 05, 2016 9:23 pm


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