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



Help for CRTCLGPM states "The underlined values for this parameter
[OPTION] are similar to, but actually default values, and therefore,
cannot be changed with the Change Command Default (CHGCMDDFT) command."

Not to be flippant, but do you use a source control product? They
usually let you set global defaults for program creation.

Possibly a less desirable option is to clone the CRTCLPGM command to
another library, retrieve source, and modify so it has a default value
(add DFT to the parameter). Not sure how this is affected with proxy
commands.

Loyd Goodbar
Business Systems
BorgWarner Shared Services
662-473-5713
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Shore
Sent: Friday, July 11, 2008 7:55 AM
To: Midrange Systems Technical Discussion
Subject: CRTCLPGM default parameters


Good morning everyone
again my beauty sleep was interrupted because of a production problem.
This
time it was a CLP program that the programmer had NOT compiled with
OPTION(*SRCDBG) so I could not use STRSRVJOB with STRDBG to have a look
at
what values certain fields had. Needless to say, that certain programmer
will feel my wrath when he gets back from vacation.
So, to trying to be pro-active, I decided to change the default to the
CRTCLPGM using the following command
CHGCMDDFT CMD(QSYS/CRTCLPGM) NEWDFT('OPTION(*SRCDBG)')

This does not work. The following error is returned
No default value exists for keyword OPTION.

Does anyone know of a way to change the OPTION parameter so that *SRCDBG
will be used?

Thanks in advance



Alan Shore



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.