Page 1 of 1

Invoke a PCOMM Macro against an active session

PostPosted: Fri Apr 18, 2014 4:17 pm
by tsdjim
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?

Re: Invoke a PCOMM Macro against an active session

PostPosted: Mon Sep 15, 2014 2:33 pm
by ASHEDL
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.