Page 1 of 1

How to compile many files or functions with CL command

Posted: Thu Apr 27, 2023 1:27 pm
by niranam_jk
hey,
i am using lansa for ibm i (as/400) i want to know how to compile many files or functions in one time with CL or other ways.

thanks

Re: How to compile many files or functions with CL command

Posted: Thu Apr 27, 2023 1:37 pm
by Dino
Hi

While I wonder what are the reason behind this need, and under the presumption that you are working in a non rdmlx partition with a green screen development license, there are lansa builtins like

Make_file_operational
https://docs.lansa.com/15/en/lansa015/i ... ATIONL.htm

And compile_process
https://docs.lansa.com/15/en/lansa015/i ... ROCESS.htm

So it will be easy to make a lansa function that perform that task. You can call that function from a cl with parameters if needed.

Re: How to compile many files or functions with CL command

Posted: Thu Apr 27, 2023 6:09 pm
by niranam_jk
Thank you! I'll try it.

Best Regards
Niranam