MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to execute an automatic 'Enter' in a REXX prog.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
ankushw
Beginner


Joined: 14 Mar 2005
Posts: 2
Topics: 2

PostPosted: Tue Mar 29, 2005 5:14 am    Post subject: How to execute an automatic 'Enter' in a REXX prog. Reply with quote

I'am in the process of writing a tool in REXX which involves executing a few SQL querries whose results are written into datasets.
The problem is that after the results of one querry are written into a dataset thru an EXECIO statement, it waits for me to press enter to proceed further. Can someone please tell me how can I avoid this situaton so as to proceed automatically with the rest of my prog after the results for an SQL are written into the dataset.

Thanks & Regards,
Ankush
Back to top
View user's profile Send private message MSN Messenger
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Tue Mar 29, 2005 8:54 am    Post subject: Reply with quote

I don't understand why your REXX waits for you to do something. Do you have something like PULL ? EDIT ? VIEW ? SAY ?

O.
________
buy herbalaire vaporizer


Last edited by ofer71 on Sat Feb 05, 2011 11:21 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
moyeenkhan
Beginner


Joined: 04 Dec 2002
Posts: 64
Topics: 21

PostPosted: Tue Mar 29, 2005 10:08 am    Post subject: Reply with quote

At the end, issue EXECIO 0 DISKW filename (FINIS
Back to top
View user's profile Send private message Send e-mail
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Tue Mar 29, 2005 10:10 am    Post subject: Reply with quote

EXECIO itself is not a reason to hold the program and wait for user prompt. What is the first statement after the EXECIO ?
________
cheap glass bongs


Last edited by ofer71 on Sat Feb 05, 2011 11:21 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
garyb
Beginner


Joined: 09 Aug 2004
Posts: 2
Topics: 0
Location: Wynantskill, NY

PostPosted: Tue Mar 29, 2005 10:18 am    Post subject: Reply with quote

If you are stacking the results of the query and then doing an EXECIO * to write them to a data set, you will need to stack a null line after the query. EXECIO looks for the null to signal the end of stack data. When it doesn't find it, I basically does a PULL, which gets satisfied by you pressing the ENTER key and thus entering a null value.
_________________
Gary
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group