View previous topic :: View next topic
|
Author |
Message |
omar
New User
Joined: 26 Dec 2005 Posts: 2
|
|
|
|
hi,
i'm using PCOMM 5.7 and want to make a vbscript macro to receive a dataset from mvs/tso system
i need the exact syntax please
i tried this but not working
autECLSession.autECLXfer.ReceiveFile"d:\file.txt", "'data.set.name", "ASCII CRLF"
thanks |
|
Back to top |
|
|
omar
New User
Joined: 26 Dec 2005 Posts: 2
|
|
|
|
this the error i got
** ISPF screen input error - code =32 **
hope any one can help...
thanks |
|
Back to top |
|
|
Dinesh Kumar P
New User
Joined: 06 Jul 2008 Posts: 4 Location: Chennai, India
|
|
|
|
ISPF screen input error occurs because the "ReceiveFile" method will send the [CLEAR] key to host and then sends the IND$FILE command. The above syntax should work fine when the session is in READY prompt.
If the requirement is to run it from within ISPF, we can use ISPF command shell (option 6 from primary option menu) and including "NOCLEAR" option to "ReceiveFile" method in addition to "ASCII CRLF"
Code: |
autECLSession.autECLXfer.ReceiveFile"d:\file.txt", "'data.set.name", "ASCII CRLF NOCLEAR" |
I know this is a pretty old post.. but hope this should help someone with similar problem who lands on this page. |
|
Back to top |
|
|
Jose Pena
New User
Joined: 08 Jul 2021 Posts: 1 Location: SPAIN
|
|
|
|
It helped me 13 years later.
Thank you!! |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3075 Location: NYC,USA
|
|
|
|
Cool! Thanks. |
|
Back to top |
|
|
|