× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Marco,

Do you have Program Development Manager (PDM) with the command WRKLIBPDM?
Do you have the command CRTCLPGM? If you have those two things, then you
can complete the following steps.

If you don't have a source physical file in a library, create one using the
command CRTSRCPF FILE(xxxxxxxxxx/QCLSRC) where you put your library name in
place of the xxx.

Use PDM to navigate into the source physical file you just created. Use the
command WRKOBJPDM LIB(XXXXXXXXXX) OBJ(QCLSRC) to see the file, and an option
12 on the file to see the source members. Use F6 to create a new member and
give it the name you want the program to have.

Use option 2 to edit the new source member, and put the statements you want
to run in the editor, with a STRPGM on the first line, and ENDPGM on the
last line.

Exit and save the source member, then use option 14 on the member name to
compile the program.

If all that works, then you will have a program with the same name as your
source member name, and you can schedule the CALL PGMNAME command to run
your statements.

HTH

Jim

On Nov 13, 2007 7:16 AM, Silva Marco <Marco.Silva@xxxxxxxxxxxx> wrote:

I just don't know how to creat a CL program.

It seems to be easy for you, but to me, I never did that.



I though that if I put the code as I do for a query that I could solve my
problem.

Could you please tell me how I make a CL program with this code?

Thanks.




Obrigado,
Marco Silva


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.