×
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.