Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 4648
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: 4648
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: 4648
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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts Replace function abdulrafi COBOL Programming 13 Mon Sep 12, 2016 10:12 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us