Placing curser to End of the Line.



IBM's Command List programming language & Restructured Extended Executor

Placing curser to End of the Line.

Postby bazzigar » Sun Jul 29, 2012 9:53 pm

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,
bazzigar
 
Posts: 29
Joined: Sat Feb 11, 2012 7:20 am
Has thanked: 0 time
Been thanked: 0 time

Re: Placing curser to End of the Line.

 

Re: Placing curser to End of the Line.

Postby prino » Sun Jul 29, 2012 11:50 pm

Not possible in REXX, unless you use external non-REXX code.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 536
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times

Re: Placing curser to End of the Line.

Postby NicC » Mon Jul 30, 2012 12:46 am

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: Placing curser to End of the Line.

Postby steve-myers » Mon Jul 30, 2012 10:24 am

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.
steve-myers
Global moderator
 
Posts: 1885
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: Placing curser to End of the Line.

Postby enrico-sorichetti » Mon Jul 30, 2012 5:30 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post