IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Built-In Function CHAROUT not working


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
hsk

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Tue Dec 09, 2008 4:49 pm
Reply with quote

CALL CHAROUT,'SPECIFY "FROM" DATA SET : '
PARSE UPPER PULL FROMFILE


I am writing a simple rexx exec which will copy one file to another. For function CHAROUT, i am getting error 'Routine not found'.

If i use SAY, the cursor goes to next line. To allow user to enter filename on the same line, i am trying to use CHAROUT .......


Is this any syntax error or Is it installation dependant and my installation does not have these functions (none of the functions lines LINEIN, LINEOUT, CHARS .... are working) ...

Is there any other way to do this ??
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Dec 09, 2008 4:59 pm
Reply with quote

According to IBM Stream I/O for TSO/E REXX those commands are part of a function package that has to be added into your existing TSO/E environment.
Back to top
View user's profile Send private message
hsk

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Tue Dec 09, 2008 5:09 pm
Reply with quote

Is there any work around ???
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Dec 09, 2008 5:12 pm
Reply with quote

My suggestion, if you want to include dialog to and from the user, is to consider using ISPF panels and ISPF Dialogs to enhance your code.
Back to top
View user's profile Send private message
hsk

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Tue Dec 09, 2008 5:26 pm
Reply with quote

superk wrote:
My suggestion, if you want to include dialog to and from the user, is to consider using ISPF panels and ISPF Dialogs to enhance your code.



It is part of a bigger logic and want to keep it as simple as possible ...

I would rather go with SAY, if anything is not possible ....

But really ?????

No way other than CHAROUT ???
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Dec 09, 2008 7:18 pm
Reply with quote

CLIST has the functions WRITE (write a line with a return) and WRITENR (write a line without a return). Maybe you could code the user interface portion in CLIST?
Back to top
View user's profile Send private message
hsk

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Wed Dec 10, 2008 8:50 am
Reply with quote

Thanks .....
will try that !!!!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Calling an Open C library function in... CICS 1
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
No new posts Def PD not working for unsigned packe... JCL & VSAM 3
No new posts DATE2 function SYNCSORT 15
No new posts Help on PL/I jsonPutValue function PL/I & Assembler 8
Search our Forums:

Back to Top