Re: Issues using SysStemSort ooRex, do I have to register it?
- From: Rick McGuire <object.rexx@xxxxxxxxx>
- Date: Tue, 18 Sep 2007 13:12:04 -0400
Generally, that error means you've called some function like you would in C by placing it on a single line. When that happens, the return value from the function is passed to Windows to be executed as a command. So, somewhere, you're calling a function that's returning a value of "0", and that's being passed to Windows, resulting in that error.
The Rexx trace instruction is very handy for figuring out these sorts of things. Add the instruction "Trace Errors" to your program, and it will show you the lines in the program where this error is occurring.
Another handy variant of trace is "Trace ?I", which shows you the intermediate results of all expression evaluations. This will also pause between instructions, allowing you to single-step through the program.
Rick
Mr Coffee wrote:
The program is also saynig this to the output screen and I'm not sure.
why:
C:\DDLGenerator>rexx DDLGeneratorV2.rexx QBGLK
'0' is not recognized as an internal or external command,
operable program or batch file.
'0' is not recognized as an internal or external command,
operable program or batch file.
'0' is not recognized as an internal or external command,
operable program or batch file.
It will then proceed to print out my array.
I don't see why its thinking '0' is a command, the only time I use 0
is in the following:
PARSE:
/*is going to hold the datz*/
field. = 0
/*size of the array*/
k = 0
do WHILE Lines(inputFile)
/*keep a counter*/
k = k + 1
field.0 = k
0 is the default value if there is nothing in the stem
k = 0, that is just setting k = 0, so I can use this to increment the
stem's elements.
field.0 = k, that is keeping track of how many elements are in the
stem.
I also use it here:
when compare(target,'Anonymous') == 0 then
but this should be okay, compare will return 0 if its found, so if 0
== 0
- Follow-Ups:
- Re: Issues using SysStemSort ooRex, do I have to register it?
- From: Mr Coffee
- Re: Issues using SysStemSort ooRex, do I have to register it?
- References:
- Issues using SysStemSort ooRex, do I have to register it?
- From: Mr Coffee
- Re: Issues using SysStemSort ooRex, do I have to register it?
- From: Rick McGuire
- Re: Issues using SysStemSort ooRex, do I have to register it?
- From: Mr Coffee
- Re: Issues using SysStemSort ooRex, do I have to register it?
- From: Mr Coffee
- Issues using SysStemSort ooRex, do I have to register it?
- Prev by Date: Re: Issues using SysStemSort ooRex, do I have to register it?
- Next by Date: Re: some WINDOWS cmds not working in ooRexx program?
- Previous by thread: Re: Issues using SysStemSort ooRex, do I have to register it?
- Next by thread: Re: Issues using SysStemSort ooRex, do I have to register it?
- Index(es):
Relevant Pages
|