Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us