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




Lets try and get a base of your knowledge, (and if these questions seem to
be facetious, my apologies. I remember the first time on the AS/400 after
working on numerous different mainframes)
Do you have a library that you can develop in?
Do you know how to use STRPDM?
Within your library you need a physical source file (QCLSRC is the
standard, but it could be called whatever you want)
Prompt the command CRTCLPGM and fill in the necessary parameters



Alan Shore

NBTY, Inc
(631) 244-2000 ext. 5019
AShore@xxxxxxxx
"If you're going through Hell, keep going" - Winston Churchill

midrange-l-bounces@xxxxxxxxxxxx wrote on 11/13/2007 09:39:26 AM:

Hey,

How do I create a source member of CLP type?





Obrigado,
Marco Silva


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan
Sent: terça-feira, 13 de Novembro de 2007 14:20
To: Midrange Systems Technical Discussion
Subject: Re: schedule jobs

Create a source member of type CLP. Add the following statements to
the source member:

PGM

CHGJOB CCSID(37)

CPYTOIMPF FROMFILE(EIQRY01/ITEMMASTER) +
TOSTMF('/QNTC/10.12.12.2/SHARED/SEAM/ITEMMASTER.TXT') MBROPT(*REPLACE) +
RCDDLM(*CRLF) DTAFMT(*FIXED)

ENDPGM

Save the member and use option 14 to create it.

Then use the ADDJOBSCDE and add it to the job scheduler.

You might want to read some of the information in the Information Center.


On Nov 13, 2007 9: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


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Jim Essinger
Sent: terça-feira, 13 de Novembro de 2007 13:50
To: Midrange Systems Technical Discussion
Subject: Re: schedule jobs

Silva,

I would put those two statements as a cl program, then schedule the cl
program to run at the required time.

Jim


On 11/13/07, Silva Marco <Marco.Silva@xxxxxxxxxxxx> wrote:
I do I put this command in the schedule jobs:



CHGJOB CCSID(37)

CPYTOIMPF FROMFILE(EIQRY01/ITEMMASTER)
TOSTMF('/QNTC/10.12.12.2/SHARED/SEAM/ITEMMASTER.TXT')
MBROPT(*REPLACE)
RCDDLM(*CRLF) DTAFMT(*FIXED)

I nedd to make this run everyday at 02:00 am




P
Antes de imprimir este e-mail pense bem se tem mesmo que o fazer. Há
cada
vez menos árvores.
Before printing this email, assess if it is really necessary to do
so.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

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.