LAGSELECT source

For questions that don't fall into one of the categories above, such as working with the RATS interface, using Wizards, etc.
Brc
Posts: 2
Joined: Thu Jun 20, 2024 5:16 pm

LAGSELECT source

Unread post by Brc »

I try to run the code:
SOURCE C:\RATS-PROCEDURES\lagselec.src
@lagselect(sclag=24, maxlag=24) Z

However, I get the following error:
## CP18. LAGSELECT is not the Name of a PROCEDURE. (Did you forget to SOURCE?)
>>>>@lagselect(<<<<


I don't have source of @LAGSELECT? How can I find it?

Thank you.
TomDoan
Posts: 7627
Joined: Wed Nov 01, 2006 4:36 pm

Re: LAGSELECT source

Unread post by TomDoan »

That's not one of ours. Did someone give you some files? You have a SOURCE instruction for lagselec.src (which would be what the file was called), but it has a very specific (and non-standard) directory.

I've attached a copy of the file.
Attachments
lagselec.src
(28.68 KiB) Downloaded 16 times
Brc
Posts: 2
Joined: Thu Jun 20, 2024 5:16 pm

Re: LAGSELECT source

Unread post by Brc »

Thank you sending the file.

No one gave any source file. Someone provided some RATS codes to me, but I do not have source files.

How can I find/download these source files for RATS ? (I'm new beginner user of RATS)
TomDoan wrote: Tue Jun 25, 2024 1:25 pm That's not one of ours. Did someone give you some files? You have a SOURCE instruction for lagselec.src (which would be what the file was called), but it has a very specific (and non-standard) directory.

I've attached a copy of the file.
TomDoan
Posts: 7627
Joined: Wed Nov 01, 2006 4:36 pm

Re: LAGSELECT source

Unread post by TomDoan »

c:\rats-procedures\ is not and never has been the location for the standard set of RATS procedures, so if someone gave you a RATS program which pulls out of that, there may be other procedures that you don't have (unless they can also give you the content of that directory).

lagselec.src was written quite a while ago by a RATS user. I would recommend renaming it as lagselect.src, since @LAGSELECT is the name of the actual procedure. The best place to put that is in the same directory as the RATS code that you are using. You can then get rid of the SOURCE instruction as the software will load it automatically.
Post Reply