Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pull & Enter

Status
Not open for further replies.

rajesh082

Programmer
Dec 18, 2007
38
DK
I am calling a External function as below:-
Char = #rdparms(ENVI CHA Instltr)
Pull MSG1

In the #rdparms I am setting the value of MSG1. The problem is while executing the Exec, I have to hit an extra "Enter" to pull the MSG1.

How can I avoid this?
 
What does #rdparms look like?

In any case, I would do it this way:
Code:
address TSO
"NEWSTACK"
Char = #rdparms(ENVI CHA Instltr)
do queued()
   Pull MSG1
end /* queued */
"DELSTACK"
You only expect one line to come back, right? If #rdparms sends back n lines, this discards n-1 lines and keeps one.


Frank Clarke
Support the Troops:
-- Bring them home.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top