in reply to Re^3: Interact with mainframe screen
in thread Interact with mainframe screen
1. package Host::PCOM; #<-what is the signifigance of this?
2. my ($class,$connection_name) = @_; #<- changed this to $class = "pcsws" and $connection_name = "P"
3. my $hostname = 'WSConfig'; #<-changed this to $hostname = "MFrame1.ws"
So I can spawn the PCOM session successfully. But I get errors when I try to read the presentation space. I think the problem is that I dont know exactly what parameters to send to the screen sub for @_. I tried hard coding @_ to lots of different values, just guessing at it. Can you tell me what parameters you are passing to the sub. Error message below.....
Error message - "Can't locate object method "cols" via package "P" (perhaps you forgot to load "P"?) at C:\(path snipped)\MFtest.pl line 76."
4. my ($self) = "@_"; #<-What value is expected from @_?
Thanks in advance for your help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Interact with mainframe screen
by Corion (Patriarch) on Jun 13, 2007 at 14:31 UTC | |
by notveryperlish (Initiate) on Jun 13, 2007 at 14:55 UTC | |
by Corion (Patriarch) on Jun 13, 2007 at 14:59 UTC |