View previous topic :: View next topic
|
Author |
Message |
hsk
New User
Joined: 28 Nov 2006 Posts: 69 Location: India
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
hsk
New User
Joined: 28 Nov 2006 Posts: 69 Location: India
|
|
|
|
Is there any work around ??? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
hsk
New User
Joined: 28 Nov 2006 Posts: 69 Location: India
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
hsk
New User
Joined: 28 Nov 2006 Posts: 69 Location: India
|
|
|
|
Thanks .....
will try that !!!! |
|
Back to top |
|
|
|