Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Macro to receive a dataset from mvs/tso system

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
omar

New User


Joined: 26 Dec 2005
Posts: 2

PostPosted: Wed Feb 01, 2006 3:22 am    Post subject: Macro to receive a dataset from mvs/tso system
Reply with quote

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
View user's profile Send private message

omar

New User


Joined: 26 Dec 2005
Posts: 2

PostPosted: Wed Feb 01, 2006 3:22 pm    Post subject:
Reply with quote

this the error i got

** ISPF screen input error - code =32 **

hope any one can help...
thanks
Back to top
View user's profile Send private message
Dinesh Kumar P

New User


Joined: 06 Jul 2008
Posts: 4
Location: Chennai, India

PostPosted: Wed Sep 30, 2009 3:00 pm    Post subject:
Reply with quote

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
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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
This topic is locked: you cannot edit posts or make replies. ISREDIT Macro is not returning back t... nico_neoz CLIST & REXX 21 Sat Nov 18, 2017 7:40 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us