Invoke a PCOMM Macro against an active session



Discuss about all tools related to Mainframes but usable in a PC/Computer like Mainframe Simulators, Emulators, Abend Assist etc...

Invoke a PCOMM Macro against an active session

Postby tsdjim » Fri Apr 18, 2014 4:17 pm

I need to execute a PCOMM macro in batch against an already-active PCOMM session whose session ID is known.

For example I have a PCOMM session id M already activated. I have a macro RCICU. I now create a batch file with the following line:

"c:/path to pcomm" "c:/path to ws file" /M=RCICU /s=M

When I execute the batch command I get the following message:
PCSCW002 session id M has already been assigned to another session

How can I execute macro RCICU against the session id M from batch?
tsdjim
 
Posts: 16
Joined: Mon Nov 03, 2008 1:38 am
Has thanked: 0 time
Been thanked: 0 time

Re: Invoke a PCOMM Macro against an active session

 

Re: Invoke a PCOMM Macro against an active session

Postby ASHEDL » Mon Sep 15, 2014 2:33 pm

I'm no expert in PCOMM but I believe it would be:

C:\PCOMM\Directory /S=m C:\AppPath\to.WS /M=RCICU

Hopefully that works for you buddy. Good luck.
ASHEDL
 
Posts: 4
Joined: Mon Sep 01, 2014 8:03 pm
Has thanked: 0 time
Been thanked: 0 time


Return to Simulators & Emulators

 


  • Related topics
    Replies
    Views
    Last post