Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Built-In Function CHAROUT not working

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Built-In Function CHAROUT not working
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

Moderator Team Head


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

PostPosted: Tue Dec 09, 2008 4:59 pm    Post subject: Reply to: Built-In Function CHAROUT not working
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    Post subject: Reply to: Built-In Function CHAROUT not working
Reply with quote

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

Moderator Team Head


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

PostPosted: Tue Dec 09, 2008 5:12 pm    Post subject: Reply to: Built-In Function CHAROUT not working
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    Post subject: Re: Reply to: Built-In Function CHAROUT not working
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

Moderator Team Head


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

PostPosted: Tue Dec 09, 2008 7:18 pm    Post subject: Reply to: Built-In Function CHAROUT not working
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    Post subject: Reply to: Built-In Function CHAROUT not working
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts ISREDIT MACRO NOT WORKING! :cry: kirank889 TSO/ISPF 3 Thu Aug 03, 2017 5:46 pm
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts What is the Extract Function in JCL dharmaraok JCL & VSAM 3 Wed Jun 14, 2017 9:12 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us