Page 1 of 1

Placing curser to End of the Line.

PostPosted: Sun Jul 29, 2012 9:53 pm
by bazzigar
Hi,

May I know how can I place the curser to be at specific location , like end of the line.

Example:
Say "Enter Your Name:"
Pull Name

So when we run this I need the curser sould be pleace at last of SAY instruction , not at new line which I am getting now.

Enter Your Name:_

Thanks,

Re: Placing curser to End of the Line.

PostPosted: Sun Jul 29, 2012 11:50 pm
by prino
Not possible in REXX, unless you use external non-REXX code.

Re: Placing curser to End of the Line.

PostPosted: Mon Jul 30, 2012 12:46 am
by NicC
You can do it on PC Rexx using Charout but on the mainframe you have to call something else to do it for you. A short CLIST (spit spit) to receive a parm of what to write using WRITENR is what you need.

Re: Placing curser to End of the Line.

PostPosted: Mon Jul 30, 2012 10:24 am
by steve-myers
At one level, I'm inclined to agree with NicC. I got out the Rexx manual to see if there was something like the CLIST WRITENR command, but I sure didn't see anything obvious.

Re: Placing curser to End of the Line.

PostPosted: Mon Jul 30, 2012 5:30 pm
by enrico-sorichetti
but the TS, given the proper zOS and components level might try to play around with the
REXX stream data I/O
http://publib.boulder.ibm.com/infocente ... 160520.htm