× 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: PDM Library List
  • From: Larry Bolhuis <lbolhui@xxxxxxx>
  • Date: Wed, 02 Feb 2000 20:34:12 -0500
  • Organization: Arbor Solutions, Inc

Marv,

In my sordid past as a programmer <bg>  I ran into this restriction and coded
around it.  I made a CL wrapper program for the CRTxxxPGM commands that did
several things:
o It checked for the existance of a data area 'CRTLIBL' in the requested target
library.  If the DA is not there then the compile is aborted. (This means you 
are
trying to compile to a source or IBM library for example.)  If it does exist the
list of libraries in the DA is used to replace the jobs library list.
o It deleting spool output for succesfull compiles.
o It scanned the 'F' specs (for RPG at least) for special comments that cause
OVRDBFs to be executed before the compile.
o TO short circuit myself from bypassing my own 'safeguards' I changed the
CRTxxxPGM commands to only be allowed within a program.

This process almost completely eliminated Level Check errors.   BTW We also made
it shop policy to NEVER EVER MOVE a compiled program into a production library,
it was ALWAYS Compiled into production.  Not always practical but it worked for
us.

 - Larry

Marv Noltze wrote:
> 
> My method of operation on the AS400 is to use a stripped down library list
> without any of my production libraries in it. When I compile a program...
<snip>

-- 
Larry Bolhuis         |         What if it's True?
Arbor Solutions, Inc  |
(616) 451-2500        |  
(616) 451-2571 -fax   | 
lbolhui@ibm.net       |
+---
| 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.