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


  • Subject: Re: Default for command without default value?
  • From: Martin Rowe <martin@xxxxxxxxxx>
  • Date: Mon, 30 Jul 2001 20:21:02 +0100
  • Organization: Jamaro

On Monday 30 July 2001 18:15, JIM LANGSTON wrote:
> Yes, this would work for me, but then the other programmers here would
> have to do the same thing.  There are 3 programmers here and it would
> be nice to have something that would make a standard so we don't
> forget.  Something that could be done in one place for everyone.
>
> Jim Langston
> Programmer/Analyst
> Cels Enterprises, Inc.

Hi Jim

I rolled my own CRTOBJ command some years ago to get round this sort of 
thing. We had problems with people not remembering to compile with 
TGTRLS(*PRV) when our development box was upgraded ahead of the 
production machine. I set up the one PDM option and copied it to 
everyones option file. As it included all the common CRTxxx commands 
people got used to using CP instead of 14. The CL routine has all the 
defaults coded into it[1], though some parameters (like TGTRLS) can be 
changed at prompt time, which may be the sort of thing you could use. If 
you're interested I'll drop the code onto my web site.

Regards, Martin

[1] I'll admit it also helps that we have the Synon/1E (Cool:Extras or 
whatever it is these days) preprocessor set up. It's triggered by the 
routing entry on the job and picks up its own 'Z-specs' in the source and 
adds them to the CRTxxx command that was issued. That way you can ensure 
a printer file always gets compiled with the right overflow line and 
*OUTQ ;-) 
-- 
martin@dbg400.net / jamaro@firstlinux.net
http://www.dbg400.net  DBG/400 - DataBase Generation utilities 
Open Source test environment tools for the AS/400 / iSeries and 
miscellaneous database & spooled file management commands.
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.