How to compile many files or functions with CL command

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
niranam_jk
Posts: 2
Joined: Tue Jul 05, 2022 4:23 pm

How to compile many files or functions with CL command

Post 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
User avatar
Dino
Posts: 477
Joined: Fri Jul 19, 2019 7:49 am
Location: Robbinsville, NC
Contact:

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

Post 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.
niranam_jk
Posts: 2
Joined: Tue Jul 05, 2022 4:23 pm

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

Post by niranam_jk »

Thank you! I'll try it.

Best Regards
Niranam
Post Reply