Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Regina Rexx - error on lineout
Hello,

I am very new to Regina rexx.
I am running on Win XP Pro SP2, Regina Rexx 3.4
I am using lineout to write to a file.
A sample of the lineout is below ...

lineout('c:\data\rpt2.csv',lout)

The lineout seems to be writing to the file but in the dos box I am getting
the below error on every lineout write...

'0' is not recognized as an internal or external command, operable program o
r
batch file

How can I suppress this message ? Is lineout stacking the return code or
something?

Thank you very much
Neil



Report this thread to moderator Post Follow-up to this message
Old Post
Neil
03-29-08 12:29 AM


Re: Regina Rexx - error on lineout
Neil wrote:
> Hello,
>
> I am very new to Regina rexx.
> I am running on Win XP Pro SP2, Regina Rexx 3.4
> I am using lineout to write to a file.
> A sample of the lineout is below ...
>
> lineout('c:\data\rpt2.csv',lout)
>
> The lineout seems to be writing to the file but in the dos box I am gettin
g
> the below error on every lineout write...
>
> '0' is not recognized as an internal or external command, operable program
 or
> batch file
>
> How can I suppress this message ? Is lineout stacking the return code or
> something?
>
> Thank you very much
> Neil
>
>
A similar question has come up recently.  Please see

news://newsgroups.bellsouth.net:119/6dc75$47ea3fa7$d022f002$6185@SAFEDATAUSA
.COM

Gil B.

Report this thread to moderator Post Follow-up to this message
Old Post
Gil Barmwater
03-29-08 12:29 AM


Re: Regina Rexx - error on lineout
In article <Ys9Hj.24965$dT.15957@bignews1.bellsouth.net>, gil_b@bellsouth.ne
t
says...
>
>Neil wrote: 
or 
>A similar question has come up recently.  Please see
>
>news://newsgroups.bellsouth.net:119/6dc75$47ea3fa7$d022f002$6185@SAFEDATAUSA.[/colo
r]
COM
>
>Gil B.

Thank you very much Gil.
Found it.

Call lineout


Report this thread to moderator Post Follow-up to this message
Old Post
Neil
03-29-08 12:29 AM


Re: Regina Rexx - error on lineout
In <5880$47ed21b8$d1d94979$18704@PRIMUS.CA>, on 03/28/2008
at 04:50 PM, none (Neil) said:

>I am very new to Regina rexx.

What you are seeing is not specific to Regina; you've misunderstood REXX
syntax and semantics.

>lineout('c:\data\rpt2.csv',lout)

The REXX semantics for that statement are to treat the value of the
expression as a command in the default environment. To do what you want
use one of

status=lineout('c:\data\rpt2.csv',lout)
call lineout 'c:\data\rpt2.csv', lout

>'0' is not recognized as an internal or external command, operable
>program or  batch file

The function lineout returns 0 if successful. DOS does not recognize 0 as
a valid command.

>How can I suppress this message ?

By not using the inappropriate statement; see above.

--
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org


Report this thread to moderator Post Follow-up to this message
Old Post
Shmuel (Seymour J.) Metz
03-29-08 12:29 AM


Re: Regina Rexx - error on lineout
Thank you for the information.

Thx
Neil

In article <47ed3ba1$1$fuzhry+tra$mr2ice@news.patriot.net>, spamtrap@library.lspace.org.inv
alid says...
>
>In <5880$47ed21b8$d1d94979$18704@PRIMUS.CA>, on 03/28/2008
>   at 04:50 PM, none (Neil) said:
> 
>
>What you are seeing is not specific to Regina; you've misunderstood REXX
>syntax and semantics.
> 
>
>The REXX semantics for that statement are to treat the value of the
>expression as a command in the default environment. To do what you want
>use one of
>
> status=lineout('c:\data\rpt2.csv',lout)
> call lineout 'c:\data\rpt2.csv', lout
> 
>
>The function lineout returns 0 if successful. DOS does not recognize 0 as
>a valid command.
> 
>
>By not using the inappropriate statement; see above.
>
>--
>Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>
>
>Unsolicited bulk E-mail subject to legal action.  I reserve the
>right to publicly post or ridicule any abusive E-mail.  Reply to
>domain Patriot dot net user shmuel+news to contact me.  Do not
>reply to spamtrap@library.lspace.org
>


Report this thread to moderator Post Follow-up to this message
Old Post
Neil
03-29-08 12:29 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Rexx archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 01:42 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.