Routine Not Found Error



IBM's Command List programming language & Restructured Extended Executor

Re: Routine Not Found Error

Postby Fabrice Lubela » Thu May 28, 2015 12:53 am

Ok I got it thank you very much. Now How can i get rid of the comma in my output?

This is the ouptut i have without the error, thanks to you
Da2 = ISB
Pname = P9756P,
Da2 = ISB
Pname = P9760R,
Da2 = ISB
Pname = P9760S,
Da2 = ISB
Pname = P9846R,
Da2 = ISB
Pname = P9920P,
Da2 = ISB,
Pname = P9957P
Da2 = ISB
***
Fabrice Lubela
 
Posts: 8
Joined: Wed May 27, 2015 9:30 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Re: Routine Not Found Error

 

Re: Routine Not Found Error

Postby enrico-sorichetti » Thu May 28, 2015 1:10 am

it is against the forum rules to user PMs to solicit answers,
Please help. My future depends on it.

You are out of luck then :ugeek:

remember ...
replying to forum questions is
on voluntary base
our own time
interest of the topic
benevolence factor

claiming urgency, asking thru PMs, whining about future misfortunes
are sure ways of lowering the benevolence factor and the chances of getting help
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: Routine Not Found Error

Postby Fabrice Lubela » Thu May 28, 2015 1:51 am

I am very sorry and will bound to the rules of the forum
Fabrice Lubela
 
Posts: 8
Joined: Wed May 27, 2015 9:30 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Routine Not Found Error

Postby Pedro » Thu May 28, 2015 4:20 am

You did not show what your data looks like. Likely, the comma comes from your input record. Add a comma to the PARSE statement so that the PARSE does not save it to the variables.

Parse var line_in Pname ',' Da1 Da2 Da3 Da4 Da5 Da6 Da7 Da8
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Re: Routine Not Found Error

Postby Pedro » Thu May 28, 2015 4:34 am

I do not think this was explained well:
15 +++ FREE FILE(Z)
Error running TEST2, line 15: Routine not found

A quoted string indicates that it will be processed as the default host command. Because it is not a quoted string , rexx thinks it is a rexx instruction that rexx needs to process. The statement looks like a function call to FILE with a parameter of Z. Rexx tries to call a routine named 'FILE'. It fails because it does not exist.
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post